eb604b854b61fd438990f42baef8c79f60987625
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2
3         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4         __proc_dostop call.
5
6 2014-08-27  Mark Wielaard  <mjw@redhat.com>
7
8         [BZ #17319]
9         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10         to call set_thread_area instead of hand written asm.
11         (__NR_set_thread_area): Removed define.
12         (TLS_FLAG_WRITABLE): Likewise.
13         (__ASSUME_SET_THREAD_AREA): Remove check.
14         (TLS_EBX_ARG): Remove define.
15         (TLS_LOAD_EBX): Likewise.
16
17 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18
19         Simplify atomicity of socket creation in bind.
20
21         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22         looking up the name after linking the file.
23
24 2014-08-27  Allan McRae  <allan@archlinux.org>
25
26         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27
28 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29
30         [BZ #17187]
31         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
32         trans_compare, open_translit, __gconv_translit_find):
33         Remove module loading code.
34
35 2014-08-26  Allan McRae  <allan@archlinux.org>
36
37         * po/vi.po: Update Vietnamese translation from translation project.
38
39         * po/uk.po: Update Ukrainian translation from translation project.
40
41         * po/fr.po: Update French translation from translation project.
42
43         * po/ru.po: Update Russian translation from translation project.
44
45         * po/pl.po: Update Polish translation from translation project.
46
47         * po/cs.po: Update Czech translation from translation project.
48
49         * po/de.po: Update German translation from translation project.
50
51         * po/bg.po: Update Bulgarian translation from translation project.
52
53         * po/sv.po: Update Sweedish translation from translation project.
54
55         * po/nl.po: Update Dutch translation from translation project.
56
57         * po/es.po: Update Spanish translation from translation project.
58
59 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60
61         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
62
63         * catgets/Makefile (CPPFLAGS-gencat): Remove.
64         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
65         (CPPFLAGS-iconvconfig): Likewise.
66         * timezone/Makefile (CPPFLAGS-zic): Likewise.
67
68         * include/libc-symbols.h: Remove unnecessary check for
69         NOT_IN_libc.
70         * nptl/pthreadP.h: Likewise.
71         * sysdeps/aarch64/setjmp.S: Likewise.
72         * sysdeps/alpha/setjmp.S: Likewise.
73         * sysdeps/arm/sysdep.h: Likewise.
74         * sysdeps/i386/setjmp.S: Likewise.
75         * sysdeps/m68k/setjmp.c: Likewise.
76         * sysdeps/posix/getcwd.c: Likewise.
77         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
78         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
79         * sysdeps/s390/s390-32/setjmp.S: Likewise.
80         * sysdeps/s390/s390-64/setjmp.S: Likewise.
81         * sysdeps/sh/sh3/setjmp.S: Likewise.
82         * sysdeps/sh/sh4/setjmp.S: Likewise.
83         * sysdeps/unix/alpha/sysdep.h: Likewise.
84         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
85         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
86         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
87         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
88         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
90         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
93         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
94         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
95         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
96         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
97         * sysdeps/x86_64/setjmp.S: Likewise.
98
99 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
100
101         [BZ #17263]
102         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
103         <stdint.h>.
104         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
105         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
106
107 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
108
109         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
110
111         [BZ #17262]
112         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
113         and __x86_64__ when disabling x87 inline functions.
114
115 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
116
117         [BZ #17259]
118         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
119         asm statement with __cpuid_count.
120
121 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
122
123         * configure.ac: Change __ehdr_start code to dereference the struct.
124         Run readelf on the output to look for relocations.
125         * configure: Regenerated.
126
127 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
128
129         [BZ #17261]
130         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
131         value to 0.
132         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
133
134 2014-08-12  Roland McGrath  <roland@hack.frob.com>
135
136         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
137
138 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
139
140         [BZ #16892]
141         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
142         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
143
144 2014-08-12  Sean Anderson  <seanga2@gmail.com>
145
146         * malloc/malloc.c: Fix typo in comment.
147
148 2014-08-09  Allan McRae  <allan@archlinux.org>
149
150         * Regenerate libc.po.
151
152 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
153
154         * intl/tst-gettext2.sh: Check every lang file for creation.
155
156 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
157
158         * sysdeps/aarch64/fpu/math_private.h
159         (libc_feholdsetround_noex_aarch64_ctx): New function.
160
161 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
162
163         * sysdeps/arm/armv6/strcpy.S (strcpy):
164         Fix performance issue in misaligned cases.
165
166 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
167
168         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
169         Move definition from termios.h.
170         (struct termio): Likewise.
171         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
172         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
173         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
174         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
175         Likewise.
176         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
177         Move definition to ioctl-types.h
178         (struct termio): Likewise.
179         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
180         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
181         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
182         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
183         Likewise.
184
185 2014-08-05  Richard Henderson  <rth@redhat.com>
186
187         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
188         exceptions.
189         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
190         Add fraiseexcpt.
191         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
192         Use __feraiseexcept.
193         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
194         Protect libm symbols with IS_IN_libm.
195
196         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
197
198 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
199
200         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
201
202 2014-08-04  Will Newton  <will.newton@linaro.org>
203
204         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
205         file.
206
207 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
208
209         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
210         variants for each function.
211
212 2014-08-04  Roland McGrath  <roland@hack.frob.com>
213
214         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
215         appended ...
216         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
217         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
218         appended ...
219         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
220         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
221         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
222         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
223         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
224         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
225         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
226         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
227         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
228         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
229         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
230         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
231         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
232         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
233         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
234         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
235         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
236         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
237         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
238         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
239         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
240         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
241         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
242         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
243         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
244         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
245         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
246         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
247         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
248         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
249         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
250         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
251         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
252         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
253         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
254         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
255         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
256         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
257         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
258         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
259         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
260         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
261         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
262         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
263         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
264         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
265         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
266         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
267         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
268         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
269         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
270         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
271         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
272         Update #include.
273         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
274         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
275
276 2014-08-04  Roland McGrath  <roland@hack.frob.com>
277
278         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
279         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
280         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
281         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
282         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
283         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
284
285 2014-08-04  Roland McGrath  <roland@hack.frob.com>
286
287         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
288         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
289         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
290         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
291
292 2014-08-04  Roland McGrath  <roland@hack.frob.com>
293
294         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
295         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
296         (__libc_vfork): Define function under this name.
297         (__vfork): Define as an alias.
298         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
299         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
300
301 2014-08-04  Roland McGrath  <roland@hack.frob.com>
302
303         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
304         that was previously under [RESET_PID].
305         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
306
307 2014-08-04  Andreas Schwab  <schwab@suse.de>
308
309         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
310
311 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
312
313         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
314         (main): Likewise.
315
316 2014-08-01  Roland McGrath  <roland@hack.frob.com>
317
318         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
319
320 2014-08-01  Richard Henderon  <rth@redhat.com>
321
322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
323         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
324         typo in exact zero test.
325         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
326         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
327         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
328
329 2014-08-01  Roland McGrath  <roland@hack.frob.com>
330
331         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
332         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
333         * sysdeps/arm/sysdep.h: ... here.
334         [!__ASSEMBLER__]: Include <stdint.h>.
335
336 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
337
338         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
339         (HAVE_WCTYPE_H): Likewise.
340         (HAVE_ISWCTYPE): Likewise.
341         (ENABLE_NLS): Likewise.
342         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
343         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
344
345         * posix/regex_internal.c: Check if DEBUG is defined and is
346         set.
347
348         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
349         (HAVE_MBSRTOWCS): Likewise.
350         * posix/fnmatch.c: Include string.h unconditionally.
351
352 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
353
354         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
355         reversal.
356
357 2014-07-31  Roland McGrath  <roland@hack.frob.com>
358
359         * sysdeps/generic/safe-fatal.h: New file.
360         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
361         * nptl/forward.c: Include it.
362         (__pthread_unwind): Use __safe_fatal as default action, rather
363         than a bogus use of INTERNAL_SYSCALL that could never work.
364
365         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
366         * configure.ac (libc_cv_builtin_trap): New test.
367         * configure: Regenerated.
368         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
369         (ABORT_INSTRUCTION): Define using __builtin_trap.
370
371         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
372         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
373         * sysdeps/nptl/nptl-signals.h: New file.
374         * nptl/pthreadP.h: Include <nptl-signals.h>.
375
376 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
377
378         * sysdeps/s390/s390-64/utf16-utf32-z9.c
379         (ONE_DIRECTION): Define.
380         * sysdeps/s390/s390-64/utf8-utf16-z9.c
381         (ONE_DIRECTION): Define.
382         * sysdeps/s390/s390-64/utf8-utf32-z9.c
383         (ONE_DIRECTION): Define.
384
385 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
386
387         * sysdeps/s390/Makefile: Delete file.
388         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
389         * sysdeps/s390/__longjmp.c: Delete file.
390         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
391         Remove fields __flags and __reserved.
392         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
393         and add versioning.
394         * sysdeps/s390/rtld-__longjmp.c: Delete file.
395         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
396         * sysdeps/s390/rtld-setjmp.S: Likewise.
397         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
398         * sysdeps/s390/s390-32/__longjmp.c: ... here.
399         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
400         * sysdeps/s390/s390-32/setjmp.S: ... here.
401         Add versioning.
402         (__sigsetjmp): Remove setting __flags field.
403         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
404         * sysdeps/s390/s390-64/__longjmp.c: ... here.
405         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
406         * sysdeps/s390/s390-64/setjmp.S: ... here.
407         Add versioning.
408         (__sigsetjmp): Remove setting __flags field.
409         * sysdeps/s390/setjmp.S: Delete file.
410         * sysdeps/s390/sigjmp.c: Likewise.
411         * sysdeps/s390/v1-longjmp.c: Likewise.
412         * sysdeps/s390/v1-setjmp.h: Likewise.
413         * sysdeps/s390/v1-sigjmp.c: Likewise.
414         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
415         Remove v1-longjmp_chk.
416         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
417         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
418         Include debug/longjmp_chk.c and add versioning.
419         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
420         Include nptl/pt-longjmp.c and add versioning.
421         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
422         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
423         Include __longjmp.c.
424         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
425         Move to ...
426         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
427         (__getcontext): Remove setting __flags field.
428         Add versioning.
429         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
430         Don't restore upper high grps.
431         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
432         Likewise.
433         (__swapcontext): Remove setting uc_flags field.
434         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
435         Delete file.
436         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
437         Include __longjmp.c.
438         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
439         Move to ...
440         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
441         (__getcontext): Remove setting __flags field.
442         Add versioning.
443         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
444         (__swapcontext): Remove setting uc_flags field.
445         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
446         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
447         Remove fields uc_high_gprs and __reserved.
448         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
449         New file with reverted content.
450         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
451         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
452         Regenerated.
453         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
454         Regenerated.
455
456 2014-07-31  Andreas Schwab  <schwab@suse.de>
457
458         * config.h.in (HAVE_IFUNC): Define to 0.
459         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
460         definedness.
461
462 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
463
464         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
465         memmove-avx-unaligned, memcpy-avx-unaligned and
466         mempcpy-avx-unaligned.
467         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
468         Add tests for AVX memcpy functions.
469         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
470         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
471         memcpy_chk.
472         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
473         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
474         memmove_chk.
475         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
476         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
477         mempcpy_chk.
478         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
479         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
480         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
481
482 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
483
484         [BZ #17213]
485         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
486         powerpc64le.
487
488 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
489
490         [BZ #16839]
491         * manual/llio.texi: Add section about open file description locks.
492         * manual/examples/ofdlocks.c: Example of open file description
493         lock usage.
494         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
495         F_OFD_SETLK, and F_OFD_SETLKW.
496
497 2014-07-23  Allan McRae  <allan@archlinux.org>
498
499         * po/es.po: Update Spanish translation from translation project.
500
501 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
502
503         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
504
505 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
506
507         [BZ #17078]
508         * sysdeps/arm/dl-machine.h (elf_machine_rela)
509         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
510         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
511
512 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
513
514         [BZ #17088]
515         * math/fesetenv.c (__fesetenv)
516         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
517         * math/feupdateenv.c (__feupdateenv)
518         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
519
520         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
521         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
522         (__ASSUME_SOCKETCALL): Do not define.
523
524         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
525         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
526         (__ASSUME_SOCKETCALL): Do not define.
527         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
528         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
529         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
530         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
531         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
532         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
533         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
534         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
535
536         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
537         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
538         (__ASSUME_SOCKETCALL): Do not define.
539         (__ASSUME_IPC64): Define unconditionally.
540         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
541         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
542         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
543         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
544         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
545         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
546         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
547         Likewise.
548
549         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
550         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
551         (__ASSUME_SOCKETCALL): Do not define.
552         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
553         (__ASSUME_FUTEX_LOCK_PI): Likewise.
554         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
555         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
556         (__ASSUME_REQUEUE_PI): Define unconditionally.
557         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
558         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
559         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
560         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
561         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
562         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
563
564         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
565         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
566         (__ASSUME_SOCKETCALL): Do not define.
567         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
568         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
569         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
570         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
571         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
572         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
573
574         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
575         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
576         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
577         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
578         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
579         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
580         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
581         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
582         (__ASSUME_GETCPU_SYSCALL): Likewise.
583
584         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
585         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
586         cases for individual architectures.
587         * sysdeps/gnu/configure: Regenerated.
588         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
589         LIBC_SLIBDIR_RTLDDIR.
590         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
591         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
592         LIBC_SLIBDIR_RTLDDIR.
593         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
595         LIBC_SLIBDIR_RTLDDIR.
596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
597         Regenerated.
598         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
599         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
600         file.
601         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
602         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
603         file.
604         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
605         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
606         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
607         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
608
609         * sysdeps/aarch64/shlib-versions: Move to ...
610         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
611         * sysdeps/alpha/shlib-versions: Move to ...
612         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
613         * sysdeps/arm/shlib-versions: Move to ...
614         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
615         * sysdeps/hppa/shlib-versions: Move all contents except for
616         libgcc_s entry to ...
617         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
618         entry from ...
619         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
620         * sysdeps/ia64/shlib-versions: Move to ...
621         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
622         entry from ...
623         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
624         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
625         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
626         * sysdeps/microblaze/shlib-versions: Move to ...
627         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
628         * sysdeps/mips/shlib-versions: Move to ...
629         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
630         entry from ...
631         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
632         * sysdeps/tile/shlib-versions: Move to ...
633         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
634         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
635         from ...
636         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
637         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
638         entry from ...
639         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
640
641 2014-07-17  Will Newton  <will.newton@linaro.org>
642
643         * sysdeps/arm/bits/atomic.h
644         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
645         (__arch_compare_and_exchange_bool_16_int): Likewise.
646         (__arch_compare_and_exchange_bool_64_int): Likewise.
647
648         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
649         into an #else block.
650
651 2014-07-16  Roland McGrath  <roland@hack.frob.com>
652
653         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
654         just Linux configurations.  Test empirically that the compiler sets
655         __ARM_EABI__, rather than using the tuple to decide.
656         * sysdeps/arm/preconfigure: Regenerated.
657         * sysdeps/unix/sysv/linux/arm/configure: File removed.
658         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
659         contents appended ...
660         * sysdeps/arm/configure.ac: ... here.
661         * sysdeps/arm/configure: Regenerated.
662
663 2014-07-15  Roland McGrath  <roland@hack.frob.com>
664
665         * nptl/pthread_kill.c: New file.
666         * nptl/pthread_sigmask.c: New file.
667         * nptl/pthread_sigqueue.c: New file.
668
669         * sysdeps/nptl/lowlevellock.h: New file.
670         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
671         * sysdeps/nptl/lowlevellock-futex.h: New file.
672
673         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
674         Remove dead declarations.
675
676 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
677
678         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
679         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
680         config-cflags-avx2.
681         * sysdeps/x86_64/configure.ac: Likewise.
682         * sysdeps/i386/configure: Regenerated.
683         * sysdeps/x86_64/configure: Likewise.
684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
685         memset-avx2 only if config-cflags-avx2 is yes.
686         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
687         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
688         defined.
689         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
690         only if HAVE_AVX2_SUPPORT is defined.
691         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
692
693 2014-07-14  Alan Modra  <amodra@gmail.com>
694
695         [BZ #17153]
696         * elf/elf.h (DT_PPC64_NUM): Correct value.
697         * NEWS: Add to fixed bug list.
698
699 2014-07-13  Jim Meyering  <meyering@fb.com>
700
701         [BZ 17150]
702         regex: don't deref NULL upon heap allocation failure
703         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
704         failure in one more place.
705         To trigger the segfault, configure grep -with-included-regex,
706         build it, and run these commands:
707         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
708
709 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
710
711         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
712
713 2014-07-11  Richard Henderson  <rth@redhat.com>
714
715         * sysdeps/aarch64/libm-test-ulps: Update.
716
717 2014-07-10  Florian Weimer  <fweimer@redhat.com>
718
719         [BZ #17135]
720         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
721         * nptl/allocatestack.c (__nptl_setxid_error): New function.
722         (__nptl_setxid): Initialize error member.  Call
723         __nptl_setxid_error.
724         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
725         * nptl/descr.h (struct xid_command): Add error member.
726         * nptl/tst-setuid3.c: New file.
727         * nptl/Makefile (tests): Add it.
728
729 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
730
731         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
732         New define.
733         (__lll_trylock): Use __lll_base_trylock.
734         (__lll_cond_trylock): Likewise.
735
736 2014-07-10  Roland McGrath  <roland@hack.frob.com>
737
738         * nptl/pthread_create.c (start_thread): Use atomic_or and
739         lll_futex_wake directly rather than lll_robust_dead.
740         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
741         (lll_robust_dead): Macro removed.
742         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
743         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
744         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
745         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
746         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
747         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
748         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
749         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
750         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
751         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
752         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
753         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
754         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
755         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
756         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
757
758         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
759         Use atomic_compare_and_exchange_val_acq directly rather than
760         lll_robust_trylock.
761         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
762         (__lll_robust_trylock, lll_robust_trylock): Removed.
763         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
764         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
765         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
766         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
767         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
768         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
769         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
770         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
771         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
772         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
773         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
774         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
775         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
776         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
777
778 2014-07-02  Florian Weimer  <fweimer@redhat.com>
779
780         * manual/locale.texi (Locale Names): New section documenting
781         locale name syntax.  Adjust menu and node chaining accordingly.
782         (Choosing Locale): Reference Locale Names, Locale Categories.
783         Mention setting LC_ALL=C.  Reflect that name syntax is now
784         documented.
785         (Locale Categories): New section title.  Reference Locale Names.
786         LC_ALL is an environment variable, but not a category.
787         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
788         description, now in Locale Name.  Reference that section.  Locale
789         name syntax is now documented.
790
791 2014-07-02  Florian Weimer  <fweimer@redhat.com>
792
793         [BZ #17137]
794         * locale/findlocale.c (name_present, valid_locale_name): New
795         functions.
796         (_nl_find_locale): Use the loc_name variable to store name
797         candidates.  Call name_present and valid_locale_name to check and
798         validate locale names.  Return an error if the locale is invalid.
799
800 2014-07-02  Florian Weimer  <fweimer@redhat.com>
801
802         * locale/setlocale.c (setlocale): Use strdup for allocating
803         composite name copy.
804
805 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
806
807         Sync up with gnulib.
808         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
809         [!_LIBC && ENABLE_NLS]: Include gettext.h.
810         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
811         and _GL_ARG_NONNULL.
812         [USE_UNLOCKED_IO]: Include unlocked-io.h.
813         [!_LIBC]: Include code for Windows and Cygwin.
814         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
815         Include prototype for int strerror_r.
816         [!_LIBC] (is_open): New function.
817         (flush_stdout): New function.
818         (print_errno_message): Use it.
819         (error): Likewise.
820         (error_at_line): Likewise.
821         (error_tail) Add function attribute macros.  Use
822         __builtin_expect.
823
824         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
825
826         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
827
828         * io/ftw.c: Include sys/param.h unconditionally.
829
830         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
831
832         [BZ #17125]
833         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
834         libc_freeres_ptr.
835         (freecache): New function to free CACHE on exit.
836
837         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
838         initialization.
839
840 2014-07-09  David S. Miller  <davem@davemloft.net>
841
842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
843
844         * sysdeps/sparc/nptl/internaltypes.h: Delete.
845         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
846         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
847         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
848         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
849         * sysdeps/sparc/nptl/sem_init.c: Likewise.
850         * sysdeps/sparc/nptl/sem_post.c: Likewise.
851         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
852         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
853         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
854         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
855         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
856         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
857
858 2014-07-09  Andreas Schwab  <schwab@suse.de>
859
860         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
861         output.
862         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
863         (do_test): Likewise.
864
865         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
866
867 2014-07-09  Will Newton  <will.newton@linaro.org>
868
869         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
870         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
871         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
872         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
873         * sysdeps/hppa/start.S (_start): Likewise.
874
875 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
876
877         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
878
879         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
880         defined.
881
882 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
883
884         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
885         after checking that it is non-NULL.
886
887         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
888
889 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
890
891         * sysdeps/powerpc/memmove.c: Remove file.
892         * sysdeps/powerpc/powerpc32/power4/memcopy.h
893         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
894         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
895         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
896         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
897         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
898         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
899         string memmove instead of removed powerpc one.
900
901         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
902         [weak_alias]: Fix compiler warning due trailing data.
903         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
904         [weak_alias]: Likewise.
905         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
906         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
907
908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
909         (__libc_ifunc_impl_list): Add memmove functions.
910
911 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
912
913         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
914         Remove code.
915         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
916         Likewise
917         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
918         Likewise
919         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
920         Likewise
921         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
922         Likewise
923         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
924         Likewise
925         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
926         Likewise
927         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
928         Likewise
929         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
930         Likewise
931         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
932         Likewise
933         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
934         Likewise
935         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
936         Likewise
937         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
938         Likewise
939         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
940         Likewise
941         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
942         Likewise
943         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
944         Likewise
945         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
946         Likewise
947
948 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
949
950         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
951         to avoid alignment traps in non-cacheable memory.
952         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
953
954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
955         multiarch objects.
956         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
957         file: multiarch power7 memmove.
958         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
959         multiarch default memmove.
960         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
961         multiarch memove for powerpc32/power4.
962
963         * string/bcopy.c: Use full path to include memmove.c.
964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
965         multiarch objects.
966         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
967         bcopy for powerpc64.
968         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
969         bcopy for powerpc64.
970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
971         and memmove implementations.
972         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
973         optimized multiarch memmove for POWER7/powerpc64.
974         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
975         default multiarch memmove for powerpc64.
976         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
977         multiarch for powerpc64.
978         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
979         for POWER7/powerpc64.
980         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
981         memmove for POWER7/powerpc64.
982
983         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
984         glibc default one.
985
986         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
987         __ELF_NATIVE_CLASS equal to 64.
988
989 2014-07-07  Roland McGrath  <roland@hack.frob.com>
990
991         * sysdeps/nptl/lowlevellock.h: File removed.
992
993         * NEWS: NPTL is no longer an add-on!
994         * nptl/internaltypes.h: Moved ...
995         * sysdeps/nptl/internaltypes.h: ... here.
996         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
997         * sysdeps/nptl/fork.c: Likewise.
998         * sysdeps/nptl/gai_misc.h: Likewise.
999         * sysdeps/nptl/librt-cancellation.c: Likewise.
1000         * sysdeps/nptl/jmp-unwind.c: Likewise.
1001         * sysdeps/nptl/setxid.h: Likewise.
1002         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1003         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1004         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1005         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1006         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1007         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1008         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1009         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1010         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1011         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1012         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1013         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1014         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1015         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1016         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1017         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1018         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1019         * nptl/Makeconfig: Moved ...
1020         * sysdeps/nptl/Makeconfig: ... here.
1021         * nptl/configure: File removed.
1022         * nptl/ANNOUNCE: File removed.
1023         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1024         * sysdeps/unix/sysv/linux/configure: Regenerated.
1025
1026         * nptl/Makefile (routines): Add libc_pthread_init,
1027         libc_multiple_threads, register-atfork and unregister-atfork.
1028         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1029         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1030         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1031         pthread-pi-defines.sym, structsem.sym.
1032         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1033         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1034         [$(subdir) = nptl] (tests): Add tst-setgetname.
1035         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1036         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1037         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1038         [!LIBC_SIGACTION]: Remove aliases.
1039         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1040         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1041         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1042         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1043         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1044         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1045         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1046         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1047         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1048         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1049         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1050         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1051         __libc_allocate_rtsig_private.
1052         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1053         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1054         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1055         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1056         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1057         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1058         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1059         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1060         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1061         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1062         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1063         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1064         * nptl/internaltypes.h: ... here.
1065         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1066         * sysdeps/nptl/jmp-unwind.c: ... here.
1067         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1068         * nptl/libc-lowlevellock.c: ... here.
1069         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1070         * nptl/libc_multiple_threads.c: ... here.
1071         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1072         * nptl/libc_pthread_init.c: ... here.
1073         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1074         * nptl/lowlevelbarrier.sym: ... here.
1075         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1076         * nptl/lowlevelcond.sym: ... here.
1077         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1078         * nptl/lowlevellock.c: ... here.
1079         * nptl/lowlevellock.h: Moved ...
1080         * sysdeps/nptl/lowlevellock.h: ... here.
1081         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1082         * nptl/lowlevelrobustlock.c: ... here.
1083         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1084         * nptl/lowlevelrobustlock.sym: ... here.
1085         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1086         * nptl/lowlevelrwlock.sym: ... here.
1087         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1088         * nptl/pt-fork.c: ... here.
1089         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1090         * nptl/pthread-pi-defines.sym: ... here.
1091         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1092         * nptl/pthread_attr_getaffinity.c: ... here.
1093         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1094         * nptl/pthread_attr_setaffinity.c: ... here.
1095         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1096         * nptl/pthread_mutex_cond_lock.c: ... here.
1097         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1098         Update #include.
1099         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1100         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1101         * nptl/pthread_once.c: ... here, replacing old file.
1102         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1103         * nptl/pthread_yield.c: ... here.
1104         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1105         * nptl/register-atfork.c: ... here.
1106         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1107         * nptl/sem_post.c: ... here.
1108         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1109         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1110         * nptl/sem_timedwait.c: ... here.
1111         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1112         * nptl/sem_trywait.c: ... here.
1113         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1114         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1115         * nptl/sem_wait.c: ... here.
1116         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1117         * nptl/structsem.sym: ... here.
1118         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1119         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1120         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1121         * nptl/unregister-atfork.c: ... here.
1122         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1123         * nptl/unwindbuf.sym: ... here.
1124         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1125         * sysdeps/nptl/fork.c: ... here.
1126         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1127         * sysdeps/nptl/fork.h: ... here.
1128         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1129         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1130         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1131         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1132         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1133         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1134         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1135         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1136         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1137         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1138         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1139         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1140         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1141         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1142         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1143         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1144         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1145         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1146         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1147         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1148         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1149         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1150         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1151         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1152         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1153         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1154         * sysdeps/unix/sysv/linux/raise.c: ... here.
1155         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1156         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1157         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1158         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1159         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1160         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1161         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1162         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1163         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1164         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1165         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1166         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1167         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1168         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1169         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1170
1171 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1172
1173         * sysdeps/generic/memcopy.h: Add comment for
1174         MEMCPY_OK_FOR_FWD_MEMMOVE.
1175
1176 2014-07-04  Will Newton  <will.newton@linaro.org>
1177
1178         * string/memchr.c: Merge from gnulib.
1179         [_LIBC]: Remove conditionals.
1180         (__ptr_t): Remove define.
1181         (LONG_MAX_32_BITS): Likewise.
1182         (LONG_MAX): Likewise.
1183         (MEMCHR): Use ANSI prototype and optimize algorithm.
1184
1185         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1186
1187 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1188
1189         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1190         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1191
1192         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1193         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1194         in a bare environment with no <stdlib.h> installed.
1195         * sysdeps/nptl/configure: Regenerated.
1196
1197         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1198
1199         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1200         AC_EGREP_CPP for kernel header checks, so they only succeed if
1201         including <linux/version.h> actually works right.
1202         * sysdeps/unix/sysv/linux/configure: Regenerated.
1203
1204         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1205         value so it's not diagnosed as unused.
1206
1207         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1208         thing) with "ifeq ($(subdir),rt)".
1209
1210 2014-07-03  Richard Henderson  <rth@redhat.com>
1211
1212         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1213         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1214         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1215
1216         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1217         (math_force_eval): New.
1218
1219         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1220         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1221
1222         * sysdeps/alpha/fpu/s_round.c: Remove file.
1223         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1224
1225         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1226         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1227         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1228         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1229         (_dl_start, print_statistics): Likewise.
1230         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1231         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1232
1233         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1234         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1235         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1236         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1237         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1238         (HP_SMALL_TIMING_AVAIL): Define.
1239         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1240         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1241         (HP_SMALL_TIMING_AVAIL): Define.
1242         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1243         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1244
1245         * sysdeps/aarch64/hp-timing.h: New file.
1246
1247         * sysdeps/generic/hp-timing.h: Remove dead comment.
1248         * sysdeps/generic/hp-timing-common.h: New file.
1249         * sysdeps/alpha/hp-timing.h: Include it.
1250         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1251         * sysdeps/i386/i686/hp-timing.h: Likewise.
1252         * sysdeps/ia64/hp-timing.h: Likewise.
1253         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1254         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1255         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1256         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1257         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1258         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1259         (hp_timing_t): New.
1260
1261         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1262         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1263         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1264         * elf/rtld.c (_dl_start_final): Likewise.
1265         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1266         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1267         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1268         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1269         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1270         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1271         (HP_TIMING_DIFF_INIT): Remove.
1272         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1273         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1274         (HP_TIMING_DIFF_INIT): Remove.
1275         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1276         * sysdeps/i386/i686/hp-timing.c: Remove file.
1277         * sysdeps/x86_64/hp-timing.c: Remove file.
1278         * sysdeps/ia64/hp-timing.c: Remove file.
1279         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1280         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1281         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1282         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1283
1284         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1285         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1286         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1287         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1288         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1289         (HP_TIMING_ACCUM): Remove.
1290         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1291         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1292         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1293
1294         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1295         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1296         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1297         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1298         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1299         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1300         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1301         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1302
1303         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1304
1305 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1306
1307         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1308
1309 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1310
1311         Sync up with gettext.
1312         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1313         [_MSC_VER]: Include malloc.h
1314         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1315         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1316         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1317         TEMP_FAILURE_RETRY.  Cast return of alloca.
1318         [!_LIBC] Call gl_rwlock_init.
1319         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1320
1321 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1322
1323         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1324         before checking its value.
1325
1326 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1327
1328         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1329
1330         * debug/memcpy_chk.c: Don't include pagecopy.h.
1331         * debug/mempcpy_chk.c: Likewise.
1332         * string/memcpy.c: Likewise.
1333         * string/memmove.c: Likewise.
1334         * sysdeps/powerpc/memmove.c: Likewise.
1335         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1336         definition of PAGE_COPY_FWD_MAYBE here...
1337         * sysdeps/generic/pagecopy.h: ... from here.
1338         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1339
1340 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1341             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1342
1343         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1345         optimizations.
1346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1347         (__libc_ifunc_impl_list): Likewise.
1348         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1349         multiarch strcat for PPC64.
1350         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1351         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1352
1353 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1354
1355         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1356
1357 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1358
1359         * intl/loadmsgcat.c: Remove declaration of
1360         get_sysdep_segment_value.
1361         (get_sysdep_segment_value): Use ISO C style.
1362         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1363         semicolon.  Fix typo and formatting in comment.
1364         (_nl_unload_domain): Use ISO C style.
1365
1366         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1367
1368 2014-07-02  Will Newton  <will.newton@linaro.org>
1369
1370         * malloc/obstack.c: Merge from gnulib master.
1371         [HAVE_CONFIG_H]: Remove conditional code.
1372         [!_LIBC]: Include config.h.
1373         [!ELIDE_CODE]: Don't include inttypes.h, include
1374         stdint.h unconditionally.
1375         (print_and_abort): Mark as _Noreturn.
1376         (_obstack_allocated_p): Mark as __attribute_pure__.
1377         (obstack_free): Rename to __obstack_free.
1378         [!__attribute__]: Remove conditional code.
1379         * malloc/obstack.h: Merge from gnulib master.
1380         [__cplusplus]: Move conditional down.
1381         [!__attribute_pure__]: Define __attribute_pure__ here
1382         if it is not already defined.
1383         (_obstack_memory_used): Mark as __attribute_pure__.
1384         [!__obstack_free]: Define as obstack_free.
1385         [__GNUC__]: Remove check for ancient NeXT gcc.
1386
1387 2014-07-02  Will Newton  <will.newton@linaro.org>
1388             Paul Eggert  <eggert@cs.ucla.edu>
1389
1390         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1391
1392 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1393
1394         * resolv/gethnamaddr.c: Add comment warning that the file is
1395         not maintained.
1396
1397 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1398
1399         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1400         entries.
1401
1402         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1403         entry for aio_cancel and aio_cancel64.
1404         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1405         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1406         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1407         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1408         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1409         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1410         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1411         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1412         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1413         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1414         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1415         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1416         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1417
1418 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1419
1420         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1421         * nptl/pthread_mutex_lock.c: Likewise.
1422         * nptl/pthread_mutex_timedlock.c: Likewise.
1423         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1424
1425 2014-07-01  Richard henderson  <rth@redhat.com>
1426
1427         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1428         (__isnan, __isnanl): Remove.
1429         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1430
1431         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1432
1433 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1434
1435         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1436
1437 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1438
1439         * resolv/nss_dns/dns-host.c (getanswer_r)
1440         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1441
1442 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1443
1444         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1445         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1446         undefine.
1447         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1448         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1449
1450 2014-07-01  Roland McGrath <roland@hack.frob.com>
1451
1452         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1453         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1454
1455         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1456         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1457
1458         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1459         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1460         ... here.
1461         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1462         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1463
1464         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1465         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1466         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1467         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1468
1469         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1470         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1471         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1472         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1473         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1474         Moved ...
1475         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1476         ... here.
1477         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1478         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1479         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1480         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1481         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1482         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1483         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1484         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1485         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1486         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1487         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1488         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1489         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1490         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1491         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1492         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1493         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1494         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1495         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1496         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1497         ... here.
1498         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1499         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1500         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1501         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1502         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1503         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1504         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1505         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1506
1507 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1508
1509         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1510         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1511         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1512         Add sysdep.
1513
1514 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1515
1516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1517
1518 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1519
1520         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1521         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1522
1523         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1524
1525         * sysdeps/arm/libm-test-ulps: Regenerated.
1526
1527 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1528             Roland McGrath <roland@hack.frob.com>
1529
1530         * test-skeleton.c (signal_handler): Kill the whole process group
1531         before killing the child individually.
1532         (main): Report any failure on `setpgid'.
1533
1534 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1535
1536         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1537         from _TLS_H to _ARM_NPTL_TLS_H.
1538         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1539         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1540
1541 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1542
1543         [BZ #16539]
1544         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1545         (__expm1l): Return argument unchanged when small but not
1546         subnormal.
1547
1548         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1549         include macro name.
1550         (_FP_UNPACK_RAW_1_P): Likewise.
1551         (_FP_PACK_RAW_1): Likewise.
1552         (_FP_PACK_RAW_1_P): Likewise.
1553         (_FP_MUL_MEAT_1_wide): Likewise.
1554         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1555         (_FP_MUL_MEAT_1_hard): Likewise.
1556         (_FP_DIV_MEAT_1_imm): Likewise.
1557         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1558         (_FP_DIV_MEAT_1_udiv): Likewise.
1559         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1560         (_FP_UNPACK_RAW_2): Likewise.
1561         (_FP_UNPACK_RAW_2_P): Likewise.
1562         (_FP_PACK_RAW_2): Likewise.
1563         (_FP_PACK_RAW_2_P): Likewise.
1564         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1565         (_FP_MUL_MEAT_2_wide): Likewise.
1566         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1567         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1568         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1569         (_FP_MUL_MEAT_2_gmp): Likewise.
1570         (_FP_DIV_MEAT_2_udiv): Likewise.
1571         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1572         (_FP_FRAC_SRL_4): Likewise.
1573         (_FP_FRAC_SRST_4): Likewise.
1574         (_FP_FRAC_SRS_4): Likewise.
1575         (_FP_UNPACK_RAW_4): Likewise.
1576         (_FP_UNPACK_RAW_4_P): Likewise.
1577         (_FP_PACK_RAW_4): Likewise.
1578         (_FP_PACK_RAW_4_P): Likewise.
1579         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1580         (_FP_MUL_MEAT_4_wide): Likewise.
1581         (_FP_MUL_MEAT_4_gmp): Likewise.
1582         (umul_ppppmnnn): Likewise.
1583         (_FP_DIV_MEAT_4_udiv): Likewise.
1584         (__FP_FRAC_ADD_4): Likewise.
1585         (__FP_FRAC_SUB_3): Likewise.
1586         (__FP_FRAC_SUB_4): Likewise.
1587         (__FP_FRAC_DEC_3): Likewise.
1588         (__FP_FRAC_DEC_4): Likewise.
1589         (__FP_FRAC_ADDI_4): Likewise.
1590         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1591         (_FP_FRAC_SRL_8): Likewise.
1592         (_FP_FRAC_SRS_8): Likewise.
1593
1594         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1595         include macro name.
1596         (FP_UNPACK_RAW_EP): Likewise.
1597         (FP_PACK_RAW_E): Likewise.
1598         (FP_PACK_RAW_EP): Likewise.
1599         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1600         (_FP_ISSIGNAN): Likewise.
1601         (_FP_ADD_INTERNAL): Likewise.
1602         (_FP_FMA): Likewise.
1603         (_FP_CMP): Likewise.
1604         (_FP_SQRT): Likewise.
1605         (_FP_TO_INT): Likewise.
1606         (_FP_FROM_INT): Likewise.
1607         (FP_EXTEND): Likewise.
1608         (_FP_DIV_MEAT_N_loop): Likewise.
1609
1610 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1611
1612         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1613         throughout.
1614
1615 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1616
1617         [BZ #17097]
1618         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1619         result with correct sign in case of exponents that produce
1620         overflow except for X very close to 1.
1621
1622 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1623
1624         mktime: merge #if/#ifdef usage from glibc
1625         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1626         as that works with both Glibc's and Gnulib's style.
1627         See thread starting at Siddhesh Poyarekar's bug report at:
1628         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1629
1630 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1631
1632         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1633         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1634         * sysdeps/tile/tilegx/memmove.c: Remove file.
1635
1636 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1637
1638         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1639         abi-name definition.
1640         * scripts/soversions.awk: Do not handle or generate ABI lines.
1641         * shlib-versions: Remove ABI entries.
1642         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1643         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1644
1645 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1646
1647         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1648         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1649         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1650         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1651         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1652         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1653         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1654         Moved ...
1655         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1656         ... here.
1657         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1658         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1659         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1660         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1661         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1662         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1663         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1664         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1666         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1667         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1668         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1669         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1670         Moved ...
1671         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1672         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1673         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1674         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1675         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1676         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1677         Moved ...
1678         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1679         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1680         Moved ...
1681         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1682         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1683         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1684         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1685         Moved ...
1686         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1687         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1688         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1689         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1690         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1691         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1692         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1693         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1694         Moved ...
1695         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1696         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1697         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1698         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1699         Moved ...
1700         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1701         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1702         Moved ...
1703         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1704         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1705         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1706         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1707         Moved ...
1708         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1709         ... here.
1710         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1711         Identical file removed.
1712         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1713         Moved ...
1714         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1715         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1716         Identical file removed.
1717         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1718         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1719         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1720         Moved ...
1721         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1722         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1723         Identical file removed.
1724         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1725         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1726         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1727         Identical file removed.
1728         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1729         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1730         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1731         Identical file removed.
1732         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1733         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1734         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1735         Identical file removed.
1736         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1737         Moved ...
1738         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1739         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1740         Identical file removed.
1741         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1742         Moved ...
1743         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1744         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1745         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1746         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1747         Identical file removed.
1748         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1749         Moved ...
1750         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1751         ... here.
1752         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1753         Identical file removed.
1754         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1755         Moved ...
1756         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1757         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1758         Identical file removed.
1759         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1760         Moved ...
1761         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1762         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1763         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1764         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1765         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1766         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1767         Moved ...
1768         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1769         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1770         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1771
1772         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1773         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1774         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1775         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1776         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1777
1778 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1779
1780         [BZ #17092]
1781         * nscd/nscd.c (monitor_child): Return exit status of child
1782         instead of return value from wait syscall.
1783
1784 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1785
1786         * configure.ac (libc_commonpagesize): Remove variable.
1787         (libc_relro_required): Likewise.
1788         (libc_cv_z_relro): Remove configure test.
1789         * configure: Regenerated.
1790         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1791         variable.
1792         (libc_relro_required): Likewise.
1793         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1794         (libc_relro_required): Likewise.
1795         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1796         (libc_relro_required): Likewise.
1797         * sysdeps/arm/preconfigure: Regenerated.
1798         * sysdeps/ia64/preconfigure: Remove file.
1799         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1800         variable.
1801         (libc_relro_required): Likewise.
1802
1803         [BZ #16561]
1804         [BZ #16562]
1805         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1806         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1807         recompute overflowing results in original rounding mode.
1808         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1809         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1810         recompute overflowing results in original rounding mode.
1811         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1812         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1813         recompute overflowing results in original rounding mode.
1814         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1815         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1816         recompute overflowing results in original rounding mode.
1817         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1818         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1819         recompute overflowing results in original rounding mode.
1820         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1821         (libc_feholdsetround_ctx): New macro.
1822         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1823         * sysdeps/i386/fpu/libm-test-ulps: Update.
1824         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1825
1826 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1827
1828         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1829         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1830         corresponding .cpsetup call.
1831
1832 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1833
1834         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1835         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1836         * sysdeps/arm/Makefile [$(subdir) = csu]
1837         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1838         (static-only-routines): Add aeabi_read_tp here.
1839         (shared-only-routines): Add libc-aeabi_read_tp here.
1840         (CFLAGS-libc-start.c): Add -fexceptions here.
1841         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1842         (sysdep_routines, static-only-routines, shared-only-routines):
1843         Don't add to these here.
1844         (CFLAGS-libc-start.c): Likewise.
1845
1846         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1847         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1848         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1849         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1850         * sysdeps/arm/Makefile [$(subdir) = rt]
1851         (librt-sysdep_routines, librt-shared-only-routines):
1852         Append rt-aeabi_unwind_cpp_pr1 here.
1853         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1854         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1855         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1856         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1857         Append nptl-aeabi_unwind_cpp_pr1 here.
1858         (tests): Filter out tst-cleanupx4 here.
1859         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1860         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1861         Don't do those here.
1862
1863 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1864
1865         * scripts/list-sources.sh: Do not handle ports specially.
1866
1867 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1868
1869         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1870         * sysdeps/arm/feupdateenv.c: Likewise.
1871
1872         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1873
1874 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1875
1876         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1877         trailing whitespace removed.
1878         * scripts/config.guess: Update to version 2014-03-23.
1879         * scripts/config.sub: Update to version 2014-05-01
1880         * scripts/install-sh: Update to version 2013-12-25.23.
1881         * scripts/move-if-change: Update from gnulib.
1882
1883 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1884
1885         * debug/memmove_chk.c: Remove pagecopy.h include.
1886
1887 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1888
1889         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1890         identical to gnulib mktime.
1891
1892 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1893
1894         * configure.ac: Do not test for machine being rs6000.  Do not test
1895         for powerpc*-*soft.
1896         * configure: Regenerated.
1897
1898         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1899         test.
1900         * configure: Regenerated.
1901         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1902         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1903         Remove configure test.
1904         * sysdeps/arm/configure: Regenerated.
1905         * sysdeps/nptl/configure.ac: Do not check
1906         libc_cv_asm_cfi_directives.
1907         * sysdeps/nptl/configure: Regenerated.
1908         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1909         * sysdeps/x86_64/nptl/configure: Remove generated file.
1910         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1911         unconditional.
1912         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1913
1914 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1915
1916         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1917         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1918         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1919         it is defined.
1920
1921         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1922         instead of whether it is defined.
1923         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1924         * sysdeps/hppa/dl-machine.h: Likewise.
1925         * sysdeps/ia64/dl-machine.h: Likewise.
1926         * sysdeps/m68k/dl-machine.h: Likewise.
1927         * sysdeps/microblaze/dl-machine.h: Likewise.
1928         * sysdeps/mips/dl-machine.: Likewise.
1929         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1930         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1931         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1932         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1933         * sysdeps/sh/dl-machine.h: Likewise.
1934         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1935         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1936         * sysdeps/tile/dl-machine.h: Likewise.
1937         * sysdeps/x86_64/dl-machine.h: Likewise.
1938
1939         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1940         code.
1941         (verify_persistent_db): Likewise.
1942
1943 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1944
1945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1946         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1948         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1950         Moved ...
1951         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1952         ... here.
1953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1954         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1956         Identical file removed.
1957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1958         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1960         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1962         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1964         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1966         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1968         Moved ...
1969         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1971         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1973         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1975         Moved ...
1976         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1978         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1980         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1982         Identical file removed.
1983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1984         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1986         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1988         Moved ...
1989         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1990         ... here.
1991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1992         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1994         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1996         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1998         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2000         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2002         Moved ...
2003         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2005         Moved ...
2006         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2008         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2010         Moved ...
2011         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2013         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2014
2015         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2016         folded into ...
2017         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2018         * sysdeps/unix/sysv/linux/s390/Versions
2019         (libpthread: GLIBC_2.19): New version set.
2020         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2021         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2022         (librt: GLIBC_2.3.3): New version set.
2023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2024         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2025         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2026         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2027         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2028         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2029         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2030         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2031         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2032         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2033         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2034         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2035         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2036         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2037         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2038         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2039         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2040         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2041         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2042         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2043         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2044         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2045         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2046         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2047         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2048         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2049         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2050         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2051         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2052         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2053         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2054         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2055         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2057         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2059         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2060         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2061         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2063         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2065         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2066         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2067         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2068
2069         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2070         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2071         (__libc_vfork): Define the function under this name.
2072         [!NOT_IN_libc] (__vfork): Make this an alias.
2073         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2074         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2075         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2076         (__libc_vfork): Define the function under this name.
2077         [!NOT_IN_libc] (__vfork): Make this an alias.
2078         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2079         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2080         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2082         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2083         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2084
2085         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2086         code that was previously under [RESET_PID].
2087         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2088         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2089         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2090
2091         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2092         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2093         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2094         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2095         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2096         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2097         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2098         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2099         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2100         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2101         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2102         Moved ...
2103         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2104         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2105         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2106         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2107         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2108         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2109         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2110         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2111         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2112         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2113         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2114         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2115         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2116         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2117         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2118         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2119         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2120         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2121         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2122         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2123         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2124         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2125         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2126         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2127         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2128         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2129         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2130         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2131         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2132
2133 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2134
2135         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2136         that was previously under [RESET_PID].
2137         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2138
2139 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2140
2141         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2142         not undefine and redefine.
2143         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2144         [O_CLOEXEC]: Make code unconditional.
2145         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2146         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2147         <kernel-features.h>.
2148         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2149         conditional variable definition.
2150         (shm_open) [O_CLOEXEC]: Make code unconditional.
2151         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2152         code.
2153
2154         * configure.ac (USE_REGPARMS): Don't define here.
2155         * configure: Regenerated.
2156         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2157         * sysdeps/i386/configure: Regenerated.
2158
2159         * nptl/createthread.c: Don't include kernel-features.h.
2160         * nptl/pthread_cancel.c: Likewise.
2161         * nptl/pthread_condattr_setclock.c: Likewise.
2162         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2163         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2164         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2165         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2166         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2167         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2168         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2169         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2170         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2171         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2172         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2173         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2174         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2175         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2176         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2177         * nscd/gai.c: Likewise.
2178         * nss/nss_db/db-open.c: Likewise.
2179         * sysdeps/generic/ldsodefs.h: Likewise.
2180         * sysdeps/sh/nptl/tls.h: Likewise.
2181         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2182         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2183         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2184         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2185         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2186         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2187         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2188         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2189         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2190         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2191         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2192         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2193         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2194         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2195         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2196         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2197         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2198         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2199         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2200         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2201         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2202         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2203         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2204         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2205         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2206         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2207         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2208         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2209         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2210         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2211         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2212         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2213         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2214         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2215         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2216         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2217         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2218         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2219         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2220         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2221         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2222         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2223         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2224         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2225         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2226         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2227         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2228         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2229         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2230         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2231         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2232         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2233         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2234         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2235         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2236         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2237         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2238         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2261         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2262         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2263         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2264         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2265         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2266         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2267         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2268         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2269         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2270         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2271         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2272         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2273         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2274         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2275         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2276         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2277         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2278         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2279         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2280         * sysdeps/unix/sysv/linux/system.c: Likewise.
2281         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2282         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2283         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2284         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2285         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2286         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2287         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2288
2289         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2290         * configure: Regenerated.
2291         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2292
2293         * configure.ac (base_machine): Do not set specially for particular
2294         machines here.
2295         * configure: Regenerated.
2296         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2297         settings from configure.ac.
2298         * sysdeps/i386/preconfigure: New file.
2299         * sysdeps/s390/preconfigure: Likewise.
2300         * sysdeps/sh/preconfigure: Likewise.
2301         * sysdeps/sparc/preconfigure: Likewise.
2302
2303 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2304
2305         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2306         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2307         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2308         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2309         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2310         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2311         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2312         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2313         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2314         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2315         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2316         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2317         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2318         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2319         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2320         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2321         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2322         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2323         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2324
2325         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2326         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2327         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2328         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2329         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2330         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2331         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2332         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2333         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2334         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2335         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2336         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2337         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2338         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2339         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2340         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2341         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2342         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2343         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2344         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2345         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2346         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2347         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2348         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2350         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2351         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2352         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2353         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2354         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2355         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2356         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2357         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2358         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2359         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2360         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2361         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2362         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2363
2364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2365         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2367         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2369         Moved ...
2370         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2371         ... here.
2372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2373         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2375         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2377         Moved ...
2378         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2380         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2382         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2384         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2386         Moved ...
2387         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2389         Moved ...
2390         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2392         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2394         Moved ...
2395         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2397         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2399         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2401         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2403         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2405         Moved ...
2406         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2407         ... here.
2408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2409         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2411         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2413         Moved ...
2414         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2416         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2418         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2420         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2422         Moved ...
2423         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2425         Moved ...
2426         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2428         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2430         Moved ...
2431         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2433         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2435         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2436
2437 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2438
2439         * timezone/checktab.awk: Update from tzcode 2014e.
2440         * timezone/private.h: Likewise.
2441         * timezone/tzfile.h: Likewise.
2442         * timezone/zdump.c: Likewise.
2443         * timezone/zic.c: Likewise.
2444
2445         * sysdeps/unix/sysv/linux/kernel-features.h
2446         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2447         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2448         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2449         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2450         Remove conditional code.
2451
2452 2014-06-25  Will Newton  <will.newton@linaro.org>
2453
2454         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2455         (_dl_arm_cap_flags): Add HWCAP2 values.
2456         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2457         (_DL_HWCAP_COUNT): Increase to 37.
2458         (_DL_HWCAP_LAST): New define.
2459         (_DL_HWCAP2_LAST): New define.
2460         (_dl_procinfo): Add support for printing
2461         AT_HWCAP2 entries.
2462         (_dl_string_hwcap): Use _dl_hwcap_string.
2463
2464 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2465
2466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2467
2468 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2469
2470         * README: Do not mention ports directory.
2471
2472         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2473         Remove macro.
2474         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2475         <kernel-features.h>.
2476         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2477         conditional variable definition.
2478         (__futimes): Update comment.
2479         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2480         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2481
2482         [BZ #16560]
2483         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2484         arguments close to 0.
2485         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2486         Likewise.
2487         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2488         Likewise.
2489         * math/auto-libm-test-in: Add more tests of exp10.
2490         * math/auto-libm-test-out: Regenerated.
2491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2492
2493         * sysdeps/unix/sysv/linux/kernel-features.h
2494         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2495         * sysdeps/unix/sysv/linux/readv.c: Do not include
2496         <kernel-features.h>.
2497         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2498         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2499         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2500         unconditional.
2501         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2502         conditional code.
2503         * sysdeps/unix/sysv/linux/writev.c: Do not include
2504         <kernel-features.h>.
2505         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2506         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2507         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2508         unconditional.
2509         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2510         conditional code.
2511
2512 2014-06-25  Will Newton  <will.newton@linaro.org>
2513
2514         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2515         comment changes throughout the file.  Remove checks
2516         for HAVE_*_H definitions that are not required.
2517         (__gen_tempname): Call abort if an unknown kind value is
2518         passed.
2519
2520 2014-06-25  Andreas Schwab  <schwab@suse.de>
2521
2522         [BZ #17086]
2523         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2524         scalbln, scalblnf, scalblnl in libc.
2525
2526 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2527
2528         [BZ #17086]
2529         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2530         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2531         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2532
2533 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2534
2535         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2536         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2537         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2538         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2539         Update #include.
2540         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2541         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2542         Update #include.
2543         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2544         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2545         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2546         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2547         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2548         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2549         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2550         * sysdeps/x86/bits/semaphore.h: ... here.
2551         * sysdeps/x86/nptl/elide.h: Moved ...
2552         * sysdeps/x86/elide.h: ... here.
2553         * sysdeps/x86_64/nptl/Implies: File removed.
2554         * sysdeps/i386/nptl/Implies: File removed.
2555
2556 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2557
2558         [BZ #16539]
2559         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2560         return the argument for normal arguments with exponent below -64.
2561         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2562         Likewise.
2563         * math/auto-libm-test-in: Add another test of expm1.
2564         * math/auto-libm-test-out: Regenerated.
2565
2566         [BZ #16287]
2567         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2568         calling __erfcl for arguments at least 16.
2569         * math/auto-libm-test-in: Add more tests of erf.
2570         * math/auto-libm-test-out: Regenerated.
2571
2572         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2573         individual architectures.
2574         * sysdeps/unix/sysv/linux/configure: Regenerated.
2575         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2576         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2577         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2578         (ldd_rewrite_script): Define variable.
2579         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2581         file.
2582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2583         generated file.
2584         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2585         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2586         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2587         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2588         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2589         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2590         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2591         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2592
2593 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2594
2595         [BZ #17084]
2596         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2597         Rename member __data.d to __data.__elision_data.
2598
2599 2014-06-24  Wilco  <wdijkstr@arm.com>
2600
2601         * NEWS: Add 16918 to fixed bug list.
2602
2603 2014-06-24  Wilco  <wdijkstr@arm.com>
2604
2605         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2606
2607 2014-06-24  Wilco  <wdijkstr@arm.com>
2608
2609         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2610         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2611         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2612         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2613         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2614         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2615         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2616         Use _FPU_MASK_RM.
2617
2618 2014-06-24  Wilco  <wdijkstr@arm.com>
2619
2620         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2621
2622 2014-06-24  Wilco  <wdijkstr@arm.com>
2623
2624         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2625         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2626         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2627         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2628
2629 2014-06-24  Wilco  <wdijkstr@arm.com>
2630
2631         [BZ #16918]
2632         * sysdeps/arm/feupdateenv.c (feupdateenv):
2633         Rewrite to reduce FPSCR accesses and fix return value.
2634
2635 2014-06-24  Wilco  <wdijkstr@arm.com>
2636
2637         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2638         Optimize to avoid unnecessary FPSCR writes.
2639         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2640         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2641         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2642         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2643
2644 2014-06-24  Wilco  <wdijkstr@arm.com>
2645
2646         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2647         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2648         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2649         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2650         Call libc_fetestexcept_vfp.
2651         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2652         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2653         __SOFTFP__ ifdef so that they can be built for softfp.
2654
2655 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2656
2657         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2658         argument type signed char.
2659
2660         * Makerules (check-abi): Dump diff of symlist if the test
2661         fails.
2662
2663 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2664
2665         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2666         using abort.
2667
2668         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2669         Remove unused variable ST.
2670
2671 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2672
2673         [BZ #16354]
2674         [BZ #17061]
2675         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2676         small arguments before calling __expm1.
2677         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2678         small arguments before calling __expm1f.
2679         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2680         small arguments before calling __expm1l.
2681         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2682         Likewise.
2683         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2684         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2685         spurious underflow for some cosh tests.
2686         * math/auto-libm-test-out: Regenerated.
2687         * sysdeps/i386/fpu/libm-test-ulps: Update.
2688
2689         [BZ #17050]
2690         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2691         (__ieee754_y1): Set errno if return value overflows.
2692         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2693         (__ieee754_y1f): Set errno if return value overflows.
2694         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2695         (__ieee754_y1l): Set errno if return value overflows.
2696         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2697         (__ieee754_y1l): Set errno if return value overflows.
2698         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2699         * math/auto-libm-test-out: Regenerated.
2700
2701         * math/gen-auto-libm-tests.c: Document use of
2702         ignore-zero-inf-sign.
2703         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2704         (input_flags): Add ignore-zero-inf-sign.
2705         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2706         * math/gen-libm-test.pl (generate_testfile): Handle
2707         ignore-zero-inf-sign.
2708         * math/auto-libm-test-in: Mark some cpow tests with
2709         ignore-zero-inf-sign and some with xfail-rounding.
2710         * math/auto-libm-test-out: Regenerated.
2711         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2712         * sysdeps/i386/fpu/libm-test-ulps: Update.
2713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2714
2715         [BZ #16315]
2716         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2717         overflowing or underflowing operations take place with sign of
2718         result.
2719         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2720         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2721         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2722         (__ieee754_pow): Recompute overflowing and underflowing results in
2723         original rounding mode.
2724         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2725         (__powl_helper): Allow negative argument X and scale negated value
2726         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2727         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2728         overflowing or underflowing operations take place with sign of
2729         result.
2730         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2731         Include <math.h>.
2732         * math/auto-libm-test-in: Add more tests of pow.
2733         * math/auto-libm-test-out: Regenerated.
2734         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2735         (pow_tonearest_test_data): Remove.
2736         (pow_test_tonearest): Likewise.
2737         (pow_towardzero_test_data): Likewise.
2738         (pow_test_towardzero): Likewise.
2739         (pow_downward_test_data): Likewise.
2740         (pow_test_downward): Likewise.
2741         (pow_upward_test_data): Likewise.
2742         (pow_test_upward): Likewise.
2743         (main): Don't call removed functions.
2744         * sysdeps/i386/fpu/libm-test-ulps: Update.
2745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2746
2747 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2748
2749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2750         Moved ...
2751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2753         Moved ...
2754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2756         Moved ...
2757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2759         Moved ...
2760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2762         File removed.
2763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2764         File removed.
2765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2766         File removed.
2767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2768         File removed.
2769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2770         File removed.
2771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2772         File removed.
2773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2774         File removed.
2775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2776         File removed.
2777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2778         File removed.
2779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2780         File removed.
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2782         File removed.
2783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2784         File removed.
2785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2786         Moved ...
2787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2789         Moved ...
2790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2791         ... here.
2792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2793         Moved ...
2794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2796         Moved ...
2797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2799         Moved ...
2800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2802         Moved ...
2803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2805         Moved ...
2806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2808         Moved ...
2809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2811         Moved ...
2812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2815         ... here.
2816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2817         Moved ...
2818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2820         Moved ...
2821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2822         ... here.
2823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2824         Moved ...
2825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2826         ... here.
2827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2828         Moved ...
2829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2830         ... here.
2831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2832         Moved ...
2833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2835         Moved ...
2836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2840         Moved ...
2841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2842         ... here.
2843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2844         Moved ...
2845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2846         ... here.
2847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2848         Moved ...
2849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2851         Moved ...
2852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2854         Moved ...
2855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2857         Moved ...
2858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2860         Moved ...
2861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2862         ... here.
2863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2864         Moved ...
2865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2867         Moved ...
2868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2870         Moved ...
2871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2873         Moved ...
2874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2878         Moved ...
2879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2881         Moved ...
2882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2884         Moved ...
2885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2886         ... here.
2887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2888         Moved ...
2889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2890         ... here.
2891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2892         Moved ...
2893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2894         ... here.
2895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2896         Moved ...
2897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2899         Moved ...
2900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2902         Moved ...
2903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2905         Moved ...
2906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2907         ... here.
2908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2909         Moved ...
2910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2911         ... here.
2912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2913         Moved ...
2914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2915         ... here.
2916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2917         Moved ...
2918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2920         Moved ...
2921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2922
2923 2014-06-23  Will Newton  <will.newton@linaro.org>
2924             Wilco  <wdijkstr@arm.com>
2925
2926         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2927         implementation.  Include get-rounding-mode.h.
2928         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2929         [!libc_feholdsetround_noex_ctx]: Define
2930         libc_feholdsetround_noex_ctx.
2931         [!libc_feholdsetround_noexf_ctx]: Define
2932         libc_feholdsetround_noexf_ctx.
2933         [!libc_feholdsetround_noexl_ctx]: Define
2934         libc_feholdsetround_noexl_ctx.
2935         (libc_feholdsetround_ctx): New function.
2936         (libc_feresetround_ctx): New function.
2937         (libc_feholdsetround_noex_ctx): New function.
2938         (libc_feresetround_noex_ctx): New function.
2939
2940 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2941
2942         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2943         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2944         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2945         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2946         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2947         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2948
2949         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2950         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2951         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2952         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2953         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2954         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2955         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2956         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2957         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2958         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2959         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2960         Moved ...
2961         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2962         ... here.
2963         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2964         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2965         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2966         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2967         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2968         Moved ...
2969         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2970         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2971         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2972         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2973         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2974         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2975         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2976         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2977         Moved ...
2978         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2979         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2980         Moved ...
2981         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2982         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2983         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2984         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2985         Moved ...
2986         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2987         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2988         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2989         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2990         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2991         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2992         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2993         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2994         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2995         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2996         Moved ...
2997         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2998         ... here.
2999         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3000         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3001         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3002         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3003         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3004         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3005         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3006         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3007         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3008         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3009         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3010         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3011         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3012         Moved ...
3013         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3014         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3015         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3016         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3017         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3018         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3019         Moved ...
3020         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3021         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3022         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3023         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3024         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3025
3026         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3027         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3028         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3029         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3030         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3031         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3032         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3033         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3034         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3035         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3036         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3037         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3038         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3039         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3040         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3041         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3042         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3043         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3044         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3045         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3046         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3047         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3048         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3049         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3050         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3051         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3052         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3053         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3054
3055 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3056
3057         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3058         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3059         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3060         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3061         (IPV6_PMTUDISC_INTERFACE): Likewise.
3062         (IPV6_PMTUDISC_OMIT): Likewise.
3063
3064 2014-06-23  Andreas Schwab  <schwab@suse.de>
3065
3066         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3067         Remove unused errout label.
3068
3069 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3070
3071         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3072         macro: hardware supports Vector Crypto instructions.
3073
3074 2014-06-23  Will Newton  <will.newton@linaro.org>
3075
3076         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3077         rather than __builtin_expect.
3078
3079         * elf/dl-lookup.c (undefined_msg): Remove variable.
3080         (_dl_lookup_symbol_x): Replace undefined_msg with string
3081         literal.
3082
3083         * elf/dl-lookup.c (do_lookup_unique): New function.
3084         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3085         to a separate function.
3086
3087 2014-06-23  Andreas Schwab  <schwab@suse.de>
3088
3089         [BZ #17079]
3090         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3091         before reading the next line.
3092
3093 2014-06-23  Will Newton  <will.newton@linaro.org>
3094
3095         * test-skeleton.c (signal_handler): Use printf and %m
3096         rather than perror.  Use printf rather than fprintf to
3097         stderr.  Use puts rather than fputs to stderr.
3098         (main): Likewise.
3099
3100 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3101
3102         * nscd/nscd.c (thread_info_t): Remove typedef.
3103         (thread_info): Remove variable.
3104
3105 2014-06-21  Allan McRae  <allan@archlinux.org>
3106
3107         * NEWS: Mention CVE-2014-4043.
3108
3109 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3110
3111         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3112         * nptl/smp.h: ... here.
3113
3114         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3115
3116         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3117         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3118         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3119         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3120
3121         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3122         * nptl/stack-aliasing.h: New file.
3123         * sysdeps/i386/i686/stack-aliasing.h: New file.
3124         * sysdeps/i386/i686/nptl/Makefile: File removed.
3125         * sysdeps/x86_64/stack-aliasing.h: New file.
3126         * sysdeps/x86_64/nptl/Makefile
3127         (CFLAGS-pthread_create.c): Variable removed.
3128
3129         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3130         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3131         old file.
3132         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3133         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3134         old file.
3135
3136 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3137
3138         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3139         (__ASSUME_SIGFRAME_V2): Remove macro.
3140         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3141         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3142         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3143         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3144         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3145         Declare as function.  Remove conditional macro definitions.
3146         (__default_rt_sa_restorer): Likewise.
3147         (__default_sa_restorer_v1): Remove declaration.
3148         (__default_sa_restorer_v2): Likewise.
3149         (__default_rt_sa_restorer_v1): Likewise.
3150         (__default_rt_sa_restorer_v2): Likewise.
3151         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3152         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3153         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3154
3155 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3156
3157         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3158         (libpthread-routines): Add sysdep.
3159         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3160         * sysdeps/unix/sysv/linux/sparc/Versions
3161         (libpthread: GLIBC_2.3.3): New version set.
3162         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3163         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3164         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3165         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3166         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3167         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3168         Moved ...
3169         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3170         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3171         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3172         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3173         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3174         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3175         * sysdeps/sparc/nptl/sem_init.c: ... here.
3176         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3177         * sysdeps/sparc/nptl/sem_post.c: ... here.
3178         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3179         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3180         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3181         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3182         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3183         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3184         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3185         (libpthread-routines): Add cpu_relax.
3186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3187         File removed.
3188         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3189         (librt: GLIBC_2.3.3): New version set.
3190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3191         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3192         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3193         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3196         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3198         Moved ...
3199         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3201         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3203         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3205         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3207         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3209         Moved ...
3210         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3211         Update #include.
3212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3213         Moved ...
3214         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3215         Update #include.
3216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3217         Moved ...
3218         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3219         Update #include.
3220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3221         Moved ...
3222         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3223         Update #include.
3224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3225         Moved ...
3226         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3227         Update #include.
3228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3229         Moved ...
3230         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3231         Update #include.
3232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3233         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3235         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3237         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3239         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3241         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3243         Moved ...
3244         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3246         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3248         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3249
3250 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3251
3252         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3253         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3254         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3255         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3256         * nscd/nscd.c: Likewise.
3257         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3258         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3259         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3260         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3261
3262         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3263         <kernel-features.h>.
3264         (init_mq_netlink): Remove conditional have_sock_cloexec
3265         definitions.  Remove code conditional on have_sock_cloexec < 0.
3266         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3267         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3268         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3269         <kernel-features.h>.
3270         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3271         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3272
3273 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3274
3275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3276         Add tests for memset_chk and memset.
3277
3278         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3279         with AVX2_Usable.
3280
3281 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3282
3283         [BZ #16046]
3284         * elf/tst-dl-iter-static.c: New file.
3285         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3286
3287         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3288         error.
3289
3290 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3291
3292         * sysdeps/unix/sysv/linux/kernel-features.h
3293         (__ASSUME_F_GETOWN_EX): Remove macro.
3294         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3295         <kernel-features.h>.
3296         (miss_F_GETOWN_EX): Remove variable or macro.
3297         (do_fcntl): Do not check miss_F_GETOWN_EX.
3298         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3299
3300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3301         Remove macro.
3302         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3303         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3304         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3305
3306         * sysdeps/unix/sysv/linux/kernel-features.h
3307         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3308         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3309         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3310         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3311
3312 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3313
3314         [BZ #17075]
3315         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3316         Fix calculation of the symbol's value.
3317         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3318         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3319         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3320         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3321         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3322         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3323         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3324         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3325         (modules-names): Add `tst-armtlsdescmod',
3326         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3327         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3328         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3329         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3330         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3331         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3332         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3333         ($(objpfx)tst-armtlsdescloc): New dependency.
3334         ($(objpfx)tst-armtlsdescextnow): Likewise.
3335         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3336         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3337         TLS scheme support.
3338         * sysdeps/arm/configure: Regenerate.
3339
3340 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3341
3342         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3343         (__atfct_seterrno_2): Likewise.
3344         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3345         <kernel-features.h>.
3346         (__ASSUME_ATFCTS): Do not undefine and redefine.
3347         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3348         (__have_atfcts): Remove conditional definition.
3349         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3350         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3351         unreachable if [__ASSUME_ATFCTS].
3352         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3353         not undefine and redefine.
3354         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3355         <kernel-features.h>.
3356         (faccessat) [__NR_faccessat]: Make code unconditional.
3357         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3358         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3359         <kernel-features.h>.
3360         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3361         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3362         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3363         <kernel-features.h>.
3364         (fchownat) [__NR_fchownat]: Make code unconditional.
3365         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3366         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3367         <kernel-features.h>.
3368         (futimesat) [__NR_futimesat]: Make code unconditional.
3369         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3370         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3371         <kernel-features.h>.
3372         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3373         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3374         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3375         <kernel-features.h>.
3376         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3377         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3378         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3379         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3380         <kernel-features.h>.
3381         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3382         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3383         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3384         <kernel-features.h>.
3385         (linkat) [__NR_linkat]: Make code unconditional.
3386         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3387         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3388         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3389         <kernel-features.h>.
3390         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3391         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3392         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3393         <kernel-features.h>.
3394         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3395         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3396         * sysdeps/unix/sysv/linux/openat.c: Do not include
3397         <kernel-features.h>.
3398         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3399         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3400         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3401         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3402         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3403         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3404         <kernel-features.h>.
3405         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3406         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3407         result of INLINE_SYSCALL directly, not via int variable.
3408         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3409         <kernel-features.h>.
3410         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3411         (renameat) [__NR_renameat]: Make code unconditional.
3412         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3413         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3414         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3415         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3416         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3417         (__ASSUME_ATFCTS): Do not undefine and redefine.
3418         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3419         <kernel-features.h>.
3420         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3421         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3422         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3423         <kernel-features.h>.
3424         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3425         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3426         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3427         (__ASSUME_ATFCTS): Do not undefine and redefine.
3428         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3429         <kernel-features.h>.
3430         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3431         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3432         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3433         <kernel-features.h>.
3434         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3435         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3436
3437 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3438
3439         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3440
3441 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3442
3443         [BZ #17069]
3444         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3445         constructed tree before returning error.
3446         * posix/bug-regexp36.c: Expand test case.
3447
3448 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3449
3450         [BZ #6803]
3451         * math/libm-test.inc (scalbln_test_date):
3452         Add errno expectations.
3453         * math/w_scalblnf.c: New File.
3454         Add wrapper which checks for setting errno to ERANGE.
3455         Add weak_alias for corresponding scalbln function.
3456         * math/w_scalbln.c: Likewise.
3457         * math/w_scalblnl.c: Likewise.
3458         * math/Makefile (libm-calls): Add w_scalbln.
3459         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3460         Remove weak_alias for corresponding scalbln function.
3461         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3462         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3463         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3464         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3465         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3466         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3467         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3468         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3469         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3470         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3471         Remove long_double_symbol for scalblnl function in libm, libc.
3472         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3473         Add wrapper which checks for setting errno to ERANGE.
3474         Add long_double_symbol for scalblnl function in libm, libc.
3475         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3476         Remove long_double_symbol for scalblnl in libm.
3477         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3478         Add wrapper which checks for setting errno to ERANGE.
3479         Add long_double_symbol for scalblnl function in libm.
3480         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3481         Do not use wrapper because of own implementation.
3482
3483 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3484
3485         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3486         3 bytes for __pad1 for x32.
3487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3488
3489 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3490             H.J. Lu  <hongjiu.lu@intel.com>
3491
3492         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3493         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3494         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3495         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3496         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3497
3498 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3499
3500         [BZ #17069]
3501         * posix/regcomp.c (parse_expression): Deallocate partially
3502         constructed tree before returning error.
3503         * posix/Makefile.c (tests): Add bug-regex36.
3504         (generated): Add bug-regex36.mtrace.
3505         (tests-special): Add $(objpfx)bug-regex36-mem.out
3506         (bug-regex36-ENV): New variable.
3507         ($(objpfx)bug-regex36-mem.out): New rule.
3508         * posix/bug-regex36.c: New file.
3509
3510 2014-06-19  Will Newton  <will.newton@linaro.org>
3511
3512         * malloc/malloc.c (systrim): If extra is zero then return
3513         early.
3514
3515 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3516
3517         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3518
3519 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3520
3521         * sysdeps/aarch64/strchr.S: New file.
3522
3523 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3524
3525         [BZ #17022]
3526         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3527         from arguments -2 or below.
3528         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3529         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3530
3531 2014-06-18  Andreas Schwab  <schwab@suse.de>
3532
3533         [BZ #17062]
3534         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3535         of a bracket expr not to run off the end of the string.
3536         * posix/Makefile (tests): Add tst-fnmatch3.
3537         * posix/tst-fnmatch3.c: New file.
3538
3539 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3540
3541         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3542         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3543         [$(cross-compiling) = no]: Likewise.
3544         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3545         [$(cross-compiling) = no]: Likewise.
3546
3547 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3548
3549         [BZ #17031]
3550         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3551         double, adjusted for any remainder from the high double.
3552         * math/libm-test.inc (nearbyint): Add tests.
3553         (rint): Likewise.
3554
3555 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3556
3557         * nptl/sysdeps/powerpc/Makefile: Moved ...
3558         * sysdeps/powerpc/nptl/Makefile: ... here.
3559         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3560         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3561         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3562         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3563         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3564         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3565         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3566         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3567         * nptl/sysdeps/powerpc/tls.h: Moved ...
3568         * sysdeps/powerpc/nptl/tls.h: ... here.
3569
3570 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3571
3572         [BZ #16681]
3573         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3574         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3575         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3576         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3577         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3578         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3579         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3580         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3581         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3582
3583 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3584
3585         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3586
3587 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3588
3589         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3590         defined operator.
3591
3592         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3593         $TIMEOUTFACTOR.
3594
3595 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3596
3597         [BZ #17058]
3598         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3599         non-executed part of the test.
3600
3601 2014-06-16  Andreas Schwab  <schwab@suse.de>
3602
3603         * string/bits/string2.h (strdup, strndup): Update feature guard.
3604
3605 2014-06-14  David S. Miller  <davem@davemloft.net>
3606
3607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3608
3609 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3610
3611         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3612         that was previously under [RESET_PID].
3613         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3614
3615         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3616         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3617         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3618         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3619         (__libc_vfork): New strong alias.
3620         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3621
3622 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3623
3624         * sysdeps/generic/elide.h: New file.
3625
3626 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3627
3628         * Makefile (installed-headers): Adjust path of pthread.h header.
3629
3630 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3631
3632         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3633         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3634         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3635         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3636
3637         * nptl/sysdeps/s390/Makefile: Moved ...
3638         * sysdeps/s390/nptl/Makefile: ... here.
3639         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3640         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3641         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3642         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3643         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3644         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3645         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3646         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3647         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3648         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3649         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3650         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3651         * nptl/sysdeps/s390/tls.h: Moved ...
3652         * sysdeps/s390/nptl/tls.h: ... here.
3653
3654         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3655         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3656
3657 2014-06-13  David S. Miller  <davem@davemloft.net>
3658
3659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3662         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3666         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3667         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3668         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3669         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3670         Remove RESET_PID cpp guards.
3671         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3672         Remove RESET_PID cpp guards.
3673         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3674
3675 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3676
3677         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3678         __sp to uintptr_t.
3679
3680 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3681
3682         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3683         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3684         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3685         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3686         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3687         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3688         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3689         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3691         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3692         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3693         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3694         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3695         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3696         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3697         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3698         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3699         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3700         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3701         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3702
3703         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3704         (pthread_rwlock_rdlock): Add elision.
3705         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3706         (pthread_rwlock_wrlock): Add elision.
3707         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3708         (pthread_rwlock_trywrlock): Add elision.
3709         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3710         (pthread_rwlock_tryrdlock): Add elision.
3711         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3712         (pthread_rwlock_tryrdlock): Add elision unlock.
3713         * nptl/sysdeps/pthread/pthread.h:
3714         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3715         (PTHREAD_RWLOCK_INITIALIZER,
3716         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3717         Handle new elision field.
3718         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3719         * sysdeps/arm/nptl/bits/pthreadtypes.h
3720         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3721         * sysdeps/sh/nptl/bits/pthreadtypes.h
3722         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3723         * sysdeps/tile/nptl/bits/pthreadtypes.h
3724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3725         * sysdeps/a/nptl/bits/pthreadtypes.h
3726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3727         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3729         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3731         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3732         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3733         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3734         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3735         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3736         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3737         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3738         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3739         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3740         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3741         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3742         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3743         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3744         (elision_init): Set try_xbegin to zero when no RTM.
3745         * sysdeps/x86/nptl/bits/pthreadtypes.h
3746         (pthread_rwlock_t): Change __pad1 to __rwelision.
3747         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3748
3749 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3750
3751         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3752         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3753         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3754         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3755
3756 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3757
3758         [BZ #16996]
3759         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3760         that the cached result has been set before returning it.
3761
3762 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3763
3764         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3765         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3766         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3767         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3768         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3769         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3770
3771         * nptl/sysdeps/sparc/Makefile: Moved ...
3772         * sysdeps/sparc/nptl/Makefile: ... here.
3773         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3774         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3775         * nptl/sysdeps/sparc/tls.h: Moved ...
3776         * sysdeps/sparc/nptl/tls.h: ... here.
3777         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3778         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3779         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3780         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3781         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3782         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3783         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3784         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3785         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3786         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3787         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3788         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3789         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3790         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3791         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3792         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3793         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3794         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3795         Update #include.
3796         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3797         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3798         Update #include.
3799         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3800         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3801         Update #include.
3802         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3803         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3804         Update #include.
3805
3806         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3807
3808         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3809         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3810
3811         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3812         (struct list_links): Type removed.
3813         (struct thread_node, struct timer_node): Replace struct list_links
3814         with struct list_head.
3815         (list_unlink_ip): Likewise.
3816         * sysdeps/pthread/timer_routines.c
3817         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3818         (list_append, list_insbefore): Likewise.
3819         (list_init): Function removed.
3820         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3821         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3822         * sysdeps/pthread/Makefile: ... here, new file.
3823
3824         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3825         * sysdeps/nptl/Implies: ... here.
3826         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3827         * nptl/sysdeps/pthread/list.h: Moved ...
3828         * include/list.h: ... here.
3829         * nptl/sysdeps/pthread/createthread.c: Moved ...
3830         * nptl/createthread.c: ... here.
3831         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3832         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3833         * nptl/pt-longjmp.c: ... here.
3834         * nptl/sysdeps/pthread/Makefile: Moved ...
3835         * sysdeps/nptl/Makefile: ... here.
3836         * nptl/sysdeps/pthread/Subdirs: Moved ...
3837         * sysdeps/nptl/Subdirs: ... here.
3838         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3839         * sysdeps/nptl/aio_misc.h: ... here.
3840         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3841         * sysdeps/nptl/bits/libc-lock.h: ... here.
3842         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3843         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3844         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3845         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3846         * nptl/sysdeps/pthread/configure: Moved ...
3847         * sysdeps/nptl/configure: ... here.
3848         * nptl/sysdeps/pthread/configure.ac: Moved ...
3849         * sysdeps/nptl/configure.ac: ... here.
3850         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3851         * sysdeps/nptl/gai_misc.h: ... here.
3852         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3853         * sysdeps/nptl/librt-cancellation.c: ... here.
3854         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3855         * sysdeps/nptl/malloc-machine.h: ... here.
3856         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3857         * sysdeps/nptl/pthread-functions.h: ... here.
3858         * nptl/sysdeps/pthread/pthread.h: Moved ...
3859         * sysdeps/nptl/pthread.h: ... here.
3860         * nptl/sysdeps/pthread/setxid.h: Moved ...
3861         * sysdeps/nptl/setxid.h: ... here.
3862         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3863         * sysdeps/nptl/sigfillset.c: ... here.
3864         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3865         * sysdeps/nptl/tcb-offsets.h: ... here.
3866         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3867         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3868         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3869         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3870         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3871         * sysdeps/pthread/allocalim.h: ... here.
3872         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3873         * sysdeps/pthread/bits/sigthread.h: ... here.
3874         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3875         * sysdeps/pthread/flockfile.c: ... here.
3876         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3877         * sysdeps/pthread/ftrylockfile.c: ... here.
3878         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3879         * sysdeps/pthread/funlockfile.c: ... here.
3880         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3881         * sysdeps/pthread/posix-timer.h: ... here.
3882         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3883         * sysdeps/pthread/timer_create.c: ... here.
3884         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3885         * sysdeps/pthread/timer_delete.c: ... here.
3886         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3887         * sysdeps/pthread/timer_getoverr.c: ... here.
3888         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3889         * sysdeps/pthread/timer_gettime.c: ... here.
3890         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3891         * sysdeps/pthread/timer_routines.c: ... here.
3892         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3893         * sysdeps/pthread/timer_settime.c: ... here.
3894         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3895         * sysdeps/pthread/tst-timer.c: ... here.
3896         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3897         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3898
3899         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3900         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3901
3902         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3903         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3904         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3905         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3906         Update #include target.
3907         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3908         * sysdeps/i386/i686/nptl/Makefile: ... here.
3909         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3910         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3911         Update #include target.
3912         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3913         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3914         * nptl/sysdeps/i386/Makefile: Moved ...
3915         * sysdeps/i386/nptl/Makefile: ... here.
3916         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3917         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3918         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3919         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3920         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3921         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3922         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3923         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3924         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3925         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3926         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3927         * nptl/sysdeps/i386/tls.h: Moved ...
3928         * sysdeps/i386/nptl/tls.h: ... here.
3929
3930         * sysdeps/sh/Makefile [$(subdir) = csu]
3931         (gen-as-const-headers): Add tcb-offsets.sym.
3932         * nptl/sysdeps/sh/Makefile: File removed.
3933         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3934         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3935         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3936         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3937         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3938         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3939         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3940         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3941         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3942         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3943         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3944         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3945         * nptl/sysdeps/sh/tls.h: Moved ...
3946         * sysdeps/sh/nptl/tls.h: ... here.
3947         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3948         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3949         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3950         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3951         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3952         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3953         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3954         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3955         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3956         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3957         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3958         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3959         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3960         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3961         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3962         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3963         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3964         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3965         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3966         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3967         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3968         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3969         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3970         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3971         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3972         Moved ...
3973         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3974         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3975         Moved ...
3976         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3977         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3978         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3979         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3980         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3981         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3982         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3983         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3984         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3985         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3986         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3987         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3988         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3989         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3990         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3991         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3992         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3993         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3994         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3995
3996 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3997
3998         * posix/spawn_faction_addopen.c: Include string.h.
3999
4000 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4001
4002         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4003         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4004         * nptl/sysdeps/x86_64/Makefile: Moved ...
4005         * sysdeps/x86_64/nptl/Makefile: ... here.
4006         * nptl/sysdeps/x86_64/configure: Moved ...
4007         * sysdeps/x86_64/nptl/configure: ... here.
4008         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4009         * sysdeps/x86_64/nptl/configure.ac: ... here.
4010         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4011         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4012         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4013         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4014         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4015         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4016         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4017         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4018         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4019         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4020         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4021         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4022         * nptl/sysdeps/x86_64/tls.h: Moved ...
4023         * sysdeps/x86_64/nptl/tls.h: ... here.
4024         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4025         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4026         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4027         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4028
4029         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4030
4031 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4032
4033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4034
4035 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4036
4037         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4038         type.
4039         [POSIX] (off_t): Likewise.
4040         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4041         [POSIX] (S_ISBLK): Require macro.
4042         [POSIX] (S_ISCHR): Likewise.
4043         [POSIX] (S_ISDIR): Likewise.
4044         [POSIX] (S_ISFIFO): Likewise.
4045         [POSIX] (S_ISREG): Likewise.
4046         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4047         optional-macro.
4048         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4049         type.
4050         [POSIX] (time_t): Likewise.
4051         [POSIX] (timer_t): Likewise.
4052
4053 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4054
4055         [BZ #17048]
4056         * posix/spawn_int.h (struct __spawn_action): Make the path string
4057         non-const to support deallocation.
4058         * posix/spawn_faction_addopen.c
4059         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4060         * posix/spawn_faction_destroy.c
4061         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4062         path in all spawn_do_open actions.
4063         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4064         posix_spawn_file_actions_addopen.
4065
4066 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4067
4068         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4069         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4070         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4071         conditional code always true.
4072         (__libc_vfork): New alias.
4073
4074 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4075
4076         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4077         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4078
4079         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4080
4081         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4082         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4083
4084         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4085         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4086
4087         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4088         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4089
4090 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4091
4092         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4093         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4094         multiarch strcmp for PPC64.
4095         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4096         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4098         multiarch optimizations.
4099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4100         (__libc_ifunc_impl_list): Likewise.
4101
4102 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4103
4104         * benchtests/scripts/validate_benchout.py: New script.
4105         * benchtests/Makefile (bench-func): Call it.
4106         * benchtests/scripts/benchout.schema.json: New file.
4107
4108 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4109
4110         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4111         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4112         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4113         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4114         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4115         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4116         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4117         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4118         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4119         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4120         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4121         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4122         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4123         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4124         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4125         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4127         Moved ...
4128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4129         ... here.
4130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4131         Moved ...
4132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4134         Moved ...
4135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4136         ... here.
4137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4138         Moved ...
4139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4140         ... here.
4141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4142         Moved ...
4143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4145         Moved ...
4146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4147         ... here.
4148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4149         Moved ...
4150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4151         ... here.
4152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4153         Moved ...
4154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4156         Moved ...
4157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4158         ... here.
4159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4160         Moved ...
4161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4162         ... here.
4163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4164         Moved ...
4165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4166         ... here.
4167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4168         Moved ...
4169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4171         Moved ...
4172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4173         ... here.
4174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4175         Moved ...
4176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4177         ... here.
4178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4179         Moved ...
4180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4181         ... here.
4182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4183         Moved ...
4184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4186         Moved ...
4187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4188         ... here.
4189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4190         Moved ...
4191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4192         ... here.
4193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4194         Moved ...
4195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4197         Moved ...
4198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4199         ... here.
4200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4201         Moved ...
4202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4204         Moved ...
4205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4207         Moved ...
4208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4209         ... here.
4210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4211         Moved ...
4212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4213         ... here.
4214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4215         Moved ...
4216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4217         ... here.
4218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4219         Moved ...
4220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4222         Moved ...
4223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4224         ... here.
4225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4226         Moved ...
4227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4228         ... here.
4229         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4230         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4231         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4232         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4233         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4234         Moved ...
4235         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4236         ... here.
4237         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4238         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4239         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4240         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4241         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4242         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4244         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4245         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4246         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4247         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4248         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4249         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4250         Moved ...
4251         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4252         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4253         Moved ...
4254         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4255         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4256         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4257         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4258         Moved ...
4259         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4260         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4261         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4262         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4263         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4264         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4265         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4266
4267 2014-06-10  Wilco  <wdijkstr@arm.com>
4268
4269         * math/test-fenv-return.c: New file.
4270         * math/Makefile: Add new test test-fenv-return.
4271
4272 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4273
4274         [BZ #17042]
4275         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4276         when x - 1 is zero.
4277         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4278         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4279         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4280         0.0L for an argument of 1.0L.
4281         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4282         Likewise.
4283         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4284         value when x - 1 is zero.
4285         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4286         * sysdeps/i386/fpu/libm-test-ulps: Update.
4287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4288
4289 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4290
4291         [BZ #15119]
4292         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4293
4294 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4295
4296         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4297         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4298
4299 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4300
4301         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4302         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4303
4304         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4305         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4306
4307         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4308         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4309
4310         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4311         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4312
4313         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4314         if not already defined.
4315         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4316         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4317         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4318         (TLS_INIT_TP): Use it.
4319         (TLS_DEFINE_INIT_TP): New macro.
4320         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4321
4322 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4323
4324         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4325         constant.
4326         [POSIX] (IXANY): Likewise.
4327         [POSIX] (OLCUC): Likewise.
4328         [POSIX || POSIX2008] (CBAUD): Do not allow.
4329         [POSIX || POSIX2008] (DEFECHO): Likewise.
4330         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4331         [POSIX || POSIX2008] (ECHOKE): Likewise.
4332         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4333         [POSIX || POSIX2008] (EXTA): Likewise.
4334         [POSIX || POSIX2008] (EXTB): Likewise.
4335         [POSIX || POSIX2008] (FLUSHO): Likewise.
4336         [POSIX || POSIX2008] (LOBLK): Likewise.
4337         [POSIX || POSIX2008] (PENDIN): Likewise.
4338         [POSIX || POSIX2008] (SWTCH): Likewise.
4339         [POSIX || POSIX2008] (VDISCARD): Likewise.
4340         [POSIX || POSIX2008] (VDSUSP): Likewise.
4341         [POSIX || POSIX2008] (VLNEXT): Likewise.
4342         [POSIX || POSIX2008] (VREPRINT): Likewise.
4343         [POSIX || POSIX2008] (VSTATUS): Likewise.
4344         [POSIX || POSIX2008] (VWERASE): Likewise.
4345         (B*): Change to B[0123456789]*.
4346         * conform/data/time.h-data [POSIX || UNIX98]
4347         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4348         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4349         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4350         [POSIX] (tm_*): Do not allow.
4351
4352 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4353
4354         * Makefile (install): Don't set LANGUAGE.
4355         * Makefile.in (install): Likewise.
4356         * assert/Makefile (test-assert-ENV): Remove variable.
4357         (test-assert-perr-ENV): Likewise.
4358         * elf/Makefile (neededtest4-ENV): Likewise.
4359         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4360         [$(cross-compiling) = no]: Don't set LANGUAGE.
4361         * io/ftwtest-sh (LANG): Remove variable.
4362         * libio/Makefile (tst-widetext-ENV): Likewise.
4363         * manual/install.texi (Running make install): Don't refer to
4364         environment settings for make install.
4365         * INSTALL: Regenerated.
4366         * nptl/tst-tls6.sh: Don't set LANG.
4367         * posix/globtest.sh (LANG): Remove variable.
4368         * string/Makefile (tester-ENV): Likewise.
4369         (inl-tester-ENV): Likewise.
4370         (noinl-tester-ENV): Likewise.
4371         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4372         [$(cross-compiling) = no]: Don't set LANGUAGE.
4373         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4374         without explicit environment settings.
4375
4376 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4377
4378         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4379         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4380         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4381         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4382
4383 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4384
4385         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4386         other files in the crypt directory.
4387         * crypt/crypt.c: Remove duplicate includes.
4388         * crypt/crypt-entry.c: Likewise.
4389         * crypt/crypt_util.c: Likewise.
4390
4391 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4392
4393         * Makeconfig (run-program-env): New variable.
4394         (run-program-prefix-before-env): Likewise.
4395         (run-program-prefix-after-env): Likewise.
4396         (run-program-prefix): Define in terms of new variables.
4397         (built-program-cmd-before-env): New variable.
4398         (built-program-cmd-after-env): Likewise.
4399         (built-program-cmd): Define in terms of new variables.
4400         (test-program-prefix-before-env): New variable.
4401         (test-program-prefix-after-env): Likewise.
4402         (test-program-prefix): Define in terms of new variables.
4403         (test-program-cmd-before-env): New variable.
4404         (test-program-cmd-after-env): Likewise.
4405         (test-program-cmd): Define in terms of new variables.
4406         * Rules (make-test-out): Use $(run-program-env).
4407         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4408         (help): Do not mention environment variables.  Mention
4409         --timeoutfactor option.
4410         (timeoutfactor): New variable.
4411         (blacklist_exports): Remove function.
4412         (exports): Remove variable.
4413         (command): Do not include ${exports}.
4414         * manual/install.texi (Configuring and compiling): Do not mention
4415         test wrappers preserving environment variables.  Mention that last
4416         assignment to a variable must take precedence.
4417         * INSTALL: Regenerated.
4418         * benchtests/Makefile (run-bench): Use $(run-program-env).
4419         * catgets/Makefile ($(objpfx)test1.cat): Use
4420         $(built-program-cmd-before-env), $(run-program-env) and
4421         $(built-program-cmd-after-env).
4422         ($(objpfx)test2.cat): Do not specify environment variables
4423         explicitly.
4424         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4425         $(run-program-env) and $(built-program-cmd-after-env).
4426         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4427         $(run-program-env) and $(test-program-cmd-after-env).
4428         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4429         explicitly.
4430         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4431         run_program_env and test_program_cmd_after_env arguments.
4432         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4433         * elf/tst-pathopt.sh: Use run_program_env argument.
4434         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4435         $(test-wrapper-env) and $(run-program-env).
4436         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4437         run_program_env arguments.
4438         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4439         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4440         $(test-program-prefix-before-env), $(run-program-env) and
4441         $(test-program-prefix-after-env).
4442         ($(objpfx)tst-gettext2.out): Likewise.
4443         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4444         run_program_env and test_program_prefix_after_env arguments.
4445         * intl/tst-gettext2.sh: Likewise.
4446         * intl/tst-gettext4.sh: Do not set environment variables
4447         explicitly.
4448         * intl/tst-gettext6.sh: Likewise.
4449         * intl/tst-translit.sh: Likewise.
4450         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4451         $(test-program-prefix-before-env), $(run-program-env) and
4452         $(test-program-prefix-after-env).
4453         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4454         run_program_env and test_program_prefix_after_env arguments.
4455         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4456         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4457         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4458         explicitly with each use of ${test_wrapper_env}.
4459         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4460         $(test-program-prefix-before-env), $(run-program-env) and
4461         $(test-program-prefix-after-env).
4462         * posix/tst-getconf.sh: Do not set environment variables
4463         explicitly.
4464         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4465         run_program_env and test_program_prefix_after_env arguments.
4466         * stdio-common/tst-printf.sh: Do not set environment variables
4467         explicitly.
4468         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4469         $(test-program-prefix-before-env), $(run-program-env) and
4470         $(test-program-prefix-after-env).
4471         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4472         run_program_env and test_program_prefix_after_env arguments.
4473         Split $test calls into $test_pre and $test.
4474         * timezone/Makefile (build-testdata): Use
4475         $(built-program-cmd-before-env), $(run-program-env) and
4476         $(built-program-cmd-after-env).
4477
4478 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4479
4480         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4481         strlen for non SHARED builds.
4482
4483 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4484
4485         * nptl/allocatestack.c (check_list): Inlined function...
4486         (__reclaim_stacks): ... here.
4487
4488 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4489
4490         [BZ #15698]
4491         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4492         memory overrun.
4493
4494 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4495
4496         * Rules (make-test-out): Include
4497         LOCPATH=$(common-objpfx)localedata in default environment.
4498         * debug/Makefile (tst-chk1-ENV): Remove variable.
4499         (tst-chk2-ENV): Likewise.
4500         (tst-chk3-ENV): Likewise.
4501         (tst-chk4-ENV): Likewise.
4502         (tst-chk5-ENV): Likewise.
4503         (tst-chk6-ENV): Likewise.
4504         (tst-lfschk1-ENV): Likewise.
4505         (tst-lfschk2-ENV): Likewise.
4506         (tst-lfschk3-ENV): Likewise.
4507         (tst-lfschk4-ENV): Likewise.
4508         (tst-lfschk5-ENV): Likewise.
4509         (tst-lfschk6-ENV): Likewise.
4510         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4511         (tst-iconv7-ENV): Likewise.
4512         * intl/Makefile (LOCPATH-ENV): Likewise.
4513         (tst-codeset-ENV): Likewise.
4514         (tst-gettext3-ENV): Likewise.
4515         (tst-gettext5-ENV): Likewise.
4516         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4517         (tst-fopenloc-ENV): Likewise.
4518         (tst-fgetws-ENV): Remove variable.
4519         (tst-ungetwc1-ENV): Likewise.
4520         (tst-ungetwc2-ENV): Likewise.
4521         (bug-ungetwc2-ENV): Likewise.
4522         (tst-swscanf-ENV): Likewise.
4523         (bug-ftell-ENV): Likewise.
4524         (tst-fgetwc-ENV): Likewise.
4525         (tst-fseek-ENV): Likewise.
4526         (tst-ftell-partial-wide-ENV): Likewise.
4527         (tst-ftell-active-handler-ENV): Likewise.
4528         (tst-ftell-append-ENV): Likewise.
4529         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4530         (tst-regexloc-ENV): Likewise.
4531         (bug-regex1-ENV): Likewise.
4532         (tst-regex-ENV): Likewise.
4533         (tst-regex2-ENV): Likewise.
4534         (bug-regex5-ENV): Likewise.
4535         (bug-regex6-ENV): Likewise.
4536         (bug-regex17-ENV): Likewise.
4537         (bug-regex18-ENV): Likewise.
4538         (bug-regex19-ENV): Likewise.
4539         (bug-regex20-ENV): Likewise.
4540         (bug-regex22-ENV): Likewise.
4541         (bug-regex23-ENV): Likewise.
4542         (bug-regex25-ENV): Likewise.
4543         (bug-regex26-ENV): Likewise.
4544         (bug-regex30-ENV): Likewise.
4545         (bug-regex32-ENV): Likewise.
4546         (bug-regex33-ENV): Likewise.
4547         (bug-regex34-ENV): Likewise.
4548         (bug-regex35-ENV): Likewise.
4549         (tst-rxspencer-ENV): Likewise.
4550         (tst-rxspencer-no-utf8-ENV): Likewise.
4551         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4552         (tst-sscanf-ENV): Likewise.
4553         (tst-swprintf-ENV): Likewise.
4554         (tst-swscanf-ENV): Likewise.
4555         (test-vfprintf-ENV): Likewise.
4556         (scanf13-ENV): Likewise.
4557         (bug14-ENV): Likewise.
4558         (tst-grouping-ENV): Likewise.
4559         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4560         (tst-strtod3-ENV): Likewise.
4561         (tst-strtod4-ENV): Likewise.
4562         (tst-strtod5-ENV): Likewise.
4563         (testmb2-ENV): Likewise./
4564         * string/Makefile (tst-strxfrm-ENV): Likewise.
4565         (tst-strxfrm2-ENV): Likewise.
4566         (bug-strcoll1-ENV): Likewise.
4567         (test-strcasecmp-ENV): Likewise.
4568         (test-strncasecmp-ENV): Likewise.
4569         * time/Makefile (tst-strptime-ENV): Likewise.
4570         (tst-ftime_l-ENV): Likewise.
4571         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4572         (tst-mbrtowc-ENV): Likewise.
4573         (tst-wcrtomb-ENV): Likewise.
4574         (tst-mbrtowc2-ENV): Likewise.
4575         (tst-c16c32-1-ENV): Likewise.
4576         (tst-mbsnrtowcs-ENV): Likewise.
4577
4578 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4579
4580         * manual/resource.texi (How to get information about the memory
4581         subsystem?): Fix typo.
4582         Reported by Peon de la Parra Ivan <peon@keba.com>
4583
4584 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4585
4586         [BZ #16882]
4587         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4588         (pthread_spin_lock): Branch out of spin loop to proper location.
4589         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4590         (pthread_spin_lock): Likewise.
4591
4592         * nptl/tst-spin4.c: New test.
4593         * nptl/Makefile (tests): Add tst-spin4.
4594
4595 2014-06-03  Andreas Schwab  <schwab@suse.de>
4596
4597         [BZ #15946]
4598         * resolv/res_send.c (send_dg): Reload file descriptor after
4599         calling reopen.
4600
4601 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4602
4603         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4604
4605 2014-06-03  Richard Henderson  <rth@redhat.com>
4606
4607         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4608         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4609         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4610         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4611         in the SAVE_PID block.
4612         (__libc_vfork): New alias.
4613         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4614
4615         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4616         child in registers, not on the stack.  Remove RESET_PID conditionals.
4617         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4618
4619 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4620
4621         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4622
4623 2014-06-03  Wilco  <wdijkstr@arm.com>
4624
4625         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4626         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4627         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4628         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4629         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4630         Likewise.
4631
4632 2014-06-03  Wilco  <wdijkstr@arm.com>
4633
4634         * sysdeps/aarch64/fpu/math_private.h
4635         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4636         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4637         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4638         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4639         Fix declarations.
4640
4641 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4642
4643         * crypt/crypt-private.h: Include ufc-crypt.h.
4644         (__b64_from_24bit): Declare extern.
4645         * crypt/crypt_util.c(__b64_from_24bit): New function.
4646         (b64t): New static const variable.
4647         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4648         (b64t): Remove variable.
4649         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4650         * crypt/sha256-crypt.c: Include crypt-private.h.
4651         (b64t): Remove variable.
4652         (__sha256_crypt_r): Remove b64_from_24bit and replace
4653         with __b64_from_24bit.
4654         * crypt/sha512-crypt.c: Likewise.
4655
4656 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4657
4658         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4659         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4660         Label the code __libc_vfork rather than __vfork.
4661         [!NOT_IN_libc] (vfork): Define as weak alias.
4662         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4663         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4664         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4665
4666 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4667
4668         * malloc/malloc.c (malloc_info): Fix format specifier for
4669         n_mmaps.
4670
4671 2014-06-02  Wilco  <wdijkstr@arm.com>
4672
4673         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4674         FPCR write.
4675
4676 2014-06-02  Wilco  <wdijkstr@arm.com>
4677
4678         [BZ #17009]
4679         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4680         Rewrite to reduce FPCR/FPSR accesses.
4681
4682 2014-06-01  David S. Miller  <davem@davemloft.net>
4683
4684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4685
4686 2014-05-31  David S. Miller  <davem@davemloft.net>
4687
4688         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4689         to occur in round to nearest mode when |x| >= 2.0
4690
4691 2014-05-30  Richard Henderson  <rth@twiddle.net>
4692
4693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4694         (PSEUDO_RET_NOERRNO): Remove.
4695         (ret): Don't redefine.
4696         (ret_NOERRNO): Define in terms of ret.
4697         (ret_ERRVAL): Likewise.
4698
4699         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4700         use of PSEUDO_RET; perform the error check directly.
4701
4702 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4703
4704         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4705         with __int128_t.
4706
4707 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4708
4709         * malloc/malloc (malloc_info): Fix formatting.
4710
4711 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4712             Roland McGrath  <roland@hack.frob.com>
4713
4714         * malloc/malloc (malloc_info): Also print mmapped statistics.
4715
4716 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4717
4718         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4719         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4720
4721 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4722
4723         * malloc/malloc.c (malloc_info): Inline mi_arena.
4724
4725 2014-05-29  Richard Henderson  <rth@twiddle.net>
4726
4727         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4728         Remove comma before expanding ASM_ARGS_##nr.
4729         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4730         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4731         of ASM_ARGS_##nr.
4732         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4733         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4734         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4735         (ASM_ARGS_1): Add leading comma.
4736
4737         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4738         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4739         to __errno_location.
4740         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4741         Remove the expected plt for __errno_location.
4742
4743         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4744         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4745         call to __read_tp.
4746
4747         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4748         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4749         it and break it down.
4750         (DOCARGS_0, DOCARGS_1): Do nothing.
4751         (DOCARGS_2): Update to store into the new stack frame.
4752         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4753         (UNDOCARGS_1): Update to restore from the new stack frame.
4754         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4755         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4756
4757         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4758         (SINGLE_THREAD_P): New parameter for result regno.
4759         (PSEUDO): Update to match; use cbz instead of beq.
4760
4761         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4762         Use ENTRY to define the _nocancel entry point.  Share the syscall
4763         and syscall error check paths with the cancel path.
4764         (PSEUDO_END): New.
4765
4766         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4767         whitespace; tabs before and after asm mnemonics.
4768
4769 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4770
4771         [BZ #15132]
4772         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4773         Call fstat64 or stat64 internally, depending on arguments passed.
4774         Replace stat buffer argument with file descriptor argument.
4775         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4776         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4777         Pass fd to __internal_statvfs instead of calling fstat64.
4778         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4779         Pass fd to __internal_statvfs64 instead of calling fstat64.
4780         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4781         Pass -1 to __internal_statvfs instead of calling stat64.
4782         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4783         Pass -1 to __internal_statvfs64 instead of calling stat64.
4784
4785 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4786
4787         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4788         that was previously under [RESET_PID].
4789         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4790
4791         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4792         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4793
4794 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4795
4796         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4797
4798         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4799         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4800
4801 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4802
4803         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4804
4805 2014-05-27  Andreas Schwab  <schwab@suse.de>
4806
4807         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4808         TLS_INIT_TP macro.
4809         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4810         * elf/rtld.c (init_tls, dl_main): Likewise.
4811         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4812         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4813         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4814         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4815         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4816         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4817         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4818         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4819         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4820         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4821         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4822         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4823         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4824         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4825         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4826         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4827         * sysdeps/generic/tls.h: Update description.
4828
4829 2014-05-27  Will Newton  <will.newton@linaro.org>
4830
4831         [BZ #16990]
4832         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4833         and restore r2 rather than just restoring.
4834
4835 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4836
4837         [BZ #16724]
4838         * libio/tst-ftell-append.c: New test case.
4839         * libio/Makefile (tests): Add test case.
4840         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4841         append mode.
4842         * libio/wfileops.c (do_ftell_wide): Likewise.
4843
4844 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4845
4846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4847
4848         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4849         ...
4850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4852         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4853         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4854         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4855         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4856         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4857         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4858         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4859         Moved ...
4860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4861         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4862         Moved ...
4863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4864         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4865         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4866         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4867         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4868         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4869         ...
4870         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4871         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4872         Moved ...
4873         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4874         here.
4875         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4876         ...
4877         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4878         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4879         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4880
4881         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4882         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4883         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4884         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4885
4886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4887         merge into ...
4888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4889         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4890         ...
4891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4892         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4893         ...
4894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4896         Moved ...
4897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4898         here.
4899         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4900         Moved ...
4901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4902         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4903         Moved ...
4904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4905
4906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4907         conditional [RESET_PID].
4908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4909         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4910         removed.
4911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4912         removed.
4913
4914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4915         <tcb-offsets.h>.
4916         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4917         (__libc_vfork): New strong alias.
4918         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4919         removed.
4920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4921         Removed.
4922
4923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4924         <tcb-offsets.h>.
4925         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4926         (__libc_vfork): New strong alias.
4927         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4928         removed.
4929         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4930         removed.
4931
4932 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4933
4934         * malloc/malloc.c (mi_arena): New function.
4935         (malloc_info): Remove nested function mi_arena. Call non-nosted
4936         function mi_arena.
4937
4938 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4939
4940         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4941         by insrwi.
4942         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4943         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4944         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4945         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4946         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4947         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4948         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4949
4950 2014-05-26  Andreas Schwab  <schwab@suse.de>
4951
4952         [BZ #16984]
4953         * locale/programs/repertoire.c (repertoire_read): Add slash
4954         between I18NPATH element and file name.
4955         * locale/programs/locfile.c (locfile_read): Likewise.
4956
4957 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4958
4959         * nptl/pthread_mutexattr_settype.c
4960         (__pthread_mutexattr_settype):
4961         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4962
4963 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4964
4965         * nptl/tst-mutex5 (do_test):
4966         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4967
4968 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4969
4970         * benchtests/README: Document 'init' directive.
4971         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4972         BENCH_INIT.
4973         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4974         (parse_file): Recognize 'init' directive.
4975
4976 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4977
4978         [BZ #16796]
4979         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4980         alignment of struct pthread.
4981
4982 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4983
4984         [BZ #16878]
4985         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4986         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4987         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4988         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4989
4990 2014-05-25  Richard Henderson  <rth@twiddle.net>
4991
4992         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4993         (SINGLE_THREAD_P_PIC): Remove.
4994         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4995         (SINGLE_THREAD_P_PIC): Remove.
4996
4997         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4998         branch to syscall error ...
4999         (PSEUDO): ... here.
5000         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5001         from __local_syscall_error to .Lsyscall_error.
5002         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5003         (SYSCALL_ERROR): Update label name.
5004
5005         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5006         Do not use DOARGS/UNDOARGS.
5007         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5008         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5009         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5010         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5011         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5012
5013         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5014         block comment.
5015
5016         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5017         define if !NOT_IN_libc.
5018         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5019         define with non-default symbol versions.
5020
5021 2014-05-23  Richard Henderson  <rth@twiddle.net>
5022
5023         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5024         (vfork, __vfork): Define via compat_symbol.
5025
5026         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5027         [!HAVE_IFUNC] (vfork_compat): Remove.
5028         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5029
5030 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5031
5032         [BZ #16978]
5033         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5034         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5035         variable.
5036
5037 2014-05-23  Richard Henderson  <rth@twiddle.net>
5038
5039         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5040         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5041         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5042         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5043
5044         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5045         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5046         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5047         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5048         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5049         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5050         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5051         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5052         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5053         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5054         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5055         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5056         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5057         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5058         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5059         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5060         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5061         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5062         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5063         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5064         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5065         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5066         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5067         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5068         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5069         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5070         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5071         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5072         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5073         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5074         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5075         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5076         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5077         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5078         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5079         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5080         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5081         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5082         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5083         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5084         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5085         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5086         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5087         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5088         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5089         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5090         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5091         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5092         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5093         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5094         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5095         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5096         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5097         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5098         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5099         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5100
5101         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5102         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5103         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5104         before exiting on error.
5105         (__libc_vfork): New strong alias.
5106         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5107         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5108
5109         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5110         that was previously under [RESET_PID].
5111         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5112
5113         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5114
5115 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5116
5117         [BZ #16977]
5118         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5119         value when x - 1 is zero.
5120         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5121         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5122         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5123         0.0L for an argument of 1.0L.
5124         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5125         Likewise.
5126         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5127         value when x - 1 is zero.
5128         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5129         * sysdeps/i386/fpu/libm-test-ulps: Update.
5130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5131
5132 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5133
5134         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5135         alphasort and versionsort.
5136
5137 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5138
5139         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5140         macro.
5141         [copysignf]: Likewise.
5142
5143 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5144
5145         * crypt/md5-crypt.c: Fix formatting.
5146
5147 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5148
5149         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5150         (b64_from_24bit): New function.
5151
5152 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5153
5154         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5155         libc_hidden_builtin_def to ifunc.
5156         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5157         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5158
5159 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5160
5161         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5162         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5163
5164 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5165
5166         * nscd/Depend (linuxthreads): Remove.
5167         (nptl): Add.
5168         * resolv/Depend (linuxthreads): Remove.
5169         * rt/Depend (linuxthreads): Remove.
5170
5171         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5172         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5173         $(common-objpfx)elf/.
5174         (link-libc-before-gnulib): Likewise.
5175         (elfobjdir): Remove variable.
5176         * Makefile (install): Use $(elf-objpfx) instead of
5177         $(common-objpfx)elf/.
5178         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5179         $(elfobjdir)/.
5180         (link-libc-deps): Likewise.
5181         ($(common-objpfx)libc.so): Likewise.
5182         ($(common-objpfx)linkobj/libc.so): Likewise.
5183         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5184         instead of $(common-objpfx)elf/.
5185         (symbolic-link-list): Likewise.
5186         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5187         [$(cross-compiling) = no]: Likewise.
5188         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5189         $(elfobjdir)/.
5190         (static-gnulib-arch): Likewise.
5191         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5192         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5193         $(common-objpfx)elf/.
5194
5195 2014-05-21  Richard Henderson  <rth@redhat.com>
5196
5197         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5198         (SINGLE_THREAD_P): Use the correct width load.  Fold
5199         into the ldr offset.
5200
5201         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5202         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5203
5204 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5205
5206         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5207         (libgcc_s_resume): Use __attribute_used__.
5208         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5209         Likewise.
5210
5211 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5212
5213         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5214         optimization when used with float constants.
5215
5216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5217
5218 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5219
5220         [BZ #16915]
5221         * locale/nl_langinfo_l.c: Make direct reference to every
5222         _nl_current_CATEGORY symbol.
5223         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5224         (tests-static): Add tst-langinfo-static.
5225         (tests-special): Add tst-langinfo-static.out.
5226         ($(objpfx)tst-langinfo.out): Redirect output.
5227         ($(objpfx)tst-langinfo-static.out): New.
5228         * localedata/tst-langinfo.sh: Send output to stdout.
5229         * localedata/tst-langinfo-static.c: New file.
5230
5231         [BZ #16965]
5232         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5233         when the shift amount is modulo the limb size.
5234
5235 2014-05-20  Richard Henderson  <rth@redhat.com>
5236
5237         [BZ #16967]
5238         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5239         Change type of sa_flags from unsigned int to int.
5240
5241         [BZ #16966]
5242         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5243
5244         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5245
5246 2014-05-20  Will Newton  <will.newton@linaro.org>
5247
5248         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5249         Test the return value of the system call in the nocancel case.
5250
5251 2014-05-20  Will Newton  <will.newton@linaro.org>
5252             Yvan Roux  <yvan.roux@linaro.org>
5253
5254         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5255         #include of asm/ptrace.h.
5256         (PTRACE_GET_THREAD_AREA): Remove #undef.
5257         (PTRACE_GETHBPREGS): Likewise.
5258         (PTRACE_SETHBPREGS): Likewise.
5259         (struct user_regs_struct): New structure.
5260         (struct user_fpsimd_struct): New structure.
5261         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5262         #include of asm/ptrace.h and second #include of sys/user.h.
5263         (PTRACE_GET_THREAD_AREA): Remove #undef.
5264         (PTRACE_GETHBPREGS): Likewise.
5265         (PTRACE_SETHBPREGS): Likewise.
5266         (ELF_NGREG): Use new struct user_regs_struct.
5267         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5268
5269 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5270
5271         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5272         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5273
5274 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5275
5276         [BZ #16958]
5277         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5278         membar to avoid block loads/stores to overlap previous stores.
5279
5280 2014-05-17  Richard Henderson  <rth@redhat.com>
5281
5282         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5283         Create the __##syscall_name##_nocancel entry point.
5284         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5285         Remove; let the sysdep-cancel.h code create it.
5286
5287 2014-05-17  David S. Miller  <davem@davemloft.net>
5288
5289         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5290         Protect with __USE_GNU.
5291         (TIOCSET_TEMPT): Likewise.
5292         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5293         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5294         these are already provided in bits/ioctl-types.h
5295
5296 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5297
5298         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5299         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5300
5301         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5302         Use wait4 regardless of [__NR_waitpid].
5303
5304 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5305
5306         PR libgcc/60166
5307         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5308         (_FP_NANSIGN_Q): Set the quiet bit.
5309
5310 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5311
5312         * benchtests/Makefile
5313         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5314         not $(common-objpfx)math/libm.so.
5315         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5316         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5317         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5318         $(common-objpfx)dlfcn/libdl.so.
5319         ($(objpfx)tst-audit8): Depend on $(libm), not
5320         $(common-objpfx)math/libm.so.
5321         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5322         not $(common-objpfx)dlfcn/libdl.so.
5323         * math/Makefile
5324         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5325         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5326         [$(build-shared) = yes].
5327         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5328         $(common-objpfx)nptl/libpthread.so.
5329         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5330         $(common-objpfx)math/libm.so$(libm.so-version) or
5331         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5332         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5333         $(common-objpfx)dlfcn/libdl.so.
5334         * setjmp/Makefile (link-libm): Remove variable.
5335         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5336         * stdio-common/Makefile (link-libm): Remove variable.
5337         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5338         * stdlib/Makefile (link-libm): Remove variable.
5339         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5340         ($(objpfx)tst-strtod-round): Likewise.
5341         ($(objpfx)tst-tininess): Likewise.
5342         ($(objpfx)tst-strtod-underflow): Likewise.
5343         ($(objpfx)tst-strtod6): Likewise.
5344         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5345         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5346         $(common-objpfx)dlfcn/libdl.so.
5347
5348 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5349
5350         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5351         BSD terminal modes definitions.
5352
5353 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5354
5355         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5356         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5357
5358         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5359         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5360         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5361         Don't do #include_next.
5362         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5363         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5364         Don't do #include_next.
5365         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5366         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5367         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5368         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5369
5370 2014-05-16  Allan McRae  <allan@archlinux.org>
5371
5372         * po/sv.po: Update Swedish translation from translation project.
5373
5374         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5375         in sed expression.
5376
5377 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5378
5379         [BZ #16917]
5380         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5381         errno if the TIOCGPTN ioctl fails with an error different than
5382         EINVAL.
5383         * login/tst-ptsname.c: New file.
5384         * login/Makefile (tests): Add tst-ptsname.
5385
5386         [BZ #16943]
5387         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5388         and prlimit64.
5389
5390 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5391
5392         [BZ #16849]
5393         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5394         herrno to return EAI_AGAIN.
5395
5396 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5397
5398         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5399         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5400         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5401         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5402         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5403         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5404         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5405         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5406         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5407         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5408         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5409         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5410         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5411         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5412         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5413         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5414         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5415         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5416         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5417         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5418         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5419         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5420         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5421         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5422         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5423         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5424         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5425         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5426         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5427         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5429         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5431         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5433         Moved ...
5434         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5436         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5438         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5440         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5442         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5444         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5446         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5448         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5450         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5452         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5454         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5456         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5458         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5460         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5462         Moved ...
5463         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5465         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5467         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5469         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5471         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5473         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5475         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5477         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5479         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5481         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5483         Moved ...
5484         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5486         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5487
5488         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5489         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5490         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5491         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5492         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5493         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5494         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5495         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5496         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5497         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5498         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5499         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5500         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5501         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5502         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5503         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5504         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5505         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5506         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5507         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5508         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5509         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5510         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5511         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5512         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5513         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5514         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5515         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5516         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5517         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5518         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5519
5520         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5521         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5522
5523         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5524         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5525         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5526         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5527         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5528         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5529         Moved ...
5530         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5531         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5532         Moved ...
5533         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5534         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5535         Moved ...
5536         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5537         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5538         Moved ...
5539         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5540         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5541         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5542         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5543         Moved ...
5544         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5545         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5546         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5547         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5548         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5549         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5550         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5551         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5552         Moved ...
5553         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5554         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5555         Moved ...
5556         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5557         ... here.
5558         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5559         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5560         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5561         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5562         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5563         Moved ...
5564         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5565         ... here.
5566         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5567         Moved ...
5568         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5569         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5570         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5571         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5572         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5573         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5574         Moved ...
5575         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5576         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5577         Moved ...
5578         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5579         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5580         Moved ...
5581         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5582         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5583         Moved ...
5584         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5585         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5586         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5587         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5588         Moved ...
5589         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5590         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5591         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5592         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5593         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5594         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5595         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5596         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5597         Moved ...
5598         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5599         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5600         Moved ...
5601         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5602         ... here.
5603         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5604         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5605         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5606         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5607         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5608         Moved ...
5609         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5610         ... here.
5611         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5612         Moved ...
5613         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5614         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5615         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5616         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5617         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5618         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5619         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5620         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5621         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5622         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5623         Moved ...
5624         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5625         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5626         Moved ...
5627         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5628         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5629         Moved ...
5630         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5631         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5632         Moved ...
5633         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5634         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5635         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5636         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5637         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5638         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5639         Moved ...
5640         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5641         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5642         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5643         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5644         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5645         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5646         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5647         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5648         Moved ...
5649         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5650         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5651         Moved ...
5652         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5653         ... here.
5654         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5655         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5656         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5657         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5658         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5659         Moved ...
5660         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5661         ... here.
5662         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5663         Moved ...
5664         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5665         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5666         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5667         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5668         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5669         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5670         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5671         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5672         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5673         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5674         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5675
5676         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5677         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5678
5679         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5680         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5681
5682         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5683         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5684         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5685         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5686         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5687         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5688         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5689         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5690         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5691         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5692         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5693         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5694         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5695         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5696         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5697         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5698         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5699         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5700         Moved ...
5701         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5702         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5703         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5704         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5705         Moved ...
5706         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5707         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5708         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5709         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5710         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5711         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5712         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5713         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5714         Moved ...
5715         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5716         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5717         Moved ...
5718         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5719         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5720         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5721         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5722         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5723         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5724         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5725         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5726         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5727         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5728         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5729         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5730         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5731         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5732         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5733         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5734         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5735
5736         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5737         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5738         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5739         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5740         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5741
5742         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5743         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5744         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5745         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5746         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5747         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5748         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5749         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5750         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5751         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5752
5753         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5754         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5755
5756         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5757         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5758         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5759         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5760         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5761         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5762         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5763         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5764         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5765         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5766         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5767         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5768         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5769         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5771         Update #include.
5772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5773         Likewise.
5774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5775         Likewise.
5776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5777         Likewise.
5778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5779         Likewise.
5780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5781         Likewise.
5782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5783         Likewise.
5784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5785         Likewise.
5786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5787         Likewise.
5788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5789         Likewise.
5790         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5791         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5792         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5793         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5794         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5795         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5796         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5797         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5798         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5799         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5800         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5801         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5802         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5803         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5804         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5805
5806         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5807         that was previously under [RESET_PID].
5808         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5809         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5810         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5811
5812         * sysdeps/i386/nptl/Implies: New file.
5813         * sysdeps/x86_64/nptl/Implies: New file.
5814         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5815         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5816         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5817         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5818
5819         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5820         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5821         (__libc_vfork): New strong alias.
5822         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5823         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5824
5825         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5826         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5827         (__libc_vfork): New strong alias.
5828         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5829         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5830
5831         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5832         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5833         (__libc_vfork): New strong alias.
5834         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5835         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5836         * nptl/pt-vfork.c: New file.
5837         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5838         (libpthread: GLIBC_2.20): New version set (empty).
5839
5840 2014-05-14  Will Newton  <will.newton@linaro.org>
5841
5842         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5843         rather than #if.
5844
5845 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5846
5847         [BZ #16564]
5848         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5849         arguments with exponent 65 or above.
5850         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5851         arguments 0x1p113L or above.
5852         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5853         to arguments 0x1p107L or above.
5854         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5855         positive arguments with exponent 65 or above.
5856         * math/auto-libm-test-in: Add more tests of log1p.
5857         * math/auto-libm-test-out: Regenerated.
5858
5859         [BZ #16928]
5860         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5861         non-finite arguments is +0.
5862         * math/s_cacosf.c (__cacosf): Likewise.
5863         * math/s_cacosl.c (__cacosl): Likewise.
5864         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5865         * sysdeps/i386/fpu/libm-test-ulps: Update.
5866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5867
5868         [BZ #16927]
5869         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5870         value.
5871         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5872         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5873         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5874         for explicit high bit of mantissa when testing for argument equal
5875         to 1.
5876         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5877         * sysdeps/i386/fpu/libm-test-ulps: Update.
5878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5879
5880         [BZ #16516]
5881         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5882         (__erf): Scale by 16 instead of 8 in potentially underflowing
5883         case.  Ensure exception if result actually underflows.
5884         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5885         (__erff): Scale by 16 instead of 8 in potentially underflowing
5886         case.  Ensure exception if result actually underflows.
5887         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5888         (efx8): Remove variable.
5889         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5890         case.  Ensure exception if result actually underflows.
5891         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5892         (efx8): Remove variable.
5893         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5894         case.  Ensure exception if result actually underflows.
5895         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5896         (efx8): Remove variable.
5897         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5898         case.  Ensure exception if result actually underflows.
5899         * math/auto-libm-test-in: Add more tests of erf.
5900         * math/auto-libm-test-out: Regenerated.
5901
5902 2014-05-14  Andreas Schwab  <schwab@suse.de>
5903
5904         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5905         Remove code conditionalized on USE___THREAD.
5906
5907         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5908         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5909         not definedness.
5910
5911 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5912
5913         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5914         Define unconditionally.
5915         (__ASSUME_O_CLOEXEC): Likewise.
5916         (__ASSUME_SOCK_CLOEXEC): Likewise.
5917         (__ASSUME_IN_NONBLOCK): Likewise.
5918         (__ASSUME_PIPE2): Likewise.
5919         (__ASSUME_EVENTFD2): Likewise.
5920         (__ASSUME_SIGNALFD4): Likewise.
5921         (__ASSUME_DUP3): Likewise.
5922         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5923         (__ASSUME_DUP3): Do not define.
5924         (__ASSUME_EVENTFD2): Likewise.
5925         (__ASSUME_IN_NONBLOCK): Likewise.
5926         (__ASSUME_O_CLOEXEC): Likewise.
5927         (__ASSUME_PIPE2): Likewise.
5928         (__ASSUME_SIGNALFD4): Likewise.
5929         (__ASSUME_SOCK_CLOEXEC): Likewise.
5930         (__ASSUME_UTIMES): Undefine.
5931         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5932         (__ASSUME_UTIMES): Do not define.
5933         (__ASSUME_O_CLOEXEC): Likewise.
5934         (__ASSUME_SOCK_CLOEXEC): Likewise.
5935         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5936         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5937         0x020621].
5938         (__ASSUME_PIPE2): Likewise.
5939         (__ASSUME_EVENTFD2): Likewise.
5940         (__ASSUME_SIGNALFD4): Likewise.
5941         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5942         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5943         Do not define.
5944         (__ASSUME_EVENTFD2): Likewise.
5945         (__ASSUME_SIGNALFD4): Likewise.
5946         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5947         (__ASSUME_32BITUIDS): Likewise.
5948         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5949         (__ASSUME_IPC64): Likewise.
5950         (__ASSUME_ST_INO_64_BIT): Likewise.
5951         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5952         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5953         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5954         (__ASSUME_UTIMES): Do not define.
5955         (__ASSUME_PSELECT): Likewise.
5956         (__ASSUME_PPOLL): Likewise.
5957         (__ASSUME_O_CLOEXEC): Likewise.
5958         (__ASSUME_SOCK_CLOEXEC): Likewise.
5959         (__ASSUME_IN_NONBLOCK): Likewise.
5960         (__ASSUME_PIPE2): Likewise.
5961         (__ASSUME_EVENTFD2): Likewise.
5962         (__ASSUME_SIGNALFD4): Likewise.
5963         (__ASSUME_DUP3): Likewise.
5964         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5965         (__ASSUME_UTIMES): Likewise.
5966         (__ASSUME_O_CLOEXEC): Likewise.
5967         (__ASSUME_SOCK_CLOEXEC): Likewise.
5968         (__ASSUME_IN_NONBLOCK): Likewise.
5969         (__ASSUME_PIPE2): Likewise.
5970         (__ASSUME_EVENTFD2): Likewise.
5971         (__ASSUME_SIGNALFD4): Likewise.
5972         (__ASSUME_DUP3): Likewise.
5973         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5974         (__ASSUME_UTIMES): Likewise.
5975         (__ASSUME_O_CLOEXEC): Likewise.
5976         (__ASSUME_SOCK_CLOEXEC): Likewise.
5977         (__ASSUME_IN_NONBLOCK): Likewise.
5978         (__ASSUME_PIPE2): Likewise.
5979         (__ASSUME_EVENTFD2): Likewise.
5980         (__ASSUME_SIGNALFD4): Likewise.
5981         (__ASSUME_DUP3): Likewise.
5982         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5983         Likewise.
5984         (__ASSUME_UTIMES): Likewise.
5985         (__ASSUME_EVENTFD2): Likewise.
5986         (__ASSUME_SIGNALFD4): Likewise.
5987         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5988         (__ASSUME_O_CLOEXEC): Likewise.
5989         (__ASSUME_SOCK_CLOEXEC): Likewise.
5990         (__ASSUME_IN_NONBLOCK): Likewise.
5991         (__ASSUME_PIPE2): Likewise.
5992         (__ASSUME_EVENTFD2): Likewise.
5993         (__ASSUME_SIGNALFD4): Likewise.
5994         (__ASSUME_DUP3): Likewise.
5995         (__ASSUME_UTIMES): Undefine.
5996
5997         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5998         feclearexcept.  Remove symbol versioning code.
5999         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6000         symbol versioning code.
6001         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6002         symbol versioning code.
6003         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6004         feupdateenv.  Remove symbol versioning code.
6005         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6006         fegetexceptflag.  Remove symbol versioning code.
6007         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6008         fesetexceptflag.  Remove symbol versioning code.
6009         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6010         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6011         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6012         (__posix_fadvise64_l32): Remove prototype.
6013         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6014         code.
6015
6016 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6017
6018         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6019         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6020         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6021         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6022
6023 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6024
6025         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6026         current working directory
6027
6028 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6029
6030         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6031         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6032         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6033         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6034         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6035         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6036         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6037         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6038         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6039         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6040         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6041         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6042         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6043         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6044         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6045         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6046         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6047         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6048         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6049         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6050         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6051         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6052         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6053         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6054         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6055         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6056         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6057         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6058         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6059         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6060         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6061         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6062         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6063         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6064         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6065         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6066         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6067         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6068         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6069         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6070         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6071         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6072
6073         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6074         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6075
6076         * sysdeps/unix/sysv/linux/arm/Makefile
6077         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6078         Add rt-aeabi_unwind_cpp_pr1.
6079         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6080         Add nptl-aeabi_unwind_cpp_pr1.
6081         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6082         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6083         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6084         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6085         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6086         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6087
6088         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6089         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6090         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6091         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6092
6093         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6094         Deconditionalize the code that was previously under [RESET_PID].
6095         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6096
6097         * sysdeps/generic/exit-thread.h: New file.
6098         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6099         * include/unistd.h (__exit_thread): Remove declaration.
6100         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6101         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6102         * csu/libc-start.c: Include <exit-thread.h>.
6103         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6104         * nptl/pthread_create.c: Include <exit-thread.h>.
6105         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6106         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6107         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6108         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6109         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6110         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6111         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6112         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6113         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6114         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6115         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6116         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6117         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6118         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6119         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6120         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6121         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6122
6123 2014-05-13  Andreas Schwab  <schwab@suse.de>
6124
6125         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6126
6127 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6128
6129         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6130         (__ASSUME_UTIMES): Do not condition on kernel version.
6131         (__ASSUME_PSELECT): Define unconditionally.
6132         (__ASSUME_PPOLL): Likewise.
6133         (__ASSUME_ATFCTS): Likewise.
6134         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6135         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6136         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6137         (__ASSUME_UTIMENSAT): Define unconditionally.
6138         (__ASSUME_PRIVATE_FUTEX): Likewise.
6139         (__ASSUME_FALLOCATE): Likewise.
6140         (__ASSUME_O_CLOEXEC): Likewise.
6141         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6142         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6143         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6144         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6145         (__ASSUME_IN_NONBLOCK): Likewise.
6146         (__ASSUME_PIPE2): Likewise.
6147         (__ASSUME_EVENTFD2): Likewise.
6148         (__ASSUME_SIGNALFD4): Likewise.
6149         (__ASSUME_DUP3): Likewise.
6150         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6151         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6152         (__ASSUME_AT_RANDOM): Likewise.
6153         (__ASSUME_PREADV): Likewise.
6154         (__ASSUME_PWRITEV): Likewise.
6155         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6156         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6157         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6158         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6159         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6160         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6161         (__ASSUME_O_CLOEXEC): Define unconditionally.
6162         (__ASSUME_PSELECT): Do not undefine conditionally.
6163         (__ASSUME_PPOLL): Likewise.
6164         (__ASSUME_ATFCTS): Likewise.
6165         (__ASSUME_SET_ROBUST_LIST): Likewise.
6166         (__ASSUME_UTIMENSAT): Likewise.
6167         (__ASSUME_FDATASYNC): Define unconditionally.
6168         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6169         (__ASSUME_SIGFRAME_V2): Likewise.
6170         )__ASSUME_EVENTFD2): Likewise.
6171         (__ASSUME_SIGNALFD4): Likewise.
6172         (__ASSUME_PSELECT): Do not undefine conditionally.
6173         (__ASSUME_PPOLL): Likewise.
6174         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6175         (__ASSUME_PSELECT): Define unconditionally.
6176         (__ASSUME_PPOLL): Likewise.
6177         (__ASSUME_O_CLOEXEC): Likewise.
6178         (__ASSUME_SOCK_CLOEXEC): Likewise.
6179         (__ASSUME_IN_NONBLOCK): Likewise.
6180         (__ASSUME_PIPE2): Likewise.
6181         (__ASSUME_EVENTFD2): Likewise.
6182         (__ASSUME_SIGNALFD4): Likewise.
6183         (__ASSUME_DUP3): Likewise.
6184         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6185         (__ASSUME_O_CLOEXEC): Likewise.
6186         (__ASSUME_SOCK_CLOEXEC): Likewise.
6187         (__ASSUME_IN_NONBLOCK): Likewise.
6188         (__ASSUME_PIPE2): Likewise.
6189         (__ASSUME_EVENTFD2): Likewise.
6190         (__ASSUME_SIGNALFD4): Likewise.
6191         (__ASSUME_DUP3): Likewise.
6192         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6193         (__ASSUME_EVENTFD2): Likewise.
6194         (__ASSUME_SIGNALFD4): Likewise.
6195         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6196
6197 2014-05-12  Andreas Schwab  <schwab@suse.de>
6198
6199         [BZ #16932]
6200         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6201         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6202         than maximum RPC packet size.
6203         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6204         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6205         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6206         (_nss_nis_getservbyport_r): Likewise.
6207
6208 2014-05-12  Will Newton  <will.newton@linaro.org>
6209
6210         * malloc/Makefile (tests): Add tst-mallopt.
6211         * malloc/tst-mallopt.c: New file.
6212
6213 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6214
6215         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6216         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6217
6218 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6219
6220         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6221         (tst-tlsmod6.so): Likewise.
6222
6223 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6224
6225         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6226
6227 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6228
6229         [BZ #16064]
6230         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6231         and <dl-procinfo.h>.
6232         (__fegetenv): Save SSE state in envp->__eip if supported.
6233         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6234         envp->__eip if supported.
6235         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6236         and <dl-procinfo.h>.
6237         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6238         __data_offset and __data_selector in environment to 0.  Set SSE
6239         state if supported.
6240         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6241         test-fenv-sse.
6242         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6243         -mfpmath=sse.
6244         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6245
6246 2014-05-09  Will Newton  <will.newton@linaro.org>
6247
6248         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6249         and libc_relro_required for ARM.
6250         * sysdeps/arm/preconfigure: Regenerate.
6251
6252 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6253             Stefan Liebler  <stli@linux.vnet.ibm.com>
6254
6255         * config.make.in (enable-lock-elision): New Makefile variable.
6256         * configure.ac: Likewise.
6257         * configure: Regenerate.
6258         * sysdeps/s390/configure.ac:
6259         Add check for gcc transactions support.
6260         * sysdeps/s390/configure: Regenerate.
6261         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6262         Build elision files if enabled.
6263         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6264         Add lock elision support for s390.
6265         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6266         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6267         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6268         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6269         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6270         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6271         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6272         Likewise.
6273         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6274         Likewise.
6275         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6276         Likewise.
6277         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6278         Likewise.
6279         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6280         (__lll_timedlock_elision, __lll_lock_elision)
6281         (__lll_unlock_elision, __lll_trylock_elision)
6282         (lll_timedlock_elision, lll_lock_elision)
6283         (lll_unlock_elision, lll_trylock_elision): Add.
6284         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6285         (pthread_mutex_t): Add lock elision support for s390.
6286
6287 2014-05-14  Wilco  <wdijkstr@arm.com>
6288
6289         * sysdeps/arm/fclrexcpt.c: Cleanup.
6290         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6291         * sysdeps/arm/feenablxcpt.c: Cleanup.
6292         * sysdeps/arm/fegetenv.c: Cleanup.
6293         * sysdeps/arm/fegetexcept.c: Cleanup.
6294         * sysdeps/arm/fegetround.c: Cleanup.
6295         * sysdeps/arm/feholdexcpt.c: Cleanup.
6296         * sysdeps/arm/fesetenv.c: Cleanup.
6297         * sysdeps/arm/fesetround.c: Cleanup.
6298         * sysdeps/arm/feupdateenv.c: Cleanup.
6299         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6300         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6301         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6302         * sysdeps/arm/ftestexcept.c: Cleanup.
6303         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6304         * sysdeps/arm/setfpucw.c: Cleanup.
6305
6306 2014-05-09  Will Newton  <will.newton@linaro.org>
6307
6308         * sysdeps/arm/armv7/strcmp.S: New file.
6309         * NEWS: Mention addition of ARMv7 optimized strcmp.
6310
6311 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6312
6313         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6314         look for %.ac rather than %.in.
6315
6316         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6317         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6318         * sysdeps/mach/hurd/configure: Regenerated.
6319         * sysdeps/unix/sysv/linux/configure: Regenerated.
6320
6321         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6322
6323 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6324
6325         [BZ# 16922]
6326         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6327         (LONG_SUB): Ditto.
6328         (PTR_SUB): Ditto.
6329
6330 2014-05-07  Andreas Schwab  <schwab@suse.de>
6331
6332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6333         when skipping over non-matching result from nscd.
6334
6335 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6336
6337         [BZ #16876]
6338         * nptl/sockperf.c (client): Check socket return value.
6339
6340         [BZ #16877]
6341         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6342         nscd security class.
6343
6344 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6345
6346         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6347         * sysdeps/arm/unwind.h: ... here.
6348
6349 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6350
6351         [BZ# 16916]
6352         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6353         Define.
6354
6355 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6356
6357         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6358         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6359         multiarch strncpy for PPC64.
6360         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6361         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6363         multiarch optimizations.
6364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6365         (__libc_ifunc_impl_list): Likewise.
6366         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6367         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6368         multiarch stpncpy for PPC64.
6369         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6370         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6371
6372 2014-05-06  Andreas Schwab  <schwab@suse.de>
6373
6374         [BZ #16912]
6375         * gmon/mcount.c (_MCOUNT_DECL): Use
6376         atomic_compare_and_exchange_bool_acq instead of
6377         catomic_compare_and_exchange_bool_acq.
6378
6379 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6380
6381         * elf/Makefile (others, install-bin): Remove pldd.
6382         (pldd-modules): Variable removed.
6383         ($(objpfx)pldd): Target removed.
6384         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6385         (others, install-bin): Append pldd here.
6386         ($(objpfx)pldd): New target.
6387
6388         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6389         to 0, so the first #if test emitted later doesn't see it undefined.
6390         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6391         * sysdeps/gnu/errlist.c: Regenerated.
6392
6393 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6394
6395         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6396         [libc_hidden_builtin_def]: Define to empty value.
6397         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6398         [libc_hidden_builtin_def]: Likewise.
6399         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6400         [libc_hidden_builtin_def]: Likewise.
6401         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6402         [libc_hidden_builtin_def]: Likewise.
6403         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6404         __redirect_memcpy and define ifunc as default hidden symbol.
6405         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6406         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6407
6408 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6409
6410         * locale/iso-4217.def: Reintroduce XDR currency.
6411
6412 2014-05-04  Allan McRae  <allan@archlinux.org>
6413
6414         * po/eo.po: Update Esperanto translation from translation project.
6415
6416 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6417
6418         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6419         and FEATURE_INDEX_MAX to 1.
6420         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6421
6422 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6423
6424         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6425         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6426         * iconvdata/big5.c (ONE_DIRECTION): Define.
6427         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6428         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6429         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6430         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6431         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6432         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6433         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6434         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6435         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6436         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6437         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6438         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6439         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6440         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6441         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6442         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6443         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6444         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6445         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6446         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6447         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6448         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6449         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6450         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6451         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6452         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6453         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6454         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6455         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6456         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6457         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6458         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6459         * iconvdata/johab.c (ONE_DIRECTION): Define.
6460         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6461         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6462         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6463         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6464         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6465         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6466         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6467         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6468         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6469         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6470
6471 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6472
6473         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6474         (_IO_JUMPS_OFFSET): Define to 0.
6475
6476         * nptl/sysdeps/pthread/bits/libc-lock.h
6477         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6478         (__libc_lock_define_initialized_recursive): Always define using
6479         initializer.  Modern compilers treat uninitialized (implicit zero) and
6480         explicit zero initializers the same (i.e. put the datum in bss).
6481
6482 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6483
6484         * nscd/nscd-client.h: Include <string.h>.
6485
6486 2014-05-01  David S. Miller  <davem@davemloft.net>
6487
6488         [BZ #16885]
6489         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6490         multiple zero bytes exist at the end of a string.
6491         Reported by Aurelien Jarno <aurelien@aurel32.net>
6492
6493         * string/test-strcmp.c (check): Add explicit test for situations where
6494         there are multiple zero bytes after the first.
6495
6496 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6497
6498         [BZ #16890]
6499         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6500         when compiling wprintf.
6501         * stdio-common/tstdiomisc.c (t3): New function.
6502         (main): Call it.
6503
6504 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6505
6506         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6507         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6508         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6509         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6510
6511 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6512
6513         * stdlib/longlong.h: Updated from GCC.
6514
6515 2014-05-01  Will Newton  <will.newton@linaro.org>
6516             Bernard Ogden  <bernie.ogden@linaro.org>
6517
6518         * NEWS: Update fixed bug list.
6519
6520         [BZ #15119]
6521         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6522
6523 2014-04-30  David S. Miller  <davem@davemloft.net>
6524
6525         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6526         (libc_feholdexcept_setround_sparc_ctx): New function.
6527         (libc_fesetenv_sparc_ctx): Likewise.
6528         (libc_feupdateenv_sparc_ctx): Likewise.
6529         (libc_feholdsetround_sparc_ctx): Likewise.
6530         (libc_feholdexcept_setround_ctx): Define.
6531         (libc_feholdexcept_setroundf_ctx): Likewise.
6532         (libc_feholdexcept_setroundl_ctx): Likewise.
6533         (libc_fesetenv_ctx): Likewise.
6534         (libc_fesetenvf_ctx): Likewise.
6535         (libc_fesetenvl_ctx): Likewise.
6536         (libc_feupdateenv_ctx): Likewise.
6537         (libc_feupdateenvf_ctx): Likewise.
6538         (libc_feupdateenvl_ctx): Likewise.
6539         (libc_feresetround_ctx): Likewise.
6540         (libc_feresetroundf_ctx): Likewise.
6541         (libc_feresetroundl_ctx): Likewise.
6542         (libc_feholdsetround_ctx): Likewise.
6543         (libc_feholdsetroundf_ctx): Likewise.
6544         (libc_feholdsetroundl_ctx): Likewise.
6545
6546         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6547         with __USE_GNU instead of XOPEN cpp guards.
6548
6549         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6550         0.
6551
6552         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6553         with XOPEN cpp guards.
6554
6555 2014-04-30  Julian Brown  <julian@codesourcery.com>
6556
6557         [BZ #16888]
6558         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6559         handling.
6560
6561 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6562
6563         [BZ #9894]
6564         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6565         Change to 2.6.32.
6566         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6567         * sysdeps/unix/sysv/linux/configure: Regenerated.
6568         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6569         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6570         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6571         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6572         * README: Update reference to required Linux kernel version.
6573         * manual/install.texi (Linux): Update reference to required Linux
6574         kernel headers version.
6575         * INSTALL: Regenerated.
6576
6577         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6578         header inclusion.
6579         [POSIX] (limits.h): Likewise.
6580         [POSIX] (math.h): Likewise.
6581         [POSIX] (sys/wait.h): Likewise.
6582         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6583         function.
6584         [POSIX] (stddef.h): Do not allow header inclusion.
6585
6586 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6587
6588         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6589
6590 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6591
6592         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6593         Return immediately after lll_futex_wake.
6594
6595 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6596
6597         [BZ #16791]
6598         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6599         structure.
6600         (datahead_init_pos): Call datahead_init_common early.
6601         (datahead_init_neg): Likewise.
6602
6603         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6604         datahead_init_neg): New functions.
6605         * nscd/aicache.c (addhstaiX): Use them.
6606         * nscd/grpcache.c (cache_addgr): Likewise.
6607         * nscd/hstcache.c (cache_addhst): Likewise.
6608         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6609         * nscd/netgroupcache.c (do_notfound): Likewise.
6610         (addgetnetgrentX): Likewise.
6611         (addinnetgrX): Likewise.
6612         * nscd/pwdcache.c (cache_addpw): Likewise.
6613         * nscd/servicescache.c (cache_addserv): Likewise.
6614
6615 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6616             Atsushi Onoe  <atsushi@onoe.org>
6617
6618         [BZ #14308]
6619         [BZ #12994]
6620         [BZ #13651]
6621         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6622         one response is valid.
6623         * resolv/res_send.c (send_dg): Check for validity of other
6624         response if the current response is a referral.
6625
6626 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6627
6628         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6629
6630 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6631
6632         [BZ #16823]
6633         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6634         Always divide by positive zero when computing -Inf result.
6635         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6636         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6637
6638 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6639
6640         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6641         FPSCR if value do not change.
6642         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6643         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6644         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6645         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6646         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6647         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6648         function.
6649
6650 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6651
6652         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6653         * sysdeps/unix/sysv/linux/hppa: Move directory from
6654         ports/systeps/unix/sysv/linux/hppa.
6655         * README: Update listing for hppa-*-linux-gnu.
6656
6657 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6658
6659         [BZ #16754]
6660         * manual/stdio.texi (Hook functions): Fix types of stream hook
6661         functions.
6662         [BZ #16854]
6663         * socket/sys/socket.h: Fix typo in comment.
6664
6665 2014-04-28  Wilco  <wdijkstr@arm.com>
6666
6667         * sysdeps/arm/fenv_private.h: New file.
6668         * sysdeps/arm/math_private.h: New file.
6669         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6670
6671 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6672
6673         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6674         with __int128_t.
6675         (La_x86_64_retval): Likewise.
6676
6677 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6678
6679         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6680         fpsr if value didn't change.
6681         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6682         to fpcr if value didn't change.
6683         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6684         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6685         fpsr or fpcr if value didn't change.
6686         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6687         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6688         fpcr if value didn't change.
6689         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6690         to fpsr if value didn't change.
6691
6692 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6693
6694         * nptl/tst-sem3.c: Use test-skeleton.c
6695         (main): Rename to do_test.  Use return instead of
6696         exit.
6697         * nptl/tst-sem4.c: Use test-skeleton.c
6698         (main): Rename to do_test.
6699
6700 2014-04-22  David S. Miller  <davem@davemloft.net>
6701
6702         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6703         (struct sigaction): New struct member __glibc_reserved0, change
6704         type of sa_flags to int.
6705
6706 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6707
6708         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6709         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6710
6711 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6712
6713         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6714         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6715
6716 2014-04-22  Will Newton  <will.newton@linaro.org>
6717             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6718
6719         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6720         (__longjmp): Add longjmp and longjmp_target SystemTap
6721         probes.
6722         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6723         (__sigsetjmp): Add setjmp SystemTap probe.
6724
6725 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6726
6727         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6728         match manual order.
6729
6730 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6731
6732         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6733
6734         * sysdeps/powerpc/fpu/fenv_private.h
6735         (libc_feholdexcept_setroundl_ctx): Define to
6736         libc_feholdexcept_setround_ppc_ctx.
6737         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6738         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6739         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6740         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6741
6742 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6743
6744         * sysdeps/aarch64/math-tests.h: New file.
6745
6746 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6747
6748         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6749         New.
6750         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6751         Check and set bit_AVX2_Usable.
6752         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6753         macro.
6754         (bit_AVX2): Likewise.
6755         (index_AVX2_Usable): Likewise.
6756         (CPUID_AVX2): Likewise.
6757         (HAS_AVX2): Likewise.
6758
6759 2014-04-17  Will Newton  <will.newton@linaro.org>
6760
6761         * manual/setjmp.texi (System V contexts): Add note that
6762         calling setcontext on a context created by a call to a
6763         signal handler is undefined.  Update text to note that
6764         setcontext from a signal handler is possible but not
6765         recommended.
6766
6767         [BZ #16629]
6768         * stdlib/tst-setcontext.c: Include signal.h.
6769         (main): Check that the signal stack before and
6770         after swapcontext is the same.
6771
6772         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6773         Re-implement to restore registers in user code and avoid
6774         rt_sigreturn system call.
6775
6776 2014-04-17  Wilco  <wdijkstr@arm.com>
6777
6778         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6779         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6780         * math/test-fenv.c: Skip exception trap tests on targets which only
6781         support non-stop mode.
6782
6783 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6784             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6785
6786         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6787         (libc_feholdsetround_aarch64_ctx)
6788         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6789         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6790         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6791         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6792         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6793         (libc_feresetround_noexl_ctx): Define.
6794
6795 2014-04-16  Richard Henderson  <rth@redhat.com>
6796
6797         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6798
6799         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6800         unwind tables.
6801
6802         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6803         const from the non-libc, non-ldso copy.
6804
6805         * sysdeps/alpha/libm-test-ulps: Regenerate.
6806
6807 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6808             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6809
6810         * sysdeps/aarch64/fpu/math_private.h: New file.
6811
6812 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6813
6814         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6815
6816 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6817
6818         [BZ #16275]
6819         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6820         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6821         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6822         Intel MPX bound registers before _dl_profile_fixup.
6823         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6824         registers after _dl_profile_fixup.  Save and restore bound
6825         registers bnd0/bnd1 when calling _dl_call_pltexit.
6826         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6827         (LR_BND_OFFSET): Likewise.
6828         (LRV_BND0_OFFSET): Likewise.
6829         (LRV_BND1_OFFSET): Likewise.
6830
6831 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6832
6833         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6834         to...
6835         * sysdeps/mach/hurd/i386/tls.h: ... here.
6836         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6837         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6838         fields.
6839
6840 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6841
6842         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6843
6844 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6845
6846         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6847
6848 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6849
6850         [BZ #14770]
6851         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6852         * sysdeps/s390/configure: Regenerate.
6853
6854         [BZ #16824]
6855         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6856         Set round-to-nearest internally to reduce error accumulation.
6857
6858 2014-04-16  Alan Modra  <amodra@gmail.com>
6859
6860         [BZ #16740]
6861         [BZ #16619]
6862         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6863         * math/libm-test.inc (frexp_test_data): Add tests.
6864         * NEWS: Update fixed bug list.
6865
6866 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6867
6868         * benchtests/Makefile: Depend on libraries in build directory.
6869         (bench-math): Separate out math tests.
6870         (bench-pthread): Separate out pthread tests.
6871         (bench): Include math and pthread tests.
6872
6873 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6874
6875         [BZ #16831]
6876         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6877         _dl_debug_initialize.
6878
6879         * configure.ac: Remove SELinux header check.
6880         * configure: Regenerate.
6881         * nscd/selinux.c (perms): Array of const char* to permission names.
6882         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6883         default policy. Call string_to_security_class and string_to_av_perm to
6884         translate strings. Enforce default policy and call avs_has_perm with
6885         results of translated strings.
6886
6887 2014-04-13  David S. Miller  <davem@davemloft.net>
6888
6889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6890
6891 2014-04-12  Allan McRae  <allan@archlinux.org>
6892
6893         [BZ #16838]
6894         * manual/string.texi (Collation Functions): Fix qsort argument
6895         order in example.
6896         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6897
6898 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6899
6900         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6901         Make the test a no-op if there are no exceptions defined.
6902
6903 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6904
6905         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6906         enable-hardcoded-path-in-tests
6907
6908 2014-04-11  Will Newton  <will.newton@linaro.org>
6909
6910         * benchtests/Makefile (extra-objs): Add json-lib.o.
6911         (bench-func): Tidy up JSON output.
6912         * benchtests/bench-skeleton.c: Include json-lib.h.
6913         (main): Use JSON library functions to do output of
6914         benchmark results.
6915         * benchtests/bench-timing-type.c (main): Output the
6916         timing type simply, leaving formatting to the user.
6917         * benchtests/json-lib.c: New file.
6918         * benchtests/json-lib.h: Likewise.
6919
6920 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6921
6922         [BZ #15215]
6923         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6924         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6925         memory barriers.  Add comments.
6926         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6927         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6928         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6929         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6930         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6931         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6932
6933 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6934
6935         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6936         * sysdeps/s390/s390-64/configure.ac: ... this ...
6937         * sysdeps/s390/configure.ac: ... to here.
6938         * sysdeps/s390/s390-32/configure: Delete file.
6939         * sysdeps/s390/s390-64/configure: Delete file.
6940         * sysdeps/s390/configure: Regenerate.
6941
6942 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6943
6944         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6945
6946 2014-04-11  Will Newton  <will.newton@linaro.org>
6947
6948         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6949         to zero if it is not defined elsewhere.  (mtrim): Test
6950         the value of MALLOC_DEBUG with #if rather than #ifdef.
6951
6952 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6953
6954         * benchtests/pthread_once-inputs: New file.
6955         * benchtests/pthread_once-source.c: New file.
6956         * benchtests/README: Update documentation.
6957
6958 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6959             H.J. Lu  <hongjiu.lu@intel.com>
6960
6961         [BZ #16275]
6962         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6963         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6964         * sysdeps/x86_64/configure: Regenerated.
6965         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6966         macro.
6967         (REGISTER_SAVE_RAX): Likewise.
6968         (REGISTER_SAVE_RCX): Likewise.
6969         (REGISTER_SAVE_RDX): Likewise.
6970         (REGISTER_SAVE_RSI): Likewise.
6971         (REGISTER_SAVE_RDI): Likewise.
6972         (REGISTER_SAVE_R8): Likewise.
6973         (REGISTER_SAVE_R9): Likewise.
6974         (REGISTER_SAVE_BND0): Likewise.
6975         (REGISTER_SAVE_BND1): Likewise.
6976         (REGISTER_SAVE_BND2): Likewise.
6977         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6978         bound registers when calling _dl_fixup.
6979
6980 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6981
6982         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6983         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6984         of its definition.
6985         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6986         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6987         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6988         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6989         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6990         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6991         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6992
6993 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6994
6995         [BZ #15514]
6996         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6997         pathconf(_PC_NAME_MAX).
6998
6999 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7000
7001         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7002         Remove macro usage.
7003         (__PTHREAD_SPINS): Move definition to ...
7004         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7005         (__PTHREAD_SPINS): ... here.
7006         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7007         (__PTHREAD_SPIN): Likewise.
7008         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7009         (__PTHREAD_SPIN): Likewise.
7010         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7011         (__PTHREAD_SPIN): Likewise.
7012         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7013         (__PTHREAD_SPIN): Likewise.
7014         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7015         (__PTHREAD_SPIN): Likewise.
7016         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7017         (__PTHREAD_SPIN): Likewise.
7018         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7019         (__PTHREAD_SPIN): Likewise.
7020         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7021         (__PTHREAD_SPIN): Likewise.
7022         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7023         (__PTHREAD_SPIN): Likewise.
7024         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7025         (__PTHREAD_SPIN): Likewise.
7026         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7027         (__PTHREAD_SPIN): Likewise.
7028         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7029         (__PTHREAD_SPIN): Likewise.
7030
7031         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7032         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7033         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7034         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7035         imply folder.
7036         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7037         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7038         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7039         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7040         correct imply path.
7041         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7042         strlen symbol for non multi-arch builds.
7043         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7044         missing hidden_def and weak_alias.
7045
7046 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7047
7048         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7049
7050 2014-04-07  Will Newton  <will.newton@linaro.org>
7051
7052         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7053         and contents.  [!_LIBC] Remove #ifndef and contents.
7054         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7055         * string/memccpy.c (__memccpy): Use ANSI prototype.
7056         * string/memfrob.c (memfrob): Likewise.
7057         * string/strcoll.c (STRCOLL): Likewise.
7058         * string/strlen.c (strlen): Likewise.
7059         * string/strtok.c (STRTOK): Likewise.
7060         * string/strcat.c: Remove unused #include of memcopy.h.
7061         (strcat): Use ANSI prototype.
7062         * string/strchr.c: Remove unused #include of memcopy.h.
7063         (strchr): Use ANSI prototype.
7064         * string/strcmp.c: Remove unused #include of memcopy.h.
7065         (strcmp): Use ANSI prototype.
7066         * string/strcpy.c: Remove unused #include of memcopy.h.
7067         (strcpy): Use ANSI prototype.
7068
7069 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7070
7071         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7072         * config.make.in (config-extra-cppflags): Set it from
7073         libc_extra_cppflags.
7074         * configure.ac (libc_extra_cflags): Make it accumulate over
7075         configure fragments.
7076         (libc_extra_cppflags): New flag.
7077         * configure. Regenerate.
7078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7079         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7080         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7082
7083         [BZ #16815]
7084         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7085         result for FE_DOWNWARD rounding mode.
7086         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7087         Likewise.
7088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7089
7090 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7091
7092         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7093         in function argument name.
7094
7095 2014-04-03  David Svoboda  <svoboda@cert.org>
7096
7097         [BZ #5666]
7098         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7099         explicitly.
7100
7101 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7102
7103         * elf/dl-unmap-segments.h: New file.
7104         * sysdeps/generic/ldsodefs.h
7105         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7106         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7107         * elf/dl-fptr.c: Likewise.
7108         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7109         * sysdeps/aarch64/tlsdesc.c: Likewise.
7110         * sysdeps/arm/tlsdesc.c: Likewise.
7111         * sysdeps/i386/tlsdesc.c: Likewise.
7112         * sysdeps/tile/dl-runtime.c: Likewise.
7113         * sysdeps/x86_64/tlsdesc.c: Likewise.
7114         * elf/dl-load.h: New file.
7115         * elf/dl-load.c: Include it.
7116         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7117         Macros moved to dl-load.h.
7118         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7119         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7120         Use _dl_unmap_segments in place of __munmap.
7121         Break out segment-mapping loop into ...
7122         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7123
7124 2014-04-03  Will Newton  <will.newton@linaro.org>
7125
7126         * elf/dl-lookup.c (do_lookup_x): Remove comment
7127         referring to nested function and move variable
7128         declarations down to before first use.
7129
7130 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7131
7132         [BZ #16799]
7133         [BZ #16800]
7134         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7135         with 0 numerator.
7136         * math/s_catanf.c (__catanf): Likewise.
7137         * math/s_catanh.c (__catanh): Likewise.
7138         * math/s_catanhf.c (__catanhf): Likewise.
7139         * math/s_catanhl.c (__catanhl): Likewise.
7140         * math/s_catanl.c (__catanl): Likewise.
7141         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7142         by positive zero when computing -Inf result.
7143         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7144         (catanh_test): Likewise.
7145         * sysdeps/i386/fpu/libm-test-ulps: Update.
7146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7147
7148         [BZ #16789]
7149         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7150         instead of using underflowing value in computing result.
7151         * math/s_clog10.c (__clog10): Likewise.
7152         * math/s_clog10f.c (__clog10f): Likewise.
7153         * math/s_clog10l.c (__clog10l): Likewise.
7154         * math/s_clogf.c (__clogf): Likewise.
7155         * math/s_clogl.c (__clogl): Likewise.
7156         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7157         (clog10_test): Likewise.
7158         * sysdeps/i386/fpu/libm-test-ulps: Update.
7159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7160
7161 2014-04-02  Alan Modra  <amodra@gmail.com>
7162
7163         [BZ #16739]
7164         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7165         output when value is near a power of two.  Use int64_t for lx and
7166         remove casts.  Use decimal rather than hex exponent constants.
7167         Don't use long double multiplication when double will suffice.
7168         * math/libm-test.inc (nextafter_test_data): Add tests.
7169         * NEWS: Add 16739 and 16786 to bug list.
7170
7171         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7172
7173         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7174
7175 2014-04-01  Will Newton  <will.newton@linaro.org>
7176
7177         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7178         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7179
7180 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7181
7182         [BZ #13347]
7183         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7184         * nptl/tst-setuid2.c: New file.
7185         * nptl/Makefile (xtests): Add tst-setuid2.
7186
7187 2014-04-01  Alan Modra  <amodra@gmail.com>
7188
7189         [BZ #16786]
7190         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7191
7192 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7193
7194         [BZ #6803]
7195         [BZ #6804]
7196         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7197         set errno as appropriate.
7198         * math/w_scalbf.c (__scalbf): Likewise.
7199         * math/w_scalbl.c (__scalbl): Likewise.
7200         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7201         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7202         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7203         Add more NaN tests.
7204
7205         [BZ #16349]
7206         * math/w_atan2.c: Include <errno.h>.
7207         (__atan2): Set errno for result underflowing to zero.
7208         * math/w_atan2f.c: Include <errno.h>.
7209         (__atan2f): Set errno for result underflowing to zero.
7210         * math/w_atan2l.c: Include <errno.h>.
7211         (__atan2l): Set errno for result underflowing to zero.
7212         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7213         tests.
7214         * math/auto-libm-test-out: Regenerated.
7215
7216 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7217
7218         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7219         Encode instruction correctly in little endian.
7220         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7221         Likewise.
7222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7223         Likewise.
7224         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7225         Likewise.
7226         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7227         Likewise.
7228
7229 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7230
7231         [BZ #9894]
7232         * sysdeps/unix/sysv/linux/kernel-features.h
7233         [__sparc__ && !__arch64__ && !__sparc_v9__]
7234         (__ASSUME_SET_ROBUST_LIST): Do not define.
7235         [__sparc__ && !__arch64__ && !__sparc_v9__]
7236         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7237         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7238         Likewise.
7239         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7240         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7241         (__ASSUME_REQUEUE_PI): Likewise.
7242         (__ASSUME_SET_ROBUST_LIST): Likewise.
7243         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7244         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7245         Undefine.
7246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7247         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7248         Likewise.
7249         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7250         Likewise.
7251         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7252         Likewise.
7253         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7254         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7255         Undefine.
7256         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7257         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7258         Likewise.
7259
7260         [BZ #16648]
7261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7262         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7263         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7264
7265 2014-03-31  Will Newton  <will.newton@linaro.org>
7266
7267         * benchtests/Makefile (bench): Add ffs and ffsll to list
7268         of tests.
7269         * benchtests/ffs-inputs: New file.
7270         * benchtests/ffsll-inputs: Likewise.
7271
7272 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7273
7274         [BZ #16770]
7275         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7276         too large before casting to int.
7277         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7278         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7279         * math/libm-test.inc (scalb_test_data): Add more tests.
7280
7281 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7282
7283         * benchtests/Makefile (DETAILED_OPT): New make option.
7284         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7285         set.
7286         * benchtests/bench-skeleton.c: Include stdbool.h.
7287         (main): Store and print timings per input.
7288         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7289         member to each argument value.
7290         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7291         (_print_arg_data): Initialize per-input timing to 0.
7292
7293         * benchtests/Makefile (timing-type): New binary.
7294         (bench-clean): Also remove bench-timing-type.
7295         (bench): New target for timing-type.
7296         (bench-func): Print output in JSON format.
7297         * benchtests/bench-skeleton.c (main): Print output in JSON
7298         format.
7299         * benchtests/bench-timing-type.c: New file.
7300         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7301         (TIMING_PRINT_STATS): Remove.
7302         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7303         name separately.
7304
7305         * benchtests/bench-modf.c: Remove.
7306         * benchtests/modf-inputs: New inputs file.
7307
7308 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7309
7310         [BZ #16362]
7311         * math/s_clog10.c (M_PI_LOG10E): New macro.
7312         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7313         imaginary parts are 0.
7314         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7315         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7316         imaginary parts are 0.
7317         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7318         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7319         imaginary parts are 0.
7320         * math/libm-test.inc (clog10_test_data): Update expected results
7321         for when real and imaginary parts are 0.
7322
7323 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7324
7325         * elf/dl-load.c: Finish conversion of __builtin_expect into
7326         __glibc_{un}likely.
7327
7328 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7329
7330         [BZ #16348]
7331         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7332         1+x for argument with exponent below -67.
7333         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7334         Likewise.
7335         * math/auto-libm-test-in: Add more tests of exp.
7336         * math/auto-libm-test-out: Regenerated.
7337
7338 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7339
7340         [BZ #16759]
7341         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7342         (nscd_getnetgrent): Use it.
7343
7344         [BZ #16760]
7345         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7346         of stpcpy.
7347
7348 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7349
7350         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7351         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7352         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7353         (lll_robust_unlock): Remove out of line section. Use cfi
7354         intrinsics.
7355         (LLL_STUB_UNWIND_INFO*): Remove.
7356         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7357         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7358         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7359         (lll_robust_unlock): Remove out of line section. Use cfi
7360         intrinsics.
7361         (LLL_STUB_UNWIND_INFO*): Remove.
7362
7363 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7364
7365         [BZ #16758]
7366         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7367         blank values.
7368
7369 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7370
7371         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7372
7373 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7374
7375         [BZ #16198]
7376         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7377         fnstenv.
7378         * math/test-fenv-preserve.c: New file.
7379         * math/Makefile (tests): Add test-fenv-preserve.
7380
7381 2014-03-26  Will Newton <will.newton@linaro.org>
7382
7383         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7384
7385 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7386
7387         * scripts/versionlist.awk: Partition the version sets and emit all
7388         GLIBC_* (sorted) before all others (sorted).
7389
7390 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7391
7392         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7393         GLIBC_2.2.5 version.
7394
7395 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7396
7397         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7398         calls.
7399
7400         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7401         previous change.
7402
7403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7404
7405 2014-03-25  Andreas Schwab  <schwab@suse.de>
7406
7407         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7408         label to be used after in6ailist is initialized.
7409
7410 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7411
7412         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7413         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7414
7415 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7416
7417         [BZ #16357]
7418         [BZ #16599]
7419         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7420         min_plus_half.
7421         (fp_formats): Update initializers.
7422         (init_fp_formats): Initialize new field.
7423         (output_for_one_input_case): Allow underflow for results up to
7424         min_plus_half.
7425         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7426         * math/auto-libm-test-in: Don't mark some underflows from asin and
7427         atanh as spurious.
7428         * math/auto-libm-test-out: Regenerated.
7429         * sysdeps/i386/fpu/libm-test-ulps: Update.
7430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7431
7432 2014-03-25  Andreas Schwab  <schwab@suse.de>
7433
7434         * libio/Makefile (tst-ftell-partial-wide-ENV)
7435         (tst-ftell-active-handler-ENV): Define.
7436
7437 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7438
7439         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7440
7441 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7442
7443         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7444
7445 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7446
7447         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7448         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7449         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7450
7451 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7452
7453         [BZ #16634]
7454         * elf/dl-load.c (open_verify): Add mode parameter.
7455         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7456         (open_path): Change from boolean 'secure' to complete flag 'mode'
7457         (_dl_map_object): Adjust.
7458         * elf/Makefile (tests): Add tst-dlopen-aout.
7459         * elf/tst-dlopen-aout.c: New test.
7460
7461 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7462
7463         [BZ #16714]
7464         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7465         (struct stat): Rename member pad0 to __glibc_reserved0.
7466
7467         [BZ #16712]
7468         * sysdeps/s390/s390-32/bits/wordsize.h
7469         (__WORDSIZE32_SIZE_ULONG): New define.
7470         * sysdeps/s390/s390-64/bits/wordsize.h
7471         (__WORDSIZE32_SIZE_ULONG): Likewise.
7472         * sysdeps/generic/stdint.h (SIZE_MAX):
7473         Define as UL if __WORDSIZE32_SIZE_ULONG.
7474
7475         [BZ #16713]
7476         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7477         (__glibc_reserved0): New variable.
7478         (sa_flags): Change type to int.
7479
7480         * posix/Makefile (before-compile): Use += before-compile instead
7481         of a :=.
7482
7483         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7484         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7485
7486 2014-03-20  Andreas Schwab  <schwab@suse.de>
7487
7488         [BZ #16743]
7489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7490         non-matching result from nscd.
7491
7492 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7493
7494         * scripts/bench.py: Moved to ...
7495         * benchtests/scripts/bench.py: ... here.
7496         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7497
7498 2014-03-24  Andreas Schwab  <schwab@suse.de>
7499
7500         [BZ #16002]
7501         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7502         alloca_account and account alloca use for struct in6ailist.
7503
7504 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7505
7506         [BZ #16284]
7507         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7508         rounding mode to recompute results that overflow to infinity or
7509         underflow to zero.
7510         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7511         bug 16284.
7512         * math/auto-libm-test-out: Regenerated.
7513         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7514         (ccosh_test): Likewise.
7515         (csin_test_data): Use plus_oflow.
7516         (csin_test): Use ALL_RM_TEST.
7517         (csinh_test_data): Use plus_oflow.
7518         (csinh_test): Use ALL_RM_TEST.
7519         * sysdeps/i386/fpu/libm-test-ulps: Update.
7520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7521
7522 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7523
7524         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7525         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7526         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7527
7528         [BZ #16731]
7529         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7530         when x - 1 is zero.
7531         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7532         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7533         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7534         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7535         argument is 1.
7536         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7537         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7538         zero.
7539         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7540         * sysdeps/i386/fpu/libm-test-ulps: Update.
7541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7542
7543 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7544
7545         * scripts/bench.pl: Remove file.
7546         * scripts/bench.py: New benchmark script.
7547         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7548         * benchtests/README: Mention python dependency.
7549         * scripts/pylintrc: New file.
7550         * scripts/pylint: New file.
7551
7552         * bits/mathdef.h: Use #ifdef instead of #if.
7553         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7554         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7555         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7556         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7557         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7558         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7559
7560 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7561             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7562
7563         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7565         and strpbrk-ppc64 objects.
7566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7567         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7568         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7569         multiarch strpbrk for POWER7.
7570         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7571         multiarch strpbrk for PPC64.
7572         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7573         ifunc selector.
7574         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7575         strpbrk for POWER7.
7576
7577 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7578
7579         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7580         (atan_test): Likewise.
7581         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7582         (atanh_test): Use ALL_RM_TEST.
7583         (atan2_test_data): Likewise.
7584         (cabs_test): Likewise.
7585         (cacosh_test): Likewise.
7586         (carg_test): Likewise.
7587         (casin_test): Likewise.
7588         (casinh_test): Likewise.
7589         (cbrt_test): Likewise.
7590         (csqrt_test): Likewise.
7591         (erf_test): Likewise.
7592         (erfc_test): Likewise.
7593         (pow10_test): Likewise.
7594         (exp2_test): Likewise.
7595         (hypot_test): Likewise.
7596         (j0_test): Likewise.
7597         (j1_test): Likewise.
7598         (lgamma_test): Likewise.
7599         (gamma_test): Likewise.
7600         (sincos_test): Likewise.
7601         (tanh_test): Likewise.
7602         (y0_test): Likewise.
7603         (y1_test): Likewise.
7604         * sysdeps/i386/fpu/libm-test-ulps: Update.
7605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7606
7607 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7608
7609         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7611         and strcspn-ppc64 objects.
7612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7613         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7614         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7615         multiarch strcspn for POWER7.
7616         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7617         multiarch strcspn for PPC64.
7618         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7619         ifunc selector.
7620         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7621         strcspn for POWER7.
7622
7623 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7624
7625         * math/gen-libm-test.pl (generate_testfile): Expect only function
7626         name as argument to AUTO_TESTS_* and pass results for all rounding
7627         modes to parse_args.
7628         (parse_auto_input): Separate inputs of automatic tests from
7629         outputs before storing in %auto_tests.
7630         * math/libm-test.inc (acos_test_data): Update call to
7631         AUTO_TESTS_f_f.
7632         (acos_test): Use ALL_RM_TEST.
7633         (acos_tonearest_test_data): Remove.
7634         (acos_test_tonearest): Likewise.
7635         (acos_towardzero_test_data): Likewise.
7636         (acos_test_towardzero): Likewise.
7637         (acos_downward_test_data): Likewise.
7638         (acos_test_downward): Likewise.
7639         (acos_upward_test_data): Likewise.
7640         (acos_test_upward): Likewise.
7641         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7642         (asin_test_data): Likewise.
7643         (asin_test): Use ALL_RM_TEST.
7644         (asin_tonearest_test_data): Remove.
7645         (asin_test_tonearest): Likewise.
7646         (asin_towardzero_test_data): Likewise.
7647         (asin_test_towardzero): Likewise.
7648         (asin_downward_test_data): Likewise.
7649         (asin_test_downward): Likewise.
7650         (asin_upward_test_data): Likewise.
7651         (asin_test_upward): Likewise.
7652         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7653         (atan_test_data): Likewise.
7654         (atanh_test_data): Likewise.
7655         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7656         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7657         (carg_test_data): Likewise.
7658         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7659         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7660         (ccosh_test_data): Likewise.
7661         (cexp_test_data): Likewise.
7662         (clog_test_data): Likewise.
7663         (clog10_test_data): Likewise.
7664         (cos_test_data): Update call to AUTO_TESTS_f_f.
7665         (cos_test): Use ALL_RM_TEST.
7666         (cos_tonearest_test_data): Remove.
7667         (cos_test_tonearest): Likewise.
7668         (cos_towardzero_test_data): Likewise.
7669         (cos_test_towardzero): Likewise.
7670         (cos_downward_test_data): Likewise.
7671         (cos_test_downward): Likewise.
7672         (cos_upward_test_data): Likewise.
7673         (cos_test_upward): Likewise.
7674         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7675         (cosh_test): Use ALL_RM_TEST.
7676         (cosh_tonearest_test_data): Remove.
7677         (cosh_test_tonearest): Likewise.
7678         (cosh_towardzero_test_data): Likewise.
7679         (cosh_test_towardzero): Likewise.
7680         (cosh_downward_test_data): Likewise.
7681         (cosh_test_downward): Likewise.
7682         (cosh_upward_test_data): Likewise.
7683         (cosh_test_upward): Likewise.
7684         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7685         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7686         (ctan_test_data): Likewise.
7687         (ctan_test): Use ALL_RM_TEST.
7688         (ctan_tonearest_test_data): Remove.
7689         (ctan_test_tonearest): Likewise.
7690         (ctan_towardzero_test_data): Likewise.
7691         (ctan_test_towardzero): Likewise.
7692         (ctan_downward_test_data): Likewise.
7693         (ctan_test_downward): Likewise.
7694         (ctan_upward_test_data): Likewise.
7695         (ctan_test_upward): Likewise.
7696         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7697         (ctanh_test): Use ALL_RM_TEST.
7698         (ctanh_tonearest_test_data): Remove.
7699         (ctanh_test_tonearest): Likewise.
7700         (ctanh_towardzero_test_data): Likewise.
7701         (ctanh_test_towardzero): Likewise.
7702         (ctanh_downward_test_data): Likewise.
7703         (ctanh_test_downward): Likewise.
7704         (ctanh_upward_test_data): Likewise.
7705         (ctanh_test_upward): Likewise.
7706         (erf_test_data): Update call to AUTO_TESTS_f_f.
7707         (erfc_test_data): Likewise.
7708         (exp_test_data): Likewise.
7709         (exp_test): Use ALL_RM_TEST.
7710         (exp_tonearest_test_data): Remove.
7711         (exp_test_tonearest): Likewise.
7712         (exp_towardzero_test_data): Likewise.
7713         (exp_test_towardzero): Likewise.
7714         (exp_downward_test_data): Likewise.
7715         (exp_test_downward): Likewise.
7716         (exp_upward_test_data): Likewise.
7717         (exp_test_upward): Likewise.
7718         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7719         (exp10_test): Use ALL_RM_TEST.
7720         (exp10_tonearest_test_data): Remove.
7721         (exp10_test_tonearest): Likewise.
7722         (exp10_towardzero_test_data): Likewise.
7723         (exp10_test_towardzero): Likewise.
7724         (exp10_downward_test_data): Likewise.
7725         (exp10_test_downward): Likewise.
7726         (exp10_upward_test_data): Likewise.
7727         (exp10_test_upward): Likewise.
7728         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7729         (expm1_test_data): Likewise.
7730         (expm1_test): Use ALL_RM_TEST.
7731         (expm1_tonearest_test_data): Remove.
7732         (expm1_test_tonearest): Likewise.
7733         (expm1_towardzero_test_data): Likewise.
7734         (expm1_test_towardzero): Likewise.
7735         (expm1_downward_test_data): Likewise.
7736         (expm1_test_downward): Likewise.
7737         (expm1_upward_test_data): Likewise.
7738         (expm1_test_upward): Likewise.
7739         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7740         (fma_test): Use ALL_RM_TEST.
7741         (fma_towardzero_test_data): Remove.
7742         (fma_test_towardzero): Likewise.
7743         (fma_downward_test_data): Likewise.
7744         (fma_test_downward): Likewise.
7745         (fma_upward_test_data): Likewise.
7746         (fma_test_upward): Likewise.
7747         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7748         (j0_test_data): Update call to AUTO_TESTS_f_f.
7749         (j1_test_data): Likewise.
7750         (jn_test_data): Update call to AUTO_TESTS_if_f.
7751         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7752         (log_test_data): Update call to AUTO_TESTS_f_f.
7753         (log10_test_data): Likewise.
7754         (log1p_test_data): Likewise.
7755         (log2_test_data): Likewise.
7756         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7757         (pow_tonearest_test_data): Likewise.
7758         (sin_test_data): Update call to AUTO_TESTS_f_f.
7759         (sin_test): Use ALL_RM_TEST.
7760         (sin_tonearest_test_data): Remove.
7761         (sin_test_tonearest): Likewise.
7762         (sin_towardzero_test_data): Likewise.
7763         (sin_test_towardzero): Likewise.
7764         (sin_downward_test_data): Likewise.
7765         (sin_test_downward): Likewise.
7766         (sin_upward_test_data): Likewise.
7767         (sin_test_upward): Likewise.
7768         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7769         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7770         (sinh_test): Use ALL_RM_TEST.
7771         (sinh_tonearest_test_data): Remove.
7772         (sinh_test_tonearest): Likewise.
7773         (sinh_towardzero_test_data): Likewise.
7774         (sinh_test_towardzero): Likewise.
7775         (sinh_downward_test_data): Likewise.
7776         (sinh_test_downward): Likewise.
7777         (sinh_upward_test_data): Likewise.
7778         (sinh_test_upward): Likewise.
7779         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7780         (sqrt_test): Use ALL_RM_TEST.
7781         (sqrt_tonearest_test_data): Remove.
7782         (sqrt_test_tonearest): Likewise.
7783         (sqrt_towardzero_test_data): Likewise.
7784         (sqrt_test_towardzero): Likewise.
7785         (sqrt_downward_test_data): Likewise.
7786         (sqrt_test_downward): Likewise.
7787         (sqrt_upward_test_data): Likewise.
7788         (sqrt_test_upward): Likewise.
7789         (tan_test_data): Update call to AUTO_TESTS_f_f.
7790         (tan_test): Use ALL_RM_TEST.
7791         (tan_tonearest_test_data): Remove.
7792         (tan_test_tonearest): Likewise.
7793         (tan_towardzero_test_data): Likewise.
7794         (tan_test_towardzero): Likewise.
7795         (tan_downward_test_data): Likewise.
7796         (tan_test_downward): Likewise.
7797         (tan_upward_test_data): Likewise.
7798         (tan_test_upward): Likewise.
7799         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7800         (tgamma_test_data): Likewise.
7801         (y0_test_data): Likewise.
7802         (y1_test_data): Likewise.
7803         (yn_test_data): Update call to AUTO_TESTS_if_f.
7804         (main): Do not call removed functions.
7805
7806 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7807
7808         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7809         (ldexp_test_data): Remove.
7810         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7811         scalbn_test_data.
7812         (scalb_test): Use ALL_RM_TEST.
7813
7814 2014-03-19  Andreas Schwab  <schwab@suse.de>
7815
7816         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7817
7818 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7819
7820         [BZ #16649]
7821         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7822         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7823         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7824         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7825         (__ASSUME_PREADV): Undefine.
7826         (__ASSUME_PWRITEV): Likewise.
7827
7828 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7829
7830         * bits/mman-linux.h: Add comment about non-Linux use.
7831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7832         bits/mman-linux.h resting place.
7833
7834         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7835         * bits/mman-linux.h: ... here.
7836
7837 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7838
7839         * conform/conformtest.pl: Add standard definition when calling C
7840         preprocessor on data files.
7841         (checknamespace): Remove unused variable.
7842
7843 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7844
7845         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7846         minus_oflow, plus_uflow and minus_uflow in expected results.
7847         * math/libm-test.inc (scalbn_test_data): Add more tests of
7848         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7849         minus_uflow.
7850         (scalbn_test): Use ALL_RM_TEST.
7851         (scalbln_test_data): Add more tests of negative arguments.  Use
7852         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7853         (scalbln_test): Use ALL_RM_TEST.
7854
7855 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7856
7857         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7858
7859 2014-03-18  Will Newton  <will.newton@linaro.org>
7860
7861         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7862         inaccurate comment.
7863
7864 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7865
7866         * Makerules [!subdir] (check-abi): Exit with error status if a
7867         test failed.
7868
7869 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7870
7871         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7872         for rint.  Include results for all rounding modes.
7873         (nearbyint_test): Use ALL_RM_TEST.
7874         (rint_test_data): Include all tests used for nearbyint.
7875
7876 2014-03-17  Will Newton  <will.newton@linaro.org>
7877
7878         * nptl/sysdeps/pthread/pthread.h: Revert previous
7879         change.
7880
7881         * sysdeps/generic/ldsodefs.h: Revert previous
7882         change.
7883
7884         * libio/genops.c: Revert previous change.
7885         * libio/libioP.h: Likewise.
7886         * stdio-common/vfprintf.c: Likewise.
7887
7888         * sysdeps/generic/math_private.h: Revert previous
7889         change.
7890
7891         * sysdeps/generic/math_private.h: Check whether
7892         HAVE_RM_CTX is defined with #ifdef rather
7893         than #if.
7894
7895         * argp/argp-fmtstream.h: Check whether
7896         __STRICT_ANSI__ is defined with #ifdef rather
7897         than #if.
7898         * argp/argp.h: Likewise.
7899
7900         * libio/genops.c: Check whether
7901         _IO_JUMPS_OFFSET is defined with #ifdef rather
7902         than #if.
7903         * libio/libioP.h: Likewise.
7904         * stdio-common/vfprintf.c: Likewise.
7905
7906         * sysdeps/generic/ldsodefs.h: Check whether
7907         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7908         than #if.
7909
7910         * nptl/sysdeps/pthread/pthread.h: Check
7911         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7912         its value.
7913
7914 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7915
7916         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7917         setting O_APPEND.
7918         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7919         test case.
7920
7921         [BZ #16680]
7922         * libio/fileops.c (_IO_file_open): Seek to end of file but
7923         don't cache the offset.
7924         (get_file_offset): Remove function.
7925         (do_ftell): Use cached offset when available.
7926         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7927         don't cache the offset.
7928         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7929         case.
7930         (do_one_test): Call it.
7931         (do_ftell_test): Fix up expected old offset for a+ mode.
7932         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7933         available.
7934
7935         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7936         up test status with function return status.
7937         (do_write_test): Likewise.
7938         (do_append_test): Likewise.
7939
7940         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7941         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7942         Remove.
7943
7944 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7945
7946         * math/gen-libm-test.pl (parse_args): Handle results specified for
7947         each rounding mode separately.
7948         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7949         tests and results from lrint_tonearest_test_data,
7950         lrint_towardzero_test_data, lrint_downward_test_data and
7951         lrint_upward_test_data.
7952         (lrint_test): Use ALL_RM_TEST.
7953         (lrint_tonearest_test_data): Remove.
7954         (lrint_test_tonearest): Likewise.
7955         (lrint_towardzero_test_data): Likewise.
7956         (lrint_test_towardzero): Likewise.
7957         (lrint_downward_test_data): Likewise.
7958         (lrint_test_downward): Likewise.
7959         (lrint_upward_test_data): Likewise.
7960         (lrint_test_upward): Likewise.
7961         (llrint_test_data): Merge in per-rounding-mode tests and results
7962         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7963         llrint_downward_test_data and llrint_upward_test_data.
7964         (llrint_test): Use ALL_RM_TEST.
7965         (llrint_tonearest_test_data): Remove.
7966         (llrint_test_tonearest): Likewise.
7967         (llrint_towardzero_test_data): Likewise.
7968         (llrint_test_towardzero): Likewise.
7969         (llrint_downward_test_data): Likewise.
7970         (llrint_test_downward): Likewise.
7971         (llrint_upward_test_data): Likewise.
7972         (llrint_test_upward): Likewise.
7973         (rint_test_data): Merge in per-rounding-mode tests and results
7974         from rint_tonearest_test_data, rint_towardzero_test_data,
7975         rint_downward_test_data and rint_upward_test_data.  Add
7976         per-rounding-mode results for tests not in those arrays.
7977         (rint_test): Use ALL_RM_TEST.
7978         (rint_tonearest_test_data): Remove.
7979         (rint_test_tonearest): Likewise.
7980         (rint_towardzero_test_data): Likewise.
7981         (rint_test_towardzero): Likewise.
7982         (rint_downward_test_data): Likewise.
7983         (rint_test_downward): Likewise.
7984         (rint_upward_test_data): Likewise.
7985         (rint_test_upward): Likewise.
7986         (main): Don't call removed functions.
7987
7988 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7989
7990         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7991         "Compiled on ..." crapola.  It is anti-useful.
7992
7993 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7994
7995         * scripts/evaluate-test.sh: Handle fourth argument to determine
7996         whether test run should stop on failure.
7997         * Makeconfig (stop-on-test-failure): New variable.
7998         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7999         $(stop-on-test-failure).
8000         * Makefile (tests): Give a summary of results from testing and
8001         exit with failure status if they include an ERROR or FAIL.
8002         (xtests): Likewise.
8003         * manual/install.texi (Configuring and compiling): Mention
8004         stop-on-test-failure=y.
8005         * INSTALL: Regenerated.
8006
8007 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8008
8009         * scripts/versionlist.awk: New file.
8010         * Makerules [$(build-shared) = yes]
8011         (postclean-generated): Add Versions.def, not Versions.def.v and
8012         Versions.def.v.i.
8013         ($(common-objpfx)Versions.def.v.i): Target removed.
8014         ($(common-objpfx)Versions.def): New target.
8015         ($(common-objpfx)Versions.all): Depend on that rather that
8016         $(common-objpfx)Versions.def.v.
8017         * Versions.def: File removed.
8018
8019         * Makeconfig (+gccwarn): Add -Wundef.
8020         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8021         a dl-sysdep.h breaking its contract.
8022         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8023         * include/stackinfo.h: New file.
8024         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8025         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8026         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8027         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8028         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8029         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8030         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8031         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8032         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8033         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8034         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8035         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8036         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8037         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8038         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8039
8040 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8041
8042         [BZ #16707]
8043         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8044         implementation.
8045         * math/libm-test.inc (round_test_data): Add more tests.
8046
8047         [BZ #16706]
8048         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8049         implementation.
8050         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8051
8052         [BZ #16701]
8053         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8054         implementation.
8055         * math/libm-test.inc (ceil_test_data): Add more tests.
8056
8057         * math/libm-test.inc (trunc_test_data): Add more tests related to
8058         BZ#16414.
8059
8060 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8061
8062         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8063         with #if rather than #ifdef.
8064         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8065
8066 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8067
8068         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8069         first.  Disable AVX-512 GCC support if assembler doesn't support
8070         it.
8071         * sysdeps/x86_64/configure: Regenerated.
8072
8073 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8074
8075         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8076         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8077         (__old_pthread_attr_setstack): Likewise.
8078         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8079         [!_STACK_GROWS_DOWN]: Likewise.
8080
8081 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8082
8083         * config.make.in (have-bash2): Delete.
8084         * configure.ac (libc_cv_have_bash2): Delete.
8085         * configure: Regenerate.
8086         * elf/Makefile (common-ldd-rewrite): Rename to ...
8087         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8088         (sh-ldd-rewrite): Delete.
8089         (bash-ldd-rewrite): Delete.
8090         (have-bash2): Delete checks.
8091         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8092         ldd-rewrite.
8093
8094         * config.make.in (have-ksh): Delete.
8095         (KSH): Delete.
8096         * configure.ac (libc_cv_have_ksh): Delete.
8097         * configure: Regenerate.
8098
8099         * elf/Makefile: Delete $(have-ksh) check.
8100         ($(objpfx)sotruss): Change KSH to BASH.
8101         * elf/sotruss.ksh: Rename to ...
8102         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8103         function style to match POSIX.  Drop ksh vim mode setting.
8104
8105         * manual/time.texi (Specifying the Time Zone with TZ): Change
8106         Tuesday to Thursday.
8107
8108         * debug/tst-longjmp_chk2.c: Update header comment.
8109         (stackoverflow_handler): Add comment.  Call assert on pass value.
8110
8111 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8112
8113         [BZ #16194]
8114         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8115         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8116         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8117         (La_x86_64_vector): Add zmm.
8118         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8119         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8120         ($(objpfx)tst-audit10): New target.
8121         ($(objpfx)tst-audit10.out): Likewise.
8122         (tst-audit10-ENV): New.
8123         (AVX512-CFLAGS): Likewise.
8124         (CFLAGS-tst-audit10.c): Likewise.
8125         (CFLAGS-tst-auditmod10a.c): Likewise.
8126         (CFLAGS-tst-auditmod10b.c): Likewise.
8127         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8128         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8129         * sysdeps/x86_64/configure: Regenerated.
8130         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8131         AVX-512 zmm register support.
8132         (_dl_x86_64_save_sse): Likewise.
8133         (_dl_x86_64_restore_sse): Likewise.
8134         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8135         size vector registers.
8136         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8137         (ZMM_SIZE): Likewise.
8138         * sysdeps/x86_64/tst-audit10.c: New file.
8139         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8140         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8141
8142 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8143
8144         * configure.ac (HAVE_EHDR_START): New check.
8145         * configure: Regenerated.
8146         * config.h.in (HAVE_EHDR_START): New #undef.
8147         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8148         assuming the lowest-addressed segment maps the start of the file.
8149
8150 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8151
8152         * INSTALL: Regenerated.
8153
8154 2014-03-13  Will Newton  <will.newton@linaro.org>
8155
8156         * manual/setjmp.texi (System V contexts): Improve
8157         clarity and grammar of documentation.
8158
8159 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8160
8161         [BZ #16381]
8162         * elf/Makefile (tests): Add tst-pie2.
8163         (tests-pie): Add tst-pie2.
8164         * elf/tst-pie2.c: New file.
8165         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8166         for ET_EXEC.
8167         * elf/rtld.c (map_doit): Load executable as lt_executable.
8168         (dl_main): Likewise.
8169
8170 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8171
8172         [BZ #16642]
8173         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8174         (__ASSUME_PSELECT): Undefine.
8175
8176 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8177
8178         [BZ #16689]
8179         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8180         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8181         static build.
8182         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8183         selector for static builds.
8184
8185 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8186
8187         [BZ #16695]
8188         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8189         key in the buffer.
8190
8191 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8192
8193         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8194         IFUNC selector for static builds.
8195
8196 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8197
8198         * sysdeps/mips/math_private.h [__mips_hard_float]
8199         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8200         libc_feresetround_mips_ctx.
8201         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8202         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8203         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8204
8205         [BZ #16677]
8206         * math/s_nextafter.c (__nextafter): Do not return value from
8207         overflowing computation.
8208         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8209         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8210         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8211         Likewise.
8212         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8213         Likewise.
8214         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8215         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8216
8217 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8218
8219         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8220         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8221         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8222         the new mov targetting sp.
8223
8224 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8225
8226         [BZ #16683]
8227         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8228         Define it for static builds as well.
8229         (NO_BZERO_IMPL): Likewise.
8230
8231 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8232
8233         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8234         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8235         multiarch strspn for PPC64.
8236         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8237         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8239         (__libc_ifunc_impl_list): Likewise.
8240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8241         multiarch optimizations
8242         * string/strspn.c (strspn): Using macro to redefine symbol name.
8243
8244 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8245             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8246
8247         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8248         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8249         multiarch strncat for PPC64.
8250         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8251         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8253         (__libc_ifunc_impl_list): Likewise.
8254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8255         multiarch optimizations
8256
8257 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8258
8259         [BZ #16639]
8260         * nscd/nscd.service: Make service type forking.
8261
8262 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8263
8264         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8265         sign in non default rounding modes.
8266         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8267
8268 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8269
8270         * math/libm-test.inc (ALL_RM_TEST): New macro.
8271         (ceil_test): Use ALL_RM_TEST.
8272         (cimag_test): Likewise.
8273         (conj_test): Likewise.
8274         (copysign_test): Likewise.
8275         (cproj_test): Likewise.
8276         (creal_test): Likewise.
8277         (fabs_test): Likewise.
8278         (floor_test): Likewise.
8279         (fmax_test): Likewise.
8280         (fmin_test): Likewise.
8281         (fmod_test): Likewise.
8282         (fpclassify_test): Likewise.
8283         (frexp_test): Likewise.
8284         (ilogb_test): Likewise.
8285         (isfinite_test): Likewise.
8286         (finite_test): Likewise.
8287         (isgreater_test): Likewise.
8288         (isgreaterequal_test): Likewise.
8289         (isinf_test): Likewise.
8290         (isless_test): Likewise.
8291         (islessequal_test): Likewise.
8292         (islessgreater_test): Likewise.
8293         (isnan_test): Likewise.
8294         (isnormal_test): Likewise.
8295         (issignaling_test): Likewise.
8296         (isunordered_test): Likewise.
8297         (logb_test): Likewise.
8298         (logb_downward_test_data): Remove.
8299         (logb_test_downward): Likewise.
8300         (lround_test): Use ALL_RM_TEST.
8301         (llround_test): Likewise.
8302         (modf_test): Likewise.
8303         (nexttoward_test): Likewise.
8304         (remainder_test): Likewise.
8305         (drem_test): Likewise.
8306         (remainder_tonearest_test_data): Likewise.
8307         (remainder_test_tonearest): Likewise.
8308         (drem_test_tonearest): Likewise.
8309         (remainder_towardzero_test_data): Likewise.
8310         (remainder_test_towardzero): Likewise.
8311         (drem_test_towardzero): Likewise.
8312         (remainder_downward_test_data): Likewise.
8313         (remainder_test_downward): Likewise.
8314         (drem_test_downward): Likewise.
8315         (remainder_upward_test_data): Likewise.
8316         (remainder_test_upward): Likewise.
8317         (drem_test_upward): Likewise.
8318         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8319         (round_test): Use ALL_RM_TEST.
8320         (signbit_test): Likewise.
8321         (trunc_test): Likewise.
8322         (significand_test): Likewise.
8323         (main): Don't call removed functions.
8324
8325 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8326
8327         [BZ #16674]
8328         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8329         || __USE_XOPEN2K8].
8330         (ILL_ILLOPN): Likewise.
8331         (ILL_ILLADR): Likewise.
8332         (ILL_ILLTRP): Likewise.
8333         (ILL_PRVOPC): Likewise.
8334         (ILL_PRVREG): Likewise.
8335         (ILL_COPROC): Likewise.
8336         (ILL_BADSTK): Likewise.
8337         (FPE_INTDIV): Likewise.
8338         (FPE_INTOVF): Likewise.
8339         (FPE_FLTDIV): Likewise.
8340         (FPE_FLTOVF): Likewise.
8341         (FPE_FLTUND): Likewise.
8342         (FPE_FLTRES): Likewise.
8343         (FPE_FLTINV): Likewise.
8344         (FPE_FLTSUB): Likewise.
8345         (SEGV_MAPERR): Likewise.
8346         (SEGV_ACCERR): Likewise.
8347         (BUS_ADRALN): Likewise.
8348         (BUS_ADRERR): Likewise.
8349         (BUS_OBJERR): Likewise.
8350         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8351         (TRAP_TRACE): Likewise.
8352         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8353         __USE_XOPEN2K8].
8354         (CLD_KILLED): Likewise.
8355         (CLD_DUMPED): Likewise.
8356         (CLD_TRAPPED): Likewise.
8357         (CLD_STOPPED): Likewise.
8358         (CLD_CONTINUED): Likewise.
8359         (POLL_IN): Likewise.
8360         (POLL_OUT): Likewise.
8361         (POLL_MSG): Likewise.
8362         (POLL_ERR): Likewise.
8363         (POLL_PRI): Likewise.
8364         (POLL_HUP): Likewise.
8365         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8366         Likewise.
8367         (ILL_ILLOPN): Likewise.
8368         (ILL_ILLADR): Likewise.
8369         (ILL_ILLTRP): Likewise.
8370         (ILL_PRVOPC): Likewise.
8371         (ILL_PRVREG): Likewise.
8372         (ILL_COPROC): Likewise.
8373         (ILL_BADSTK): Likewise.
8374         (FPE_INTDIV): Likewise.
8375         (FPE_INTOVF): Likewise.
8376         (FPE_FLTDIV): Likewise.
8377         (FPE_FLTOVF): Likewise.
8378         (FPE_FLTUND): Likewise.
8379         (FPE_FLTRES): Likewise.
8380         (FPE_FLTINV): Likewise.
8381         (FPE_FLTSUB): Likewise.
8382         (SEGV_MAPERR): Likewise.
8383         (SEGV_ACCERR): Likewise.
8384         (BUS_ADRALN): Likewise.
8385         (BUS_ADRERR): Likewise.
8386         (BUS_OBJERR): Likewise.
8387         (BUS_MCEERR_AR): Likewise.
8388         (BUS_MCEERR_AO): Likewise.
8389         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8390         (TRAP_TRACE): Likewise.
8391         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8392         __USE_XOPEN2K8].
8393         (CLD_KILLED): Likewise.
8394         (CLD_DUMPED): Likewise.
8395         (CLD_TRAPPED): Likewise.
8396         (CLD_STOPPED): Likewise.
8397         (CLD_CONTINUED): Likewise.
8398         (POLL_IN): Likewise.
8399         (POLL_OUT): Likewise.
8400         (POLL_MSG): Likewise.
8401         (POLL_ERR): Likewise.
8402         (POLL_PRI): Likewise.
8403         (POLL_HUP): Likewise.
8404         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8405         (ILL_ILLOPN): Likewise.
8406         (ILL_ILLADR): Likewise.
8407         (ILL_ILLTRP): Likewise.
8408         (ILL_PRVOPC): Likewise.
8409         (ILL_PRVREG): Likewise.
8410         (ILL_COPROC): Likewise.
8411         (ILL_BADSTK): Likewise.
8412         (FPE_INTDIV): Likewise.
8413         (FPE_INTOVF): Likewise.
8414         (FPE_FLTDIV): Likewise.
8415         (FPE_FLTOVF): Likewise.
8416         (FPE_FLTUND): Likewise.
8417         (FPE_FLTRES): Likewise.
8418         (FPE_FLTINV): Likewise.
8419         (FPE_FLTSUB): Likewise.
8420         (SEGV_MAPERR): Likewise.
8421         (SEGV_ACCERR): Likewise.
8422         (BUS_ADRALN): Likewise.
8423         (BUS_ADRERR): Likewise.
8424         (BUS_OBJERR): Likewise.
8425         (BUS_MCEERR_AR): Likewise.
8426         (BUS_MCEERR_AO): Likewise.
8427         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8428         (TRAP_TRACE): Likewise.
8429         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8430         __USE_XOPEN2K8].
8431         (CLD_KILLED): Likewise.
8432         (CLD_DUMPED): Likewise.
8433         (CLD_TRAPPED): Likewise.
8434         (CLD_STOPPED): Likewise.
8435         (CLD_CONTINUED): Likewise.
8436         (POLL_IN): Likewise.
8437         (POLL_OUT): Likewise.
8438         (POLL_MSG): Likewise.
8439         (POLL_ERR): Likewise.
8440         (POLL_PRI): Likewise.
8441         (POLL_HUP): Likewise.
8442         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8443         Likewise.
8444         (ILL_ILLOPN): Likewise.
8445         (ILL_ILLADR): Likewise.
8446         (ILL_ILLTRP): Likewise.
8447         (ILL_PRVOPC): Likewise.
8448         (ILL_PRVREG): Likewise.
8449         (ILL_COPROC): Likewise.
8450         (ILL_BADSTK): Likewise.
8451         (ILL_BADIADDR): Likewise.
8452         (ILL_BREAK): Likewise.
8453         (FPE_INTDIV): Likewise.
8454         (FPE_INTOVF): Likewise.
8455         (FPE_FLTDIV): Likewise.
8456         (FPE_FLTOVF): Likewise.
8457         (FPE_FLTUND): Likewise.
8458         (FPE_FLTRES): Likewise.
8459         (FPE_FLTINV): Likewise.
8460         (FPE_FLTSUB): Likewise.
8461         (FPE_DECOVF): Likewise.
8462         (FPE_DECDIV): Likewise.
8463         (FPE_DECERR): Likewise.
8464         (FPE_INVASC): Likewise.
8465         (FPE_INVDEC): Likewise.
8466         (SEGV_MAPERR): Likewise.
8467         (SEGV_ACCERR): Likewise.
8468         (SEGV_PSTKOVF): Likewise.
8469         (BUS_ADRALN): Likewise.
8470         (BUS_ADRERR): Likewise.
8471         (BUS_OBJERR): Likewise.
8472         (BUS_MCEERR_AR): Likewise.
8473         (BUS_MCEERR_AO): Likewise.
8474         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8475         (TRAP_TRACE): Likewise.
8476         (TRAP_BRANCH): Likewise.
8477         (TRAP_HWBKPT): Likewise.
8478         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8479         __USE_XOPEN2K8].
8480         (CLD_KILLED): Likewise.
8481         (CLD_DUMPED): Likewise.
8482         (CLD_TRAPPED): Likewise.
8483         (CLD_STOPPED): Likewise.
8484         (CLD_CONTINUED): Likewise.
8485         (POLL_IN): Likewise.
8486         (POLL_OUT): Likewise.
8487         (POLL_MSG): Likewise.
8488         (POLL_ERR): Likewise.
8489         (POLL_PRI): Likewise.
8490         (POLL_HUP): Likewise.
8491         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8492         (ILL_ILLOPN): Likewise.
8493         (ILL_ILLADR): Likewise.
8494         (ILL_ILLTRP): Likewise.
8495         (ILL_PRVOPC): Likewise.
8496         (ILL_PRVREG): Likewise.
8497         (ILL_COPROC): Likewise.
8498         (ILL_BADSTK): Likewise.
8499         (FPE_INTDIV): Likewise.
8500         (FPE_INTOVF): Likewise.
8501         (FPE_FLTDIV): Likewise.
8502         (FPE_FLTOVF): Likewise.
8503         (FPE_FLTUND): Likewise.
8504         (FPE_FLTRES): Likewise.
8505         (FPE_FLTINV): Likewise.
8506         (FPE_FLTSUB): Likewise.
8507         (SEGV_MAPERR): Likewise.
8508         (SEGV_ACCERR): Likewise.
8509         (BUS_ADRALN): Likewise.
8510         (BUS_ADRERR): Likewise.
8511         (BUS_OBJERR): Likewise.
8512         (BUS_MCEERR_AR): Likewise.
8513         (BUS_MCEERR_AO): Likewise.
8514         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8515         (TRAP_TRACE): Likewise.
8516         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8517         __USE_XOPEN2K8].
8518         (CLD_KILLED): Likewise.
8519         (CLD_DUMPED): Likewise.
8520         (CLD_TRAPPED): Likewise.
8521         (CLD_STOPPED): Likewise.
8522         (CLD_CONTINUED): Likewise.
8523         (POLL_IN): Likewise.
8524         (POLL_OUT): Likewise.
8525         (POLL_MSG): Likewise.
8526         (POLL_ERR): Likewise.
8527         (POLL_PRI): Likewise.
8528         (POLL_HUP): Likewise.
8529         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8530         (ILL_ILLOPN): Likewise.
8531         (ILL_ILLADR): Likewise.
8532         (ILL_ILLTRP): Likewise.
8533         (ILL_PRVOPC): Likewise.
8534         (ILL_PRVREG): Likewise.
8535         (ILL_COPROC): Likewise.
8536         (ILL_BADSTK): Likewise.
8537         (FPE_INTDIV): Likewise.
8538         (FPE_INTOVF): Likewise.
8539         (FPE_FLTDIV): Likewise.
8540         (FPE_FLTOVF): Likewise.
8541         (FPE_FLTUND): Likewise.
8542         (FPE_FLTRES): Likewise.
8543         (FPE_FLTINV): Likewise.
8544         (FPE_FLTSUB): Likewise.
8545         (SEGV_MAPERR): Likewise.
8546         (SEGV_ACCERR): Likewise.
8547         (BUS_ADRALN): Likewise.
8548         (BUS_ADRERR): Likewise.
8549         (BUS_OBJERR): Likewise.
8550         (BUS_MCEERR_AR): Likewise.
8551         (BUS_MCEERR_AO): Likewise.
8552         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8553         (TRAP_TRACE): Likewise.
8554         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8555         __USE_XOPEN2K8].
8556         (CLD_KILLED): Likewise.
8557         (CLD_DUMPED): Likewise.
8558         (CLD_TRAPPED): Likewise.
8559         (CLD_STOPPED): Likewise.
8560         (CLD_CONTINUED): Likewise.
8561         (POLL_IN): Likewise.
8562         (POLL_OUT): Likewise.
8563         (POLL_MSG): Likewise.
8564         (POLL_ERR): Likewise.
8565         (POLL_PRI): Likewise.
8566         (POLL_HUP): Likewise.
8567         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8568         (ILL_ILLOPN): Likewise.
8569         (ILL_ILLADR): Likewise.
8570         (ILL_ILLTRP): Likewise.
8571         (ILL_PRVOPC): Likewise.
8572         (ILL_PRVREG): Likewise.
8573         (ILL_COPROC): Likewise.
8574         (ILL_BADSTK): Likewise.
8575         (FPE_INTDIV): Likewise.
8576         (FPE_INTOVF): Likewise.
8577         (FPE_FLTDIV): Likewise.
8578         (FPE_FLTOVF): Likewise.
8579         (FPE_FLTUND): Likewise.
8580         (FPE_FLTRES): Likewise.
8581         (FPE_FLTINV): Likewise.
8582         (FPE_FLTSUB): Likewise.
8583         (SEGV_MAPERR): Likewise.
8584         (SEGV_ACCERR): Likewise.
8585         (BUS_ADRALN): Likewise.
8586         (BUS_ADRERR): Likewise.
8587         (BUS_OBJERR): Likewise.
8588         (BUS_MCEERR_AR): Likewise.
8589         (BUS_MCEERR_AO): Likewise.
8590         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8591         (TRAP_TRACE): Likewise.
8592         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8593         __USE_XOPEN2K8].
8594         (CLD_KILLED): Likewise.
8595         (CLD_DUMPED): Likewise.
8596         (CLD_TRAPPED): Likewise.
8597         (CLD_STOPPED): Likewise.
8598         (CLD_CONTINUED): Likewise.
8599         (POLL_IN): Likewise.
8600         (POLL_OUT): Likewise.
8601         (POLL_MSG): Likewise.
8602         (POLL_ERR): Likewise.
8603         (POLL_PRI): Likewise.
8604         (POLL_HUP): Likewise.
8605         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8606         (ILL_ILLOPN): Likewise.
8607         (ILL_ILLADR): Likewise.
8608         (ILL_ILLTRP): Likewise.
8609         (ILL_PRVOPC): Likewise.
8610         (ILL_PRVREG): Likewise.
8611         (ILL_COPROC): Likewise.
8612         (ILL_BADSTK): Likewise.
8613         (ILL_DBLFLT): Likewise.
8614         (ILL_HARDWALL): Likewise.
8615         (FPE_INTDIV): Likewise.
8616         (FPE_INTOVF): Likewise.
8617         (FPE_FLTDIV): Likewise.
8618         (FPE_FLTOVF): Likewise.
8619         (FPE_FLTUND): Likewise.
8620         (FPE_FLTRES): Likewise.
8621         (FPE_FLTINV): Likewise.
8622         (FPE_FLTSUB): Likewise.
8623         (SEGV_MAPERR): Likewise.
8624         (SEGV_ACCERR): Likewise.
8625         (BUS_ADRALN): Likewise.
8626         (BUS_ADRERR): Likewise.
8627         (BUS_OBJERR): Likewise.
8628         (BUS_MCEERR_AR): Likewise.
8629         (BUS_MCEERR_AO): Likewise.
8630         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8631         (TRAP_TRACE): Likewise.
8632         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8633         __USE_XOPEN2K8].
8634         (CLD_KILLED): Likewise.
8635         (CLD_DUMPED): Likewise.
8636         (CLD_TRAPPED): Likewise.
8637         (CLD_STOPPED): Likewise.
8638         (CLD_CONTINUED): Likewise.
8639         (POLL_IN): Likewise.
8640         (POLL_OUT): Likewise.
8641         (POLL_MSG): Likewise.
8642         (POLL_ERR): Likewise.
8643         (POLL_PRI): Likewise.
8644         (POLL_HUP): Likewise.
8645         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8646         (ILL_ILLOPN): Likewise.
8647         (ILL_ILLADR): Likewise.
8648         (ILL_ILLTRP): Likewise.
8649         (ILL_PRVOPC): Likewise.
8650         (ILL_PRVREG): Likewise.
8651         (ILL_COPROC): Likewise.
8652         (ILL_BADSTK): Likewise.
8653         (FPE_INTDIV): Likewise.
8654         (FPE_INTOVF): Likewise.
8655         (FPE_FLTDIV): Likewise.
8656         (FPE_FLTOVF): Likewise.
8657         (FPE_FLTUND): Likewise.
8658         (FPE_FLTRES): Likewise.
8659         (FPE_FLTINV): Likewise.
8660         (FPE_FLTSUB): Likewise.
8661         (SEGV_MAPERR): Likewise.
8662         (SEGV_ACCERR): Likewise.
8663         (BUS_ADRALN): Likewise.
8664         (BUS_ADRERR): Likewise.
8665         (BUS_OBJERR): Likewise.
8666         (BUS_MCEERR_AR): Likewise.
8667         (BUS_MCEERR_AO): Likewise.
8668         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8669         (TRAP_TRACE): Likewise.
8670         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8671         __USE_XOPEN2K8].
8672         (CLD_KILLED): Likewise.
8673         (CLD_DUMPED): Likewise.
8674         (CLD_TRAPPED): Likewise.
8675         (CLD_STOPPED): Likewise.
8676         (CLD_CONTINUED): Likewise.
8677         (POLL_IN): Likewise.
8678         (POLL_OUT): Likewise.
8679         (POLL_MSG): Likewise.
8680         (POLL_ERR): Likewise.
8681         (POLL_PRI): Likewise.
8682         (POLL_HUP): Likewise.
8683         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8684         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8685
8686         [BZ #16670]
8687         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8688         before #include of <time.h>.
8689         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8690         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8691         (test-xfail-UNIX98/sched.h/conform): Likewise.
8692
8693 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8694
8695         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8696         error absence of trapping exception support.
8697         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8698
8699 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8700
8701         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8702         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8703         * timezone/Makefile (testdata): Move definition above include of
8704         Rules.
8705         (test-zones): New variable.
8706         (tests-special): Add zone files.
8707         (build-testdata): Use $(evaluate-test).
8708
8709         * elf/Makefile (tests-special): Rename tests to end with .out.
8710         ($(objpfx)noload-mem): Likewise.
8711         ($(objpfx)tst-leaks1-mem): Likewise.
8712         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8713         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8714         $(objpfx)test-iconvconfig.out.
8715         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8716         set -e inside subshell and redirect output to file.
8717         * iconvdata/Makefile (generated): Rename tests to end with .out.
8718         Correct type.
8719         (tests-special): Rename tests to end with .out.
8720         ($(objpfx)mtrace-tst-loading): Likewise.
8721         * intl/Makefile (generated): Likewise.
8722         (tests-special): Likewise.
8723         ($(objpfx)mtrace-tst-gettext): Likewise.
8724         * misc/Makefile (generated): Likewise.
8725         (tests-special): Likewise.
8726         ($(objpfx)tst-error1-mem): Likewise.
8727         * nptl/Makefile (tests-special): Likewise.
8728         ($(objpfx)tst-stack3-mem): Likewise.
8729         (generated): Likewise.
8730         * posix/Makefile (generated): Likewise.
8731         (tests-special): Likewise.
8732         (xtests-special): Likewise.
8733         ($(objpfx)tst-fnmatch-mem): Likewise.
8734         ($(objpfx)bug-regex2-mem): Likewise.
8735         ($(objpfx)bug-regex14-mem): Likewise.
8736         ($(objpfx)bug-regex21-mem): Likewise.
8737         ($(objpfx)bug-regex31-mem): Likewise.
8738         ($(objpfx)tst-vfork3-mem): Likewise.
8739         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8740         ($(objpfx)tst-pcre-mem): Likewise.
8741         ($(objpfx)tst-boost-mem): Likewise.
8742         ($(objpfx)bug-ga2-mem): Likewise.
8743         ($(objpfx)bug-glob2-mem): Likewise.
8744         * resolv/Makefile (generate): Likewise.
8745         (tests-special): Likewise.
8746         (xtests-special): Likewise.
8747         (generated): Likewise.
8748         ($(objpfx)mtrace-tst-leaks): Likewise.
8749         ($(objpfx)mtrace-tst-leaks2): Likewise.
8750
8751         * scripts/merge-test-results.sh: New file.
8752         * Makefile (tests-special-notdir): New variable.
8753         (tests): Run merge-test-results.sh.
8754         (xtests): Likewise.
8755         * Rules (tests-special-notdir): New variable.
8756         (xtests-special-notdir): Likewise.
8757         (tests): Run merge-test-results.sh
8758         (xtests): Likewise.
8759
8760         * Makeconfig (test-xfail-name): New variable.
8761         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8762         compute variable name for expected failures.
8763         * conform/Makefile (conformtest-headers-data): New variable.
8764         (conformtest-standards): Likewise.
8765         (conformtest-headers-ISO): Likewise.
8766         (conformtest-headers-ISO99): Likewise.
8767         (conformtest-headers-ISO11): Likewise.
8768         (conformtest-headers-POSIX): Likewise.
8769         (conformtest-headers-XPG3): Likewise.
8770         (conformtest-headers-XPG4): Likewise.
8771         (conformtest-headers-UNIX98): Likewise.
8772         (conformtest-headers-XOPEN2K): Likewise.
8773         (conformtest-headers-POSIX2008): Likewise.
8774         (conformtest-headers-XOPEN2K8): Likewise.
8775         (conformtest-header-list-base): Likewise.
8776         (conformtest-header-list-tests): Likewise.
8777         (conformtest-header-base): Likewise.
8778         (conformtest-header-tests): Likewise.
8779         (tests-special): Add $(conformtest-header-list-tests).  If
8780         [$(fast-check) && !$(cross-compiling)], add
8781         $(conformtest-header-tests) instead of
8782         $(objpfx)run-conformtest.out.
8783         (generated): Add $(conformtest-header-list-base).  If
8784         [$(fast-check) && !$(cross-compiling)], add
8785         $(conformtest-header-base).  Remove previous setting.
8786         ($(conformtest-header-list-tests)): New target.
8787         (test-xfail-run-conformtest): Remove variable.
8788         ($(objpfx)run-conformtest.out): Remove target.
8789         (test-xfail-ISO11/complex.h/conform): New variable.
8790         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8791         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8792         (test-xfail-XPG3/varargs.h/conform): Likewise.
8793         (test-xfail-XPG4/varargs.h/conform): Likewise.
8794         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8795         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8796         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8797         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8798         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8799         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8800         (test-xfail-XPG3/ftw.h/conform): Likewise.
8801         (test-xfail-XPG3/grp.h/conform): Likewise.
8802         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8803         (test-xfail-XPG3/limits.h/conform): Likewise.
8804         (test-xfail-XPG3/pwd.h/conform): Likewise.
8805         (test-xfail-XPG3/search.h/conform): Likewise.
8806         (test-xfail-XPG3/signal.h/conform): Likewise.
8807         (test-xfail-XPG3/stdio.h/conform): Likewise.
8808         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8809         (test-xfail-XPG3/string.h/conform): Likewise.
8810         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8811         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8812         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8813         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8814         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8815         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8816         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8817         (test-xfail-XPG3/termios.h/conform): Likewise.
8818         (test-xfail-XPG3/time.h/conform): Likewise.
8819         (test-xfail-XPG3/unistd.h/conform): Likewise.
8820         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8821         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8822         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8823         (test-xfail-XPG4/netdb.h/conform): Likewise.
8824         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8825         (test-xfail-XPG4/signal.h/conform): Likewise.
8826         (test-xfail-XPG4/stdio.h/conform): Likewise.
8827         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8828         (test-xfail-XPG4/stropts.h/conform): Likewise.
8829         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8830         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8831         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8832         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8833         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8834         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8835         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8836         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8837         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8838         (test-xfail-XPG4/termios.h/conform): Likewise.
8839         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8840         (test-xfail-XPG4/unistd.h/conform): Likewise.
8841         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8842         (test-xfail-POSIX/sched.h/conform): Likewise.
8843         (test-xfail-POSIX/signal.h/conform): Likewise.
8844         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8845         (test-xfail-POSIX/tar.h/conform): Likewise.
8846         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8847         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8848         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8849         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8850         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8851         (test-xfail-UNIX98/sched.h/conform): Likewise.
8852         (test-xfail-UNIX98/signal.h/conform): Likewise.
8853         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8854         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8855         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8856         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8857         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8858         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8859         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8860         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8861         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8862         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8863         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8864         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8865         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8866         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8867         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8868         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8869         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8870         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8871         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8872         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8873         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8874         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8875         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8876         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8877         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8878         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8879         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8880         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8881         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8882         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8883         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8884         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8885         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8886         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8887         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8888         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8889         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8890         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8891         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8892         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8893         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8894         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8895         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8896         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8897         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8898         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8899         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8900         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8901         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8902         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8903         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8904         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8905         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8906         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8907         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8908         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8909         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8910         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8911         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8912         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8913         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8914         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8915         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8916         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8917         (conformtest-cc-flags): Likewise.
8918         ($(conformtest-header-tests): New target.
8919         * conform/check-header-lists.sh: New file.
8920         * conform/run-conformtest.sh: Remove.
8921
8922         * conform/conformtest.pl: Allow ' and \ in values given for
8923         constants.
8924         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8925         inclusion.
8926         [POSIX] (sys/types.h): Likewise.
8927         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8928         inclusion.
8929         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8930         inclusion.
8931         * conform/data/signal.h-data (SIGIO): Remove expectation.
8932         [XPG3] (SIGBUS): Do not expect.
8933         [POSIX || XPG3] (SIGPOLL): Likewise.
8934         [POSIX || XPG3] (SIGPROF): Likewise.
8935         [POSIX || XPG3] (SIGSYS): Likewise.
8936         [XPG3] (SIGTRAP): Likewise.
8937         [POSIX || XPG3] (SIGURG): Likewise.
8938         [POSIX || XPG3] (SIGVTALRM): Likewise.
8939         [POSIX || XPG3] (SIGXCPU): Likewise.
8940         [POSIX || XPG3] (SIGXFSZ): Likewise.
8941         [POSIX] (SA_SIGINFO): Expect.
8942         [XPG3] (siginfo_t): Do not expect type or contents.
8943         [POSIX] (si_pid): Do not expect element.
8944         [POSIX] (si_uid): Likewise.
8945         [POSIX] (si_addr): Likewise.
8946         [POSIX] (si_status): Likewise.
8947         [POSIX] (si_band): Likewise.
8948         [XPG4] (si_value): Likewise.
8949         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8950         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8951         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8952         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8953         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8954         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8955         [POSIX || XPG3] (ILL_COPROC): Likewise.
8956         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8957         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8958         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8959         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8960         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8961         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8962         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8963         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8964         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8965         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8966         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8967         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8968         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8969         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8970         [POSIX || XPG3] (CLD_EXITED): Likewise.
8971         [POSIX || XPG3] (CLD_KILLED): Likewise.
8972         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8973         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8974         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8975         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8976         [POSIX || XPG3] (POLL_IN): Likewise.
8977         [POSIX || XPG3] (POLL_OUT): Likewise.
8978         [POSIX || XPG3] (POLL_MSG): Likewise.
8979         [POSIX || XPG3] (POLL_ERR): Likewise.
8980         [POSIX || XPG3] (POLL_PRI): Likewise.
8981         [POSIX || XPG3] (POLL_HUP): Likewise.
8982         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8983         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8984         (SIG*): Do not allow.
8985         [XPG3] (si_*): Likewise.
8986         [XPG3] (SI_*): Likewise.
8987         [XPG3 || XPG4] (sigev_*): Likewise.
8988         [XPG3 || XPG4] (SIGEV_*): Likewise.
8989         [XPG3 || XPG4] (sival_*): Likewise.
8990         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8991         [POSIX || XPG3] (BUS_*): Likewise.
8992         [POSIX || XPG3] (CLD_*): Likewise.
8993         [POSIX || XPG3] (FPE_*): Likewise.
8994         [POSIX || XPG3] (ILL_*): Likewise.
8995         [POSIX || XPG3] (POLL_*): Likewise.
8996         [POSIX || XPG3] (SEGV_*): Likewise.
8997         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8998         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8999         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9000         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9001         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9002         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9003         Specify type and value.
9004         (TVERSLEN): Likewise.
9005         (REGTYPE): Likewise.
9006         (AREGTYPE): Likewise.
9007         (LNKTYPE): Likewise.
9008         (SYMTYPE): Likewise.
9009         (CHRTYPE): Likewise.
9010         (BLKTYPE): Likewise.
9011         (DIRTYPE): Likewise.
9012         (FIFOTYPE): Likewise.
9013         (CONTTYPE): Likewise.
9014         (TSUID): Likewise.
9015         (TSGID): Likewise.
9016         (TSVTX): Likewise.
9017         (TUREAD): Likewise.
9018         (TUWRITE): Likewise.
9019         (TUEXEC): Likewise.
9020         (TGREAD): Likewise.
9021         (TGWRITE): Likewise.
9022         (TGEXEC): Likewise.
9023         (TOREAD): Likewise.
9024         (TOWRITE): Likewise.
9025         (TOEXEC): Likewise.
9026         [POSIX] (TSVTX): Expect constant.
9027
9028 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9029
9030         * Makefile (tests): Change dependencies to ....
9031         (tests-special): ... additions to this variable.
9032         (tests): Depend on $(tests-special).
9033         * Makerules (check-abi-list): New variable.
9034         (check-abi): Depend on $(check-abi-list).
9035         [$(subdir) = elf] (tests-special): Add
9036         $(objpfx)check-abi-libc.out.
9037         [$(build-shared) = yes && subdir] (tests-special): Add
9038         $(check-abi-list).
9039         [$(build-shared) = yes && subdir] (tests): Do not depend on
9040         check-abi.
9041         * Rules (tests): Depend on $(tests-special).
9042         (xtests): Depend on $(xtests-special).
9043         * catgets/Makefile (tests): Change dependencies to ....
9044         (tests-special): ... additions to this variable.
9045         * conform/Makefile (tests): Change dependencies to ....
9046         (tests-special): ... additions to this variable.
9047         * elf/Makefile (tests): Change dependencies to ....
9048         (tests-special): ... additions to this variable.
9049         * grp/Makefile (tests): Change dependencies to ....
9050         (tests-special): ... additions to this variable.
9051         * iconv/Makefile (xtests): Change dependencies to ....
9052         (xtests-special): ... additions to this variable.
9053         * iconvdata/Makefile (tests): Change dependencies to ....
9054         (tests-special): ... additions to this variable.
9055         * intl/Makefile (tests): Change dependencies to ....
9056         (tests-special): ... additions to this variable.  Also add
9057         $(objpfx)tst-gettext.out.
9058         * io/Makefile (tests): Change dependencies to ....
9059         (tests-special): ... additions to this variable.
9060         * libio/Makefile (tests): Change dependencies to ....
9061         (tests-special): ... additions to this variable.
9062         * malloc/Makefile (tests): Change dependencies to ....
9063         (tests-special): ... additions to this variable.
9064         * misc/Makefile (tests): Change dependencies to ....
9065         (tests-special): ... additions to this variable.
9066         * nptl/Makefile (tests): Change dependencies to ....
9067         (tests-special): ... additions to this variable.
9068         * nptl_db/Makefile (tests): Change dependencies to ....
9069         (tests-special): ... additions to this variable.
9070         * posix/Makefile (tests): Change dependencies to ....
9071         (tests-special): ... additions to this variable.
9072         (xtests): Change dependencies to ....
9073         (xtests-special): ... additions to this variable.
9074         * resolv/Makefile (tests): Change dependencies to ....
9075         (tests-special): ... additions to this variable.
9076         (xtests): Change dependencies to ....
9077         (xtests-special): ... additions to this variable.
9078         * stdio-common/Makefile (tests): Change dependencies to ....
9079         (tests-special): ... additions to this variable.
9080         (do-tst-unbputc): Remove target.
9081         (do-tst-printf): Likewise.
9082         * stdlib/Makefile (tests): Change dependencies to ....
9083         (tests-special): ... additions to this variable.
9084         * string/Makefile (tests): Change dependencies to ....
9085         (tests-special): ... additions to this variable.
9086         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9087         (tests-special): ... additions to this variable.
9088
9089         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9090         whole file.
9091         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9092         whole file.
9093         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9094         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9095
9096         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9097         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9098         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9099         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9100         * conform/data/libgen.h-data [XPG3]: Likewise.
9101         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9102         * conform/data/ndbm.h-data [XPG3]: Likewise.
9103         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9104         * conform/data/netdb.h-data [XPG3]: Likewise.
9105         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9106         * conform/data/poll.h-data [XPG3]: Likewise.
9107         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9108         * conform/data/strings.h-data [XPG3]: Likewise.
9109         * conform/data/stropts.h-data [XPG3]: Likewise.
9110         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9111         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9112         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9113         Likewise.
9114         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9115         * conform/data/sys/time.h-data [XPG3]: Likewise.
9116         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9117         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9118         * conform/data/sys/un.h-data [XPG3]: Likewise.
9119         * conform/data/syslog.h-data [XPG3]: Likewise.
9120         * conform/data/ucontext.h-data [XPG3]: Likewise.
9121         * conform/data/utmpx.h-data [XPG3]: Likewise.
9122         * conform/data/varargs.h-data [UNIX98]: Enable file.
9123
9124         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9125
9126         * math/libm-test.inc (struct test_f_f_data): Move expected results
9127         into structure for each rounding mode.
9128         (struct test_ff_f_data): Likewise.
9129         (struct test_ff_f_data_nexttoward): Likewise.
9130         (struct test_fi_f_data): Likewise.
9131         (struct test_fl_f_data): Likewise.
9132         (struct test_if_f_data): Likewise.
9133         (struct test_fff_f_data): Likewise.
9134         (struct test_c_f_data): Likewise.
9135         (struct test_f_f1_data): Likewise.
9136         (struct test_fF_f1_data): Likewise.
9137         (struct test_ffI_f1_data): Likewise.
9138         (struct test_c_c_data): Likewise.
9139         (struct test_cc_c_data): Likewise.
9140         (struct test_f_i_data): Likewise.
9141         (struct test_ff_i_data): Likewise.
9142         (struct test_f_l_data): Likewise.
9143         (struct test_f_L_data): Likewise.
9144         (struct test_fFF_11_data): Likewise.
9145         (RM_): New macro.
9146         (RM_FE_DOWNWARD): Likewise.
9147         (RM_FE_TONEAREST): Likewise.
9148         (RM_FE_TOWARDZERO): Likewise.
9149         (RM_FE_UPWARD): Likewise.
9150         (RUN_TEST_LOOP_f_f): Update references to expected results.
9151         (RUN_TEST_LOOP_2_f): Likewise.
9152         (RUN_TEST_LOOP_fff_f): Likewise.
9153         (RUN_TEST_LOOP_c_f): Likewise.
9154         (RUN_TEST_LOOP_f_f1): Likewise.
9155         (RUN_TEST_LOOP_fF_f1): Likewise.
9156         (RUN_TEST_LOOP_fI_f1): Likewise.
9157         (RUN_TEST_LOOP_ffI_f1): Likewise.
9158         (RUN_TEST_LOOP_c_c): Likewise.
9159         (RUN_TEST_LOOP_cc_c): Likewise.
9160         (RUN_TEST_LOOP_f_i): Likewise.
9161         (RUN_TEST_LOOP_f_i_tg): Likewise.
9162         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9163         (RUN_TEST_LOOP_f_b): Likewise.
9164         (RUN_TEST_LOOP_f_b_tg): Likewise.
9165         (RUN_TEST_LOOP_f_l): Likewise.
9166         (RUN_TEST_LOOP_f_L): Likewise.
9167         (RUN_TEST_LOOP_fFF_11): Likewise.
9168         * math/gen-libm-test.pl (parse_args): Output four copies of
9169         expected results for each test.
9170
9171         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9172         (__ASSUME_UTIMES): Remove.
9173         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9174         (__ASSUME_UTIMES): Likewise.
9175
9176         * math/gen-auto-libm-tests.c: Update comment on output format.
9177         (output_for_one_input_case): Generate before-rounding and
9178         after-rounding information as conditions on output flags not
9179         floating-point format.
9180         * math/auto-libm-test-out: Regenerated.
9181         * math/gen-libm-test.pl (cond_value): New function.
9182         (or_cond_value): Use cond_value.
9183         (generate_testfile): Handle conditional exceptions.
9184
9185 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9186
9187         * math/libm-test.inc (max_valid_error): New variable.
9188         (init_max_error): Take new argument specifying whether function
9189         results are exactly determined.  Set max_valid_error and bound
9190         other variables for errors based on this argument.
9191         (set_max_error): Do not record results above max_valid_error.
9192         (check_float_internal): Only accept errors of up to 0.5ulps if
9193         also at most max_valid_error.
9194         (START): Take new argument EXACT and pass it to init_max_error.
9195         (acos_test): Update call to START.
9196         (acos_test_tonearest): Likewise.
9197         (acos_test_towardzero): Likewise.
9198         (acos_test_downward): Likewise.
9199         (acos_test_upward): Likewise.
9200         (acosh_test): Likewise.
9201         (asin_test): Likewise.
9202         (asin_test_tonearest): Likewise.
9203         (asin_test_towardzero): Likewise.
9204         (asin_test_downward): Likewise.
9205         (asin_test_upward): Likewise.
9206         (asinh_test): Likewise.
9207         (atan_test): Likewise.
9208         (atanh_test): Likewise.
9209         (atan2_test): Likewise.
9210         (cabs_test): Likewise.
9211         (cacos_test): Likewise.
9212         (cacosh_test): Likewise.
9213         (carg_test): Likewise.
9214         (casin_test): Likewise.
9215         (casinh_test): Likewise.
9216         (catan_test): Likewise.
9217         (catanh_test): Likewise.
9218         (cbrt_test): Likewise.
9219         (ccos_test): Likewise.
9220         (ccosh_test): Likewise.
9221         (ceil_test): Likewise.
9222         (cexp_test): Likewise.
9223         (cimag_test): Likewise.
9224         (clog_test): Likewise.
9225         (clog10_test): Likewise.
9226         (conj_test): Likewise.
9227         (copysign_test): Likewise.
9228         (cos_test): Likewise.
9229         (cos_test_tonearest): Likewise.
9230         (cos_test_towardzero): Likewise.
9231         (cos_test_downward): Likewise.
9232         (cos_test_upward): Likewise.
9233         (cosh_test): Likewise.
9234         (cosh_test_tonearest): Likewise.
9235         (cosh_test_towardzero): Likewise.
9236         (cosh_test_downward): Likewise.
9237         (cosh_test_upward): Likewise.
9238         (cpow_test): Likewise.
9239         (cproj_test): Likewise.
9240         (creal_test): Likewise.
9241         (csin_test): Likewise.
9242         (csinh_test): Likewise.
9243         (csqrt_test): Likewise.
9244         (ctan_test): Likewise.
9245         (ctan_test_tonearest): Likewise.
9246         (ctan_test_towardzero): Likewise.
9247         (ctan_test_downward): Likewise.
9248         (ctan_test_upward): Likewise.
9249         (ctanh_test): Likewise.
9250         (ctanh_test_tonearest): Likewise.
9251         (ctanh_test_towardzero): Likewise.
9252         (ctanh_test_downward): Likewise.
9253         (ctanh_test_upward): Likewise.
9254         (erf_test): Likewise.
9255         (erfc_test): Likewise.
9256         (exp_test): Likewise.
9257         (exp_test_tonearest): Likewise.
9258         (exp_test_towardzero): Likewise.
9259         (exp_test_downward): Likewise.
9260         (exp_test_upward): Likewise.
9261         (exp10_test): Likewise.
9262         (exp10_test_tonearest): Likewise.
9263         (exp10_test_towardzero): Likewise.
9264         (exp10_test_downward): Likewise.
9265         (exp10_test_upward): Likewise.
9266         (pow10_test): Likewise.
9267         (exp2_test): Likewise.
9268         (expm1_test): Likewise.
9269         (expm1_test_tonearest): Likewise.
9270         (expm1_test_towardzero): Likewise.
9271         (expm1_test_downward): Likewise.
9272         (expm1_test_upward): Likewise.
9273         (fabs_test): Likewise.
9274         (fdim_test): Likewise.
9275         (floor_test): Likewise.
9276         (fma_test): Likewise.
9277         (fma_test_towardzero): Likewise.
9278         (fma_test_downward): Likewise.
9279         (fma_test_upward): Likewise.
9280         (fmax_test): Likewise.
9281         (fmin_test): Likewise.
9282         (fmod_test): Likewise.
9283         (fpclassify_test): Likewise.
9284         (frexp_test): Likewise.
9285         (hypot_test): Likewise.
9286         (ilogb_test): Likewise.
9287         (isfinite_test): Likewise.
9288         (finite_test): Likewise.
9289         (isgreater_test): Likewise.
9290         (isgreaterequal_test): Likewise.
9291         (isinf_test): Likewise.
9292         (isless_test): Likewise.
9293         (islessequal_test): Likewise.
9294         (islessgreater_test): Likewise.
9295         (isnan_test): Likewise.
9296         (isnormal_test): Likewise.
9297         (issignaling_test): Likewise.
9298         (isunordered_test): Likewise.
9299         (j0_test): Likewise.
9300         (j1_test): Likewise.
9301         (jn_test): Likewise.
9302         (ldexp_test): Likewise.
9303         (lgamma_test): Likewise.
9304         (gamma_test): Likewise.
9305         (lrint_test): Likewise.
9306         (lrint_test_tonearest): Likewise.
9307         (lrint_test_towardzero): Likewise.
9308         (lrint_test_downward): Likewise.
9309         (lrint_test_upward): Likewise.
9310         (llrint_test): Likewise.
9311         (llrint_test_tonearest): Likewise.
9312         (llrint_test_towardzero): Likewise.
9313         (llrint_test_downward): Likewise.
9314         (llrint_test_upward): Likewise.
9315         (log_test): Likewise.
9316         (log10_test): Likewise.
9317         (log1p_test): Likewise.
9318         (log2_test): Likewise.
9319         (logb_test): Likewise.
9320         (logb_test_downward): Likewise.
9321         (lround_test): Likewise.
9322         (llround_test): Likewise.
9323         (modf_test): Likewise.
9324         (nearbyint_test): Likewise.
9325         (nextafter_test): Likewise.
9326         (nexttoward_test): Likewise.
9327         (pow_test): Likewise.
9328         (pow_test_tonearest): Likewise.
9329         (pow_test_towardzero): Likewise.
9330         (pow_test_downward): Likewise.
9331         (pow_test_upward): Likewise.
9332         (remainder_test): Likewise.
9333         (drem_test): Likewise.
9334         (remainder_test_tonearest): Likewise.
9335         (drem_test_tonearest): Likewise.
9336         (remainder_test_towardzero): Likewise.
9337         (drem_test_towardzero): Likewise.
9338         (remainder_test_downward): Likewise.
9339         (drem_test_downward): Likewise.
9340         (remainder_test_upward): Likewise.
9341         (drem_test_upward): Likewise.
9342         (remquo_test): Likewise.
9343         (rint_test): Likewise.
9344         (rint_test_tonearest): Likewise.
9345         (rint_test_towardzero): Likewise.
9346         (rint_test_downward): Likewise.
9347         (rint_test_upward): Likewise.
9348         (round_test): Likewise.
9349         (scalb_test): Likewise.
9350         (scalbn_test): Likewise.
9351         (scalbln_test): Likewise.
9352         (signbit_test): Likewise.
9353         (sin_test): Likewise.
9354         (sin_test_tonearest): Likewise.
9355         (sin_test_towardzero): Likewise.
9356         (sin_test_downward): Likewise.
9357         (sin_test_upward): Likewise.
9358         (sincos_test): Likewise.
9359         (sinh_test): Likewise.
9360         (sinh_test_tonearest): Likewise.
9361         (sinh_test_towardzero): Likewise.
9362         (sinh_test_downward): Likewise.
9363         (sinh_test_upward): Likewise.
9364         (sqrt_test): Likewise.
9365         (sqrt_test_tonearest): Likewise.
9366         (sqrt_test_towardzero): Likewise.
9367         (sqrt_test_downward): Likewise.
9368         (sqrt_test_upward): Likewise.
9369         (tan_test): Likewise.
9370         (tan_test_tonearest): Likewise.
9371         (tan_test_towardzero): Likewise.
9372         (tan_test_downward): Likewise.
9373         (tan_test_upward): Likewise.
9374         (tanh_test): Likewise.
9375         (tgamma_test): Likewise.
9376         (trunc_test): Likewise.
9377         (y0_test): Likewise.
9378         (y1_test): Likewise.
9379         (yn_test): Likewise.
9380         (significand_test): Likewise.
9381
9382         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9383         individual tests in comment.
9384         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9385         (prev_max_error): New variable.
9386         (prev_real_max_error): Likewise.
9387         (prev_imag_max_error): Likewise.
9388         (compare_ulp_data): Don't refer to test names in comment.
9389         (find_test_ulps): Remove function.
9390         (find_function_ulps): Likewise.
9391         (find_complex_function_ulps): Likewise.
9392         (init_max_error): Take function name as argument.  Look up ulps
9393         for that function.
9394         (print_ulps): Remove function.
9395         (print_max_error): Use prev_max_error instead of calling
9396         find_function_ulps.
9397         (print_complex_max_error): Use prev_real_max_error and
9398         prev_imag_max_error instead of calling find_complex_function_ulps.
9399         (check_float_internal): Take max_ulp parameter instead of calling
9400         find_test_ulps.  Don't call print_ulps.
9401         (check_float): Update call to check_float_internal.
9402         (check_complex): Update calls to check_float_internal.
9403         (START): Pass argument to init_max_error.
9404         * math/gen-libm-test.pl (%results): Don't include "kind"
9405         information.
9406         (parse_ulps): Don't handle ulps of individual tests.
9407         (print_ulps_file): Likewise.
9408         (output_ulps): Likewise.
9409         * math/README.libm-test: Update.
9410         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9411         individual tests.
9412         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9413         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9414         * sysdeps/arm/libm-test-ulps: Likewise.
9415         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9416         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9417         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9418         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9419         * sysdeps/microblaze/libm-test-ulps: Likewise.
9420         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9421         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9422         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9423         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9424         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9425         * sysdeps/sh/libm-test-ulps: Likewise.
9426         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9427         * sysdeps/tile/libm-test-ulps: Likewise.
9428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9429
9430 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9431
9432         * math/libm-test.inc (print_complex_max_error): Check separately
9433         whether real and imaginary errors are within allowed range and
9434         pass 0 to print_complex_function_ulps instead of value within
9435         allowed range.
9436
9437 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9438
9439         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9440         formatting.
9441         (get_handles_fopen): Likewise.
9442         (do_write_test): Likewise.
9443
9444         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9445
9446         * libio/fileops.c (do_ftell): Use cached offset when
9447         available.
9448         * libio/iofwide.c (do_ftell_wide): Likewise.
9449         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9450         _IO_file_attach.
9451         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9452
9453         [BZ #16532]
9454         * libio/libioP.h (get_file_offset): New function.
9455         * libio/fileops.c (get_file_offset): Likewise.
9456         (do_ftell): Likewise.
9457         (_IO_new_file_seekoff): Split out ftell logic.
9458         * libio/wfileops.c (do_ftell_wide): Likewise.
9459         (_IO_wfile_seekoff): Split out ftell logic.
9460         * libio/tst-ftell-active-handler.c: New test case.
9461         * libio/Makefile (tests): Add it.
9462
9463 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9464
9465         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9466         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9467
9468 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9469
9470         [BZ #16639]
9471         * nscd/connections.c (nscd_init): Call do_exit.
9472         (start_threads): Call do_exit and notify_parent.
9473         (begin_drop_privileges): Call do_exit.
9474         (finish_drop_privileges): Likewise.
9475         * nscd/selinux.c (preserve_capabilities): Likewise.
9476         (install_real_capabilities): Likewise.
9477         (nscd_selinux_enabled): Likewise.
9478         (avc_create_thread): Likewise.
9479         (avc_alloc_lock): Likewise.
9480         (nscd_avc_init): Likewise.
9481         * nscd/nscd.c (parent_fd): New static variable.
9482         (main): Create a pipe between parent and child processes.
9483         Skip closing parent_fd.
9484         (monitor_child): New function.
9485         (do_exit): Likewise.
9486         (notify_parent): Likewise.
9487         * nscd/nscd.h (notify_parent): Likewise.
9488         (do_exit): Likewise.
9489
9490 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9491
9492         * malloc/malloc.c (__libc_calloc): Revert last change.
9493
9494 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9495
9496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9497
9498 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9499
9500         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9502         implementation.
9503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9504         (__libc_ifunc_impl_list): Likewise.
9505         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9506         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9507         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9508         * string/strrchr.c: Define STRRCHR.
9509
9510 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9511
9512         * benchtest/bench-strtok.c (simple_strtok): Delete.
9513         (strtok_string): Use as benchmark.
9514         * string/strtok (STRTOK): New macro.
9515
9516 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9517
9518         * manual/threads.texi: Add header and standard comments to all
9519         functions.
9520
9521         * elf/dl-lookup.c (check_match): New function.
9522         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9523         (do_lookup_x): Remove nested function check_match. Use non-nested
9524         function check_match.
9525
9526 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9527
9528         * csu/Makefile (generated, before-compile): Use += rather than =.
9529         * catgets/Makefile (generated, generated-dirs): Likewise.
9530         * debug/Makefile (generated): Likewise.
9531         * dlfcn/Makefile (generated): Likewise.
9532         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9533         * iconvdata/Makefile (before-compile, generated): Likewise.
9534         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9535         * libio/Makefile (generated): Likewise.
9536         * malloc/Makefile (generated): Likewise.
9537         * manual/Makefile (generated, generated-dirs): Likewise.
9538         * misc/Makefile (generated): Likewise.
9539         * posix/Makefile (generated): Likewise.
9540         * resolv/Makefile (generated): Likewise.
9541         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9542         * timezone/Makefile (generated, generated-dirs): Likewise.
9543
9544         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9545
9546 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9547
9548         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9549         power8 implementation.
9550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9551         file: POWER8 llround ifunc implementation.
9552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9553         (__lllround): Add POWER8 implementation.
9554         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9555         POWER8 llround implementation.
9556
9557         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9558         power8 implementation.
9559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9560         file: POWER8 llrint ifunc implementation.
9561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9562         Add POWER8 implementation.
9563         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9564         POWER8 llrint implementation.
9565
9566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9567         power8 implementation.
9568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9569         file: POWER8 finite ifunc implementation.
9570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9571         Add POWER8 implementation.
9572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9573         Likewise.
9574         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9575         POWER8 finite implementation.
9576         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9577
9578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9579         power8 implementation.
9580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9581         file: POWER8 isinf ifunc implementation.
9582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9583         POWER8 implementation.
9584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9585         Likewise.
9586         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9587         isinf implementation.
9588         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9589
9590         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9591         (INIT_ARCH): Add hwcap2 initialization.
9592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9593         power8 implementation.
9594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9595         file: POWER8 isnan ifunc implementation.
9596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9597         POWER8 implementation.
9598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9599         Likewise.
9600         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9601         isnan implementation.
9602         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9603
9604 2014-02-27  Joey Ye  <joey.ye@arm.com>
9605
9606         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9607         (_FP_NANFRAC_Q): Set to zero.
9608
9609 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9610
9611         [BZ #16623]
9612         * math/auto-libm-test-in: New test inputs.
9613         * math/auto-libm-test-out: Regenerate.
9614         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9615         and DA.
9616         (__cos): Likewise.
9617         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9618
9619 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9620
9621         * scripts/evaluate-test.sh: Take new argument indicating whether
9622         failure is expected.
9623         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9624         indicating whether failure is expected.
9625         * conform/Makefile (test-xfail-run-conformtest): New variable.
9626         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9627         level.
9628         * posix/Makefile (test-xfail-annexc): New variable.
9629         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9630
9631 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9632
9633         * argp/Makefile: Include Makeconfig immediately after defining
9634         subdir.
9635         * assert/Makefile: Likewise.
9636         * benchtests/Makefile: Likewise.
9637         * catgets/Makefile: Likewise.
9638         * conform/Makefile: Likewise.
9639         * crypt/Makefile: Likewise.
9640         * csu/Makefile: Likewise.
9641         (all): Remove target.
9642         * ctype/Makefile: Include Makeconfig immediately after defining
9643         subdir.
9644         * debug/Makefile: Likewise.
9645         * dirent/Makefile: Likewise.
9646         * dlfcn/Makefile: Likewise.
9647         * gmon/Makefile: Likewise.
9648         * gnulib/Makefile: Likewise.
9649         * grp/Makefile: Likewise.
9650         * gshadow/Makefile: Likewise.
9651         * hesiod/Makefile: Likewise.
9652         * hurd/Makefile: Likewise.
9653         (all): Remove target.
9654         * iconvdata/Makefile: Include Makeconfig immediately after
9655         defining subdir.
9656         * inet/Makefile: Likewise.
9657         * intl/Makefile: Likewise.
9658         * io/Makefile: Likewise.
9659         * libio/Makefile: Likewise.
9660         (all): Remove target.
9661         * locale/Makefile: Include Makeconfig immediately after defining
9662         subdir.
9663         * login/Makefile: Likewise.
9664         * mach/Makefile: Likewise.
9665         (all): Remove target.
9666         * malloc/Makefile: Include Makeconfig immediately after defining
9667         subdir.
9668         (all): Remove target.
9669         * manual/Makefile: Include Makeconfig immediately after defining
9670         subdir.
9671         * math/Makefile: Likewise.
9672         * misc/Makefile: Likewise.
9673         * nis/Makefile: Likewise.
9674         * nss/Makefile: Likewise.
9675         * po/Makefile: Likewise.
9676         (all): Remove target.
9677         * posix/Makefile: Include Makeconfig immediately after defining
9678         subdir.
9679         * pwd/Makefile: Likewise.
9680         * resolv/Makefile: Likewise.
9681         * resource/Makefile: Likewise.
9682         * rt/Makefile: Likewise.
9683         * setjmp/Makefile: Likewise.
9684         * shadow/Makefile: Likewise.
9685         * signal/Makefile: Likewise.
9686         * socket/Makefile: Likewise.
9687         * soft-fp/Makefile: Likewise.
9688         * stdio-common/Makefile: Likewise.
9689         * stdlib/Makefile: Likewise.
9690         * streams/Makefile: Likewise.
9691         * string/Makefile: Likewise.
9692         * sunrpc/Makefile: Likewise.
9693         (all): Remove target.
9694         * sysvipc/Makefile: Include Makeconfig immediately after defining
9695         subdir.
9696         * termios/Makefile: Likewise.
9697         * time/Makefile: Likewise.
9698         * timezone/Makefile: Likewise.
9699         (all): Remove target.
9700         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9701         subdir.
9702         * wctype/Makefile: Likewise.
9703
9704 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9705
9706         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9707         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9708         (libc_feholdexcept_setround_mips): Ditto.
9709         (libc_feholdsetround): New.
9710         (libc_feholdsetroundf): New.
9711         (libc_feholdsetroundl): New.
9712         (libc_feupdateenv_test_mips): New.
9713         (libc_feupdateenv_test): New.
9714         (libc_feupdateenv_testf): New.
9715         (libc_feupdateenv_testl): New.
9716         (libc_feresetround): New.
9717         (libc_feresetroundf): New.
9718         (libc_feresetroundl): New.
9719         (libc_fetestexcept_mips): New.
9720         (libc_fetestexcept): New.
9721         (libc_fetestexceptf): New.
9722         (libc_fetestexceptl): New.
9723         (HAVE_RM_CTX): New.
9724         (libc_feholdexcept_setround_mips_ctx): New.
9725         (libc_feholdexcept_setround_ctx): New.
9726         (libc_feholdexcept_setroundf_ctx): New.
9727         (libc_feholdexcept_setroundl_ctx): New.
9728         (libc_fesetenv_mips_ctx): New.
9729         (libc_fesetenv_ctx): New.
9730         (libc_fesetenv_ctxf): New.
9731         (libc_fesetenv_ctxl): New.
9732         (libc_feupdateenv_mips_ctx): New.
9733         (libc_feupdateenv_ctx): New.
9734         (libc_feupdateenvf_ctx): New.
9735         (libc_feupdateenvl_ctx): New.
9736         (libc_feholdsetround_mips_ctx): New.
9737         (libc_feholdsetround_ctx): New.
9738         (libc_feholdsetroundf_ctx): New.
9739         (libc_feholdsetroundl_ctx): New.
9740         (libc_feresetround_mips_ctx): New.
9741         (libc_feresetround_ctx): New.
9742         (libc_feresetroundf_ctx): New.
9743         (libc_feresetroundl_ctx): New.
9744
9745 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9746
9747         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9748
9749         * manual/ipc.texi: New file.
9750         * manual/Makefile (chapters): Add ipc.
9751         * manual/job.texi: Add "Inter-Process Communication" to next.
9752         * manual/process.texi: Add "Inter-Process Communication" to prev.
9753
9754 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9755
9756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9757
9758 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9759
9760         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9761
9762         * manual/arith.texi: Fix spaces after sentences.
9763         * manual/charset.texi: Likewise.
9764         * manual/errno.texi: Likewise.
9765         * manual/install.texi: Likewise.
9766         * manual/llio.texi: Likewise.
9767         * manual/locale.texi: Likewise.
9768         * manual/maint.texi: Likewise.
9769         * manual/math.texi: Likewise.
9770         * manual/memory.texi: Likewise.
9771         * manual/message.texi: Likewise.
9772         * manual/probes.texi: Likewise.
9773         * manual/resource.texi: Likewise.
9774         * manual/signal.texi: Likewise.
9775         * manual/socket.texi: Likewise.
9776         * manual/stdio.texi: Likewise.
9777         * manual/string.texi: Likewise.
9778         * manual/time.texi: Likewise.
9779         * manual/users.texi: Likewise.
9780
9781 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9782
9783         [BZ #16632]
9784         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9785         _DEFAULT_SOURCE is defined.
9786
9787 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9788             Carlos O'Donell  <carlos@redhat.com>
9789
9790         [BZ #16613]
9791         * elf/dl-tls.c (_dl_count_modids): New function.
9792         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9793         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9794         audit library and increment generation counter.
9795         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9796         * elf/tst-audit9.c: New file.
9797         * elf/tst-auditmod9a.c: New file.
9798         * elf/tst-auditmod9b.c: New file.
9799         * elf/Makefile: Add rules to build and run tst-audit9.
9800
9801 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9802
9803         [BZ #15347]
9804         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9805
9806 2014-02-25  Will Newton  <will.newton@linaro.org>
9807
9808         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9809         (__longjmp): Restore sp and lr before restoring callee
9810         saved registers.  Add longjmp and longjmp_target
9811         SystemTap probe point.
9812         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9813         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9814         Define to zero to match jmpbuf layout.
9815         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9816         (__sigsetjmp): Save sp and lr before saving callee
9817         saved registers.  Add setjmp SystemTap probe point.
9818
9819 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9820
9821         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9822
9823 2014-02-24  Andreas Schwab  <schwab@suse.de>
9824
9825         [BZ #15804]
9826         * elf/pldd.c (wait_for_ptrace_stop): New function.
9827         (main): Call it after attaching.
9828
9829 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9830
9831         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9832         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9833         Versions files is now verboten.
9834         * hurd/Versions (libc: GLIBC_2.0):
9835         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9836         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9837         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9838         * mach/Versions: Likewise.
9839
9840         * csu/Versions: Remove unused %include.
9841         * resolv/Versions: Likewise.
9842
9843 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9844
9845         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9846         ($(objpfx)check-local-headers.out): Likewise.
9847         ($(objpfx)begin-end-check.out): Likewise.
9848         * Makerules (check-abi-%.out): Likewise.
9849         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9850         ($(objpfx)test2.cat): Likewise.
9851         ($(objpfx)de/libc.cat): Likewise.
9852         ($(objpfx)test-gencat.out): Likewise.
9853         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9854         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9855         ($(objpfx)noload-mem): Likewise.
9856         ($(objpfx)tst-pathopt.out): Likewise.
9857         ($(objpfx)tst-rtld-load-self.out): Likewise.
9858         ($(objpfx)tst-array1-cmp.out): Likewise.
9859         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9860         ($(objpfx)tst-array2-cmp.out): Likewise.
9861         ($(objpfx)tst-array3-cmp.out): Likewise.
9862         ($(objpfx)tst-array4-cmp.out): Likewise.
9863         ($(objpfx)tst-array5-cmp.out): Likewise.
9864         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9865         ($(objpfx)check-textrel.out): Likewise.
9866         ($(objpfx)check-execstack.out): Likewise.
9867         ($(objpfx)check-localplt.out): Likewise.
9868         ($(objpfx)order2-cmp.out): Likewise.
9869         ($(objpfx)tst-leaks1-mem): Likewise.
9870         ($(objpfx)tst-leaks1-static-mem): Likewise.
9871         ($(objpfx)tst-initorder-cmp.out): Likewise.
9872         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9873         ($(objpfx)tst-unused-dep.out): Likewise.
9874         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9875         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9876         * iconv/Makefile (test-iconvconfig): Likewise.
9877         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9878         ($(objpfx)iconv-test.out): Likewise.
9879         ($(objpfx)tst-tables.out): Likewise.
9880         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9881         ($(objpfx)tst-gettext.out): Likewise.
9882         ($(objpfx)tst-translit.out): Likewise.
9883         ($(objpfx)tst-gettext2.out): Likewise.
9884         ($(objpfx)tst-gettext4.out): Likewise.
9885         ($(objpfx)tst-gettext6.out): Likewise.
9886         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9887         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9888         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9889         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9890         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9891         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9892         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9893         ($(objpfx)wordexp-tst.out): Likewise.
9894         ($(objpfx)annexc.out): Likewise.
9895         ($(objpfx)tst-fnmatch-mem): Likewise.
9896         ($(objpfx)bug-regex2-mem): Likewise.
9897         ($(objpfx)bug-regex14-mem): Likewise.
9898         ($(objpfx)bug-regex21-mem): Likewise.
9899         ($(objpfx)bug-regex31-mem): Likewise.
9900         ($(objpfx)tst-vfork3-mem): Likewise.
9901         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9902         ($(objpfx)tst-pcre-mem): Likewise.
9903         ($(objpfx)tst-boost-mem): Likewise.
9904         ($(objpfx)tst-getconf.out): Likewise.
9905         ($(objpfx)bug-ga2-mem): Likewise.
9906         ($(objpfx)bug-glob2-mem): Likewise.
9907         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9908         ($(objpfx)mtrace-tst-leaks2): Likewise.
9909         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9910         ($(objpfx)tst-printf.out): Likewise.
9911         ($(objpfx)tst-setvbuf1.out): Likewise.
9912         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9913         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9914         ($(objpfx)tst-fmtmsg.out): Likewise.
9915         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9916         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9917
9918         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9919         * bits/sigaction.h [__USE_MISC]: Likewise.
9920         * bits/waitstatus.h: Update #endif comments.
9921         * ctype/ctype.h: Likewise.
9922         * dirent/dirent.h: Likewise.
9923         [__USE_MISC]: Remove redundant conditionals.
9924         * grp/grp.h: Update #endif comments.
9925         [__USE_GNU]: Remove redundant conditionals.
9926         [__USE_MISC]: Likewise.
9927         * inet/netinet/in.h [__USE_GNU]: Likewise.
9928         * io/sys/stat.h [__USE_MISC]: Likewise.
9929         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9930         * libio/bits/stdio.h: Update #endif comments.
9931         [__USE_MISC]: Remove redundant conditionals.
9932         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9933         * libio/stdio.h: Update #endif comments.
9934         [__USE_MISC]: Remove redundant conditionals.
9935         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9936         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9937         * math/math.h: Update #else and #endif comments.
9938         [__USE_MISC]: Remove redundant conditionals.
9939         * misc/sys/uio.h: Update #endif comments.
9940         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9941         * posix/glob.h [__USE_MISC]: Likewise.
9942         * posix/sys/types.h: Update #endif comments.
9943         [__USE_MISC]: Remove redundant conditionals.
9944         * posix/sys/wait.h: Update #endif comments.
9945         [__USE_MISC]: Remove redundant conditionals.
9946         * posix/unistd.h: Update #endif comments.
9947         [__USE_MISC]: Remove redundant conditionals.
9948         * pwd/pwd.h [__USE_GNU]: Likewise.
9949         [__USE_MISC]: Likewise.
9950         * resolv/netdb.h [__USE_GNU]: Likewise.
9951         * signal/signal.h: Update #endif comments.
9952         [__USE_MISC]: Remove redundant conditionals.
9953         * stdlib/stdlib.h: Update #else and #endif comments.
9954         [__USE_MISC]: Remove redundant conditionals.
9955         [__USE_GNU]: Likewise.
9956         * string/bits/string2.h [__USE_MISC]: Likewise.
9957         * string/string.h: Update #endif comments.
9958         [__USE_MISC]: Remove redundant conditionals.
9959         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9960         Likewise.
9961         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9962         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9963         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9964         Likewise.
9965         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9966         Likewise.
9967         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9968         comments.
9969         [__USE_MISC]: Remove redundant conditionals.
9970         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9971         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9972         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9973         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9974         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9975         Likewise.
9976         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9977         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9978         Likewise.
9979         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9980         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9981         Likewise.
9982         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9983         Likewise.
9984         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9985         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9986         Likewise.
9987         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9988         Likewise.
9989         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9990         * sysdeps/x86/bits/string.h: Update #endif comments.
9991         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9992         conditionals.
9993         * time/sys/time.h: Update #endif comments.
9994         * time/time.h: Likewise.
9995         [__USE_MISC]: Remove redundant conditionals.
9996
9997 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9998
9999         [BZ #16600]
10000         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10001
10002 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10003
10004         * Versions.def (librt): Add GLIBC_2.17.
10005
10006 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10007
10008         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10009         synonym for _SYS_AUXV_H to allow direct inclusion.
10010         * sysdeps/sparc/bits/hwcap.h: Likewise.
10011         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10012         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10013         * sysdeps/sparc/sysdep.h: Likewise.
10014
10015 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10016
10017         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10018
10019 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10020
10021         * benchtests/bench-strrchr.c: Print length instead of position.
10022
10023 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10024
10025         [BZ #16611]
10026         * sysdeps/unix/sysv/linux/kernel-features.h
10027         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10028         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10029         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10030         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10031         Likewise.
10032         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10033         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10034         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10035         (__ASSUME_SENDMMSG): Define instead of using previous
10036         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10037         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10038         (__ASSUME_SENDMMSG_SYSCALL): Define.
10039         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10040         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10041         Likewise.
10042         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10043         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10044         Likewise.
10045         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10046         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10047         Likewise.
10048         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10049         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10050         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10051         [__ASSUME_SENDMMSG]: Change conditionals to
10052         [__ASSUME_SENDMMSG_SOCKETCALL].
10053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10054         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10055         Define.
10056         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10057         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10058         Likewise.
10059         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10060         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10061         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10062         [!__ASSUME_SENDMMSG]: Change conditional to
10063         [!__ASSUME_SENDMMSG_SOCKETCALL].
10064         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10065         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10066         Define.
10067
10068         [BZ #16610]
10069         * sysdeps/unix/sysv/linux/kernel-features.h
10070         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10071         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10072         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10073         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10074         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10075         [__i386__ || __sparc__]
10076         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10077         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10078         (__ASSUME_RECVMMSG): Define instead of using previous
10079         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10080         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10081         (__ASSUME_RECVMMSG_SYSCALL): Define.
10082         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10083         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10084         Likewise.
10085         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10086         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10087         Likewise.
10088         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10089         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10090         Likewise.
10091         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10092         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10093         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10094         [__ASSUME_RECVMMSG]: Change condition to
10095         [__ASSUME_RECVMMSG_SOCKETCALL].
10096         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10097         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10098         Define.
10099         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10100         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10101         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10102         Likewise.
10103         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10104         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10105         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10106         [!__ASSUME_RECVMMSG]: Change condition to
10107         [!__ASSUME_RECVMMSG_SOCKETCALL].
10108         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10109         (__ASSUME_RECVMMSG_SYSCALL): Define.
10110
10111         [BZ #16609]
10112         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10113         __powerpc__ || __s390__ || __sh__ || __sparc__]
10114         (__ASSUME_SOCKETCALL): Define.
10115         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10116         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10117         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10118         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10119         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10120         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10121         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10122         (__ASSUME_ACCEPT4): Define instead of using previous
10123         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10124         __powerpc__ || __sparc__ || __s390__)] condition.
10125         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10126         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10127         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10128         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10129         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10130         [!__ASSUME_ACCEPT4]: Change condition to
10131         [!__ASSUME_ACCEPT4_SOCKETCALL].
10132         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10133         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10134         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10135         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10136         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10137         __ASSUME_ACCEPT4_SYSCALL.
10138         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10139         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10140         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10141         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10142         __ASSUME_ACCEPT4_SYSCALL.
10143         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10144         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10145         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10146         [__ASSUME_ACCEPT4]: Change condition to
10147         [__ASSUME_ACCEPT4_SOCKETCALL].
10148         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10149         (__ASSUME_SOCKETCALL): Define.
10150         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10151         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10152         (__ASSUME_SOCKETCALL): Define.
10153         (__ASSUME_ACCEPT4): Remove.
10154         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10155         Define.
10156         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10157         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10158         Likewise.
10159         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10160         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10161
10162         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10163         macro.
10164         (HWCAP_ARM_LPAE): Likewise.
10165         (HWCAP_ARM_EVTSTRM): Likewise.
10166         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10167         Add vpfd32, lpae and evtstrm.
10168         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10169         Increase to 22.
10170
10171 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10172
10173         * math/auto-libm-test-in: Add tests of clog10.
10174         * math/auto-libm-test-out: Regenerated.
10175         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10176         * sysdeps/i386/fpu/libm-test-ulps: Update.
10177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10178
10179 2014-02-18  Andreas Schwab  <schwab@suse.de>
10180
10181         [BZ #16574]
10182         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10183         Store non-zero if the second buffer was newly allocated.
10184         (send_dg): Likewise.
10185         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10186         to send_vc and send_dg.
10187         (res_nsend): Pass NULL for ansp2_malloced.
10188         * resolv/res_query.c (__libc_res_nquery): Add parameter
10189         answerp2_malloced and pass it down to __libc_res_nsend.
10190         (res_nquery): Pass additional NULL to __libc_res_nquery.
10191         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10192         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10193         second answer buffer if answerp2_malloced was set.
10194         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10195         (__libc_res_nquerydomain): Add parameter
10196         answerp2_malloced and pass it down to __libc_res_nquery.
10197         (res_nquerydomain): Pass additional NULL to
10198         __libc_res_nquerydomain.
10199         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10200         additional NULL to __libc_res_nsend and __libc_res_nquery.
10201         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10202         additional NULL to __libc_res_nsearch.
10203         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10204         parameter of __libc_res_nsearch to check for separately allocated
10205         second buffer.
10206         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10207         __libc_res_nquery.
10208         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10209         additional NULL to __libc_res_nquery.
10210         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10211         __libc_res_nsearch.
10212         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10213         * include/resolv.h: Update prototypes of __libc_res_nquery,
10214         __libc_res_nsearch, __libc_res_nsend.
10215
10216 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10217
10218         * math/auto-libm-test-in: Add tests of fma.
10219         * math/auto-libm-test-out: Regenerated.
10220         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10221         (fma_towardzero_test_data): Likewise.
10222         (fma_downward_test_data): Likewise.
10223         (fma_upward_test_data): Likewise.
10224         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10225         mpc_mode.
10226         (rounding_modes): Add values for new field.
10227         (func_calc_method): Add value mpfr_fff_f.
10228         (func_calc_desc): Add mpfr_fff_f union field.
10229         (test_function): Add field exact_args.
10230         (FUNC): Add macro argument EXACT_ARGS.
10231         (FUNC_mpfr_f_f): Update call to FUNC.
10232         (FUNC_mpfr_f_f): Likewise.
10233         (FUNC_mpfr_ff_f): Likewise.
10234         (FUNC_mpfr_if_f): Likewise.
10235         (FUNC_mpc_c_f): Likewise.
10236         (FUNC_mpc_c_c): Likewise.
10237         (test_functions): Add fma.  Update calls to FUNC.
10238         (handle_input_arg): Add argument exact_args.
10239         (add_test): Update call to handle_input_arg.
10240         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10241         (output_for_one_input_case): Update call to calc_generic_results.
10242         Recalculate exact zero results in each rounding mode.
10243
10244         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10245         non-negative before setting low bit.
10246         * math/auto-libm-test-in: Mark one asin test possibly having
10247         spurious underflow.
10248         * math/auto-libm-test-out: Regenerated.
10249         * sysdeps/i386/fpu/libm-test-ulps: Update.
10250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10251
10252 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10253
10254         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10255         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10256         ports/sysdeps/unix/sysv/linux/microblaze.
10257         * README: Add missing listing for microblaze*-*-linux-gnu.
10258
10259 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10260
10261         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10262         duplicate code
10263
10264 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10265
10266         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10267         * sysdeps/unix/sysv/linux/ia64: Move directory from
10268         ports/sysdeps/unix/sysv/linux/ia64.
10269         * README: Update listing for ia64-*-linux-gnu.
10270
10271 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10272             Joseph Myers  <joseph@codesourcery.com>
10273
10274         * Makeconfig (test-name): New variable.
10275         (evaluate-test): Likewise.
10276         * Makerules (do-test-clean): Remove .test-result files.
10277         (common-mostlyclean): Likewise.
10278         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10279         * scripts/evaluate-test.sh: New file.
10280
10281 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10282
10283         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10284         separate $(objpfx)tst-fopenloc-cmp.out and
10285         $(objpfx)tst-fopenloc-mem.out targets.
10286         (tests): Update dependencies.
10287         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10288         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10289         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10290         (tst-rxspencer-no-utf8-ARGS): New variable.
10291         (tst-rxspencer-no-utf8-ENV): Likewise.
10292         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10293         instead of $(objpfx)tst-rxspencer-mem.
10294         ($(objpfx)tst-rxspencer-mem): Change target to
10295         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10296         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10297         * posix/tst-rxspencer-no-utf8.c: New file.
10298
10299         * elf/Makefile ($(objpfx)order.out): Remove rule.
10300         [$(run-built-tests) = yes] (tests): Depend on
10301         $(objpfx)order-cmp.out.
10302         ($(objpfx)order-cmp.out): New rule.
10303         [$(run-built-tests) = yes] (tests): Depend on
10304         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10305         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10306         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10307         $(objpfx)tst-array5-static-cmp.out.
10308         ($(objpfx)tst-array1.out): Remove rule.
10309         ($(objpfx)tst-array1-cmp.out): New rule.
10310         ($(objpfx)tst-array1-static.out): Remove rule.
10311         ($(objpfx)tst-array1-static-cmp.out): New rule.
10312         ($(objpfx)tst-array2.out): Remove rule.
10313         ($(objpfx)tst-array2-cmp.out): New rule.
10314         ($(objpfx)tst-array3.out): Remove rule.
10315         ($(objpfx)tst-array3-cmp.out): New rule.
10316         ($(objpfx)tst-array4.out): Remove rule.
10317         ($(objpfx)tst-array4-cmp.out): New rule.
10318         ($(objpfx)tst-array5.out): Remove rule.
10319         ($(objpfx)tst-array5-cmp.out): New rule.
10320         ($(objpfx)tst-array5-static.out): Remove rule.
10321         ($(objpfx)tst-array5-static-cmp.out): New rule.
10322         [$(run-built-tests) = yes] (tests): Depend on
10323         $(objpfx)order2-cmp.out.
10324         ($(objpfx)order2.out): Remove rule.
10325         ($(objpfx)order2-cmp.out): New rule.
10326         ($(objpfx)tst-initorder.out): Remove rule.
10327         [$(run-built-tests) = yes] (tests): Depend on
10328         $(objpfx)tst-initorder-cmp.out.
10329         ($(objpfx)tst-initorder-cmp.out): New rule.
10330         ($(objpfx)tst-initorder2.out): Remove rule.
10331         [$(run-built-tests) = yes] (tests): Depend on
10332         $(objpfx)tst-initorder2-cmp.out.
10333         ($(objpfx)tst-initorder2-cmp.out): New rule.
10334         [$(run-built-tests) = yes] (tests): Depend on
10335         $(objpfx)tst-unused-dep-cmp.out.
10336         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10337         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10338         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10339         on $(objpfx)tst-setvbuf1-cmp.out.
10340         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10341         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10342         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10343         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10344         ($(objpfx)tst-svc.out): Remove rule.
10345         ($(objpfx)tst-svc-cmp.out): New rule.
10346
10347 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10348
10349         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10350         * ctype/ctype.h [__USE_MISC]: Likewise.
10351         * dirent/dirent.h [__USE_MISC]: Likewise.
10352         * grp/grp.h [__USE_MISC]: Likewise.
10353         * io/fcntl.h [__USE_MISC]: Likewise.
10354         * io/sys/stat.h [__USE_MISC]: Likewise.
10355         * libio/stdio.h [__USE_MISC]: Likewise.
10356         * posix/unistd.h [__USE_MISC]: Likewise.
10357         * pwd/pwd.h [__USE_MISC]: Likewise.
10358         * stdlib.h [__USE_MISC]: Likewise.
10359         * string/bits/string2.h [__USE_MISC]: Likewise.
10360         * string/string.h [__USE_MISC]: Likewise.
10361         * time/time.h [__USE_MISC]: Likewise.
10362
10363 2014-02-13  Andreas Schwab  <schwab@suse.de>
10364
10365         [BZ #16574]
10366         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10367         second answer buffer if it was separately allocated.
10368
10369 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10370
10371         * sysdeps/mips/math-tests.h: Include <features.h>.
10372         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10373         (ROUNDING_TESTS_long_double): Do not define.
10374         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10375         (EXCEPTION_TESTS_long_double): Likewise.
10376         * sysdeps/mips/mips64/libm-test-ulps: Update.
10377
10378         * include/features.h (__USE_BSD): Remove macro definitions.
10379         (__USE_SVID): Likewise.
10380         (_BSD_SOURCE): Likewise.
10381         (_SVID_SOURCE): Likewise.
10382         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10383         from definition of _DEFAULT_SOURCE.
10384         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10385         [_DEFAULT_SOURCE].
10386         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10387         * bits/mman.h [__USE_BSD]: Likewise.
10388         * bits/termios.h [__USE_BSD]: Likewise.
10389         * bits/waitstatus.h [__USE_BSD]: Likewise.
10390         * ctype/ctype.h [__USE_SVID]: Likewise.
10391         * dirent/dirent.h [__USE_BSD]: Likewise.
10392         * grp/grp.h [__USE_SVID]: Likewise.
10393         [__USE_BSD]: Likewise.
10394         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10395         * io/fcntl.h [__USE_BSD]: Likewise.
10396         * io/ftw.h [__USE_BSD]: Likewise.
10397         * io/sys/stat.h [__USE_BSD]: Likewise.
10398         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10399         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10400         * libio/stdio.h [__USE_SVID]: Likewise.
10401         [__USE_BSD]: Likewise.
10402         * math/math.h [__USE_SVID]: Likewise.
10403         [__USE_BSD]: Likewise.
10404         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10405         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10406         * misc/search.h [__USE_SVID]: Likewise.
10407         * misc/sys/mman.h [__USE_BSD]: Likewise.
10408         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10409         * misc/sys/uio.h [__USE_BSD]: Likewise.
10410         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10411         * posix/glob.h [__USE_BSD]: Likewise.
10412         * posix/regex.h [__USE_BSD]: Likewise.
10413         * posix/sys/types.h [__USE_BSD]: Likewise.
10414         [__USE_SVID]: Likewise.
10415         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10416         * posix/sys/wait.h [__USE_BSD]: Likewise.
10417         [__USE_SVID]: Likewise.
10418         * posix/unistd.h [__USE_BSD]: Likewise.
10419         [__USE_SVID]: Likewise.
10420         * pwd/pwd.h [__USE_SVID]: Likewise.
10421         * resolv/netdb.h [__USE_BSD]: Likewise.
10422         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10423         * signal/signal.h [__USE_BSD]: Likewise.
10424         [__USE_SVID]: Likewise.
10425         * socket/sys/socket.h [__USE_BSD]: Likewise.
10426         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10427         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10428         [__USE_SVID]: Likewise.
10429         * string/bits/string2.h [__USE_BSD]: Likewise.
10430         [__USE_SVID]: Likewise.
10431         * string/bits/string3.h [__USE_BSD]: Likewise.
10432         * string/endian.h [__USE_BSD]: Likewise.
10433         * string/string.h [__USE_SVID]: Likewise.
10434         [__USE_BSD]: Likewise.
10435         * string/strings.h [__USE_BSD]: Likewise.
10436         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10437         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10438         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10439         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10440         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10441         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10442         Likewise.
10443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10444         Likewise.
10445         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10446         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10447         Likewise.
10448         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10449         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10450         Likewise.
10451         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10452         Likewise.
10453         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10454         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10455         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10456         Likewise.
10457         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10458         Likewise.
10459         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10460         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10461         * termios/termios.h [__USE_BSD]: Likewise.
10462         * time/sys/time.h [__USE_BSD]: Likewise.
10463         * time/time.h [__USE_BSD]: Likewise.
10464         [__USE_SVID]: Likewise.
10465
10466         * Makefile (subdir_targets): Remove subdir_lint.out.
10467
10468         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10469         (do-tst-printf): Likewise.
10470         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10471         $(objpfx)tst-printf.out.
10472
10473         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10474
10475         * Makerules (check-abi-%): Change target to
10476         $(objpfx)check-abi-%.out.
10477         (check-abi target): Update dependencies.
10478         (check-abi-pattern variable): Redirect output of diff to $@.
10479         (check-abi variable): Likewise.
10480         * elf/Makefile (check-abi): Update dependencies.
10481
10482         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10483         unused.
10484         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10485         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10486         subnormal range.
10487         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10488         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10489         value has largest subnormal exponent.
10490         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10491         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10492         * sysdeps/aarch64/soft-fp/sfp-machine.h
10493         (_FP_TININESS_AFTER_ROUNDING): New macro.
10494         * sysdeps/alpha/soft-fp/sfp-machine.h
10495         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10496         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10497         Likewise.
10498         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10499         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10500         * sysdeps/mips/soft-fp/sfp-machine.h
10501         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10502         * sysdeps/powerpc/soft-fp/sfp-machine.h
10503         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10504         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10505         Likewise.
10506         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10507         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10508         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10509         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10510         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10511         Likewise.
10512
10513 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10514
10515         [BZ #16545]
10516         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10517         model 1.
10518
10519 2014-02-12  Richard Henderson  <rth@redhat.com>
10520
10521         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10522         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10523         * sysdeps/unix/sysv/linux/alpha: Move directory from
10524         ports/sysdeps/unix/sysv/linux/alpha.
10525         * README: Update listing for alpha-*-linux-gnu.
10526
10527 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10528
10529         * include/features.h: Update comment documenting feature test
10530         macros.
10531         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10532         _DEFAULT_SOURCE.
10533         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10534         (_SVID_SOURCE): Likewise.
10535         (_DEFAULT_SOURCE): Update description of default features.
10536         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10537         with _GNU_SOURCE.
10538         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10539         (S_ISVTX): Likewise.
10540         * manual/math.texi (Mathematical Constants): Likewise.
10541         * manual/signal.texi (Interrupted Primitives): Likewise.
10542         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10543         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10544         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10545         Don't refer to _SVID_SOURCE in warning text.
10546
10547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10548
10549         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10550         already defined.
10551         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10552         * sysdeps/mips/dl-lookup.c: Remove.
10553         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10554
10555 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10556
10557         [BZ #16447]
10558         * math/auto-libm-test-in: Add testcase for expl.
10559         * math/auto-libm-test-out: Regenerate.
10560         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10561         calculation of unsafe.
10562         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10563
10564 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10565
10566         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10567         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10568         ports/sysdeps/unix/sysv/linux/aarch64.
10569         * README: Update listing for aarch64*-*-linux-gnu.
10570
10571 2014-02-11  Will Newton  <will.newton@linaro.org>
10572
10573         * manual/probes.texi (Mathematical Function Probes): Use
10574         "triggered" instead of "hit".
10575
10576         * manual/probes.texi (Internal Probes): Add documentation
10577         of setjmp, longjmp and longjmp_target probes.
10578
10579         * include/stap-probe.h: Add comment about probe argument
10580         format.
10581
10582         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10583         definition.  (tr_where, tr_freehook, tr_mallochook,
10584         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10585
10586 2014-02-11  David S. Miller  <davem@davemloft.net>
10587
10588         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10589         processing int_tests.
10590
10591 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10592
10593         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10594         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10595         * sysdeps/unix/sysv/linux/mips: Move directory from
10596         ports/sysdeps/unix/sysv/linux/mips.
10597         * README: Update listing for mips-*-linux-gnu and
10598         mips64-*-linux-gnu.
10599
10600 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10601
10602         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10603         * sysdeps/unix/sysv/linux/m68k: Move directory from
10604         ports/sysdeps/unix/sysv/linux/m68k.
10605         * README: Update listing for m68k-*-linux-gnu.
10606
10607 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10608
10609         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10610         * sysdeps/unix/sysv/linux/generic: Move directory from
10611         ports/sysdeps/unix/sysv/linux/generic.
10612         * sysdeps/unix/sysv/linux/tile: Move directory from
10613         ports/sysdeps/unix/sysv/linux/tile.
10614         * README: Update listing for tile*-*-linux-gnu.
10615
10616 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10617
10618         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10619         __builtin_expect.
10620         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10621         * catgets/open_catalog.c (__open_catalog): Likewise.
10622         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10623         * debug/confstr_chk.c: Likewise.
10624         * debug/fread_chk.c (__fread_chk): Likewise.
10625         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10626         * debug/getgroups_chk.c: Likewise.
10627         * debug/mbsnrtowcs_chk.c: Likewise.
10628         * debug/mbsrtowcs_chk.c: Likewise.
10629         * debug/mbstowcs_chk.c: Likewise.
10630         * debug/memcpy_chk.c: Likewise.
10631         * debug/memmove_chk.c: Likewise.
10632         * debug/mempcpy_chk.c: Likewise.
10633         * debug/memset_chk.c: Likewise.
10634         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10635         * debug/strcat_chk.c (__strcat_chk): Likewise.
10636         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10637         * debug/strncat_chk.c (__strncat_chk): Likewise.
10638         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10639         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10640         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10641         * debug/wcpncpy_chk.c: Likewise.
10642         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10643         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10644         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10645         * debug/wcsncpy_chk.c: Likewise.
10646         * debug/wcsnrtombs_chk.c: Likewise.
10647         * debug/wcsrtombs_chk.c: Likewise.
10648         * debug/wcstombs_chk.c: Likewise.
10649         * debug/wmemcpy_chk.c: Likewise.
10650         * debug/wmemmove_chk.c: Likewise.
10651         * debug/wmempcpy_chk.c: Likewise.
10652         * debug/wmemset_chk.c: Likewise.
10653         * dirent/scandirat.c (SCANDIRAT): Likewise.
10654         * dlfcn/dladdr1.c (dladdr1): Likewise.
10655         * dlfcn/dladdr.c (dladdr): Likewise.
10656         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10657         * dlfcn/dlerror.c (__dlerror): Likewise.
10658         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10659         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10660         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10661         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10662         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10663         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10664         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10665         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10666         Likewise.
10667         * elf/dl-conflict.c: Likewise.
10668         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10669         * elf/dl-dst.h: Likewise.
10670         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10671         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10672         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10673         * elf/dl-init.c (call_init, _dl_init): Likewise.
10674         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10675         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10676         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10677         Likewise.
10678         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10679         Likewise.
10680         * elf/dl-minimal.c (__libc_memalign): Likewise.
10681         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10682         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10683         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10684         * elf/dl-sym.c (do_sym): Likewise.
10685         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10686         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10687         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10688         * elf/dl-writev.h (_dl_writev): Likewise.
10689         * elf/ldconfig.c (search_dir): Likewise.
10690         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10691         (dl_main): Likewise.
10692         * elf/setup-vdso.h (setup_vdso): Likewise.
10693         * grp/compat-initgroups.c (compat_call): Likewise.
10694         * grp/fgetgrent.c (fgetgrent): Likewise.
10695         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10696         * grp/putgrent.c (putgrent): Likewise.
10697         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10698         Likewise.
10699         * hurd/hurdinit.c: Likewise.
10700         * iconvdata/8bit-gap.c (struct): Likewise.
10701         * iconvdata/ansi_x3.110.c : Likewise.
10702         * iconvdata/big5.c : Likewise.
10703         * iconvdata/big5hkscs.c : Likewise.
10704         * iconvdata/cp1255.c: Likewise.
10705         * iconvdata/cp1258.c : Likewise.
10706         * iconvdata/cp932.c : Likewise.
10707         * iconvdata/euc-cn.c: Likewise.
10708         * iconvdata/euc-jisx0213.c : Likewise.
10709         * iconvdata/euc-jp.c: Likewise.
10710         * iconvdata/euc-jp-ms.c : Likewise.
10711         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10712         * iconvdata/gb18030.c : Likewise.
10713         * iconvdata/gbbig5.c (const): Likewise.
10714         * iconvdata/gbgbk.c: Likewise.
10715         * iconvdata/gbk.c : Likewise.
10716         * iconvdata/ibm1364.c : Likewise.
10717         * iconvdata/ibm930.c : Likewise.
10718         * iconvdata/ibm932.c: Likewise.
10719         * iconvdata/ibm933.c : Likewise.
10720         * iconvdata/ibm935.c : Likewise.
10721         * iconvdata/ibm937.c : Likewise.
10722         * iconvdata/ibm939.c : Likewise.
10723         * iconvdata/ibm943.c: Likewise.
10724         * iconvdata/iso_11548-1.c: Likewise.
10725         * iconvdata/iso-2022-cn.c : Likewise.
10726         * iconvdata/iso-2022-cn-ext.c : Likewise.
10727         * iconvdata/iso-2022-jp-3.c: Likewise.
10728         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10729         * iconvdata/iso-2022-kr.c : Likewise.
10730         * iconvdata/iso646.c (gconv_end): Likewise.
10731         * iconvdata/iso_6937-2.c : Likewise.
10732         * iconvdata/iso_6937.c : Likewise.
10733         * iconvdata/iso8859-1.c: Likewise.
10734         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10735         * iconvdata/shift_jisx0213.c : Likewise.
10736         * iconvdata/sjis.c : Likewise.
10737         * iconvdata/t.61.c : Likewise.
10738         * iconvdata/tcvn5712-1.c : Likewise.
10739         * iconvdata/tscii.c: Likewise.
10740         * iconvdata/uhc.c : Likewise.
10741         * iconvdata/unicode.c (gconv_end): Likewise.
10742         * iconvdata/utf-16.c (gconv_end): Likewise.
10743         * iconvdata/utf-32.c (gconv_end): Likewise.
10744         * iconvdata/utf-7.c (base64): Likewise.
10745         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10746         * iconv/gconv_close.c (__gconv_close): Likewise.
10747         * iconv/gconv_open.c (__gconv_open): Likewise.
10748         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10749         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10750         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10751         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10752         (ucs4le_internal_loop_single): Likewise.
10753         * iconv/iconv.c (iconv): Likewise.
10754         * iconv/iconv_close.c: Likewise.
10755         * iconv/loop.c (SINGLE): Likewise.
10756         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10757         * include/atomic.h: Likewise.
10758         * inet/inet6_option.c (option_alloc): Likewise.
10759         * intl/bindtextdom.c (set_binding_values): Likewise.
10760         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10761         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10762         * intl/localealias.c (read_alias_file): Likewise.
10763         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10764         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10765         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10766         * libio/fmemopen.c (fmemopen): Likewise.
10767         * libio/iofgets.c (_IO_fgets): Likewise.
10768         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10769         * libio/iofgetws.c (fgetws): Likewise.
10770         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10771         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10772         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10773         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10774         * locale/findlocale.c (_nl_find_locale): Likewise.
10775         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10776         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10777         Likewise.
10778         * locale/setlocale.c (setlocale): Likewise.
10779         * login/programs/pt_chown.c (main): Likewise.
10780         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10781         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10782         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10783         (mmap, mmap64, mremap, munmap): Likewise.
10784         * math/e_exp2l.c: Likewise.
10785         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10786         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10787         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10788         * math/s_catan.c (__catan): Likewise.
10789         * math/s_catanf.c (__catanf): Likewise.
10790         * math/s_catanh.c (__catanh): Likewise.
10791         * math/s_catanhf.c (__catanhf): Likewise.
10792         * math/s_catanhl.c (__catanhl): Likewise.
10793         * math/s_catanl.c (__catanl): Likewise.
10794         * math/s_ccosh.c (__ccosh): Likewise.
10795         * math/s_ccoshf.c (__ccoshf): Likewise.
10796         * math/s_ccoshl.c (__ccoshl): Likewise.
10797         * math/s_cexp.c (__cexp): Likewise.
10798         * math/s_cexpf.c (__cexpf): Likewise.
10799         * math/s_cexpl.c (__cexpl): Likewise.
10800         * math/s_clog10.c (__clog10): Likewise.
10801         * math/s_clog10f.c (__clog10f): Likewise.
10802         * math/s_clog10l.c (__clog10l): Likewise.
10803         * math/s_clog.c (__clog): Likewise.
10804         * math/s_clogf.c (__clogf): Likewise.
10805         * math/s_clogl.c (__clogl): Likewise.
10806         * math/s_csin.c (__csin): Likewise.
10807         * math/s_csinf.c (__csinf): Likewise.
10808         * math/s_csinh.c (__csinh): Likewise.
10809         * math/s_csinhf.c (__csinhf): Likewise.
10810         * math/s_csinhl.c (__csinhl): Likewise.
10811         * math/s_csinl.c (__csinl): Likewise.
10812         * math/s_csqrt.c (__csqrt): Likewise.
10813         * math/s_csqrtf.c (__csqrtf): Likewise.
10814         * math/s_csqrtl.c (__csqrtl): Likewise.
10815         * math/s_ctan.c (__ctan): Likewise.
10816         * math/s_ctanf.c (__ctanf): Likewise.
10817         * math/s_ctanh.c (__ctanh): Likewise.
10818         * math/s_ctanhf.c (__ctanhf): Likewise.
10819         * math/s_ctanhl.c (__ctanhl): Likewise.
10820         * math/s_ctanl.c (__ctanl): Likewise.
10821         * math/w_pow.c: Likewise.
10822         * math/w_powf.c: Likewise.
10823         * math/w_powl.c: Likewise.
10824         * math/w_scalb.c (sysv_scalb): Likewise.
10825         * math/w_scalbf.c (sysv_scalbf): Likewise.
10826         * math/w_scalbl.c (sysv_scalbl): Likewise.
10827         * misc/error.c (error_tail): Likewise.
10828         * misc/pselect.c (__pselect): Likewise.
10829         * nis/nis_callback.c (__nis_create_callback): Likewise.
10830         * nis/nis_call.c (__nisfind_server): Likewise.
10831         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10832         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10833         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10834         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10835         * nis/nis_lookup.c (nis_lookup): Likewise.
10836         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10837         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10838         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10839         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10840         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10841         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10842         * nis/nss_compat/compat-initgroups.c (add_group)
10843         (internal_getgrent_r): Likewise.
10844         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10845         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10846         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10847         (internal_getspnam_r): Likewise.
10848         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10849         (_nss_nis_getaliasbyname_r): Likewise.
10850         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10851         (_nss_nis_getntohost_r): Likewise.
10852         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10853         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10854         (_nss_nis_getgrgid_r): Likewise.
10855         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10856         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10857         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10858         (_nss_nis_gethostbyname4_r): Likewise.
10859         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10860         (initgroups_netid): Likewise.
10861         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10862         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10863         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10864         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10865         (_nss_nis_getprotobynumber_r): Likewise.
10866         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10867         (_nss_nis_getsecretkey): Likewise.
10868         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10869         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10870         (_nss_nis_getpwuid_r): Likewise.
10871         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10872         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10873         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10874         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10875         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10876         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10877         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10878         Likewise.
10879         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10880         (_nss_nisplus_getntohost_r): Likewise.
10881         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10882         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10883         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10884         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10885         Likewise.
10886         * nis/nss_nisplus/nisplus-initgroups.c
10887         (_nss_nisplus_initgroups_dyn): Likewise.
10888         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10889         (_nss_nisplus_getnetbyaddr_r): Likewise.
10890         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10891         (_nss_nisplus_getprotobynumber_r): Likewise.
10892         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10893         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10894         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10895         Likewise.
10896         * nis/nss_nisplus/nisplus-service.c
10897         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10898         (_nss_nisplus_getservbyport_r): Likewise.
10899         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10900         (_nss_nisplus_getspnam_r): Likewise.
10901         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10902         Likewise.
10903         * nscd/aicache.c (addhstaiX): Likewise.
10904         * nscd/cache.c (cache_search, prune_cache): Likewise.
10905         * nscd/connections.c (register_traced_file, send_ro_fd)
10906         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10907         (main_loop_epoll): Likewise.
10908         * nscd/grpcache.c (addgrbyX): Likewise.
10909         * nscd/hstcache.c (addhstbyX): Likewise.
10910         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10911         * nscd/mem.c (gc, mempool_alloc): Likewise.
10912         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10913         (addinnetgrX): Likewise.
10914         * nscd/nscd-client.h (__nscd_acquire_maplock)
10915         (__nscd_drop_map_ref): Likewise.
10916         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10917         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10918         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10919         Likewise.
10920         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10921         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10922         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10923         (__nscd_get_map_ref): Likewise.
10924         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10925         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10926         Likewise.
10927         * nscd/pwdcache.c (addpwbyX): Likewise.
10928         * nscd/selinux.c (preserve_capabilities): Likewise.
10929         * nscd/servicescache.c (addservbyX): Likewise.
10930         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10931         * posix/fnmatch.c (fnmatch): Likewise.
10932         * posix/getopt.c (_getopt_internal_r): Likewise.
10933         * posix/glob.c (glob, glob_in_dir): Likewise.
10934         * posix/wordexp.c (exec_comm_child): Likewise.
10935         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10936         (getanswer_r, gaih_getanswer_slice): Likewise.
10937         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10938         * resolv/res_init.c: Likewise.
10939         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10940         * resolv/res_query.c (__libc_res_nquery): Likewise.
10941         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10942         Likewise.
10943         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10944         * stdio-common/perror.c (perror): Likewise.
10945         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10946         * stdio-common/tmpnam.c (tmpnam): Likewise.
10947         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10948         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10949         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10950         Likewise.
10951         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10952         * stdlib/putenv.c (putenv): Likewise.
10953         * stdlib/setenv.c (__add_to_environ): Likewise.
10954         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10955         * stdlib/strtol_l.c (INTERNAL): Likewise.
10956         * string/memmem.c (memmem): Likewise.
10957         * string/strerror.c (strerror): Likewise.
10958         * string/strnlen.c (__strnlen): Likewise.
10959         * string/test-memmem.c (simple_memmem): Likewise.
10960         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10961         * sunrpc/pm_getport.c (__get_socket): Likewise.
10962         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10963         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10964         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10965         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10966         Likewise.
10967         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10968         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10969         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10970         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10971         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10972         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10973         Likewise.
10974         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10975         Likewise.
10976         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10977         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10978         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10979         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10980         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10982         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10983         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10984         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10985         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10986         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10987         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10988         Likewise.
10989         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10990         Likewise.
10991         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10992         Likewise.
10993         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10994         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10995         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10996         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10997         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10998         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10999         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11000         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11001         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11002         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11003         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11004         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11005         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11006         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11007         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11008         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11009         Likewise.
11010         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11011         Likewise.
11012         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11013         Likewise.
11014         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11015         Likewise.
11016         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11017         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11018         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11019         Likewise.
11020         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11021         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11022         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11023         * sysdeps/posix/sleep.c: Likewise.
11024         * sysdeps/posix/tempname.c: Likewise.
11025         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11026         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11027         Likewise.
11028         * sysdeps/powerpc/powerpc32/dl-machine.h
11029         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11030         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11031         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11032         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11033         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11034         Likewise.
11035         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11036         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11037         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11038         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11039         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11040         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11041         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11042         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11043         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11044         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11045         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11046         (elf_machine_lazy_rel): Likewise.
11047         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11048         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11049         (elf_machine_lazy_rel): Likewise.
11050         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11051         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11052         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11053         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11054         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11055         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11056         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11057         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11058         Likewise.
11059         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11060         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11061         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11062         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11063         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11064         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11065         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11066         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11067         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11068         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11069         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11070         Likewise.
11071         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11072         (__posix_fallocate64_l64): Likewise.
11073         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11074         (posix_fallocate): Likewise.
11075         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11076         Likewise.
11077         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11078         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11079         (getifaddrs_internal): Likewise.
11080         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11081         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11082         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11083         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11084         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11085         (__posix_fallocate64_l64): Likewise.
11086         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11087         Likewise.
11088         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11089         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11090         (__get_clockfreq): Likewise.
11091         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11092         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11093         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11094         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11095         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11096         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11097         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11098         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11099         Likewise.
11100         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11101         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11102         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11103         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11104         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11105         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11106         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11107         Likewise.
11108         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11109         (posix_fallocate): Likewise.
11110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11111         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11112         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11113         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11114         (elf_machine_rela, elf_machine_rela_relative)
11115         (elf_machine_lazy_rel): Likewise.
11116         * time/asctime.c (asctime_internal): Likewise.
11117         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11118         * time/tzset.c (__tzset_parse_tz): Likewise.
11119         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11120         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11121         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11122         * wcsmbs/wcsmbsload.h: Likewise.
11123
11124         [BZ #15894]
11125         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11126
11127         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11128         (arena_get2): Remove THREAD_STATS conditionals.
11129         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11130         (__malloc_stats, int): Likewise.
11131
11132 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11133
11134         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11135         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11136
11137         * manual/setjmp.texi: Fix typos/grammar errors.
11138
11139         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11140         Only return early when n is <= 0.  Delete unused return statement.
11141
11142         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11143         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11144         * debug/tst-longjmp_chk3.c: New file.
11145
11146         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11147         (test_main): Replace code with set_fortify_handler call.
11148         * debug/test-strcpy_chk.c: Likewise.
11149         * debug/tst-chk1.c: Likewise.
11150         * debug/tst-longjmp_chk.c: Likewise.
11151         * test-skeleton.c: Include fcntl.h & paths.h
11152         (set_fortify_handler): Define.
11153
11154         * debug/tst-longjmp_chk.c: Add header comment and include
11155         ../test-skeleton.c.
11156         (do_test): Mark static.
11157         (TEST_FUNCTION): Define.
11158
11159         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11160         (IP_PMTUDISC_INTERFACE): Likewise.
11161         (IP_MULTICAST_IF): Likewise.
11162         (IP_MULTICAST_TTL): Likewise.
11163         (IP_MULTICAST_LOOP): Likewise.
11164         (IP_ADD_MEMBERSHIP): Likewise.
11165         (IP_DROP_MEMBERSHIP): Likewise.
11166         (IP_UNBLOCK_SOURCE): Likewise.
11167         (IP_BLOCK_SOURCE): Likewise.
11168         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11169         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11170         (IP_MSFILTER): Likewise.
11171         (MCAST_JOIN_GROUP): Likewise.
11172         (MCAST_BLOCK_SOURCE): Likewise.
11173         (MCAST_UNBLOCK_SOURCE): Likewise.
11174         (MCAST_LEAVE_GROUP): Likewise.
11175         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11176         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11177         (MCAST_MSFILTER): Likewise.
11178         (IP_MULTICAST_ALL): Likewise.
11179         (IP_UNICAST_IF): Likewise.
11180
11181         * timezone/Makefile: Delete $(have-ksh) check.
11182         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11183         * timezone/tzselect.ksh: Add +x mode bits.
11184
11185         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11186         (ANON_INODE_FS_MAGIC): Likewise.
11187         (BDEVFS_MAGIC): Likewise.
11188         (BINFMTFS_MAGIC): Likewise.
11189         (BTRFS_TEST_MAGIC): Likewise.
11190         (CRAMFS_MAGIC_WEND): Likewise.
11191         (DEBUGFS_MAGIC): Likewise.
11192         (ECRYPTFS_SUPER_MAGIC): Likewise.
11193         (EXT3_SUPER_MAGIC): Likewise.
11194         (EXT4_SUPER_MAGIC): Likewise.
11195         (FUTEXFS_SUPER_MAGIC): Likewise.
11196         (HOSTFS_SUPER_MAGIC): Likewise.
11197         (HUGETLBFS_MAGIC): Likewise.
11198         (MINIX3_SUPER_MAGIC): Likewise.
11199         (MTD_INODE_FS_MAGIC): Likewise.
11200         (NILFS_SUPER_MAGIC): Likewise.
11201         (OPENPROM_SUPER_MAGIC): Likewise.
11202         (PIPEFS_MAGIC): Likewise.
11203         (PSTOREFS_MAGIC): Likewise.
11204         (QNX6_SUPER_MAGIC): Likewise.
11205         (RAMFS_MAGIC): Likewise.
11206         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11207         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11208         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11209         (SECURITYFS_MAGIC): Likewise.
11210         (SELINUX_MAGIC): Likewise.
11211         (SMACK_MAGIC): Likewise.
11212         (SOCKFS_MAGIC): Likewise.
11213         (SQUASHFS_MAGIC): Likewise.
11214         (STACK_END_MAGIC): Likewise.
11215         (TMPFS_MAGIC): Likewise.
11216         (USBDEVICE_SUPER_MAGIC): Likewise.
11217         (V9FS_MAGIC): Likewise.
11218         (XENFS_SUPER_MAGIC): Likewise.
11219         (CRAMFS_MAGIC): Fix typo in comment.
11220         (EXT2_SUPER_MAGIC): Update comment.
11221         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11222
11223 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11224
11225         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11226         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11227         * sysdeps/unix/sysv/linux/arm: Move directory from
11228         ports/sysdeps/unix/sysv/linux/arm.
11229         * README: Update listing for arm-*-linux-gnueabi.
11230
11231         * README: Remove mention of am33.
11232
11233 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11234
11235         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11236         than the comma operator, to avoid "rhs of comma has no effect"
11237         compiler warnings.
11238         (__sigfillset, __sigandset, __sigorset): Likewise.
11239         * include/signal.h (__sigemptyset): Likewise.
11240         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11241
11242 2014-02-07  Allan McRae  <allan@archlinux.org>
11243
11244         * version.h (RELEASE): Set to "development".
11245         (VERSION): Set to "2.19.90"
11246         * NEWS: Add 2.20 section.
11247
11248 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11249
11250         [BZ #16529]
11251         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11252
11253 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11254
11255         * manual/contrib.texi: Update entry for Carlos O'Donell,
11256         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11257
11258 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11259
11260         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11261
11262         * sysdeps/unix/sysv/linux/kernel-features.h
11263         [__LINUX_KERNEL_VERSION >= 0x020621]
11264         (__ASSUME_PROC_PID_TASK_COMM): Define.
11265
11266 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11267
11268         [BZ #16398]
11269         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11270         conversion when destination buffer does not have enough space.
11271         * libio/tst-ftell-partial-wide.c: New test case.
11272         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11273
11274         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11275         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11276         Leonard and Allan McRae.
11277
11278 2014-02-04  David S. Miller  <davem@davemloft.net>
11279
11280         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11281         32-bit.
11282
11283 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11284
11285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11286         New file
11287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11288         New file
11289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11290         New file.
11291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11292         New file.
11293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11294         New file.
11295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11296         New file.
11297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11298         New file.
11299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11300         New file.
11301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11302         New file.
11303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11304         New file.
11305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11306         New file.
11307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11308         New file.
11309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11310         New file.
11311
11312 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11313
11314         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11315         * shlib-versions: Likewise.
11316
11317 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11318             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11319
11320         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11321         (abilist-pattern): New variable, set to %-le.abilist.
11322
11323         * Makerules (abilist-pattern): New variable.
11324         (vpath): Use $(abilist-pattern) in place of %.abilist.
11325         (check-abi-% pattern rule): Likewise.
11326         (check-abi, update-abi): Likewise.
11327
11328 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11329
11330         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11331
11332 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11333
11334         * manual/startup.texi: Add next, previous, and top entries for
11335         the `Program Arguments' and `Environment Variables' nodes.
11336
11337 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11338
11339         * manual/macros.texi: Add comments before MTASC-safety macros.
11340
11341         * manual/users.texi: Document MTASC-safety properties.
11342
11343         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11344         (pthread_getspecific, pthread_setspecific): Format with
11345         @deftypefun, and add @safety note.
11346         * manual/signal.texi: Move comments that analyze the above
11347         functions to their home place.
11348
11349 2014-02-03  Allan McRae  <allan@archlinux.org>
11350
11351         * po/sl.po: Update Slovenian translation from translation project.
11352
11353 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11354
11355         * manual/time.texi (timegm): Add missing blank after @c.
11356         Reported by Joseph Myers <joseph@codesourcery.com>.
11357
11358 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11359
11360         * manual/check-safety.sh: New.
11361         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11362
11363         * manual/terminal.texi: Document MTASC-safety properties.
11364
11365         * manual/filesys.texi: Document MTASC-safety properties.
11366
11367         * manual/errno.texi: Document MTASC-safety properties.
11368
11369         * manual/intro.texi: Document safety identifiers and
11370         conditionals.
11371
11372         * manual/string.texi (wcstok): Fix prototype.
11373         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11374
11375         * manual/time.texi: Document MTASC-safety properties.
11376
11377         * manual/string.texi: Document MTASC-safety properties.
11378
11379         * manual/threads.texi: Document MTASC-safety properties.
11380
11381         * manual/stdio.texi: Document MTASC-safety properties.
11382
11383         * manual/syslog.texi: Document MTASC-safety properties.
11384
11385         * manual/sysinfo.texi: Document MTASC-safety properties.
11386
11387         * manual/startup.texi: Document MTASC-safety properties.
11388
11389         * manual/socket.texi: Document MTASC-safety properties.
11390
11391         * manual/signal.texi: Document MTASC-safety properties.
11392
11393 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11394
11395         * manual/setjmp.texi: Document MTASC-safety properties.
11396
11397         * manual/search.texi: Document MTASC-safety properties.
11398
11399         * manual/resource.texi: Document MTASC-safety properties.
11400
11401         * manual/process.texi: Document MTASC-safety properties.
11402
11403         * manual/platform.texi: Document MTASC-safety properties.
11404
11405         * manual/pipe.texi: Document MTASC-safety properties.
11406
11407         * manual/pattern.texi: Document MTASC-safety properties.
11408
11409         * manual/message.texi: Document MTASC-safety properties.
11410
11411         [BZ #12751]
11412         * manual/memory.texi: Document MTASC-safety properties.
11413
11414         * manual/math.texi: Document MTASC-safety properties.
11415
11416         * manual/locale.texi: Document MTASC-safety properties.
11417
11418         * manual/llio.texi: Document MTASC-safety properties.
11419
11420         * manual/libdl.texi: New.
11421
11422         * manual/lang.texi: Document MTASC-safety properties.
11423
11424         * manual/job.texi: Document MTASC-safety properties.
11425
11426         * manual/getopt.texi: Document MTASC-safety properties.
11427
11428         * manual/ctype.texi: Document MTASC-safety properties.
11429
11430 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11431
11432         [BZ #16046]
11433         * csu/libc-tls.c (static_map): Remove variable.
11434         (__libc_setup_tls): Use main executable's link map for TLS data.
11435         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11436         casing for LM_ID_BASE and GL(dl_nns).
11437         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11438         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11439         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11440         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11441         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11442         member.
11443         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11444         l_phnum members.
11445
11446 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11447
11448         * manual/debug.texi: Document MTASC-safety properties.
11449
11450 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11451
11452         [BZ #16510]
11453         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11454         of __x86_64__ when disabling x87 inline functions.
11455
11456 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11457
11458         * manual/charset.texi: Document MTASC-safety properties.
11459
11460         * manual/crypt.texi: Document MTASC-safety properties.
11461
11462         * manual/conf.texi: Document MTASC-safety properties.
11463
11464         * manual/arith.texi: Document MTASC-safety properties.
11465
11466         * manual/argp.texi: Document MTASC-safety properties.
11467
11468         * manual/macros.texi: Introduce macros to document multi
11469         thread, asynchronous signal and asynchronous cancellation
11470         safety properties.
11471         * manual/intro.texi: Introduce the properties themselves.
11472
11473 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11474
11475         * sysdeps/sh/sh4/Makefile: New file.
11476
11477 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11478
11479         * math/gen-libm-test.pl ($srcdir): New variable.
11480         ($auto_input): Use it.
11481
11482 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11483
11484         [BZ #16506]
11485         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11486         access beyond array bounds when parsing netgroups file.
11487
11488         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11489         the old buffer before realloc.
11490
11491 2014-01-27  Allan McRae  <allan@archlinux.org>
11492
11493         * po/fr.po: Update French translation from translation project.
11494
11495 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11496
11497         * sysdeps/sh/libm-test-ulps: Regenerate.
11498
11499 2014-01-24  David S. Miller  <davem@davemloft.net>
11500
11501         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11502
11503 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11504
11505         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11506         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11507
11508 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11509
11510         [BZ #16474]
11511         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11512         string pointers after reallocation.
11513
11514 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11515
11516         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11517         __SH4A__ instead of __SH_FPU_ANY__.
11518
11519 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11520
11521         * sysdeps/sh/fpu_control.h: New file.
11522         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11523         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11524         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11525         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11526         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11527         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11528         * sysdeps/sh/sys/ucontext.h: Remove.
11529         * sysdeps/sh/sys: Remove directory.
11530
11531 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11532
11533         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11534         s390/sys/ucontext.h.
11535         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11536         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11537
11538 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11539
11540         [BZ #15605]
11541         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11542
11543 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11544
11545         [BZ#16431]
11546         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11547         Adjust the vDSO correctly for internal calls.
11548         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11549
11550 2014-01-20  Allan McRae  <allan@archlinux.org>
11551
11552         * po/ca.po: Update Catalan translation from translation project.
11553
11554 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11555
11556         * sysdeps/s390/sotruss-lib.c: New file.
11557
11558 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11559
11560         [BZ#16430]
11561         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11562         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11563         local calls issues by not having a PLT stub required for IFUNC calls.
11564         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11565
11566 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11567
11568         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11569         * math/test-fpucw-static.c: Likewise.
11570
11571 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11572
11573         [BZ #16453]
11574         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11575
11576 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11577
11578         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11579         implementation for powerpc.
11580
11581 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11582
11583         [BZ #14782]
11584         * sysdeps/posix/system.c (__libc_system): Do not enable
11585         asynchronous cancellation.
11586
11587 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11588
11589         [BZ #16427]
11590         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11591         handling only for numbers special also in the IEEE case.
11592
11593 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11594
11595         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11596
11597 2014-01-11  Allan McRae  <allan@archlinux.org>
11598
11599         * po/bg.po: Update Bulgarian translation from translation project.
11600
11601         * po/de.po: Update German translation from translation project.
11602
11603 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11604
11605         * sysdeps/generic/gcc-compat.h: New file.
11606
11607 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11608
11609         * benchtests/asin-inputs: Correct slow inputs.
11610         * benchtests/acos-inputs: Likewise.
11611
11612 2014-01-10  Allan McRae  <allan@archlinux.org>
11613
11614         * po:sv.po: Update Swedish translation from translation project.
11615
11616         * po/vi.po: Update Vietnamese translation from translation project.
11617
11618         * po/eo.po: Update Esperanto translation from translation project.
11619
11620         * po/cs.po: Update Czech translation from translation project.
11621
11622         * po/nl.po: Update Dutch translation from translation project.
11623
11624         * po/pl.po: Update Polish translation from translation project.
11625
11626         * po/ru.po: Update Russian translation from translation project.
11627
11628         * po/uk.po: Update Ukrainian translation from translation project.
11629
11630 2014-01-08  Brooks Moses  <bmoses@google.com>
11631
11632         * elf/dl-load.c: Fix comment typo.
11633
11634 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11635
11636         * po/header.pot: Rename to...
11637         * po/pot.header: ... this.
11638         * po/Makefile: Use pot.header.
11639
11640 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11641             Maxim Kuvyrkov  <maxim@kugelworks.com>
11642
11643         [BZ #16394]
11644         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11645         SRC and DEST against LEN.
11646
11647 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11648
11649         [BZ #16414]
11650         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11651         implementation.
11652         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11653
11654 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11655
11656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11657
11658 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11659
11660         [BZ #16408]
11661         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11662         for large positive arguments.
11663
11664 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11665
11666         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11667
11668         * math/auto-libm-test-in: Mark various tests with
11669         xfail-rounding:ldbl-128ibm.
11670         * math/auto-libm-test-out: Regenerated.
11671
11672         [BZ #16407]
11673         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11674         Increase overflow threshold.
11675
11676 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11677
11678         [BZ #14286]
11679         * stdio-common/vfprintf.c: Check for integer overflow.
11680
11681 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11682
11683         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11684         the first argument and return value of __tls_get_addr_internal.
11685
11686 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11687
11688         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11689         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11690
11691 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11692
11693         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11694         * sysdeps/s390/rtld-global-offsets.sym: New file.
11695         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11696         GLIBC_2.19 symbol.
11697         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11698         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11699         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11700         ... this.
11701         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11702         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11703         ... this.
11704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11705         Regenerate.
11706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11707         Regenerate.
11708         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11709         halfs of GPRs for high_gprs contexts.
11710         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11711         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11712         field.
11713         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11714         uc_flags field.
11715         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11716         64 bit versions:
11717         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11718         for high GPRs (uc_high_gprs) and for future extensions
11719         (__reserved).
11720         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11721         for future extensions (__reserved).
11722         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11723         64 bit versions:
11724         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11725         SC_HIGHGPRS offset definition.
11726         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11727         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11728
11729         * Versions.def: Add GLIBC_2.19 for libpthread.
11730         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11731         siglongjmp for libpthread with GLIBC_2.19 symver.
11732         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11733         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11734         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11735         * sysdeps/s390/__longjmp.c: New file.
11736         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11737         * sysdeps/s390/longjmp.c: New file.
11738         * sysdeps/s390/setjmp.S: New file.
11739         * sysdeps/s390/sigjmp.S: New file.
11740         * sysdeps/s390/v1-longjmp.c: New file.
11741         * sysdeps/s390/v1-setjmp.h: New file.
11742         * sysdeps/s390/v1-sigjmp.c: New file.
11743         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11744         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11745         GLIBC_2.19 version.
11746         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11747         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11748         versioned symbols for ____longjmp_chk.
11749         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11750         Likewise.
11751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11752         Regenerate.
11753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11754         Regenerate.
11755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11756         Regenerate.
11757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11758         Regenerate.
11759         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11760         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11761         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11762         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11763         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11764         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11765         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11766         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11767         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11768         * sysdeps/s390/rtld-__longjmp.c: New file.
11769         * sysdeps/s390/rtld-setjmp.S: New file.
11770
11771 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11772
11773         [BZ #16400]
11774         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11775         Return -__logl (x) for small positive arguments without evaluating
11776         a polynomial.
11777
11778 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11779
11780         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11781         Rename to ...
11782         (__ptrace_peeksiginfo_args): ... this.
11783         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11784         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11785         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11786
11787 2014-01-06  Allan McRae  <allan@archlinux.org>
11788
11789         * inet/netinet/in.h: Fix typo in comment.
11790
11791 2014-01-05  Andreas Jaeger  <aj@suse.de>
11792
11793         * sysdeps/i386/fpu/libm-test-ulps: Update.
11794
11795 2014-01-05  Allan McRae  <allan@archlinux.org>
11796
11797         * po/libc.pot: Regenerated.
11798
11799         * malloc/memusagestat.c: Fix gettext call formatting.
11800
11801 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11802
11803         * nscd/nscd.c: Improve usage() output.
11804
11805 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11806
11807         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11808         * sysdeps/unix/sysv/linux/configure: Regenerated.
11809         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11810         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11811
11812 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11813
11814         [BZ #16390]
11815         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11816         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11817
11818 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11819
11820         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11821         extra tokens at end of #undef directive.
11822         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11823         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11824         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11825
11826 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11827
11828         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11829
11830         * math/auto-libm-test-in: Mark various tests with
11831         xfail-rounding:ldbl-128ibm.
11832         * math/auto-libm-test-out: Regenerated.
11833
11834 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11835
11836         [BZ #16386]
11837         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11838         numbers with subnormal high part when calculating exponent.
11839
11840         [BZ #16385]
11841         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11842         fabs.
11843
11844         [BZ #16384]
11845         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11846         M_LN2l.
11847         (__ieee754_acoshl): Use __log1pl not __log1p.
11848
11849 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11850
11851         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11852         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11853         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11854         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11855         (reused_arena, arena_get2): Convert to GNU style.
11856         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11857         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11858         (memalign_check, __malloc_set_state): Likewise.
11859         * malloc/mallocbug.c (main): Likewise.
11860         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11861         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11862         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11863         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11864         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11865         (__posix_memalign, malloc_info): Likewise.
11866         * malloc/malloc.h: Likewise.
11867         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11868         (mallochook, memalignhook, reallochook, mabort): Likewise.
11869         * malloc/mcheck.h: Likewise.
11870         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11871         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11872         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11873         * malloc/morecore.c (__default_morecore): Likewise.
11874         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11875         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11876         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11877         (print_and_abort): Likewise.
11878         * malloc/obstack.h: Likewise.
11879         * malloc/set-freeres.c (__libc_freeres): Likewise.
11880         * malloc/tst-mallocstate.c (main): Likewise.
11881         * malloc/tst-mtrace.c (main): Likewise.
11882         * malloc/tst-realloc.c (do_test): Likewise.
11883
11884 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11885
11886         [BZ #16366]
11887         * nscd/netgroupcache.c (do_notfound): New function.
11888         (addgetnetgrentX): Use it.
11889
11890         [BZ # 16365]
11891         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11892         NSS_STATUS_NOTFOUND.
11893
11894 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11895
11896         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11898
11899 2014-01-01  Allan McRae  <allan@archlinux.org>
11900
11901         * scripts/update-copyrights: Update configure input file suffix.
11902
11903         * NEWS: Update copyright year.
11904         * catgets/gencat.c: Likewise.
11905         * csu/version.c: Likewise.
11906         * debug/catchsegv.sh: Likewise.
11907         * debug/pcprofiledump.c: Likewise.
11908         * debug/xtrace.sh: Likewise.
11909         * elf/ldconfig.c: Likewise.
11910         * elf/ldd.bash.in: Likewise.
11911         * elf/pldd.c: Likewise.
11912         * elf/sotruss.ksh: Likewise.
11913         * elf/sprof.c: Likewise.
11914         * iconv/iconv_prog.c: Likewise.
11915         * iconv/iconvconfig.c: Likewise.
11916         * locale/programs/locale.c: Likewise.
11917         * locale/programs/localedef.c: Likewise.
11918         * login/programs/pt_chown.c: Likewise.
11919         * malloc/memusage.sh: Likewise.
11920         * malloc/memusagestat.c: Likewise.
11921         * malloc/mtrace.pl: Likewise.
11922         * manual/libc.texinfo: Likewise.
11923         * nscd/nscd.c: Likewise.
11924         * nss/getent.c: Likewise.
11925         * nss/makedb.c: Likewise.
11926         * posix/getconf.c: Likewise.
11927         * scripts/test-installation.pl: Likewise.
11928
11929         * All files with FSF copyright notices: Update copyright dates
11930         using scripts/update-copyrights.
11931         * intl/plural.c: Regenerated.
11932         * locale/programs/charmap-kw.h: Likewise.
11933         * locale/programs/locfile-kw.h: Likewise.
11934
11935 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11936
11937         * sysdeps/unix/sysv/linux/configure: Regenerated.
11938         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11939         the linux/fanotify.h header.
11940         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11941         HAVE_LINUX_FANOTIFY_H is defined.
11942
11943 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11944
11945         * benchtests/cos-inputs: New inputs.
11946         * benchtests/sin-inputs: Likewise.
11947
11948         * benchtests/atan-inputs: New inputs. Fix name of multiple
11949         precision fallback inputs.
11950
11951         * benchtests/atanh-inputs: New inputs.
11952         * benchtests/tanh-inputs: Likewise.
11953
11954         * benchtests/acosh-inputs: New inputs.
11955         * benchtests/asinh-inputs: Likewise.
11956
11957         * benchtests/cosh-inputs: New inputs.
11958         * benchtests/sinh-inputs: Likewise.
11959
11960         * benchtests/acos-inputs: Add more inputs.
11961         * benchtests/asin-inputs: Likewise.
11962
11963 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11964
11965         [BZ #16375]
11966         * manual/arith.texi: Fix spelling.
11967         * manual/charset.texi: Likewise.
11968         * manual/errno.texi: Likewise.
11969         * manual/filesys.texi: Likewise.
11970         * manual/lang.texi: Likewise.
11971         * manual/llio.texi: Likewise.
11972         * manual/locale.texi: Likewise.
11973         * manual/message.texi: Likewise.
11974         * manual/resource.texi: Likewise.
11975         * manual/search.texi: Likewise.
11976         * manual/setjmp.texi: Likewise.
11977         * manual/stdio.texi: Likewise.
11978         * manual/string.texi: Likewise.
11979         * manual/sysinfo.texi: Likewise.
11980         * manual/time.texi: Likewise.
11981
11982 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11983
11984         * po/sl.po: New file.
11985
11986 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11987
11988         * .gitignore: Add core/.gdbinit/.gdb_history.
11989
11990 2013-12-27  Allan McRae  <allan@archlinux.org>
11991
11992         [BZ #16369]
11993         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11994         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11995
11996 2013-12-24  Brooks Moses  <bmoses@google.com>
11997
11998         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11999         all compilers that claim C++98 compliance, not just GCC.
12000         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12001         Likewise.
12002
12003 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12004
12005         * NEWS: Restore accidentally deleted bug-fix entries.
12006
12007 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12008             Ondřej Bílka  <neleai@seznam.cz>
12009
12010         [BZ #15073]
12011         * malloc/malloc.c (_int_free): Perform sanity check only if we
12012         have_lock.
12013
12014 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12015
12016         [BZ #12986]
12017         * manual/stdio.texi (String Input Conversions): Clarify that character
12018         classes are not supported.
12019
12020 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12021
12022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12023
12024 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12025
12026         [BZ #16337]
12027         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12028         Calculate results for small negative arguments directly rather
12029         than using reflection formula with special underflow handling.
12030
12031         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12032         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12033         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12034         (fchflags): Likewise.
12035         (revoke): Likewise.
12036         (setlogin): Likewise.
12037         (sigaltstack): Likewise.
12038         (wait4): Likewise.
12039         (sigblock): Remove.
12040         (sigsetmask): Likewise.
12041         (wait3): Likewise.
12042         (waitpid): Likewise.
12043         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12044         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12045         file.
12046         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12047         * sysdeps/unix/bsd/Makefile: ... here.
12048         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12049         * sysdeps/unix/bsd/Versions: ... here.
12050         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12051         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12052         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12053         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12054         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12055         * sysdeps/unix/bsd/sigblock.c: ... here.
12056         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12057         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12058         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12059         * sysdeps/unix/bsd/sigvec.c: ... here.
12060         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12061         * sysdeps/unix/bsd/tcdrain.c: ... here.
12062         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12063         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12064         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12065         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12066         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12067         * sysdeps/unix/bsd/wait.c: ... here.
12068         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12069         * sysdeps/unix/bsd/wait3.c: ... here.
12070         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12071         * sysdeps/unix/bsd/waitpid.c: ... here.
12072
12073 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12074
12075         [BZ #16356]
12076         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12077         round-to-nearest for [!USE_AS_EXPM1L].
12078         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12079         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12080         more tests of exp and exp10.  Expect some exp10 tests to miss
12081         exceptions or fail in directed rounding modes.
12082         * math/auto-libm-test-out: Regenerated.
12083         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12084         (exp10_test_tonearest): New function.
12085         (exp10_towardzero_test_data): New array.
12086         (exp10_test_towardzero): New function.
12087         (exp10_downward_test_data): New array.
12088         (exp10_test_downward): New function.
12089         (exp10_upward_test_data): New array.
12090         (exp10_test_upward): New function.
12091         (main): Call the new functions.
12092         * sysdeps/i386/fpu/libm-test-ulps: Update.
12093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12094
12095 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12096
12097         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12098         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12099         * math/auto-libm-test-out: Regenerated.
12100         * math/libm-test.inc (acosh_test_data): Add more tests.
12101         (atanh_test_data): Likewise.
12102         (ceil_test_data): Likewise.
12103         (copysign_test_data): Likewise.
12104         * sysdeps/i386/fpu/libm-test-ulps: Update.
12105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12106
12107         * timezone/checktab.awk: Update from tzcode 2013i.
12108         * timezone/private.h: Likewise.
12109         * timezone/scheck.c: Likewise.
12110         * timezone/tzfile.h: Likewise.
12111         * timezone/tzselect.ksh: Likewise.
12112         * timezone/zdump.c: Likewise.
12113         * timezone/zic.c: Likewise.
12114
12115         * math/auto-libm-test-in: Add tests of cpow.
12116         * math/auto-libm-test-out: Regenerated.
12117         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12118         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12119         mpc_cc_c.
12120         (func_calc_desc): Add mpc_cc_c union field.
12121         (test_functions): Add cpow.
12122         (special_fill_2pi): New function.
12123         (special_real_inputs): Add 2pi.
12124         (calc_generic_results): Handle mpc_cc_c.
12125         * sysdeps/i386/fpu/libm-test-ulps: Update.
12126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12127
12128         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12129         csqrt, ctan and ctanh.
12130         * math/auto-libm-test-out: Regenerated.
12131         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12132         (TEST_COND_x86): Likewise.
12133         (ccos_test_data): Use AUTO_TESTS_c_c.
12134         (ccosh_test_data): Likewise.
12135         (cexp_test_data): Likewise.
12136         (clog_test_data): Likewise.
12137         (csqrt_test_data): Likewise.
12138         (ctan_test_data): Likewise.
12139         (ctan_tonearest_test_data): Likewise.
12140         (ctan_towardzero_test_data): Likewise.
12141         (ctan_downward_test_data): Likewise.
12142         (ctan_upward_test_data): Likewise.
12143         (ctanh_test_data): Likewise.
12144         (ctanh_tonearest_test_data): Likewise.
12145         (ctanh_towardzero_test_data): Likewise.
12146         (ctanh_downward_test_data): Likewise.
12147         (ctanh_upward_test_data): Likewise.
12148         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12149         mpc_c_c.
12150         (func_calc_desc): Add mpc_c_c union field.
12151         (FUNC_mpc_c_c): New macro.
12152         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12153         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12154         ctanh.
12155         (special_fill_min_subnorm_p120): New function.
12156         (special_real_inputs): Add min_subnorm_p120.
12157         (calc_generic_results): Handle mpc_c_c.
12158         * sysdeps/i386/fpu/libm-test-ulps: Update.
12159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12160
12161 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12162
12163         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12164         (do_sin_slow): New functions.
12165         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12166         (cslow2, csloww1, csloww2): Use the new functions.
12167
12168         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12169         Use M to change sign of result instead of X.  Assume X is
12170         positive.
12171         (csloww1): Likewise.
12172         (__sin): Adjust.
12173         (__cos): Adjust.
12174
12175         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12176         arguments A and DA.
12177         (__sin): Adjust.
12178         (__cos): Likewise.
12179
12180         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12181         (__cos): Likewise.
12182         (sloww1): Don't adjust sign of DX.
12183         (csloww1): Likewise.
12184         (sloww2): Use X directly and don't adjust sign of DX.
12185         (csloww2): Likewise.
12186
12187 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12188
12189         * math/auto-libm-test-in: Add tests of cabs and carg.
12190         * math/auto-libm-test-out: Regenerated.
12191         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12192         (carg_test_data): Likewise.
12193         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12194         mpc_c_f.
12195         (func_calc_desc): Add mpc_c_f union field.
12196         (test_functions): Add cabs and carg.
12197         (calc_generic_results): Handle mpc_c_f.
12198
12199         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12200         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12201         as a macro and a compat symbol.
12202         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12203         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12204         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12205         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12206         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12207         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12208         not use .hidden.
12209         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12210         Likewise.
12211         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12212         Likewise.
12213         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12214         Likewise.
12215         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12216         Likewise.
12217         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12218         Likewise.
12219         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12220         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12221         from GLIBC_2.3.2.
12222
12223 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12224
12225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12226
12227 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12228
12229         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12230         trailing whitespace removed.
12231         * scripts/config.guess: Update to version 2013-11-29.
12232         * scripts/config.sub: Update to version 2013-10-01.
12233
12234         * math/auto-libm-test-in: Add tests of sincos.
12235         * math/auto-libm-test-out: Regenerated.
12236         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12238         mpfr_f_11.
12239         (func_calc_desc): Add mpfr_f_11 union field.
12240         (test_functions): Add sincos.
12241         (calc_generic_results): Handle mpfr_f_11.
12242         * sysdeps/i386/fpu/libm-test-ulps: Update.
12243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12244
12245 2013-12-19  Andreas Schwab  <schwab@suse.de>
12246
12247         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12248         CALL_MCOUNT.
12249         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12250         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12251         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12252
12253 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12254
12255         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12256         * sysdeps/i386/fpu/libm-test-ulps: Update.
12257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12258
12259         [BZ #16293]
12260         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12261         round-to-nearest mode when using frndint.
12262         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12263         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12264         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12265         Likewise.
12266         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12267         sinh test to fail.
12268         * math/auto-libm-test-out: Regenerated.
12269         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12270         (TEST_COND_x86): Likewise.
12271         (expm1_tonearest_test_data): New array.
12272         (expm1_test_tonearest): New function.
12273         (expm1_towardzero_test_data): New array.
12274         (expm1_test_towardzero): New function.
12275         (expm1_downward_test_data): New array.
12276         (expm1_test_downward): New function.
12277         (expm1_upward_test_data): New array.
12278         (expm1_test_upward): New function.
12279         (main): Run the new test functions.
12280         * sysdeps/i386/fpu/libm-test-ulps: Update.
12281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12282
12283         * include/features.h: Update comment documenting feature test
12284         macros.  Mention _DEFAULT_SOURCE in comment.
12285         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12286         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12287         _BSD_SOURCE and _SVID_SOURCE.
12288         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12289         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12290         !_SVID_SOURCE]: Likewise.
12291         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12292         (__USE_POSIX_IMPLICITLY): Define.
12293         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12294         (_POSIX_SOURCE): Undefine and redefine.
12295         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12296         (_POSIX_C_SOURCE): Likewise.
12297         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12298         (Feature Test Macros): Update documentation of default features.
12299
12300 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12301
12302         * benchtests/Makefile: Add bench-strtok.
12303         * benchtests/bench-strtok.c: New file: strtok benchtest.
12304
12305 2013-12-19  Allan McRae  <allan@archlinux.org>
12306
12307         * manual/install.texi: Suppress menu for plain text output.
12308         * INSTALL: Regenerated.
12309
12310 2013-12-18  Brooks Moses  <bmoses@google.com>
12311
12312         [BZ #15846]
12313         * misc/getauxval.c: Include errno.h.
12314         (__getauxval): Set errno to ENOENT if the requested type is not
12315         found.
12316         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12317         don't declare with __attribute_const__.
12318         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12319         * manual/startup.texi: Document that getauxval sets errno.
12320
12321 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12322
12323         * math/auto-libm-test-in: Add tests of jn and yn.
12324         * math/auto-libm-test-out: Regenerated.
12325         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12326         (yn_test_data): Likewise.
12327         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12328         mpfr_if_f.
12329         (func_calc_desc): Add mpfr_if_f union field.
12330         (FUNC_mpfr_if_f): New macro.
12331         (test_functions): Add jn and yn.
12332         (calc_generic_results): Assert type of second input for
12333         mpfr_ff_f.  Handle mpfr_if_f.
12334         (output_for_one_input_case): Disable all checking for arguments
12335         fitting floating-point types in case of an integer argument.
12336         * sysdeps/i386/fpu/libm-test-ulps: Update.
12337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12338
12339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12340         Don't expect fegetround reference in libm.so.
12341
12342 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12343
12344         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12345         $(config-cflags-nofma).
12346
12347 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12348
12349         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12350         * math/auto-libm-test-out: Regenerated.
12351
12352         [BZ #16338]
12353         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12354         to determine exponent and adjust argument to have exponent of -1.
12355         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12356         log2.
12357         * math/auto-libm-test-out: Regenerated.
12358         * sysdeps/i386/fpu/libm-test-ulps: Update.
12359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12360
12361 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12362
12363         * manual/probes.texi: Remove cases when per-thread arenas are
12364         disabled.
12365
12366 2013-12-18  Andreas Schwab  <schwab@suse.de>
12367
12368         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12369         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12370         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12371         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12372         * sysdeps/i386/i686/multiarch/Makefile: Update.
12373         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12374
12375 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12376
12377         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12378         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12379
12380 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12381
12382         [BZ #15968]
12383         Support TZ transition times < 00:00:00.
12384         This is needed for version-3 tz-format files; it supports time
12385         stamps past 2037 for America/Godthab (the only entry in the tz
12386         database for which this change is relevant).
12387         * manual/time.texi (TZ Variable): Document transition times
12388         from -167:59:59 through -00:00:01.
12389         * time/tzset.c (tz_rule): Time of day is now signed.
12390         (__tzset_parse_tz): Parse negative time of day.
12391
12392         Document TZ transition times >= 25:00:00.
12393         * manual/time.texi (TZ Variable): Document transition times from
12394         25:00:00 through 167:59:59.  These are already supported, and this
12395         support will help with version-3 tz-format files.
12396
12397         * manual/time.texi (TZ Variable): Modernize North America example
12398         to reflect current (i.e., 2007-and-later) daylight saving rules.
12399
12400         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12401
12402 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12403
12404         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12405         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12406         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12407         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12408         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12409         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12410         * sysdeps/unix/bsd/clock.c: Likewise.
12411         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12412         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12413         * sysdeps/unix/bsd/init-posix.c: Likewise.
12414         * sysdeps/unix/bsd/poll.c: Likewise.
12415         * sysdeps/unix/bsd/ptsname.c: Likewise.
12416         * sysdeps/unix/bsd/seekdir.c: Likewise.
12417         * sysdeps/unix/bsd/setegid.c: Likewise.
12418         * sysdeps/unix/bsd/seteuid.c: Likewise.
12419         * sysdeps/unix/bsd/setgid.c: Likewise.
12420         * sysdeps/unix/bsd/setrgid.c: Likewise.
12421         * sysdeps/unix/bsd/setruid.c: Likewise.
12422         * sysdeps/unix/bsd/setsid.c: Likewise.
12423         * sysdeps/unix/bsd/setuid.c: Likewise.
12424         * sysdeps/unix/bsd/sigaction.c: Likewise.
12425         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12426         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12427         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12428         * sysdeps/unix/bsd/telldir.c: Likewise.
12429         * sysdeps/unix/bsd/times.c: Likewise.
12430         * sysdeps/unix/bsd/usleep.c: Likewise.
12431
12432         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12433         ($(objpfx)libbsd-compat.a): Remove rule.
12434
12435         * include/features.h (__FAVOR_BSD): Do not define.
12436         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12437         features conflicting with POSIX.
12438         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12439         (_BSD_SOURCE): Remove description of not being a subset of other
12440         feature test macros.
12441         * manual/job.texi (getpgrp): Do not document BSD version.
12442         (getpgid): Do not document by reference to BSD getpgrp.
12443         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12444         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12445         * signal/signal.h [__FAVOR_BSD]: Likewise.
12446         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12447         instead of making contents conditional on [__FAVOR_BSD].
12448         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12449
12450 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12451
12452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12453
12454 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12455
12456         [BZ #16314]
12457         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12458         values below 2**-450, not 2**-500.
12459         * math/auto-libm-test-in: Don't allow spurious underflow from
12460         hypot.
12461         * math/auto-libm-test-out: Regenerated.
12462
12463         [BZ #16316]
12464         [BZ #16330]
12465         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12466         values of ha and hb and sort them after adjusting subnormal
12467         arguments.
12468         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12469         Likewise.
12470         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12471         values of ea and eb and sort them after adjusting subnormal
12472         arguments.
12473         * math/auto-libm-test-in: Do not expect some hypot tests of
12474         subnormals to fail.  Add more hypot tests.
12475         * math/auto-libm-test-out: Regenerated.
12476
12477 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12478
12479         [BZ #13304]
12480         * sysdeps/sh/s_fma.c: New file.
12481         * sysdeps/sh/s_fmaf.c: New file.
12482         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12483         version.
12484         * sysdeps/sh/Implies: Add sh/soft-fp.
12485
12486 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12487
12488         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12489         level of indirection to members `objname', `errstring', `malloced'.
12490         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12491         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12492         it as the __longjmp argument (just pass 1 instead).
12493         (_dl_catch_error): Initialize C with argument pointers and address of
12494         volatile local ERRCODE rather than copying values out of C at return.
12495
12496 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12497
12498         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12499         * math/auto-libm-test-out: Regenerated.
12500         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12501         (hypot_test_data): Likewise.
12502         (pow_test_data): Likewise.
12503         (pow_tonearest_test_data): Likewise.
12504         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12505         mpfr_ff_f.
12506         (func_calc_desc): Add mpfr_ff_f union field.
12507         (FUNC_mpfr_ff_f): New macro.
12508         (test_functions): Add atan2, hypot and pow.
12509         (special_fill_min): New function.
12510         (special_fill_minus_min): Likewise.
12511         (special_fill_min_subnorm): Likewise.
12512         (special_fill_minus_min_subnorm): Likewise.
12513         (special_real_inputs): Add min, -min, min_subnorm and
12514         -min_subnorm.
12515         (calc_generic_results): Handle mpfr_ff_f.
12516         * sysdeps/i386/fpu/libm-test-ulps: Update.
12517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12518
12519 2013-12-16  Will Newton  <will.newton@linaro.org>
12520
12521         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12522         (Aligned Memory Blocks): Add documentation for aligned_alloc
12523         and suggest it as an alternative to posix_memalign.
12524         (Hooks for Malloc): Document __memalign_hook is also called
12525         for aligned_alloc.  (Summary of Malloc): Add summary for
12526         aligned alloc.  Document __memalign_hook is also called
12527         for aligned_alloc.
12528
12529 2013-12-16  Will Newton  <will.newton@linaro.org>
12530
12531         * manual/memory.texi (Malloc Examples): Clarify default
12532         alignment documentation.  Suggest posix_memalign rather
12533         than memalign or valloc.
12534         (Aligned Memory Blocks): Remove suggestion to use memalign
12535         or valloc.  Remove obsolete comment about BSD.
12536         Document memalign errno values and mark the function obsolete.
12537         Document posix_memalign returned error codes.  Mark valloc
12538         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12539         called for posix_memalign and valloc.
12540         (Summary of Malloc): Add posix_memalign to function summary.
12541         __memalign_hook is also called for posix_memalign and valloc.
12542
12543 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12544
12545         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12546         TAYLOR_SIN.
12547         (__sin): Adjust.
12548         (__cos): Likewise.
12549         (sloww): Use mynumber union.  Expand ternary operator into
12550         if-else statements.
12551         (cslow): use mynumber union.
12552
12553 2013-12-16  Allan McRae  <allan@archlinux.org>
12554
12555         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12556         * configure: Regenerated.
12557
12558         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12559
12560         [BZ #14120]
12561         * configure.ac: Added --enable-maintainer-mode. Check for
12562         autoconf when enabled.
12563         * configure: Regenerated.
12564
12565         * nscd/nscd.service: New file.
12566         * nscd/nscd.tmpfiles: New file.
12567
12568 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12569
12570         [BZ #12100]
12571         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12572         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12573         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12574         (strstr): Add __strstr_sse2_unaligned ifunc.
12575         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12576         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12577         (strcasestr): Remove __strcasestr_sse42 ifunc.
12578         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12581
12582 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12583
12584         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12585         * sysdeps/sh/bits/fenv.h: ... here.
12586         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12587
12588 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12589
12590         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12591
12592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12593         hypotf multiarch implementations.
12594         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12595         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12596         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12597         multiarch hypot for PPC64.
12598         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12599         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12600         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12601         multiarch hypotf for PPC64.
12602
12603         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12604         modff multiarch implementations.
12605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12608         multiarch modf for PPC64.
12609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12612         multiarch modff for PPC64.
12613
12614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12615         and logl multiarch implementations.
12616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12619         multiarch logb for PPC64.
12620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12623         multiarch logb for PPC64.
12624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12627         multiarch logb for PPC64.
12628
12629         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12630         isinff multiarch implementation.
12631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12632         file.
12633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12635         multiarch isinf for PPC64.
12636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12637         file.
12638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12639         multiarch isinff for PPC64.
12640
12641         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12642         finitef multiarch implementation.
12643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12644         file.
12645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12647         multiarch finite for PPC64.
12648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12649         file.
12650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12651         multiarch finitef for PPC64.
12652
12653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12654         lrint multiarch implementation.
12655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12656         file.
12657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12659         multiarch llrint for PPC64.
12660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12661         multiarch lrint for PPC64.
12662
12663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12664         copysignf multiarch implementation.
12665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12666         file.
12667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12668         file.
12669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12670         multiarch copysign for PPC64.
12671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12672         multiarch copysignf for PPC64.
12673
12674         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12675         multiarch implementation.
12676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12677         file.
12678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12679         file.
12680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12681         file.
12682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12683         file.
12684         multiarch llround for PPC64.
12685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12686         multiarch trunc for PPC64.
12687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12688         multiarch truncf for PPC64.
12689
12690         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12691         multiarch implementation.
12692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12693         file.
12694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12695         file.
12696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12697         file.
12698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12699         file.
12700         multiarch llround for PPC64.
12701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12702         multiarch round for PPC64.
12703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12704         multiarch roundf for PPC64.
12705
12706         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12707         multiarch implementation.
12708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12709         file.
12710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12711         file.
12712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12713         file.
12714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12715         file.
12716         multiarch llround for PPC64.
12717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12718         multiarch floor for PPC64.
12719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12720         multiarch floorf for PPC64.
12721
12722         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12723         multiarch implementation.
12724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12725         file.
12726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12727         file.
12728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12729         file.
12730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12731         file.
12732         multiarch llround for PPC64.
12733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12734         multiarch ceil for PPC64.
12735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12736         multiarch ceilf for PPC64.
12737
12738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12739         multiarch implementation.
12740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12741         file.
12742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12743         file.
12744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12745         file.
12746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12747         multiarch llround for PPC64.
12748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12749         multiarch lround for PPC64.
12750
12751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12752         multiarch implementation.
12753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12756         file.
12757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12760         multiarch isnan for PPC64.
12761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12762         multiarch isnanf for PPC64.
12763
12764         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12765         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12766         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12767         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12768         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12770
12771         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12772         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12773         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12774         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12775
12776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12777         multiarch implementations.
12778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12779         (__libc_ifunc_impl_list): Likewise.
12780         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12781         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12782         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12783         multiarch stpcpy for PPC64.
12784
12785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12786         multiarch implementations.
12787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12788         (__libc_ifunc_impl_list): Likewise.
12789         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12790         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12791         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12792         multiarch strcpy for PPC64.
12793
12794         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12795         redefine function name.
12796         (_wordcopy_fwd_dest_aligned): Likewise.
12797         (_wordcopy_bwd_aligned): Likewise.
12798         (_wordcopy_bwd_dest_aligned): Likewise.
12799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12800         multiarch implementations.
12801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12802         (__libc_ifunc_impl_list): Likewise.
12803         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12804         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12805         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12806         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12807         multiarch wcscpy for PPC64.
12808
12809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12810         multiarch implementations.
12811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12812         (__libc_ifunc_impl_list): Likewise.
12813         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12814         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12815         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12816         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12817         multiarch wcscpy for PPC64.
12818
12819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12820         multiarch implementations.
12821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12822         (__libc_ifunc_impl_list): Likewise.
12823         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12824         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12825         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12826         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12827         multiarch wcsrchr for PPC64.
12828
12829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12830         multiarch implementations.
12831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12832         (__libc_ifunc_impl_list): Likewise.
12833         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12834         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12835         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12836         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12837         multiarch wcschr for PPC64.
12838
12839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12840         multiarch implementations.
12841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12842         (__libc_ifunc_impl_list): Likewise.
12843         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12844         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12845         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12846         multiarch strchrnul for PPC64.
12847
12848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12849         implementations.
12850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12851         (__libc_ifunc_impl_list): Likewise.
12852         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12853         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12854         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12855         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12856         strchr for PPC64.
12857
12858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12859         implementations.
12860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12861         (__libc_ifunc_impl_list): Likewise.
12862         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12863         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12864         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12865         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12866         strncmp for PPC64.
12867
12868         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12869         multiarch implementations.
12870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12871         (__libc_ifunc_impl_list): Likewise.
12872         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12873         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12874         strncasecmp for PPC64.
12875         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12876         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12877         multiarch strncasecmp_l for PPC64.
12878
12879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12880         multiarch implementations.
12881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12882         (__libc_ifunc_impl_list): Likewise.
12883         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12884         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12885         multiarch strcasecmp for PPC64.
12886         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12887         file.
12888         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12889         multiarch strcasecmp_l for PPC64.
12890
12891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12892         implementations.
12893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12894         (__libc_ifunc_impl_list): Likewise.
12895         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12896         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12897         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12898         strnlen for PPC64.
12899
12900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12901         implementations.
12902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12903         (__libc_ifunc_impl_list): Likewise.
12904         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12905         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12906         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12907         strlen for PPC64.
12908
12909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12910         implementations.
12911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12912         (__libc_ifunc_impl_list): Likewise.
12913         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12914         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12915         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12916         rawmemrchr for PPC64.
12917
12918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12919         implementation.
12920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12921         (__libc_ifunc_impl_list): Likewise.
12922         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12923         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12924         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12925         memrchr for PPC64.
12926
12927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12928         implementation.
12929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12930         (__libc_ifunc_impl_list): Likewise.
12931         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12932         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12933         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12934         memchr for PPC64.
12935
12936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12937         implementation.
12938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12939         (__libc_ifunc_impl_list): Likewise.
12940         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12941         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12942         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12943         mempcpy for PPC64.
12944
12945         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12946         avoid cretion of __bzero symbol.
12947         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12948         Likewise.
12949         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12950         Likewise.
12951         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12952         Likewise.
12953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12954         multiarch implementations.
12955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12956         (__libc_ifunc_impl_list): Likewise.
12957         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12958         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12959         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12960         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12961         bzero for PPC32.
12962         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12963         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12964         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12965         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12966         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12967         memset for PPC64.
12968         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12969
12970         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12972         implementations.
12973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12974         (__libc_ifunc_impl_list): Likewise.
12975         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12976         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12977         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12978         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12979         memcmp for PPC64.
12980
12981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12982         multiarch for POWER/PPC64.
12983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12984         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12985         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12986         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12987         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12988         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12989         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12990         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12991         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12992         memcpy for PPC64.
12993
12994         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12995         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12996         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12997         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12998         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12999         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13000         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13001         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13002         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13003         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13004         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13005         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13006         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13007         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13008         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13016
13017 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13018
13019         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13020
13021 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13022
13023         * benchtests/Makefile (bench): Add exp2 and log2.
13024         (LDLIBS-bench-exp2): Add -lm.
13025         (LDLIBS-bench-log2): Likewise.
13026         * benchtests/exp2-inputs: New inputs file.
13027         * benchtests/log2-inputs: New inputs file.
13028         * benchtests/log-inputs: Add new inputs.
13029         * benchtests/tan-inputs: Likewise.
13030
13031 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13032
13033         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13034         definition...
13035         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13036         (csloww2): ... from here.
13037
13038         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13039         instead of structures.
13040         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13041         (POLYNOMIAL): Likewise.
13042         (TAYLOR_SLOW): Likewise.
13043         (__sin): Likewise.
13044         (__cos): Likewise.
13045         (slow1): Likewise.
13046         (slow2): Likewise.
13047         (sloww): Likewise.
13048         (sloww1); Likewise.
13049         (sloww2): Likewise.
13050         (bsloww1): Likewise.
13051         (bsloww2): Likewise.
13052         (cslow2): Likewise.
13053         (csloww): Likewise.
13054         (csloww1): Likewise.
13055         (csloww2): Likewise.
13056
13057 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13058
13059         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13060         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13061         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13062         * malloc/hooks.c (realloc_check): Likewise.
13063
13064         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13065         * malloc/arena.c: Remove PER_THREAD conditional.
13066         [!PER_THREAD]: Remove code.
13067         (ptmalloc_unlock_all2): Likewise.
13068         (ptmalloc_init): Likewise.
13069         (_int_new_arena): Likewise.
13070         (arena_get2): Likewise.
13071         * malloc/hooks.c (__malloc_get_state): Likewise.
13072         (__malloc_set_state): Likewise.
13073         * malloc/malloc.c: Likewise.
13074         (struct malloc_state): Likewise.
13075         (struct malloc_par): Likewise.
13076         (__libc_realloc): Likewise.
13077         (__libc_mallopt): Likewise.
13078
13079 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13080
13081         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13082
13083 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13084
13085         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13086         macro to a function.  Check for zero perturb_byte.
13087         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13088
13089         * malloc/malloc.c: (force_reg): Remove.
13090         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13091         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13092         force_reg by atomic_forced_read.
13093         * malloc/arena.c (ptmalloc_init): Likewise.
13094         * malloc/hooks.c (top_check): Likewise.
13095
13096 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13097
13098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13099
13100 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13101
13102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13103
13104 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13105
13106         * math/auto-libm-test-in: Add tests of lgamma.
13107         * math/auto-libm-test-out: Regenerated.
13108         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13109         (M_LOG_2_SQRT_PIl): Likewise.
13110         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13111         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13112         mpfr_f_f1.
13113         (func_calc_desc): Add mpfr_f_f1 union field.
13114         (ARGS1): New macro.
13115         (ARGS2): Likewise.
13116         (ARGS3): Likewise.
13117         (ARGS4): Likewise.
13118         (RET1): Likewise.
13119         (RET2): Likewise.
13120         (CALC): Likewise.
13121         (FUNC): Likewise.
13122         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13123         (test_functions): Add lgamma.
13124         (calc_generic_results): Handle mpfr_f_f1.
13125         * sysdeps/i386/fpu/libm-test-ulps: Update.
13126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13127
13128 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13129
13130         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13131         __mpn_add_n for PowerPC64/POWER7.
13132         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13133         __mpn_sub_n for PowerPC64/POWER7.
13134
13135         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13136         __mpn_addmul_1 for PowerPC64.
13137         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13138         __mpn_submul_1 for PowerPC64.
13139         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13140         for PowerPC64.
13141         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13142         for PowerPC64.
13143
13144 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13145
13146         [BZ #15089]
13147         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13148
13149 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13150
13151         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13152
13153         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13154         add multiarch folders.
13155         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13156         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13157         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13158         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13159         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13160         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13161         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13162         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13163         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13164         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13165         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13172
13173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13174         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13176         New file.
13177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13178         New file.
13179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13180         multiarch __ieee754_hypot for PowerPC32.
13181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13182         New file.
13183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13184         New file.
13185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13186         multiarch __ieee754_hypotf for PowerPC32.
13187
13188         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13189         long_double_symbol only if __logbl is defined.
13190         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13191         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13193         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13195         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13196         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13197         path for implementation.
13198         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13199         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13201         logb, and logbl multiarch implementations for PowerPC32.
13202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13203         file.
13204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13205         file.
13206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13207         multiarch logb for PowerPC32.
13208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13209         file.
13210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13211         file.
13212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13213         multiarch logbf for PowerPC32.
13214         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13216         file.
13217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13218         multiarch logbl implementation for PowerPC32.
13219
13220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13221         and modff multiarch implementations.
13222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13223         New file.
13224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13225         New file.
13226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13227         multiarch modf for PowerPC32.
13228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13229         New file.
13230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13231         New file.
13232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13233         multiarch modff for PowerPC32.
13234
13235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13236         and lrintf multiarch implementations.
13237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13238         New file.
13239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13240         New file.
13241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13242         multiarch lrint for PowerPC32.
13243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13244         file: multiarch lrintf for PowerPC32.
13245
13246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13247         and lroundf multiarch implementations.
13248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13249         New file.
13250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13251         New file.
13252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13253         New file.
13254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13255         multiarch lround for PowerPC32.
13256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13257         file: multiarch lroundf for PowerPC32.
13258
13259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13260         copysign and copysignf multiarch implementations.
13261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13262         New file.
13263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13264         New file.
13265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13266         file: multiarch copysign for PowerPC32.
13267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13268         file: multiarch copysignf for PowerPC32.
13269
13270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13271         and truncf multiarch implementations.
13272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13273         New file.
13274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13275         file.
13276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13277         multiarch trunc for PowerPC32.
13278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13279         New file.
13280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13281         New file.
13282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13283         multiarch truncf for PowerPC32.
13284
13285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13286         and roundf multiarch implementations.
13287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13288         New file.
13289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13290         file.
13291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13292         multiarch round for PowerPC32.
13293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13294         New file.
13295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13296         New file.
13297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13298         multiarch roundf for PowerPC32.
13299
13300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13301         and floorf multiarch implementations.
13302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13303         New file.
13304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13305         file.
13306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13307         multiarch floor for PowerPC32.
13308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13309         New file.
13310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13311         New file.
13312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13313         multiarch floorf for PowerPC32.
13314
13315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13316         and ceilf multiarch implementations.
13317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13318         New file.
13319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13320         file.
13321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13322         multiarch ceil for PowerPC32.
13323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13324         New file.
13325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13326         file.
13327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13328         multiarch ceilf for PowerPC32.
13329
13330         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13331         is defined.
13332         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13333         FINITEF is defined.
13334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13335         and finitef multiarch implementations.
13336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13337         New file.
13338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13339         file.
13340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13341         multiarch finite for PowerPC32.
13342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13343         New file.
13344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13345         file: multiarch finitef for PowerPC32.
13346
13347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13348         and isinff multiarch implementations.
13349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13350         file.
13351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13352         file.
13353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13354         multiarch isinf for PowerPC32.
13355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13356         New file.
13357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13358         multiarch isinff for PowerPC32.
13359
13360         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13361         alias when __isnan is defined.
13362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13363         and isnanf multiarch implementations.
13364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13365         file.
13366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13367         file.
13368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13369         file.
13370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13371         file.
13372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13373         multiarch isnan for PowerPC32.
13374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13375         New file.
13376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13377         New file.
13378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13379         multiarch isnanf for PowerPC32.
13380
13381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13382         and sqrtf multiarch implementations.
13383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13384         file.
13385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13386         file.
13387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13388         multiarch sqrt for PowerPC32.
13389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13390         file.
13391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13392         file.
13393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13394         multiarch sqrtf for PowerPC32.
13395
13396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13397         and llroundf multiarch implementations.
13398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13399         New file.
13400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13401         New file.
13402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13403         New file.
13404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13405         file: multiarch llround for PowerPC32.
13406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13407         file: multiarch llroundf for PowerPC32.
13408
13409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13410         multiarch PowerPC32 fpu implementations.
13411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13412         New file.
13413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13414         New file.
13415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13416         multiarch llrint for PowerPC32.
13417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13418         New file.
13419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13420         New file.
13421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13422         file.
13423
13424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13425
13426         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13427         file.
13428         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13429         file.
13430         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13431         file.
13432         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13433         multiarch wordcopy for PPC32.
13434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13435         wordcopy objects.
13436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13437         (__libc_ifunc_impl_list): Likewise.
13438         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13439         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13440         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13441         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13442         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13443         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13444
13445         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13447         file.
13448         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13449         file.
13450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13451         file.
13452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13453         multiarch wcscpy for PPC32.
13454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13455         multiarch objects.
13456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13457         (__libc_ifunc_impl_list): Likewise.
13458         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13459         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13460         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13461         sysdeps/powerpc/power6/wcscpy.c.
13462
13463         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13465         file.
13466         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13467         file.
13468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13469         file.
13470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13471         multiarch wcsrchr for PPC32.
13472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13473         multiarch objects.
13474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13475         (__libc_ifunc_impl_list): Likewise.
13476         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13477         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13478         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13479         sysdeps/powerpc/power6/wcsrchr.c.
13480
13481         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13482         file.
13483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13484         file.
13485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13486         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13487         multiarch wcschr for PPc32.
13488         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13489         multiarch objects.
13490         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13491         (__libc_ifunc_impl_list): Likewise.
13492         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13493         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13494         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13495         sysdeps/powerpc/power6/wcschr.c.
13496
13497         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13498         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13499         file.
13500         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13501         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13502         file: multiarch strchr for PPC32.
13503         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13504         multiarch objects.
13505         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13506         (__libc_ifunc_impl_list): Likewise.
13507
13508         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13509         name.
13510         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13511         file.
13512         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13513         file.
13514         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13515         multiarch strchrnul for PPC32.
13516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13517         multiarch objects.
13518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13519         (__libc_ifunc_impl_list): Likewise.
13520
13521         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13522         file.
13523         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13524         multiarch strncasecmp for PPC32.
13525         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13526         file.
13527         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13528         multiarch strncasecmp_l for PPC32.
13529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13530         strncasecmp multiarch objects.
13531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13532         (__libc_ifunc_impl_list): Likewise.
13533
13534         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13535         file.
13536         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13537         multiarch strncasecmp for PPC32.
13538         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13539         New file.
13540         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13541         multiarch strcasecmp_l for PPC32.
13542         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13543         multiarch objects.
13544         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13545         (__libc_ifunc_impl_list): Likewise.
13546
13547         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13548         file.
13549         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13550         file.
13551         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13552         multiarch strncmp for PPC32.
13553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13554         multiarch objects.
13555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13556         (__libc_ifunc_impl_list): Likewise.
13557
13558         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13559         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13560         file.
13561         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13562         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13563         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13564         multiarch objects.
13565         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13566         (__libc_ifunc_impl_list): Likewise.
13567
13568         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13569         file.
13570         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13571         file.
13572         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13574         multiarch objects.
13575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13576         (__libc_ifunc_impl_list): Likewise.
13577
13578         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13579         file.
13580         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13581         file.
13582         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13583         multiarch rawmemchr for PPC32.
13584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13585         multiarch objects.
13586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13587         (__libc_ifunc_impl_list): Likewise.
13588
13589         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13590         file.
13591         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13592         file.
13593         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13594         file: memrchr multiarch for PPC32.
13595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13596         multiarch objects.
13597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13598         (__libc_ifunc_impl_list): Likewise.
13599
13600         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13601         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13602         file.
13603         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13604         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13605         multiarch memchr for PPC32.
13606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13607         multiarch objects.
13608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13609         (__libc_ifunc_impl_list): Likewise.
13610
13611         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13612         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13613         file.
13614         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13615         file.
13616         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13617         file: multiarch mempcpy for PPC32.
13618         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13619         multiarch objects.
13620         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13621         (__libc_ifunc_impl_list): Likewise.
13622
13623         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13624         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13625         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13626         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13627         multiarch bzero for PPC32.
13628         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13629         file.
13630         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13631         file.
13632         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13633         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13634         file: multiarch memset for PPC32.
13635         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13636         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13637         memset multiarch objects.
13638         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13639         (__libc_ifunc_impl_list): Likewise.
13640
13641         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13642         file.
13643         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13644         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13645         memcmp for PPC32.
13646         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13648         multiarch objects.
13649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13650         (__libc_ifunc_impl_list): Likewise.
13651
13652         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13653         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13655         file.
13656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13657         file.
13658         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13659         file.
13660         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13661         multiarch memcpy for PPC32.
13662         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13663         multiarch objects.
13664         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13665         (__libc_ifunc_impl_list): Likewise.
13666
13667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13668         support multiarch for POWER/PPC32.
13669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13670         Likewise.
13671         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13673         Implies file to make multiarch folder appers before the fpu and
13674         default folder for power4 configuration.
13675
13676 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13677
13678         * scripts/bench.pl: Append volatile keyword to type.
13679
13680 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13681
13682         * sysdeps/sh/sotruss-lib.c: New file.
13683         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13684
13685 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13686
13687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13688
13689 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13690
13691         [BZ #6810]
13692         * math/w_tgamma.c: Include <errno.h>.
13693         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13694         * math/w_tgammaf.c: Include <errno.h>.
13695         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13696         * math/w_tgammal.c: Include <errno.h>.
13697         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13698         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13699         underflow.  Add more tgamma tests.
13700         * math/auto-libm-test-out: Regenerated.
13701         * sysdeps/i386/fpu/libm-test-ulps: Update.
13702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13703
13704         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13705         sin, sinh, tan, tanh, tgamma, y0 and y1.
13706         * math/auto-libm-test-out: Regenerated.
13707         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13708         (TEST_COND_x86): Likewise.
13709         (M_E2l): Remove macro.
13710         (M_E3l): Likewise.
13711         (M_2_SQRT_PIl): Likewise.
13712         (M_SQRT_PIl): Likewise.
13713         (M_1_DIV_El): Likewise.
13714         (log_test_data): Use AUTO_TESTS_f_f.
13715         (log10_test_data): Likewise.
13716         (log1p_test_data): Likewise.
13717         (log2_test_data): Likewise.
13718         (sin_test_data): Likewise.
13719         (sin_tonearest_test_data): Likewise.
13720         (sin_towardzero_test_data): Likewise.
13721         (sin_downward_test_data): Likewise.
13722         (sin_upward_test_data): Likewise.
13723         (sinh_test_data): Likewise.
13724         (sinh_tonearest_test_data): Likewise.
13725         (sinh_towardzero_test_data): Likewise.
13726         (sinh_downward_test_data): Likewise.
13727         (sinh_upward_test_data): Likewise.
13728         (tan_test_data): Likewise.
13729         (tan_tonearest_test_data): Likewise.
13730         (tan_towardzero_test_data): Likewise.
13731         (tan_downward_test_data): Likewise.
13732         (tan_upward_test_data): Likewise.
13733         (tanh_test_data): Likewise.
13734         (tgamma_test_data): Likewise.
13735         (y0_test_data): Likewise.
13736         (y1_test_data): Likewise.
13737         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13738         (special_real_inputs): Add pi/4.
13739         * sysdeps/i386/fpu/libm-test-ulps: Update.
13740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13741
13742 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13743
13744         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13745         "longjmp_target" static probes.
13746         (__longjmp): Rename to __longjmp_symbol.
13747         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13748         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13749         on which longjmp to generate.
13750         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13751         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13752         probe.
13753         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13754         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13755         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13756         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13757         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13758         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13760         __longjmp_symbol based on which __longjmp to generate.
13761         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13762         probe.
13763         (setjmp): Rename to setjmp_symbol.
13764         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13765         (_setjmp): Rename to _setjmp_symbol.
13766         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13767         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13768         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13769         which setjmp to generate.
13770         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13771         "longjmp_target" static probes.
13772
13773 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13774
13775         * benchtests/README: Add note about output arguments.
13776         * benchtests/bench-sincos.c: Remove file.
13777         * benchtests/sincos-inputs: New file.
13778         * scripts/bench.pl: Identify output arguments and define
13779         static variables for them.
13780
13781         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13782
13783         [BZ #15941]
13784         * Makefile (INSTALL): Add install-plain.texi as the primary
13785         dependency.
13786         * manual/install-plain.texi: New file.
13787         * manual/install.texi: Include node directive only for
13788         non-plaintext output.
13789
13790 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13791
13792         * stdlib/longlong.h: Update from GCC.
13793
13794         [BZ #6807]
13795         [BZ #15901]
13796         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13797         * math/w_j0f.c (y0f): Likewise.
13798         * math/w_j0l.c (__y0l): Likewise.
13799         * math/w_j1.c (y1): Likewise.
13800         * math/w_j1f.c (y1f): Likewise.
13801         * math/w_j1l.c (__y1l): Likewise
13802         * math/w_jn.c (yn): Likewise.
13803         * math/w_jnf.c (ynf): Likewise.
13804         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13805         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13806         value for Bessel function domain errors outside _SVID_ mode.
13807         Adjust sign of return value for yn (negative integer, 0).
13808         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13809         by zero in return for negative x and set sign appropriately for
13810         negative n.
13811         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13812         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13813         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13814         expectations in error cases.
13815         (y1_test_data): Likewise.
13816         (yn_test_data): Likewise.
13817         * sysdeps/i386/fpu/libm-test-ulps: Update.
13818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13819
13820 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13821
13822         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13823         "64" to "64-v1".  Add "64-v2".
13824         (abi-64-options): Rename to ...
13825         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13826         (abi-64-condition): Rename to ...
13827         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13828         (abi-64-ld-soname): Rename to ...
13829         (abi-64-v1-ld-soname): ... this.
13830         (abi-64-v2-options): Define.
13831         (abi-64-v2-condition): Likewise.
13832         (abi-64-v2-ld-soname): Likewise.
13833         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13834         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13838
13839 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13840             Alan Modra  <amodra@gmail.com>
13841
13842         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13843         New versions for use with the ELFv2 ABI.
13844         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13845         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13846         declaration.
13847         (struct La_ppc64v2_retval): Likewise.
13848         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13849         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13850         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13851         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13852         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13853         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13854         Do not save or restore CR.
13855         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13856         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13857         return values for ELFv2 ABI.  Fix location of FPR return registers.
13858         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13859         updated values for _CALL_ELF == 2.
13860         (La_regs, La_retval, int_retval): Likewise.
13861
13862 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13863
13864         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13865         (FRAME_MIN_SIZE_PARM): Likewise.
13866         (FRAME_BACKCHAIN): Likewise.
13867         (FRAME_CR_SAVE): Likewise.
13868         (FRAME_LR_SAVE): Likewise.
13869         (FRAME_TOC_SAVE): Likewise.
13870         (FRAME_PARM_SAVE): Likewise.
13871         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13872         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13873         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13874         (call_mcount_parm_offset): New macro.
13875         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13876         (PROF): Use symbolic stack frame offsets.
13877         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13878         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13879         Redefine in terms of FRAME_MIN_SIZE.
13880         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13881         (_dl_profile_resolve): Likewise.  Update comment.
13882         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13883         symbols stack frame offsets.
13884         (__sigsetjmp): Likewise.
13885         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13886         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13887         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13888         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13889
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13891         (FRAME_BACKCHAIN): Remove.
13892         (FRAME_CR_SAVE): Likewise.
13893         (FRAME_LR_SAVE): Likewise.
13894         (FRAME_COMPILER_DW): Likewise.
13895         (FRAME_LINKER_DW): Likewise.
13896         (FRAME_TOC_SAVE): Likewise.
13897         (FRAME_PARM_SAVE): Likewise.
13898         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13899         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13900         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13902         (CHECK_SP): Use symbolic stack frame offsets.
13903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13904         zone" instead of caller's parameter save area for temp storage.
13905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13906         Likewise.  Also, use symbolic stack frame offsets.
13907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13908         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13909         our own stack frame instead of the caller's.
13910         (__socket): Use symbolic stack frame offsets.
13911
13912 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13913             Alan Modra  <amodra@gmail.com>
13914
13915         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13916         Define.
13917         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13918         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13919         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13920         New function.
13921         (elf_machine_fixup_plt): Call it.
13922         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13923         reloc arguments.
13924         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13925         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13926         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13927         r2 before calling target.
13928
13929 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13930             Alan Modra  <amodra@gmail.com>
13931
13932         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13933         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13934         versions of macros to support ELFv2 ABI.
13935         (LOCALENTRY): New macro.
13936         (ENTRY, EALIGN): Use it.
13937         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13938         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13939         fall through into ENTRY entry point.
13940         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13941         Only define if _CALL_ELF != 2.
13942
13943         (elf_machine_matches_host): Verify ABI version matches.
13944         (RTLD_START): Use LOCALENTRY.
13945         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13946         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13947         (PLT_ENTRY_WORDS): New macro.
13948         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13949         (elf_machine_runtime_setup): Support ELFv2 ABI.
13950         (elf_machine_fixup_plt): Likewise.
13951         (elf_machine_plt_conflict): Likewise.
13952         (resolve_ifunc): Likewise.
13953         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13954         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13955         Likewise.
13956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13957         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13959         (makecontext): Support ELFv2 ABI.
13960         * elf/elf.h (EF_PPC64_ABI): Define.
13961
13962 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13963
13964         * sysdeps/powerpc/powerpc64/sysdep.h
13965         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13966         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13967         (ENTRY) [ASSEMBLER]: ... but instead here ...
13968         (EALIGN) [ASSEMBLER]: ... and here.
13969         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13970         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13971         (ENTRY_2) [!ASSEMBLER]: Use it.
13972         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13973         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13974         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13975         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13976         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13978         Use PPC64_LOAD_FUNCPTR.
13979
13980         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13981
13982 2013-12-04  Alan Modra  <amodra@gmail.com>
13983
13984         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13985         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13986         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13987         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13988
13989         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13990         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13991         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13992         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13993         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13994         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13995
13996 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13997
13998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13999         (__makecontext): Fix incorrect CFI when backtracing out of
14000         context created via makecontext.
14001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14002         (__setcontext): Fix incorrect CFI during switch to new context.
14003         (__novec_setcontext): Likewise.
14004
14005 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14006
14007         [BZ #4772]
14008         * time/strptime_l.c (__strptime_internal): Allow modifiers
14009         in strptime.
14010         * time/tst-strptime.c (day_tests): Add testcase.
14011
14012 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14013
14014         * scripts/bench.pl: Skip over blank lines.
14015
14016 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14017
14018         [BZ #926]
14019         * manual/time.texi (Calendar Time): Clarify what timezone functions
14020         use.
14021
14022 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14023
14024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14025
14026 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14027
14028         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14029         implementation.
14030         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14031         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14032         * debug/memset_chk.c (__memset_chk): Likewise.
14033         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14034         * debug/strncpy_chk.c: Likewise.
14035
14036 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14037
14038         [BZ #15268]
14039         [BZ #15425]
14040         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14041         (__ieee754_exp): For possibly underflowing results, check size of
14042         result and force underflow exception if required.
14043         * math/auto-libm-test-in: Add more tests of exp.
14044         * math/auto-libm-test-out: Regenerated.
14045         * sysdeps/i386/fpu/libm-test-ulps: Update.
14046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14047
14048         [BZ #16283]
14049         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14050         * math/w_exp2f.c (__exp2f): Likewise.
14051         * math/w_exp2l.c (__exp2l): Likewise.
14052         * math/auto-libm-test-in: Do not allow missing errno on exp2
14053         underflow.
14054         * math/auto-libm-test-out: Regenerated.
14055
14056 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14057
14058         [BZ #16274]
14059         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14060         handle filename validation.
14061         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14062         (do_open): Delete.
14063
14064 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14065
14066         [BZ #6786]
14067         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14068         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14069         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14070         <float.h>.
14071         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14072         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14073         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14074         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14075         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14076         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14077         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14078         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14079         Add more erfc tests.
14080         * math/auto-libm-test-out: Regenerated.
14081         * sysdeps/i386/fpu/libm-test-ulps: Update.
14082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14083
14084         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14085         exp2, expm1, j0 and j1.
14086         * math/auto-libm-test-out: Regenerated.
14087         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14088         (erfc_test_data): Likewise.
14089         (exp_test_data): Likewise.
14090         (exp_tonearest_test_data): Likewise.
14091         (exp_towardzero_test_data): Likewise.
14092         (exp_downward_test_data): Likewise.
14093         (exp_upward_test_data): Likewise.
14094         (exp10_test_data): Likewise.
14095         (exp2_test_data): Likewise.
14096         (expm1_test_data): Likewise.
14097         (j0_test_data): Likewise.
14098         (j1_test_data): Likewise.
14099         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14100         (input_flag_type): Add flag_xfail_rounding.
14101         (input_flags): Add xfail-rounding.
14102         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14103         (output_for_one_input_case): Handle flag_xfail_rounding.
14104         * sysdeps/i386/fpu/libm-test-ulps: Update.
14105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14106
14107 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14108
14109         [BZ #16289]
14110         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14111         division by 0.
14112
14113 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14114
14115         [BZ #16195]
14116         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14117         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14118         (STAP_PROBE0): New macro.
14119         (STAP_PROBE1): Likewise.
14120         (STAP_PROBE2): Likewise.
14121         (STAP_PROBE3): Likewise.
14122         (STAP_PROBE4): Likewise.
14123
14124 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14125
14126         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14127
14128 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14129
14130         * benchtests/Makefile (bench): Add sqrt.
14131         (LDLIBS-bench-sqrt): New.
14132         * benchtests/sqrt-input: New.
14133
14134 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14135
14136         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14137         (GAIH_EAI): Likewise.
14138         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14139         (gaih_inet): Likewise.
14140         (getaddrinfo): Don't use GAIH_EAI.
14141
14142         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14143         (struct gaih): Remove definition.
14144
14145 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14146
14147         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14148         Use HERRNOP directly.
14149
14150 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14151
14152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14153
14154 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14155
14156         * math/gen-auto-libm-tests.c (test_functions): Add more
14157         single-argument functions.
14158         (special_fill_pi_2): New function.
14159         (special_fill_minus_pi_2): Likewise.
14160         (special_fill_pi_6): Likewise.
14161         (special_fill_minus_pi_6): Likewise.
14162         (special_fill_pi_3): Likewise.
14163         (special_fill_2pi_3): Likewise.
14164         (special_fill_e): Likewise.
14165         (special_fill_1_e): Likewise.
14166         (special_fill_e_minus_1): Likewise.
14167         (special_real_inputs): Add more special inputs.
14168         (output_for_one_input_case): Do not require ERANGE on underflow to
14169         zero if round-to-nearest result does not underflow to zero, unless
14170         exact results required.
14171         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14172         atan, atanh, cbrt, cos and cosh.
14173         * math/auto-libm-test-out: Regenerated.
14174         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14175         (acos_tonearest_test_data): Likewise.
14176         (acos_towardzero_test_data): Likewise.
14177         (acos_downward_test_data): Likewise.
14178         (acos_upward_test_data): Likewise.
14179         (acosh_test_data): Likewise.
14180         (asin_test_data): Likewise.
14181         (asin_tonearest_test_data): Likewise.
14182         (asin_towardzero_test_data): Likewise.
14183         (asin_upward_test_data): Likewise.
14184         (asinh_test_data): Likewise.
14185         (atan_test_data): Likewise.
14186         (atanh_test_data): Likewise.
14187         (cbrt_test_data): Likewise.
14188         (cos_test_data): Likewise.
14189         (cos_tonearest_test_data): Likewise.
14190         (cos_towardzero_test_data): Likewise.
14191         (cos_downward_test_data): Likewise.
14192         (cos_upward_test_data): Likewise.
14193         (cosh_test_data): Likewise.
14194         (cosh_tonearest_test_data): Likewise.
14195         (cosh_towardzero_test_data): Likewise.
14196         (cosh_downward_test_data): Likewise.
14197         (cosh_upward_test_data): Likewise.
14198         * sysdeps/i386/fpu/libm-test-ulps: Update.
14199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14200
14201 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14202
14203         [BZ #6787]
14204         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14205         * math/w_exp10f.c (__exp10f): Likewise.
14206         * math/w_exp10l.c (__exp10l): Likewise.
14207         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14208         errno settings in existing tests.
14209
14210         [BZ #14032]
14211         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14212         precision control set to double precision.
14213         * sysdeps/i386/fpu/w_sqrt.c: New file.
14214         * math/auto-libm-test-in: Add more tests.
14215         * math/auto-libm-test-out: Update.
14216
14217         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14218         (sqrt_test_tonearest): New function.
14219         (sqrt_towardzero_test_data): New variable.
14220         (sqrt_test_towardzero): New function.
14221         (sqrt_downward_test_data): New variable.
14222         (sqrt_test_downward): New function.
14223         (sqrt_upward_test_data): New variable.
14224         (sqrt_test_upward): New function.
14225         (main): Call the new functions.
14226
14227         * math/gen-auto-libm-tests.c: New file.
14228         * math/auto-libm-test-in: Likewise.
14229         * math/auto-libm-test-out: New generated file.
14230         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14231         variables.
14232         (%beautify): Add generated representations of zero.
14233         (top level): Set $auto_input and call parse_auto_input.
14234         (beautify): Remove trailing "f" from hex float constants.
14235         (parse_args): Handle XFAIL_TEST.
14236         (convert_condition): New function.
14237         (or_value): Likewise.
14238         (or_cond_value): Likewise.
14239         (generate_testfile): Handle AUTO_TESTS_* lines.
14240         (parse_auto_input): New function.
14241         * math/libm-test.inc (XFAIL_TEST): New macro.
14242         (ERRNO_UNCHANGED): Update value.
14243         (ERRNO_EDOM): Likewise.
14244         (ERRNO_ERANGE): Likewise.
14245         (IGNORE_RESULT): Likewise.
14246         (TEST_COND_flt_32): New macro.
14247         (TEST_COND_dbl_64): Likewise.
14248         (TEST_COND_ldbl_96_intel): Likewise.
14249         (TEST_COND_ldbl_96_m68k): Likewise.
14250         (TEST_COND_ldbl_128): Likewise.
14251         (TEST_COND_ldbl_128ibm): Likewise.
14252         (TEST_COND_long32): Likewise.
14253         (TEST_COND_long64): Likewise.
14254         (TEST_COND_before_rounding): Likewise.
14255         (TEST_COND_after_rounding): Likewise.
14256         (enable_test): Handle XFAIL_TEST flag.
14257         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14258         with finite results.
14259         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14260         auto-libm-test-out.
14261
14262 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14263             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14264
14265         [BZ #16214]
14266         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14267         __tls_get_addr_internal instead of __tls_get_offset in order to
14268         avoid GOT pointer dependency.  Make rtld export
14269         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14270         __tls_get_addr since we are a __tls_get_offset platform.
14271         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14272         GOT pointer being set up before.
14273         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14274
14275 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14276
14277         * manual/math.texi (Errors in Math Functions): Document accuracy
14278         goals.
14279
14280         [BZ #15004]
14281         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14282         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14283         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14284         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14285         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14286         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14287         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14288         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14289         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14290         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14291         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14292         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14293         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14294         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14295         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14296         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14297
14298         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14299         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14300         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14301         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14302         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14303         Likewise.
14304         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14305         Likewise.
14306         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14307         Likewise.
14308         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14309         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14310         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14311         atomic-feupdateenv and flt-rounds.
14312         * sysdeps/powerpc/nofpu/Versions (libc): Add
14313         __atomic_feholdexcept, __atomic_feclearexcept,
14314         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14315         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14316         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14317         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14318         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14319         here.
14320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14321         Update.
14322
14323         * manual/arith.texi (FP Exceptions): Document that exceptions may
14324         not be raised when matherr is used.
14325         (Math Error Reporting): Document overflow in directed rounding
14326         modes.  Document that errno may not be set when finite values are
14327         returned on overflow.  Document intent to set errno on underflow
14328         only for underflow to zero.
14329
14330         [BZ #16271]
14331         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14332         round-to-nearest then adjust result for other rounding modes.
14333         * include/fenv.h (fegetround): Use libm_hidden_proto.
14334         * math/fegetround.c (fegetround): Use libm_hidden_def.
14335         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14336         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14337         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14338         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14339         Likewise.
14340         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14341         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14342         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14343         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14344
14345 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14346
14347         [BZ #16077]
14348         * nss/Versions (libnss_files): Add
14349         _nss_files_gethostbyname3_r.
14350         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14351         New function.
14352         (HOST_DB_LOOKUP): Remove macro.
14353         (_nss_files_gethostbyname_r): Implement function without the
14354         HOST_DB_LOOKUP macro.
14355         (_nss_files_gethostbyname2_r): Likewise.
14356
14357 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14358
14359         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14360
14361 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14362
14363         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14364         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14365         warning.
14366
14367 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14368
14369         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14370         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14371         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14372         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14373         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14374         __fe_nomask_env_priv and attribute_hidden.
14375         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14376         (libc_feupdateenv_test_ppc): Likewise.
14377         (libc_feresetround_ppc): Likewise.
14378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14379         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14380         compat_symbol macro.
14381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14382         (__fe_nomask_env): Likewise.
14383         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14384
14385 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14386
14387         * string/Makefile: Remove ifunc tests.
14388         * string/test-string.h: Define TEST_IFUNC.
14389         * string/test-bcopy-ifunc.c: Remove.
14390         * string/test-bzero-ifunc.c: Likewise.
14391         * string/test-memccpy-ifunc.c: Likewise.
14392         * string/test-memchr-ifunc.c: Likewise.
14393         * string/test-memcmp-ifunc.c: Likewise.
14394         * string/test-memcpy-ifunc.c: Likewise.
14395         * string/test-memmem-ifunc.c: Likewise.
14396         * string/test-memmove-ifunc.c: Likewise.
14397         * string/test-mempcpy-ifunc.c: Likewise.
14398         * string/test-memrchr-ifunc.c: Likewise.
14399         * string/test-memset-ifunc.c: Likewise.
14400         * string/test-rawmemchr-ifunc.c: Likewise.
14401         * string/test-stpcpy-ifunc.c: Likewise.
14402         * string/test-stpncpy-ifunc.c: Likewise.
14403         * string/test-strcasecmp-ifunc.c: Likewise.
14404         * string/test-strcasestr-ifunc.c: Likewise.
14405         * string/test-strcat-ifunc.c: Likewise.
14406         * string/test-strchr-ifunc.c: Likewise.
14407         * string/test-strchrnul-ifunc.c: Likewise.
14408         * string/test-strcmp-ifunc.c: Likewise.
14409         * string/test-strcpy-ifunc.c: Likewise.
14410         * string/test-strcspn-ifunc.c: Likewise.
14411         * string/test-strlen-ifunc.c: Likewise.
14412         * string/test-strncasecmp-ifunc.c: Likewise.
14413         * string/test-strncat-ifunc.c: Likewise.
14414         * string/test-strncmp-ifunc.c: Likewise.
14415         * string/test-strncpy-ifunc.c: Likewise.
14416         * string/test-strnlen-ifunc.c: Likewise.
14417         * string/test-strpbrk-ifunc.c: Likewise.
14418         * string/test-strrchr-ifunc.c: Likewise.
14419         * string/test-strspn-ifunc.c: Likewise.
14420         * string/test-strstr-ifunc.c: Likewise.
14421
14422 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14423
14424         * benchtests/Makefile: Remove ifunc tests.
14425         * benchtests/bench-string.h: Define TEST_IFUNC.
14426         * benchtests/bench-bcopy-ifunc.c: Remove.
14427         * benchtests/bench-bzero-ifunc.c: Likewise.
14428         * benchtests/bench-memccpy-ifunc.c: Likewise.
14429         * benchtests/bench-memchr-ifunc.c: Likewise.
14430         * benchtests/bench-memcmp-ifunc.c: Likewise.
14431         * benchtests/bench-memcpy-ifunc.c: Likewise.
14432         * benchtests/bench-memmem-ifunc.c: Likewise.
14433         * benchtests/bench-memmove-ifunc.c: Likewise.
14434         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14435         * benchtests/bench-memrchr-ifunc.c: Likewise.
14436         * benchtests/bench-memset-ifunc.c: Likewise.
14437         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14438         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14439         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14440         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14441         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14442         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14443         * benchtests/bench-strcat-ifunc.c: Likewise.
14444         * benchtests/bench-strchr-ifunc.c: Likewise.
14445         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14446         * benchtests/bench-strcmp-ifunc.c: Likewise.
14447         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14448         * benchtests/bench-strcpy-ifunc.c: Likewise.
14449         * benchtests/bench-strcspn-ifunc.c: Likewise.
14450         * benchtests/bench-strlen-ifunc.c: Likewise.
14451         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14452         * benchtests/bench-strncat-ifunc.c: Likewise.
14453         * benchtests/bench-strncmp-ifunc.c: Likewise.
14454         * benchtests/bench-strncpy-ifunc.c: Likewise.
14455         * benchtests/bench-strnlen-ifunc.c: Likewise.
14456         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14457         * benchtests/bench-strrchr-ifunc.c: Likewise.
14458         * benchtests/bench-strsep-ifunc.c: Likewise.
14459         * benchtests/bench-strspn-ifunc.c: Likewise.
14460         * benchtests/bench-strstr-ifunc.c: Likewise.
14461
14462 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14463
14464         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14465
14466 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14467
14468         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14469         * rt/aio.h: Likewise.
14470         * sysdeps/gnu/bits/utmp.h: Likewise.
14471         * sysdeps/gnu/bits/utmpx.h: Likewise.
14472         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14473         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14474         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14475         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14476         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14477         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14478         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14479         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14480         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14481         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14482         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14483         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14484         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14486         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14487         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14488         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14489         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14490         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14491         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14492         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14493         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14494         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14495         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14496         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14497         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14498         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14499         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14500         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14501         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14502         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14503         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14504         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14505         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14506         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14507         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14508         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14509         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14510         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14511         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14512         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14513         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14514
14515 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14516
14517         [BZ #16245]
14518         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14519         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14520
14521 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14522
14523         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14524         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14525         Likewise.
14526
14527 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14528
14529         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14530         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14531         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14532         (__fesetround): Remove define.
14533         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14534         rounding and exceptions handling.
14535         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14536         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14537         (__fe_nomask_env): Likewise.
14538         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14539         __fegetround instead of fegetround.
14540         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14541         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14542
14543 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14544
14545         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14546         it's there.
14547
14548         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14549
14550 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14551
14552         [BZ #11157]
14553         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14554         (encrypt_r): Likewise.
14555         * malloc/obstack.h (obstack_free): Likewise.
14556         * posix/unistd.h (encrypt): Likewise.
14557
14558 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14559
14560         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14561         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14562         DL_CALL_DT_FINI() that call the functions directly.
14563         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14564         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14565         * elf/dl-fini.c: Likewise.
14566
14567 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14568
14569         * malloc/hooks.c (memalign_check): Add alignment rounding.
14570         * malloc/malloc.c (_mid_memalign): New function.
14571         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14572         Implement by calling _mid_memalign.
14573         * manual/probes.texi (Memory Allocation Probes): Remove
14574         memory_valloc_retry and memory_pvalloc_retry.
14575
14576 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14577
14578         * locale/programs/locarchive.c (open_archive): Add const
14579         qualifier to ARCHIVEFNAME and copy default fname to
14580         DEFAULT_FNAME.
14581
14582         [BZ #15601]
14583         * libio/tst-widetext.input: Rename Oriya to Odia.
14584         * locale/iso-639.def: Likewise.
14585
14586         * manual/probes.texi (Mathematical Function Probes): Add
14587         documentation for sin, cos, asin and acos probes.
14588         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14589         (__sin32): Add slowasin probe.
14590         (__cos32): Add slowacos probe.
14591         (__mpsin): Add slowsin probe.
14592         (__mpcos): Add slowcos probe.
14593
14594 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14595
14596         [BZ #15483]
14597         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14598         thread-local __sim_exceptions_thread and global
14599         __sim_exceptions_global.
14600         (__sim_disabled_exceptions): Change to thread-local
14601         __sim_disabled_exceptions_thread and global
14602         __sim_disabled_exceptions_global.
14603         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14604         and global __sim_round_mode_global.
14605         (__simulate_exceptions): Use thread-local floating-point state and
14606         set global state from it as needed.
14607         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14608         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14609         __sim_round_mode_thread.
14610         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14611         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14612         and global __sim_exceptions_global.
14613         (__sim_disabled_exceptions): Change to thread-local
14614         __sim_disabled_exceptions_thread and global
14615         __sim_disabled_exceptions_global.
14616         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14617         and global __sim_round_mode_global.
14618         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14619         (SIM_SET_GLOBAL): Likewise.
14620         * sysdeps/powerpc/soft-fp/sfp-machine.h
14621         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14622         __sim_round_mode_thread.
14623         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14624         __sim_disabled_exceptions_thread.
14625         (__sim_exceptions): Change to __sim_exceptions_thread.
14626         (__sim_disabled_exceptions): Change to
14627         __sim_disabled_exceptions_thread.
14628         (__sim_round_mode): Change to __sim_round_mode_thread.
14629         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14630         thread-local floating-point state and set global state from it as
14631         needed.
14632         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14633         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14634         (__sim_disabled_exceptions): Remove extern declaration.
14635         (feenableexcept): Use thread-local floating-point state and set
14636         global state from it as needed.
14637         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14638         extern declaration.
14639         (__sim_disabled_exceptions): Likewise.
14640         (__sim_round_mode): Likewise.
14641         (__fegetenv): Use thread-local floating-point state.
14642         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14643         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14644         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14645         floating-point state and set global state from it as needed.
14646         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14647         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14648         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14649         Likewise.
14650         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14651         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14652         Likewise.
14653         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14654         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14655         Use __sim_round_mode_thread.
14656         * math/test-fenv-tls.c: New file.
14657         * math/Makefile (tests): Add test-fenv-tls.
14658         ($(objpfx)test-fenv-tls): Depend on
14659         $(common-objpfx)nptl/libpthread.so.
14660
14661 2013-11-19  Andreas Schwab  <schwab@suse.de>
14662
14663         * locale/programs/locale.c (show_info): Decode wordarray elements.
14664         * locale/categories.def (LC_MONETARY): Add element for
14665         _NL_MONETARY_CRNCYSTR.
14666         * locale/C-monetary.c (conversion_rate): New variable.
14667         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14668         element.
14669
14670 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14671
14672         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14673         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14674
14675 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14676
14677         * elf/Makefile (tst-auxv): New test.
14678         * elf/tst-auxv.c: New
14679         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14680
14681 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14682
14683         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14684         (hidden_proto): Caller changed.
14685         (hidden_tls_proto): New macro.
14686         (libc_hidden_tls_proto): Likewise.
14687         (rtld_hidden_tls_proto): Likewise.
14688         (libm_hidden_tls_proto): Likewise.
14689         (libresolv_hidden_tls_proto): Likewise.
14690         (librt_hidden_tls_proto): Likewise.
14691         (libdl_hidden_tls_proto): Likewise.
14692         (libnss_files_hidden_tls_proto): Likewise.
14693         (libnsl_hidden_tls_proto): Likewise.
14694         (libnss_nisplus_hidden_tls_proto): Likewise.
14695         (libutil_hidden_tls_proto): Likewise.
14696
14697 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14698
14699         [BZ #10253]
14700         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14701         (decompose_rpath): Defer expansion to fillin_rpath.
14702         (_dl_init_paths): Pass linkmap to fillin_rpath.
14703
14704 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14705
14706         * benchtests/Makefile: Add strsep.
14707         * benchtests/bench-strsep.c: New file: strsep benchtest.
14708         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14709
14710 2013-11-18  Andreas Schwab  <schwab@suse.de>
14711
14712         * locale/programs/locale.c (show_info) [case byte]: Check for
14713         '\377' instead of '\177'.
14714         * locale/C-monetary.c (not_available): Always use "\377".
14715         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14716         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14717         detect unavailable sign_posn locale elements.
14718         * locale/localeconv.c (__localeconv): For grouping and
14719         mon_grouping handle "\177" and "\377" like no grouping.
14720         (INT_ELEM): New macro.  Use it to set all numeric members.
14721         * locale/programs/ld-monetary.c (monetary_read)
14722         <tok_mon_grouping>: Normalize single -1 to the empty string.
14723         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14724         Likewise.
14725
14726 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14727
14728         [BZ #16055]
14729         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14730         when we match (nil).
14731         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14732
14733 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14734
14735         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14736         (NO_TEST_INLINE): Update value.
14737         (ERRNO_UNCHANGED): Likewise.
14738         (ERRNO_EDOM): Likewise.
14739         (ERRNO_ERANGE): Likewise.
14740         (IGNORE_RESULT): Likewise.
14741         (check_float_internal): Check signs of NaN results if
14742         TEST_NAN_SIGN used.
14743         (check_complex): Pass TEST_NAN_SIGN flag through to second
14744         check_float_internal call.
14745         (copysign_test_data): Add tests with quiet NaNs as second
14746         argument.  Use TEST_NAN_SIGN.
14747         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14748         TEST_NAN_SIGN.
14749         (signbit_test_data): Add tests of quiet NaN argument.
14750         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14751
14752         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14753         $ignore_result.
14754         (parse_args): Handle function results specified as IGNORE.
14755         * math/libm-test.inc (IGNORE_RESULT): New macro.
14756         (check_float_internal): Do not check numerical result if flag
14757         IGNORE_RESULT set.
14758         (check_complex): Pass through IGNORE_RESULT to second
14759         check_float_internal call.
14760         (check_int): Do not check numerical result if flag IGNORE_RESULT
14761         set.
14762         (check_long): Likewise.
14763         (check_bool): Likewise.
14764         (check_longlong): Likewise.
14765         (lrint_test_data): Add tests of infinite and NaN arguments.
14766         (lrint_tonearest_test_data): Likewise.
14767         (lrint_towardzero_test_data): Likewise.
14768         (lrint_downward_test_data): Likewise.
14769         (lrint_upward_test_data): Likewise.
14770         (llrint_test_data): Likewise.
14771         (llrint_tonearest_test_data): Likewise.
14772         (llrint_towardzero_test_data): Likewise.
14773         (llrint_downward_test_data): Likewise.
14774         (llrint_upward_test_data): Likewise.
14775         (lround_test_data): Likewise.
14776         (llround_test_data): Likewise.
14777
14778         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14779         (ERRNO_UNCHANGED): Update value.
14780         (ERRNO_EDOM): Likewise.
14781         (ERRNO_ERANGE): Likewise.
14782         (NO_TEST_INLINE_FLOAT): New macro.
14783         (NO_TEST_INLINE_DOUBLE): Likewise.
14784         (enable_test): New function.
14785         (RUN_TEST_f_f): Check enable_test before running test.
14786         (RUN_TEST_2_f): Likewise.
14787         (RUN_TEST_fff_f): Likewise.
14788         (RUN_TEST_c_f): Likewise.
14789         (RUN_TEST_f_f1): Likewise.
14790         (RUN_TEST_fF_f1): Likewise.
14791         (RUN_TEST_fI_f1): Likewise.
14792         (RUN_TEST_ffI_f1): Likewise.
14793         (RUN_TEST_c_c): Likewise.
14794         (RUN_TEST_cc_c): Likewise.
14795         (RUN_TEST_f_i): Likewise.
14796         (RUN_TEST_f_i_tg): Likewise.
14797         (RUN_TEST_ff_i_tg): Likewise.
14798         (RUN_TEST_f_b): Likewise.
14799         (RUN_TEST_f_b_tg): Likewise.
14800         (RUN_TEST_f_l): Likewise.
14801         (RUN_TEST_f_L): Likewise.
14802         (RUN_TEST_fFF_11): Likewise.
14803         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14804         conditionals.
14805         (cosh_test_data): Likewise.
14806         (exp_test_data): Likewise.
14807         (expm1_test_data): Likewise.
14808         (hypot_test_data): Likewise.
14809         (pow_test_data): Likewise.
14810         (sinh_test_data): Likewise.
14811         (tanh_test_data): Likewise.
14812         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14813         flags argument.
14814
14815         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14816         tests with quiet NaN input and output.
14817         (acosh_test_data): Likewise.
14818         (asin_test_data): Likewise.
14819         (asinh_test_data): Likewise.
14820         (atan_test_data): Likewise.
14821         (atanh_test_data): Likewise.
14822         (atan2_test_data): Likewise.
14823         (cbrt_test_data): Likewise.
14824         (cos_test_data): Likewise.
14825         (cosh_test_data): Likewise.
14826         (erf_test_data): Likewise.
14827         (erfc_test_data): Likewise.
14828         (exp_test_data): Likewise.
14829         (exp10_test_data): Likewise.
14830         (exp2_test_data): Likewise.
14831         (expm1_test_data): Likewise.
14832         (hypot_test_data): Likewise.
14833         (j0_test_data): Likewise.
14834         (j1_test_data): Likewise.
14835         (jn_test_data): Likewise.
14836         (lgamma_test_data): Likewise.
14837         (log_test_data): Likewise.
14838         (log10_test_data): Likewise.
14839         (log1p_test_data): Likewise.
14840         (log2_test_data): Likewise.
14841         (pow_test_data): Likewise.
14842         (scalb_test_data): Likewise.
14843         (sin_test_data): Likewise.
14844         (sincos_test_data): Likewise.
14845         (sinh_test_data): Likewise.
14846         (tan_test_data): Likewise.
14847         (tanh_test_data): Likewise.
14848         (tgamma_test_data): Likewise.
14849         (y0_test_data): Likewise.
14850         (y1_test_data): Likewise.
14851         (yn_test_data): Likewise.
14852
14853         [BZ #16167]
14854         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14855         argument being NaN and avoid computations with second argument in
14856         that case.
14857         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14858         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14859         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14860
14861 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14862
14863         * locale/iso-639.def: Add Chitwani Tharu (the).
14864
14865 2013-11-14  Andreas Schwab  <schwab@suse.de>
14866
14867         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14868         word instead of empty string.
14869
14870 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14871
14872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14873         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14875         (__fe_nomask_env): Likewise.
14876
14877 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14878
14879         * benchtests/bench-timing.h: Include time.h.
14880
14881 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14882
14883         [BZ #15997]
14884         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14885         to 3.4.0 for x32.
14886         * sysdeps/unix/sysv/linux/configure: Regenerated.
14887
14888 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14889
14890         [BZ #16151]
14891         * stdlib/strtod_l.c (round_and_return): Do not consider
14892         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14893         exponent one less than half the least subnormal exponent.
14894         * stdlib/test-strtod-round-data: Add more tests.
14895         * stdlib/tst-strtod-round.c (tests): Regenerated.
14896
14897 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14898
14899         [BZ #14143]
14900         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14901         (__fe_mask_env): Likewise.
14902         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14903         libm_hidden_proto and add function prototype.
14904         (__fe_mask_env): Add function prototype.
14905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14906         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14908         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14910         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14911
14912 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14913
14914         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14915         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14916
14917 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14918
14919         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14920         of htab_find_slot().
14921
14922 2013-11-11  David S. Miller  <davem@davemloft.net>
14923
14924         [BZ #16150]
14925         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14926         symbol in the non-vis3 case in static builds.
14927         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14928         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14929         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14930         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14931
14932 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14933
14934         [BZ #387]
14935         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14936         it is empty.
14937
14938 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14939
14940         * benchtests/Makefile: Add bench-strtod.
14941         * benchtests/bench-strtod.c: New file: strtod benchtest
14942
14943 2013-11-11  Andreas Schwab  <schwab@suse.de>
14944
14945         [BZ #16153]
14946         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14947         terminating NUL in key length.
14948
14949 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14950
14951         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14952         Add artificial ODP entry for vDSO symbol for PPC64.
14953         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14954         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14955
14956 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14957
14958         [BZ #15374]
14959         * nss/getent.c (services_keys): Recognize services starting with digit.
14960
14961 2013-11-06  David S. Miller  <davem@davemloft.net>
14962
14963         [BZ #15985]
14964         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14965         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14966
14967 2013-11-06  Will Newton  <will.newton@linaro.org>
14968
14969         * manual/memory.texi (Malloc Examples): Remove register
14970         keyword from examples.
14971
14972 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14973
14974         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14975
14976 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14977
14978         [BZ #6981]
14979         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14980         depending on [__GCC_IEC_559 > 0].
14981         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14982         depending on [__GCC_IEC_559_COMPLEX > 0].
14983
14984 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14985
14986         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14987         to iso-639.def.
14988
14989 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14990
14991         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14992
14993 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14994
14995         [BZ #16112]
14996         * malloc/malloc (malloc_info): Do not handle first bin as
14997         special case.
14998
14999 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15000
15001         * locale/iso-639.def: Add Central Nahuatl (nhn).
15002
15003 2013-11-01  Bruno Haible  <bruno@clisp.org>
15004
15005         [BZ #7003]
15006         * manual/math.texi (BSD Random): Specify range upper bound as
15007         in POSIX.
15008
15009 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15010
15011         * locale/iso-639.def: Add Meadow Mari (mhr).
15012
15013 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15014
15015         [BZ #14752], [BZ #15763]
15016         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15017         Validate name.
15018         * rt/tst_shm.c: Add test for escaping directory.
15019
15020 2013-10-31  Andreas Schwab  <schwab@suse.de>
15021
15022         [BZ #15917]
15023         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15024         followed by 'x' as part of digit sequence.
15025         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15026
15027 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15028
15029         [BZ #16037]
15030         * configure.ac: allow GNU Make 4.0 and greater.
15031         * configure: Regenerated.
15032
15033 2013-10-30  Will Newton  <will.newton@linaro.org>
15034
15035         [BZ #16038]
15036         * malloc/hooks.c (memalign_check): Limit alignment to the
15037         maximum representable power of two.
15038         * malloc/malloc.c (__libc_memalign): Likewise.
15039         * malloc/tst-memalign.c (do_test): Add test for very
15040         large alignment values.
15041         * malloc/tst-posix_memalign.c (do_test): Likewise.
15042
15043 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15044
15045         [BZ #11087]
15046         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15047         (munmap_chunk): Likewise.
15048         (mremap_chunk): Likewise.
15049
15050 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15051
15052         [BZ #15799]
15053         * stdlib/div.c (div): Remove obsolete code.
15054         * stdlib/ldiv.c (ldiv): Likewise.
15055         * stdlib/lldiv.c (lldiv): Likewise.
15056
15057 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15058
15059         [BZ #16071]
15060         * nss/nss_files/files-XXX.c (get_contents_ret): New
15061         enumerator.
15062         (get_contents): New function.
15063         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15064
15065 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15066
15067         * configure.in: Moved to ...
15068         * configure.ac: ... here. Change reference to configure.in
15069         to configure.ac.
15070         * sysdeps/arm/preconfigure.ac: ... here.
15071         configure.in to configure.ac.
15072         * sysdeps/gnu/configure.in: Moved to ...
15073         * sysdeps/gnu/configure.ac: ... here.
15074         * sysdeps/i386/configure.in: Moved to ...
15075         * sysdeps/i386/configure.ac: ... here.
15076         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15077         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15078         * sysdeps/mach/configure.in: Moved to ...
15079         * sysdeps/mach/configure.ac: ... here.
15080         * sysdeps/mach/hurd/configure.in: Moved to ...
15081         * sysdeps/mach/hurd/configure.ac: ... here.
15082         * sysdeps/powerpc/configure.in: Moved to ...
15083         * sysdeps/powerpc/configure.ac: ... here.
15084         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15085         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15086         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15087         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15088         * sysdeps/s390/s390-32/configure.in: Moved to ...
15089         * sysdeps/s390/s390-32/configure.ac: ... here.
15090         * sysdeps/s390/s390-64/configure.in: Moved to ...
15091         * sysdeps/s390/s390-64/configure.ac: ... here.
15092         * sysdeps/sh/configure.in: Moved to ...
15093         * sysdeps/sh/configure.ac: ... here.
15094         * sysdeps/sparc/configure.in: Moved to ...
15095         * sysdeps/sparc/configure.ac: ... here.
15096         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15097         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15098         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15099         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15100         * sysdeps/x86_64/configure.in: Moved to ...
15101         * sysdeps/x86_64/configure.ac: ... here.
15102         * sysdeps/x86_64/preconfigure.in: Moved to ...
15103         * sysdeps/x86_64/preconfigure.ac: ... here.
15104         * aclocal.m4: Change reference to configure.in to configure.ac.
15105         * config.h.in: Likewise.
15106         * manual/install.texi: Likewise.
15107         * manual/maint.texi: Likewise.
15108         * Makefile: Likewise.
15109         * malloc/Makefile: Likewise.
15110         * nscd/Makefile: Likewise.
15111         * Makeconfig: Change reference to configure.in and
15112         preconfigure.in to configure.ac and preconfigure.ac
15113         respectively.
15114         * INSTALL: Regenerated.
15115         * configure: Likewise.
15116         * sysdeps/gnu/configure: Likewise.
15117         * sysdeps/i386/configure: Likewise.
15118         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15119         * sysdeps/mach/configure: Likewise.
15120         * sysdeps/mach/hurd/configure: Likewise.
15121         * sysdeps/powerpc/configure: Likewise.
15122         * sysdeps/powerpc/powerpc32/configure: Likewise.
15123         * sysdeps/powerpc/powerpc64/configure: Likewise.
15124         * sysdeps/s390/s390-32/configure: Likewise.
15125         * sysdeps/s390/s390-64/configure: Likewise.
15126         * sysdeps/sh/configure: Likewise.
15127         * sysdeps/sparc/configure: Likewise.
15128         * sysdeps/unix/sysv/linux/configure: Likewise.
15129         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15130         * sysdeps/x86_64/configure: Likewise.
15131         * sysdeps/x86_64/preconfigure: Likewise.
15132
15133 2013-10-29  Andreas Schwab  <schwab@suse.de>
15134
15135         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15136
15137 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15138
15139         * benchtests/pow-inputs: Add new inputs.
15140
15141         * benchtests/exp-inputs: Add new inputs.
15142
15143         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15144         conditional check for return value.
15145         (__cos32): Likewise.
15146
15147 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15148
15149         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15150         to provide a boost for large inputs with word alignment.
15151         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15152         implementation based on optimized PPC64 strcpy.
15153         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15154         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15155         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15156         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15157
15158 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15159
15160         [BZ #2801]
15161         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15162
15163 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15164
15165         [BZ #14876]
15166         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15167         * time/tst-strptime.c (day_tests): Add testcase.
15168
15169 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15170
15171         [BZ #14029]
15172         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15173
15174 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15175
15176         [BZ #16074]
15177         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15178         MAP_FAILED on error.
15179
15180 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15181
15182         [BZ #16072]
15183         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15184         heap for large requests.
15185
15186 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15187
15188         [BZ #9954]
15189         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15190         result if the result has no associated interface.
15191         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15192         interface for all 127.X.Y.Z addresses.
15193
15194 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15195
15196         * locale/iso-639.def: Add Ligurian (lij)
15197
15198 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15199
15200         [BZ #15825]
15201         * sunrpc/rpc_main.c: Document rpcgen -5.
15202
15203 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15204
15205         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15206
15207 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15208
15209         [BZ #10278]
15210         * posix/glob.c: Match only directories when trailing slash is present.
15211         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15212         (main): Add testcase.
15213
15214 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15215
15216         [BZ #15670]
15217         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15218
15219 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15220
15221         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15222         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15223         AUTH_DES and cindex for FIPS 140-2.
15224         (DES Encryption): Add cindex FIPS 46-3.
15225
15226         * locale/locarchive.h (struct locarhandle): Add fname.
15227         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15228         if an optional argument was specified to --list-archive,
15229         otherwise NULL.
15230         * locale/programs/locarchive.c (show_archive_content): Take new
15231         argument fname and pass it via ah.fname to open_archive.
15232         * locale/programs/localedef.h: Update decl.
15233         (open_archive): If AH->fname is non-null, open that file
15234         rather than the default file name, and don't ignore ENOENT.
15235         (create_archive): Set AH.fname to NULL.
15236         (delete_locales_from_archive): Likewise.
15237         (add_locales_to_archive): Likewise.
15238         * locale/programs/locfile.c (write_all_categories): Likewise.
15239
15240 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15241             Aldy Hernandez  <aldyh@redhat.com>
15242
15243         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15244         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15245         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15246         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15247         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15248         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15249         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15250         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15251         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15252         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15253         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15254         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15255         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15256         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15257         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15258         Likewise.
15259         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15260         Likewise.
15261         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15262         Likewise.
15263         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15264         Likewise.
15265         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15266         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15267         Likewise.
15268         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15269         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15270         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15271         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15272         Likewise.
15273         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15274         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15275         * sysdeps/powerpc/preconfigure: Likewise.
15276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15277         Likewise.
15278         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15279         Replace contents of file by #include of <fenv_libc.h>.
15280         * sysdeps/powerpc/soft-fp/sfp-machine.h
15281         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15282         and <sys/prctl.h>.
15283         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15284         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15285         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15286         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15287         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15288         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15290         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15291         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15292         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15293         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15294         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15296         Allow copysignl PLT reference to be missing.
15297
15298 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15299             Joseph Myers  <joseph@codesourcery.com
15300
15301         [BZ #15948]
15302         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15303         single character.
15304         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15305
15306 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15307
15308         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15309         * elf/tst-tls1.c: Likewise.
15310         * elf/tst-tls10.h: Likewise.
15311         * elf/tst-tls14.c: Likewise.
15312         * elf/tst-tls2.c: Likewise.
15313         * elf/tst-tls3.c: Likewise.
15314         * elf/tst-tls4.c: Likewise.
15315         * elf/tst-tls5.c: Likewise.
15316         * elf/tst-tls6.c: Likewise.
15317         * elf/tst-tls7.c: Likewise.
15318         * elf/tst-tls8.c: Likewise.
15319         * elf/tst-tls9.c: Likewise.
15320         * elf/tst-tlsmod1.c: Likewise.
15321         * elf/tst-tlsmod13.c: Likewise.
15322         * elf/tst-tlsmod13a.c: Likewise.
15323         * elf/tst-tlsmod14a.c: Likewise.
15324         * elf/tst-tlsmod16a.c: Likewise.
15325         * elf/tst-tlsmod16b.c: Likewise.
15326         * elf/tst-tlsmod2.c: Likewise.
15327         * elf/tst-tlsmod3.c: Likewise.
15328         * elf/tst-tlsmod4.c: Likewise.
15329         * elf/tst-tlsmod5.c: Likewise.
15330         * elf/tst-tlsmod6.c: Likewise.
15331
15332 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15333
15334         [BZ #12486]
15335         * malloc/malloc.c: remove checks for statistics.
15336
15337 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15338
15339         [BZ #15277]
15340         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15341         * inet/tst-network.c: Add testcase.
15342
15343 2013-10-17  Andreas Schwab  <schwab@suse.de>
15344
15345         [BZ #15218]
15346         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15347         to determine canonical name.
15348
15349 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15350
15351         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15352         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15353         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15354         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15355         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15356         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15357         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15358         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15359         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15360         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15361         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15362         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15363         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15364         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15365         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15366         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15368         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15369         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15370         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15371         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15372         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15373         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15374         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15375         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15376         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15377         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15378         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15379         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15380         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15381         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15382         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15383         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15384         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15385         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15386         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15387         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15388         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15389         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15390         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15391         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15392         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15393         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15394         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15395         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15396         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15397         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15398         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15399         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15400         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15401         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15402         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15403         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15404         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15405         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15406         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15407         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15408         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15409
15410 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15411
15412         [BZ #16041]
15413         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15414         make result into a quiet NaN.
15415
15416 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15417
15418         * soft-fp/adddf3.c: Fix horizontal whitespace.
15419         * soft-fp/addsf3.c: Likewise.
15420         * soft-fp/addtf3.c: Likewise.
15421         * soft-fp/divdf3.c: Likewise.
15422         * soft-fp/divsf3.c: Likewise.
15423         * soft-fp/divtf3.c: Likewise.
15424         * soft-fp/double.h: Likewise.
15425         * soft-fp/eqdf2.c: Likewise.
15426         * soft-fp/eqsf2.c: Likewise.
15427         * soft-fp/eqtf2.c: Likewise.
15428         * soft-fp/extenddftf2.c: Likewise.
15429         * soft-fp/extended.h: Likewise.
15430         * soft-fp/extendsfdf2.c: Likewise.
15431         * soft-fp/extendsftf2.c: Likewise.
15432         * soft-fp/extendxftf2.c: Likewise.
15433         * soft-fp/fixdfdi.c: Likewise.
15434         * soft-fp/fixdfsi.c: Likewise.
15435         * soft-fp/fixdfti.c: Likewise.
15436         * soft-fp/fixsfdi.c: Likewise.
15437         * soft-fp/fixsfsi.c: Likewise.
15438         * soft-fp/fixsfti.c: Likewise.
15439         * soft-fp/fixtfdi.c: Likewise.
15440         * soft-fp/fixtfsi.c: Likewise.
15441         * soft-fp/fixtfti.c: Likewise.
15442         * soft-fp/fixunsdfdi.c: Likewise.
15443         * soft-fp/fixunsdfsi.c: Likewise.
15444         * soft-fp/fixunsdfti.c: Likewise.
15445         * soft-fp/fixunssfdi.c: Likewise.
15446         * soft-fp/fixunssfsi.c: Likewise.
15447         * soft-fp/fixunssfti.c: Likewise.
15448         * soft-fp/fixunstfdi.c: Likewise.
15449         * soft-fp/fixunstfsi.c: Likewise.
15450         * soft-fp/fixunstfti.c: Likewise.
15451         * soft-fp/floatdidf.c: Likewise.
15452         * soft-fp/floatdisf.c: Likewise.
15453         * soft-fp/floatditf.c: Likewise.
15454         * soft-fp/floatsidf.c: Likewise.
15455         * soft-fp/floatsisf.c: Likewise.
15456         * soft-fp/floatsitf.c: Likewise.
15457         * soft-fp/floattidf.c: Likewise.
15458         * soft-fp/floattisf.c: Likewise.
15459         * soft-fp/floattitf.c: Likewise.
15460         * soft-fp/floatundidf.c: Likewise.
15461         * soft-fp/floatundisf.c: Likewise.
15462         * soft-fp/floatunditf.c: Likewise.
15463         * soft-fp/floatunsidf.c: Likewise.
15464         * soft-fp/floatunsisf.c: Likewise.
15465         * soft-fp/floatunsitf.c: Likewise.
15466         * soft-fp/floatuntidf.c: Likewise.
15467         * soft-fp/floatuntisf.c: Likewise.
15468         * soft-fp/floatuntitf.c: Likewise.
15469         * soft-fp/fmadf4.c: Likewise.
15470         * soft-fp/fmasf4.c: Likewise.
15471         * soft-fp/fmatf4.c: Likewise.
15472         * soft-fp/gedf2.c: Likewise.
15473         * soft-fp/gesf2.c: Likewise.
15474         * soft-fp/getf2.c: Likewise.
15475         * soft-fp/ledf2.c: Likewise.
15476         * soft-fp/lesf2.c: Likewise.
15477         * soft-fp/letf2.c: Likewise.
15478         * soft-fp/muldf3.c: Likewise.
15479         * soft-fp/mulsf3.c: Likewise.
15480         * soft-fp/multf3.c: Likewise.
15481         * soft-fp/negdf2.c: Likewise.
15482         * soft-fp/negsf2.c: Likewise.
15483         * soft-fp/negtf2.c: Likewise.
15484         * soft-fp/op-1.h: Likewise.
15485         * soft-fp/op-2.h: Likewise.
15486         * soft-fp/op-4.h: Likewise.
15487         * soft-fp/op-8.h: Likewise.
15488         * soft-fp/op-common.h: Likewise.
15489         * soft-fp/quad.h: Likewise.
15490         * soft-fp/single.h: Likewise.
15491         * soft-fp/soft-fp.h: Likewise.
15492         * soft-fp/sqrtdf2.c: Likewise.
15493         * soft-fp/sqrtsf2.c: Likewise.
15494         * soft-fp/sqrttf2.c: Likewise.
15495         * soft-fp/subdf3.c: Likewise.
15496         * soft-fp/subsf3.c: Likewise.
15497         * soft-fp/subtf3.c: Likewise.
15498         * soft-fp/truncdfsf2.c: Likewise.
15499         * soft-fp/trunctfdf2.c: Likewise.
15500         * soft-fp/trunctfsf2.c: Likewise.
15501         * soft-fp/trunctfxf2.c: Likewise.
15502         * soft-fp/unorddf2.c: Likewise.
15503         * soft-fp/unordsf2.c: Likewise.
15504         * soft-fp/unordtf2.c: Likewise.
15505
15506 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15507
15508         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15509         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15510
15511 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15512
15513         * elf/dl-libc.c: Clear initfini list after freeing.
15514
15515 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15516
15517         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15518         * soft-fp/addsf3.c: Likewise.
15519         * soft-fp/addtf3.c: Likewise.
15520         * soft-fp/divdf3.c: Likewise.
15521         * soft-fp/divsf3.c: Likewise.
15522         * soft-fp/divtf3.c: Likewise.
15523         * soft-fp/double.h: Likewise.
15524         * soft-fp/eqdf2.c: Likewise.
15525         * soft-fp/eqsf2.c: Likewise.
15526         * soft-fp/eqtf2.c: Likewise.
15527         * soft-fp/extenddftf2.c: Likewise.
15528         * soft-fp/extended.h: Likewise.
15529         * soft-fp/extendsfdf2.c: Likewise.
15530         * soft-fp/extendsftf2.c: Likewise.
15531         * soft-fp/extendxftf2.c: Likewise.
15532         * soft-fp/fixdfdi.c: Likewise.
15533         * soft-fp/fixdfsi.c: Likewise.
15534         * soft-fp/fixdfti.c: Likewise.
15535         * soft-fp/fixsfdi.c: Likewise.
15536         * soft-fp/fixsfsi.c: Likewise.
15537         * soft-fp/fixsfti.c: Likewise.
15538         * soft-fp/fixtfdi.c: Likewise.
15539         * soft-fp/fixtfsi.c: Likewise.
15540         * soft-fp/fixtfti.c: Likewise.
15541         * soft-fp/fixunsdfdi.c: Likewise.
15542         * soft-fp/fixunsdfsi.c: Likewise.
15543         * soft-fp/fixunsdfti.c: Likewise.
15544         * soft-fp/fixunssfdi.c: Likewise.
15545         * soft-fp/fixunssfsi.c: Likewise.
15546         * soft-fp/fixunssfti.c: Likewise.
15547         * soft-fp/fixunstfdi.c: Likewise.
15548         * soft-fp/fixunstfsi.c: Likewise.
15549         * soft-fp/fixunstfti.c: Likewise.
15550         * soft-fp/floatdidf.c: Likewise.
15551         * soft-fp/floatdisf.c: Likewise.
15552         * soft-fp/floatditf.c: Likewise.
15553         * soft-fp/floatsidf.c: Likewise.
15554         * soft-fp/floatsisf.c: Likewise.
15555         * soft-fp/floatsitf.c: Likewise.
15556         * soft-fp/floattidf.c: Likewise.
15557         * soft-fp/floattisf.c: Likewise.
15558         * soft-fp/floattitf.c: Likewise.
15559         * soft-fp/floatundidf.c: Likewise.
15560         * soft-fp/floatundisf.c: Likewise.
15561         * soft-fp/floatunsidf.c: Likewise.
15562         * soft-fp/floatunsisf.c: Likewise.
15563         * soft-fp/floatuntidf.c: Likewise.
15564         * soft-fp/floatuntisf.c: Likewise.
15565         * soft-fp/floatuntitf.c: Likewise.
15566         * soft-fp/fmadf4.c: Likewise.
15567         * soft-fp/fmasf4.c: Likewise.
15568         * soft-fp/fmatf4.c: Likewise.
15569         * soft-fp/gedf2.c: Likewise.
15570         * soft-fp/gesf2.c: Likewise.
15571         * soft-fp/getf2.c: Likewise.
15572         * soft-fp/ledf2.c: Likewise.
15573         * soft-fp/lesf2.c: Likewise.
15574         * soft-fp/letf2.c: Likewise.
15575         * soft-fp/muldf3.c: Likewise.
15576         * soft-fp/mulsf3.c: Likewise.
15577         * soft-fp/multf3.c: Likewise.
15578         * soft-fp/negdf2.c: Likewise.
15579         * soft-fp/negsf2.c: Likewise.
15580         * soft-fp/negtf2.c: Likewise.
15581         * soft-fp/op-1.h: Likewise.
15582         * soft-fp/op-2.h: Likewise.
15583         * soft-fp/op-4.h: Likewise.
15584         * soft-fp/op-8.h: Likewise.
15585         * soft-fp/op-common.h: Likewise.
15586         * soft-fp/quad.h: Likewise.
15587         * soft-fp/single.h: Likewise.
15588         * soft-fp/soft-fp.h: Likewise.
15589         * soft-fp/sqrtdf2.c: Likewise.
15590         * soft-fp/sqrtsf2.c: Likewise.
15591         * soft-fp/sqrttf2.c: Likewise.
15592         * soft-fp/subdf3.c: Likewise.
15593         * soft-fp/subsf3.c: Likewise.
15594         * soft-fp/subtf3.c: Likewise.
15595         * soft-fp/truncdfsf2.c: Likewise.
15596         * soft-fp/trunctfdf2.c: Likewise.
15597         * soft-fp/trunctfsf2.c: Likewise.
15598         * soft-fp/trunctfxf2.c: Likewise.
15599         * soft-fp/unorddf2.c: Likewise.
15600         * soft-fp/unordsf2.c: Likewise.
15601         * soft-fp/unordtf2.c: Likewise.
15602
15603 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15604
15605         [BZ #15672]
15606         * misc/error.c (error_tail): Fix possible buffer overflow.
15607
15608 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15609
15610         [BZ #13028]
15611         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15612         address.
15613
15614 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15615
15616         [BZ #832]
15617         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15618         testing pipefail option.
15619
15620 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15621
15622         * soft-fp/double.h: Indent preprocessor directives inside #if.
15623         * soft-fp/extended.h: Likewise.
15624         * soft-fp/op-2.h: Likewise.
15625         * soft-fp/op-4.h: Likewise.
15626         * soft-fp/op-common.h: Likewise.
15627         * soft-fp/quad.h: Likewise.
15628         * soft-fp/single.h: Likewise.
15629         * soft-fp/soft-fp.h: Likewise.
15630
15631 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15632
15633         * iconv/iconv_prog.c: Fix typos.
15634         * stdio-common/psiginfo-data.h: Likewise.
15635
15636 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15637
15638         [BZ #15764]
15639         * locale/setlocale.c: Fix typo.
15640
15641 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15642
15643         [BZ #16036]
15644         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15645         signaling NaN arguments.
15646         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15647         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15648
15649         [BZ #14910]
15650         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15651         unordered operands.
15652         * soft-fp/gesf2.c (__gesf2): Likewise.
15653         * soft-fp/getf2.c (__getf2): Likewise.
15654         * soft-fp/ledf2.c (__ledf2): Likewise.
15655         * soft-fp/lesf2.c (__lesf2): Likewise.
15656         * soft-fp/letf2.c (__letf2): Likewise.
15657
15658         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15659         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15660         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15661         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15662         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15663         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15664         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15665         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15666         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15667         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15668         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15669         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15670         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15671         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15672         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15673         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15674         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15675         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15676         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15677         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15678         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15679         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15680         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15681         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15682         * soft-fp/floattidf.c (__floattidf): Likewise.
15683         * soft-fp/floattisf.c (__floattisf): Likewise.
15684         * soft-fp/floattitf.c (__floattitf): Likewise.
15685         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15686         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15687         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15688         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15689         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15690         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15691         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15692         * soft-fp/gesf2.c (__gesf2): Likewise.
15693         * soft-fp/getf2.c (__getf2): Likewise.
15694         * soft-fp/ledf2.c (__ledf2): Likewise.
15695         * soft-fp/lesf2.c (__lesf2): Likewise.
15696         * soft-fp/letf2.c (__letf2): Likewise.
15697
15698         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15699         Undefine and redefine.
15700         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15701         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15702         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15703         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15704         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15705         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15706         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15707         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15708         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15709         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15710         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15711         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15712         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15713         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15714         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15715
15716         [BZ #16032]
15717         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15718         without decrementing exponent if mantissa >= that for the
15719         denominator, not >.
15720         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15721         denominator, not >.  Decrement exponent in < case instead of
15722         incrementing in >= case.
15723         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15724         without decrementing exponent if mantissa >= that for the
15725         denominator, not >.
15726
15727         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15728         computing saturated result for unsigned overflow.
15729
15730 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15731             Jeff Law  <law@redhat.com>
15732
15733         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15734         (atan2Mp): Add systemtap probe marker.
15735         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15736         (__ieee754_log): Add systemtap probe marker.
15737         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15738         (atanMp): Add systemtap probe marker.
15739         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15740         (tanMp): Add systemtap probe marker.
15741         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15742         (__slowexp): Add systemtap probe marker.
15743         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15744         (__slowpow): Add systemtap probe marker.
15745         * manual/probes.texi: Document probes.
15746
15747 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15748
15749         [BZ #15362]
15750         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15751         written.
15752         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15753         written.
15754         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15755         written to buffer but not flushed.
15756         * libio/iofwrite_u.c:  Likewise.
15757         * libio/iopadn.c:  Return bytes returned even if EOF was
15758         encountered.
15759         * libio/iowpadn.c:  Likewise.
15760         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15761         if _IO_padn does not write the whole buffer.
15762         [!COMPILE_WPRINTF] (PAD): Likewise.
15763
15764 2013-10-10  David S. Miller  <davem@davemloft.net>
15765
15766         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15767         directory block.
15768
15769 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15770
15771         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15772         instead of FSF address.
15773         * soft-fp/fixdfti.c: Likewise.
15774         * soft-fp/fixsfti.c: Likewise.
15775         * soft-fp/fixtfti.c: Likewise.
15776         * soft-fp/fixunsdfti.c: Likewise.
15777         * soft-fp/fixunssfti.c: Likewise.
15778         * soft-fp/fixunstfti.c: Likewise.
15779         * soft-fp/floattidf.c: Likewise.
15780         * soft-fp/floattisf.c: Likewise.
15781         * soft-fp/floattitf.c: Likewise.
15782         * soft-fp/floatuntidf.c: Likewise.
15783         * soft-fp/floatuntisf.c: Likewise.
15784         * soft-fp/floatuntitf.c: Likewise.
15785         * soft-fp/trunctfxf2.c: Likewise.
15786
15787         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15788         * soft-fp/fixdfti.c: Likewise.
15789         * soft-fp/fixsfti.c: Likewise.
15790         * soft-fp/fixtfti.c: Likewise.
15791         * soft-fp/fixunsdfti.c: Likewise.
15792         * soft-fp/fixunssfti.c: Likewise.
15793         * soft-fp/fixunstfti.c: Likewise.
15794         * soft-fp/floattidf.c: Likewise.
15795         * soft-fp/floattisf.c: Likewise.
15796         * soft-fp/floattitf.c: Likewise.
15797         * soft-fp/floatuntidf.c: Likewise.
15798         * soft-fp/floatuntisf.c: Likewise.
15799         * soft-fp/floatuntitf.c: Likewise.
15800         * soft-fp/trunctfxf2.c: Likewise.
15801
15802 2013-10-10  David S. Miller  <davem@davemloft.net>
15803
15804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15805
15806 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15807
15808         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15809         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15810         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15811         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15812         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15813         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15814         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15815
15816         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15817         for NaNs before doing comparisons on argument.
15818         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15819         Likewise.
15820
15821 2013-10-10  Will Newton  <will.newton@linaro.org>
15822
15823         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15824         passed to _int_memalign does not overflow.
15825
15826 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15827
15828         * scripts/bench.pl: Add include-sources directive.
15829         * benchtests/README: Update documentation.
15830
15831 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15832
15833         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15834         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15835         instead of FP_INIT_ROUNDMODE.
15836         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15837         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15838
15839         [BZ #16034]
15840         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15841         copy class of input value.
15842         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15843         not handle exceptions.
15844         * soft-fp/negsf2.c (__negsf2): Likewise.
15845         * soft-fp/negtf2.c (__negtf2): Likewise.
15846         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15847
15848 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15849
15850         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15851         semicolon.  From Linux kernel.
15852
15853 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15854
15855         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15856
15857 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15858
15859         [BZ #156]
15860         * manual/socket.texi: Added statement about buffer
15861         for gethostbyname2_r.
15862
15863 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15864
15865         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15866         Use .p2align directive instead, throughout.
15867         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15868         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15869         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15870         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15871         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15872         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15873         * sysdeps/x86_64/strchr.S: Likewise.
15874         * sysdeps/x86_64/strrchr.S: Likewise.
15875
15876 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15877
15878         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15879
15880         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15881
15882         * sysdeps/generic/math_private.h (__mpsin1): Remove
15883         declaration.
15884         (__mpcos1): Likewise.
15885         (__mpsin): New argument __range_reduce.
15886         (__mpcos): Likewise.
15887         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15888         (slow): Use __mpsin and __mpcos.
15889         (slow1): Likewise.
15890         (slow2): Likewise.
15891         (sloww): Likewise.
15892         (sloww1): Likewise.
15893         (sloww2): Likewise.
15894         (bsloww): Likewise.
15895         (bsloww1): Likewise.
15896         (bsloww2): Likewise.
15897         (cslow2): Likewise.
15898         (csloww): Likewise.
15899         (csloww1): Likewise.
15900         (csloww2): Likewise.
15901         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15902         range_reduce.  Merge in __mpsin1.
15903         (__mpcos): Likewise.
15904         (__mpsin1): Remove.
15905         (__mpcos1): Likewise.
15906
15907 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15908
15909         * locale/loadlocale.c (_nl_intern_locale_data): Use
15910         LOCFILE_ALIGNED_P.
15911         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15912         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15913         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15914         obstack data is appropriately aligned.
15915         (obstack_int32_grow_fast): Likewise.
15916         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15917         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15918         (add_locale_uint32_array): Likewise.
15919
15920 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15921
15922         * benchtests/Makefile: Remove ARGLIST and RET variables.
15923         ($(objpfx)bench-%.c): Pass only function name to the script.
15924         * benchtests/README: Update documentation.
15925         * benchtests/acos-inputs: Add new directives.
15926         * benchtests/acosh-inputs: Likewise.
15927         * benchtests/asin-inputs: Likewise.
15928         * benchtests/asinh-inputs: Likewise.
15929         * benchtests/atan-inputs: Likewise.
15930         * benchtests/atanh-inputs: Likewise.
15931         * benchtests/cos-inputs: Likewise.
15932         * benchtests/cosh-inputs: Likewise.
15933         * benchtests/exp-inputs: Likewise.
15934         * benchtests/log-inputs: Likewise.
15935         * benchtests/pow-inputs: Likewise.
15936         * benchtests/rint-inputs: Likewise.
15937         * benchtests/sin-inputs: Likewise.
15938         * benchtests/sinh-inputs: Likewise.
15939         * benchtests/tan-inputs: Likewise.
15940         * benchtests/tanh-inputs: Likewise.
15941         * scripts/bench.pl: Add support for new directives.
15942
15943 2013-10-07  Alan Modra  <amodra@gmail.com>
15944
15945         * README: Fix careless merge.
15946
15947 2013-10-05  Alan Modra  <amodra@gmail.com>
15948
15949         * NEWS: Mention powerpc64le support and bugs fixed.
15950         * README: Both big-endian and little-endian powerpc64 supported.
15951
15952 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15953
15954         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15955         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15956         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15957         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15958
15959 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15960
15961         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15962         match prototype.
15963
15964 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15965
15966         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15967         Move -mhard-float appending from
15968         ports/sysdeps/powerpc/powerpc32/Makefile.
15969         [$(with-fp) = yes] (ASFLAGS): Likewise.
15970         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15971         * sysdeps/powerpc/nofpu: Move directory from
15972         ports/sysdeps/powerpc/nofpu.
15973         * sysdeps/powerpc/soft-fp: Move directory from
15974         ports/sysdeps/powerpc/soft-fp.
15975         * sysdeps/powerpc/powerpc32/405: Move directory from
15976         ports/sysdeps/powerpc/powerpc32/405.
15977         * sysdeps/powerpc/powerpc32/440: Move directory from
15978         ports/sysdeps/powerpc/powerpc32/440.
15979         * sysdeps/powerpc/powerpc32/464: Move directory from
15980         ports/sysdeps/powerpc/powerpc32/464.
15981         * sysdeps/powerpc/powerpc32/476: Move directory from
15982         ports/sysdeps/powerpc/powerpc32/476.
15983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15984         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15986         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15988         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15990         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15992         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15993         * README: Update for powerpc-*-linux-gnu software floating point
15994         support in libc.
15995
15996         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15997         case to powerpc/powerpc32*.
15998         * sysdeps/unix/sysv/linux/configure: Regenerated.
15999
16000         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16001         (_FPU_MASK_OM): Define as 0x04.
16002         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16004         0x00c10080.
16005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16006         0x0000003c.
16007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16008
16009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16010         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16011         getcontext_e500.
16012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16013         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16014         setcontext_e500.
16015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16016         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16017         and setcontext_e500.
16018
16019 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16020
16021         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16022
16023 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16024
16025         * manual/threads.texi (Default Thread Attributes): Fix typo.
16026
16027 2013-10-04  Will Newton  <will.newton@linaro.org>
16028
16029         * malloc/Makefile: Add tst-memalign.
16030         * malloc/tst-memalign.c: New file.
16031
16032         * malloc/tst-posix_memalign.c: Add comments.
16033         (do_test): Add comments and call free on all potentially
16034         allocated pointers. Add space after cast.
16035
16036         * malloc/tst-pvalloc.c: Add comments.
16037         (do_test): Add comments and call free on all potentially
16038         allocated pointers. Remove duplicate check for NULL pointer.
16039         Add space after cast.
16040
16041         * malloc/tst-valloc.c: Add comments.
16042         (do_test): Add comments and call free on all potentially
16043         allocated pointers. Remove duplicate check for NULL pointer.
16044         Add space after cast.
16045
16046 2013-10-04  Alan Modra  <amodra@gmail.com>
16047
16048         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16049         Use stdint types in rather than __attribute__((mode())).
16050         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16051
16052 2013-10-04  Alan Modra  <amodra@gmail.com>
16053
16054         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16055         Correct handling of unaligned relocs for little-endian.
16056         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16057
16058 2013-10-04  Alan Modra  <amodra@gmail.com>
16059
16060         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16061         * configure: Regenerate.
16062         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16063         * shlib-versions: Likewise.
16064
16065 2013-10-04  Alan Modra  <amodra@gmail.com>
16066
16067         * string/tester.c (test_memrchr): Increment reported test cycle.
16068
16069 2013-10-04  Alan Modra  <amodra@gmail.com>
16070
16071         * string/test-memcpy.c (do_one_test): When reporting errors, print
16072         string address and don't overrun end of string.
16073
16074 2013-10-04  Alan Modra  <amodra@gmail.com>
16075
16076         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16077         insrdi.  Make better use of reg selection to speed exit slightly.
16078         Schedule entry path a little better.  Remove useless "are we done"
16079         checks on entry to main loop.  Handle wrapping around zero address.
16080         Correct main loop count.  Handle single left-over word from main
16081         loop inline rather than by using loop_small.  Remove extra word
16082         case in loop_small caused by wrong loop count.  Add little-endian
16083         support.
16084         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16085         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16086         cache hint.
16087         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16088         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16089         support.  Avoid rlwimi.
16090         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16091
16092 2013-10-04  Alan Modra  <amodra@gmail.com>
16093
16094         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16095         insrdi.  Formatting.
16096         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16097         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16098         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16099         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16100         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16101         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16102
16103 2013-10-04  Alan Modra  <amodra@gmail.com>
16104
16105         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16106         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16107         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16108         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16109         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16110         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16111         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16112         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16113         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16114         use of regs.  Use power7 mtocrf.  Tidy function tails.
16115
16116 2013-10-04  Alan Modra  <amodra@gmail.com>
16117
16118         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16119         Formatting.  Consistently use rXXX register defines or rN defines.
16120         Use early exit labels that avoid restoring unused non-volatile regs.
16121         Make cr field use more consistent with rWORDn compares.  Rename
16122         regs used as shift registers for unaligned loop, using rN defines
16123         for short lifetime/multiple use regs.
16124         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16125         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16126         addi 1,1,64 to pop stack frame.  Simplify return value code.
16127         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16128
16129 2013-10-04  Alan Modra  <amodra@gmail.com>
16130
16131         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16132         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16133         rather than rlwimi.
16134         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16135         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16136         little-endian support.  Correct typos.
16137         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16138         rather than rlwimi.
16139         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16140         in loop and entry code to keep "and." results.
16141         (strchr): Add little-endian support.  Comment.  Move cntlzd
16142         earlier in tail.
16143         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16144
16145 2013-10-04  Alan Modra  <amodra@gmail.com>
16146
16147         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16148         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16149         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16150         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16151
16152 2013-10-04  Alan Modra  <amodra@gmail.com>
16153
16154         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16155         (rTMP): Define as r11.
16156         (strcmp): Add little-endian support.  Optimise tail.
16157         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16158         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16159         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16160         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16161         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16162         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16163         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16164
16165 2013-10-04  Alan Modra  <amodra@gmail.com>
16166
16167         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16168         little-endian support.  Remove unnecessary "are we done" tests.
16169         Handle "s" wrapping around zero and extremely large "size".
16170         Correct main loop count.  Handle single left-over word from main
16171         loop inline rather than by using small_loop.  Correct comments.
16172         Delete "zero" tail, use "end_max" instead.
16173         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16174
16175 2013-10-04  Alan Modra  <amodra@gmail.com>
16176
16177         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16178         support.  Don't branch over align.
16179         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16180         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16181         support.  Rearrange tmp reg use to suit.  Comment.
16182         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16183
16184 2013-10-04  Alan Modra  <amodra@gmail.com>
16185
16186         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16187
16188 2013-10-04  Alan Modra  <amodra@gmail.com>
16189
16190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16191         conditional form of branch and link when obtaining pc.
16192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16193
16194 2013-10-04  Alan Modra  <amodra@gmail.com>
16195
16196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16197         HIWORD/LOWORD.
16198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16200
16201 2013-10-04  Alan Modra  <amodra@gmail.com>
16202
16203         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16204         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16205         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16206         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16207         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16208         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16209         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16210         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16211         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16212         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16213
16214 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16215             Alistair Popple <alistair@ozlabs.au.ibm.com>
16216             Alan Modra <amodra@gmail.com>
16217
16218         [BZ #15723]
16219         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16220         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16221         _dl_hwcap access for little-endian.
16222         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16223         destroy vmx regs when saving unaligned.
16224         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16225         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16226         destroy vmx regs when saving unaligned.
16227
16228 2013-10-04  Alan Modra  <amodra@gmail.com>
16229
16230         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16231         Don't use a union to pack hi/low value.
16232
16233 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16234
16235         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16236         for little-endian.
16237         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16238         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16239         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16240         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16241         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16242
16243 2013-10-04  Alan Modra  <amodra@gmail.com>
16244
16245         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16246         constants to usual value for .cst8 section, and remove redundant
16247         high address load.
16248         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16249         constant for 0x1p52.  Load little-endian words of double from
16250         correct stack offsets.
16251
16252 2013-10-04  Alan Modra  <amodra@gmail.com>
16253
16254         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16255         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16256         words of double from correct stack offsets.
16257         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16258         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16259         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16260         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16261         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16262         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16263         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16264         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16265         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16266         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16267         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16268         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16269         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16270         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16271         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16272         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16273         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16274
16275 2013-10-04  Alan Modra  <amodra@gmail.com>
16276
16277         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16278         64-bit int/double union.
16279         (_FPU_SETCW): Likewise.
16280         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16281         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16282
16283 2013-10-04  Alan Modra  <amodra@gmail.com>
16284
16285         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16286         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16287
16288 2013-10-04  Alan Modra  <amodra@gmail.com>
16289
16290         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16291         use vector int constants.
16292         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16293
16294 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16295
16296         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16297         array with long long.
16298         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16299         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16300         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16301         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16302         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16303         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16304         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16305         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16306         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16307         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16308         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16309         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16310         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16311
16312 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16313
16314         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16315         (__signbit): Likewise.  Correct for little-endian.
16316         (__signbitl): Call __signbit.
16317         (lrint): Correct for little-endian.
16318         (lrintf): Call lrint.
16319
16320 2013-10-04  Alan Modra  <amodra@gmail.com>
16321
16322         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16323         union 32-bit int array member with 64-bit int array.
16324         (t515, tm256): Double rather than long double.
16325         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16326
16327 2013-10-04  Alan Modra  <amodra@gmail.com>
16328
16329         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16330         Delete.
16331         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16332         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16333         version of math_ldbl.h.
16334
16335 2013-10-04  Alan Modra  <amodra@gmail.com>
16336
16337         [BZ #15734], [BZ #15735]
16338         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16339         all uses of ieee875 long double macros and unions.  Simplify test
16340         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16341         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16342         normalize after ldbl_extract_mantissa, and don't add hidden bit
16343         already handled.  Don't treat low word of ieee854 mantissa like
16344         low word of IBM long double and mask off bit when testing for
16345         zero.
16346         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16347         all uses of ieee875 long double macros and unions.  Simplify tests
16348         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16349         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16350         two1022, instead use their values.  Recognise that tests for large
16351         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16352         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16353         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16354         test for 0.0L and nan.  Correct negation.
16355         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16356         ieee875 long double macros and unions.  Correct output for large
16357         magnitude x.  Correct absolute value calculation.
16358         (__erfcl): Likewise.
16359         * math/libm-test.inc: Add tests for errors discovered in IBM long
16360         double versions of fmodl, remainderl, erfl and erfcl.
16361
16362 2013-10-04  Alan Modra  <amodra@gmail.com>
16363
16364         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16365         all uses of ieee854 long double macros and unions.  Simplify tests
16366         for long doubles that are fully specified by the high double.
16367         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16368         Likewise.
16369         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16370         Remove dead code too.
16371         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16372         (__ieee754_ynl): Likewise.
16373         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16374         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16375         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16376         Remove dead code too.
16377         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16378         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16379         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16380         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16381         Simplify.
16382         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16383         Simplify.
16384         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16385         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16386         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16387         Comment on variable precision.
16388         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16389         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16390         Likewise.
16391         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16392         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16393         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16394         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16395         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16396
16397 2013-10-04  Alan Modra  <amodra@gmail.com>
16398
16399         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16400         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16401         all uses of ieee854 long double macros and unions.
16402         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16403         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16404         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16405         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16406         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16407         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16408         Likewise.
16409         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16410         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16411         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16412         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16413         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16414         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16415         Simplify sign and nan test too.
16416         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16417         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16418         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16419         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16420         Likewise.
16421         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16422         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16423         Likewise.
16424         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16425         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16426         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16427         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16428         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16429         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16430
16431 2013-10-04  Alan Modra  <amodra@gmail.com>
16432
16433         * stdio-common/printf_size.c (__printf_size): Don't use
16434         union ieee854_long_double in fpnum union.
16435         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16436         signbit macro to retrieve sign from long double.
16437         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16438         retrieve sign from long double.
16439         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16440         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16441         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16442         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16443         * math/test-misc.c (main): Don't use union ieee854_long_double.
16444
16445 2013-10-04  Alan Modra  <amodra@gmail.com>
16446
16447         [BZ #15680]
16448         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16449         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16450         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16451         calculation.  Remove unnecessary test for denormal exponent.
16452         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16453         Correct handling of denormals.  Avoid undefined shift behaviour.
16454         Correct normalisation of low mantissa when low double is denormal.
16455         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16456         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16457         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16458         Correct normalisation of low mantissa.  Test for overflow of high
16459         mantissa and normalise.
16460         (ldbl_nearbyint): Use more readable constant for two52.
16461         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16462         (__mpn_construct_long_double): Fix test for overflow of high
16463         mantissa and correct normalisation.  Avoid undefined shift.
16464
16465 2013-10-04  Alan Modra  <amodra@gmail.com>
16466
16467         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16468         (union ibm_extended_long_double): Define as an array of ieee754_double.
16469         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16470         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16471         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16472         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16473         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16474         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16475         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16476         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16477         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16478         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16479         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16480
16481 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16482
16483         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16484         page size instead of calling getpagesize.
16485
16486         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16487         (LOCFILE_ALIGN_MASK): Likewise.
16488         (LOCFILE_ALIGN_UP): Likewise.
16489         (LOCFILE_ALIGNED_P): Likewise.
16490         * locale/programs/ld-collate.c (collate_output): Use the new
16491         macros instead of __alignof__ (int32_t).
16492         * locale/weight.h (findidx): Likewise.
16493
16494 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16495
16496         [BZ #431]
16497         * manual/string.texi: Fix strncat and wcsncat.
16498
16499 2013-10-03  Brooks Moses  <bmoses@google.com>
16500
16501         [BZ #15915]
16502         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16503         * Makerules: ...here, and adjust associated comments.
16504
16505 2013-10-02  Will Newton  <will.newton@linaro.org>
16506
16507         * malloc/Makefile: Add tst-pvalloc.
16508         * malloc/tst-pvalloc.c: New file.
16509
16510 2013-10-02  Will Newton  <will.newton@linaro.org>
16511
16512         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16513         improve test coverage.
16514
16515 2013-10-02  Will Newton  <will.newton@linaro.org>
16516
16517         * malloc/Makefile: Add tst-posix_memalign.
16518         * malloc/tst-posix_memalign.c: New file.
16519
16520 2013-10-01  Eric Blake  <eblake@redhat.com>
16521
16522         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16523         Use __THROWNL rather than __THROW on static functions.
16524
16525 2013-09-30  Petr Machata  <pmachata@redhat.com>
16526
16527         * elf/elf.h (R_AARCH64_ABS16): New macro.
16528         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16529         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16530         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16531         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16532         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16533         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16534         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16535         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16536         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16537         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16538         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16539         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16540         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16541         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16542         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16543         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16544         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16545         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16546         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16547         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16548         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16549         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16550         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16551         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16552         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16553         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16554         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16555         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16556         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16557         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16558         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16559         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16560         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16561         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16562         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16563         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16564         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16565         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16566         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16567         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16568         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16569         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16570         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16571         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16572         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16573         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16574         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16575         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16576         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16577         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16578         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16579         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16580         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16581         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16582         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16583         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16584         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16585         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16586         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16587         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16588         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16589         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16590         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16591         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16592         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16593         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16594         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16595         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16596         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16597         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16598         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16599         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16600         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16601         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16602         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16603         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16604         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16605         (R_AARCH64_TLSDESC_LDR): Likewise.
16606         (R_AARCH64_TLSDESC_ADD): Likewise.
16607         (R_AARCH64_TLSDESC_CALL): Likewise.
16608
16609 2013-09-30  Andreas Schwab  <schwab@suse.de>
16610
16611         [BZ #15048]
16612         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16613         the nss database lookup.
16614         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16616
16617 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16618
16619         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16620
16621 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16622
16623         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16624         ${Bash-specific parameter/pattern/string} parameter expansion.
16625         * sysdeps/unix/make-syscalls.sh: Likewise.
16626
16627 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16628
16629         * sysdeps/sh/stackguard-macros.h: New file.
16630
16631 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16632
16633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16635         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16636         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16637         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16638         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16639
16640 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16641
16642         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16643         Fix thread ID register.
16644
16645 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16646
16647         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16648         [POSIX || UNIX98]: Require rather than permitting all symbols from
16649         <time.h>.
16650         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16651         element of struct sched_param.
16652         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16653         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16654         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16655         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16656         constant.
16657
16658 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16659
16660         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16661         argument calculation.
16662
16663 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16664
16665         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16666         Expect macro.
16667         [POSIX] (pthread_attr_t): Do not require type.
16668         [POSIX] (pthread_cond_t): Likewise.
16669         [POSIX] (pthread_condattr_t): Likewise.
16670         [POSIX] (pthread_key_t): Likewise.
16671         [POSIX] (pthread_mutex_t): Likewise.
16672         [POSIX] (pthread_mutexattr_t): Likewise.
16673         [POSIX] (pthread_once_t): Likewise.
16674         [POSIX] (pthread_t): Likewise.
16675         [POSIX-based standards] (pthread_atfork): Expect function.
16676
16677 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16678             Richard Sandiford  <richard@codesourcery.com>
16679
16680         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16681         (swap_endianness_p): New extern variable.
16682         (set_big_endian): New inline function.
16683         (maybe_swap_uint32): Likewise.
16684         (maybe_swap_uint32_array): Likewise.
16685         (maybe_swap_uint32_obstack): Likewise.
16686         * locale/programs/locfile.c: Include <stdbool.h>.
16687         (swap_endianness_p): New variable.
16688         (add_locale_uint32): Call maybe_swap_uint32.
16689         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16690         (write_locale_data): Call maybe_swap_uint32_array.
16691         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16692         maybe_swap_uint32.
16693         (obstack_int32_grow_fast): Likewise.
16694         (output_weightwc): Call maybe_swap_uint32_obstack.
16695         (collate_output): Likewise.
16696         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16697         (OPT_LITTLE_ENDIAN): Likewise.
16698         (options): Add --little-endian and --big-endian options.
16699         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16700         * locale/programs/locarchive.c: Include "locfile.h".
16701         (GET): New macro.
16702         (SET): Likewise.
16703         (INC): Likewise.
16704         (create_archive): Use the new macros to access fields of
16705         structures directly mapped from or written to locale archives.
16706         (oldlocrecentcmp): Likewise.
16707         (enlarge_archive): Likewise.
16708         (insert_name): Likewise.
16709         (add_alias): Likewise.
16710         (add_locale): Likewise.
16711         (delete_locales_from_archive): Likewise.
16712         (show_archive_content): Likewise.
16713         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16714         locale data.
16715
16716 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16717
16718         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16719         http://www.gnu.org/doc/freemanuals.texi.
16720         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16721
16722 2013-09-24  Will Newton  <will.newton@linaro.org>
16723
16724         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16725         macro.
16726
16727 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16728
16729         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16730         unsigned char.
16731
16732 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16733
16734         * manual/threads.texi (POSIX Threads): Fix a typo.
16735
16736 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16737
16738         [BZ #14547]
16739         * string/tst-strcoll-overflow.c: New test case.
16740         * string/Makefile (xtests): Add tst-strcoll-overflow.
16741         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16742         cache if string sizes may cause integer overflow.
16743
16744         [BZ #14547]
16745         * string/strcoll_l.c (coll_seq): New members rule, idx,
16746         save_idx and back_us.
16747         (get_next_seq_nocache): New function.
16748         (do_compare_nocache): New function.
16749         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16750         when malloc fails.
16751
16752 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16753
16754         [BZ #15754]
16755         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16756         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16757         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16758
16759         [BZ #15754]
16760         * elf/Makefile (tests): Add tst-ptrguard1.
16761         (tests-static): Add tst-ptrguard1-static.
16762         (tst-ptrguard1-ARGS): Define.
16763         (tst-ptrguard1-static-ARGS): Define.
16764         * elf/tst-ptrguard1.c: New file.
16765         * elf/tst-ptrguard1-static.c: New file.
16766         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16767         * sysdeps/i386/stackguard-macros.h: Likewise.
16768         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16769         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16770         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16771         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16772         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16773         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16774
16775 2013-09-23  Hector Marco  <hecmargi@upv.es>
16776             Ismael Ripoll  <iripoll@disca.upv.es>
16777             Carlos O'Donell  <carlos@redhat.com>
16778
16779         [BZ #15754]
16780         * sysdeps/generic/stackguard-macros.h: Define
16781         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16782         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16783         Define __pointer_chk_guard_local.
16784         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16785         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16786
16787 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16788
16789         [BZ #15859]
16790         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16791
16792 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16793
16794         * include/string.h (__ffs): Declare as hidden.
16795         * string/ffs.c (__ffs): Define as hidden.
16796         * sysdeps/i386/ffs.c (__ffs): Likewise.
16797         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16798         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16799         * sysdeps/s390/ffs.c (__ffs): Likewise.
16800         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16801
16802 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16803
16804         * NEWS: Mention malloc probes.
16805
16806         * malloc/arena.c (new_heap): New memory_heap_new probe.
16807         (grow_heap): New memory_heap_more probe.
16808         (shrink_heap): New memory_heap_less probe.
16809         (heap_trim): New memory_heap_free probe.
16810         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16811         (systrim): New memory_sbrk_less probe.
16812         * manual/probes.texi: Document them.
16813
16814         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16815         * manual/probes.texi: Document it.
16816
16817         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16818         (__libc_realloc): Add memory_realloc_retry probe.
16819         (__libc_memalign): Add memory_memalign_retry probe.
16820         (__libc_valloc): Add memory_valloc_retry probe.
16821         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16822         (__libc_calloc): Add memory_calloc_retry probe.
16823         * manual/probes.texi: Document them.
16824
16825         * malloc/arena.c (get_free_list): Add probe
16826         memory_arena_reuse_free_list.
16827         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16828         and memory_arena_reuse.
16829         (arena_get2) [!PER_THREAD]: Likewise.
16830         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16831         memory_arena_reuse_realloc.
16832         * manual/probes.texi: Document them.
16833
16834         * malloc/malloc.c (__libc_free): Add
16835         memory_mallopt_free_dyn_thresholds probe.
16836         (__libc_mallopt): Add multiple memory_mallopt probes.
16837         * manual/probes.texi: Document them.
16838
16839         * malloc/malloc.c: Include stap-probe.h.
16840         (__libc_mallopt): Add memory_mallopt probe.
16841         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16842         * manual/probes.texi: New.
16843         * manual/Makefile (chapters): Add probes.
16844         * manual/threads.texi: Set next node.
16845
16846 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16847
16848         [BZ #15963, #13985]
16849         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16850         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16851         Add `Chinese' to `nan' entry name.
16852
16853 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16854
16855         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16856         (POLYNOMIAL): Likewise.
16857         (TAYLOR_SINCOS): Likewise.
16858         (TAYLOR_SLOW): Likewise.
16859         (__sin): Use TAYLOR_SINCOS.
16860         (__cos): Likewise.
16861         (slow): Use TAYLOR_SLOW.
16862         (sloww): Likewise.
16863         (bsloww): Likewise.
16864         (csloww): Likewise.
16865
16866 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16867
16868         * stdlib/strtod_l.c: Fix buffer overrun.
16869
16870 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16871
16872         * benchtests/Makefile (bench): Add sincos.
16873         * benchtests/bench-sincos.c: New file.
16874
16875         * math/libm-test.inc (cos_test_data): New test inputs.
16876         (sin_test_data): Likewise.
16877
16878         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16879         macro.
16880         (__sin): Use it.
16881         (__cos): Likewise.
16882         (slow1): Likewise.
16883         (slow2): Likewise.
16884         (sloww1): Likewise.
16885         (sloww2): Likewise.
16886         (bsloww1): Likewise.
16887         (bsloww2): Likewise.
16888         (cslow2): Likewise.
16889         (csloww1): Likewise.
16890         (csloww2): Likewise.
16891
16892         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16893         function.
16894         (__sin): Use it.
16895         (__cos): Likewise.
16896
16897         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16898         gotos.
16899         (__cos): Likewise.
16900
16901 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16902
16903         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16904         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16905         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16906         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16907         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16908         * elf/cache.c (print_entry): Handle the new cache flags.
16909
16910 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16911             Aldy Hernandez  <aldyh@redhat.com>
16912
16913         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16914         Change condition to [_SOFT_FLOAT].
16915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16927         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16929         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16930         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16931         declaration.
16932
16933 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16934
16935         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16936         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16937         (__longjmp): Use LOAD_GP to load saved GPRs.
16938         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16939         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16940         (__sigsetjmp): Use SAVE_GP to save GPRs.
16941
16942         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16943         Do not append -msoft-float.
16944         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16945
16946 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16947
16948         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16949
16950 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16951
16952         [BZ #15966]
16953         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16954         (_FPU_GETCW): Use initial "__" on variable and field names but not
16955         on macro parameter name.
16956         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16957         parentheses around reference to macro parameter.
16958
16959 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16960
16961         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16962         prototype.
16963         (ctype_startup): Use uint32_t in cast and sizeof for
16964         ctype->charnames.
16965
16966 2013-09-11  Jia Liu  <proljc@gmail.com>
16967
16968         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16969         __daddr_t_defined.
16970         [__FreeBSD__]: Likewise.
16971
16972 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16973
16974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16975         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16976         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16977         (strchr): Remove __strchr_sse42 ifunc selection.
16978         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16979         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16980
16981 2013-09-11  Will Newton  <will.newton@linaro.org>
16982
16983         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16984         parameter to RES. Remove hardcoded 1000 value.
16985         * benchtests/bench-skeleton.c (main): Pass RES parameter
16986         to TIMING_INIT and multiply result by 1000.
16987
16988 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16989
16990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16991
16992 2013-09-11  Andreas Schwab  <schwab@suse.de>
16993
16994         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16995         if not defined.
16996         (O_TMPFILE) [__USE_GNU]: Define.
16997         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16998         Define.
16999
17000 2013-09-11  Will Newton  <will.newton@linaro.org>
17001
17002         [BZ #15857]
17003         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17004         does not overflow.
17005
17006 2013-09-11  Will Newton  <will.newton@linaro.org>
17007
17008         [BZ #15856]
17009         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17010         does not overflow.
17011
17012 2013-09-11  Will Newton  <will.newton@linaro.org>
17013
17014         [BZ #15855]
17015         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17016         does not overflow.
17017
17018 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17019
17020         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17021         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17022         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17023         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17024         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17025
17026 2013-09-10  Allan McRae  <allan@archlinux.org>
17027
17028         [BZ #15748]
17029         * manual/arith.texi (Parsing of Floats): Clarify
17030         cross-reference.
17031
17032         [BZ #15849]
17033         * manual/install.texi (Running make install): Mention
17034         --enable-pt-chown.
17035         * INSTALL: Regenerated.
17036
17037 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17038
17039         * csu/init-first.c (_init): Remove the !SHARED condition around
17040         FPU control word initialization.
17041         * elf/dl-support.c (_dl_fpu_control): New variable.
17042         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17043         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17044         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17045         * math/test-fpucw-static.c: New file.
17046         * math/test-fpucw-ieee.c: New file.
17047         * math/test-fpucw-ieee-static.c: New file.
17048         * math/Makefile (tests): Add `test-fpucw-ieee' and
17049         `$(tests-static)'.
17050         (tests-static): New variable.
17051         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17052         dependency to...
17053         [($(build-shared),yes)]
17054         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17055         ... this.
17056         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17057         New dependency.
17058
17059 2013-09-09  Allan McRae  <allan@archlinux.org>
17060
17061         [BZ #15939]
17062         * manual/string.texi (Collation Functions): Fix typo in
17063         strcoll example.
17064         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17065
17066         [BZ #15893]
17067         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17068
17069         [BZ #15892]
17070         * libio/memstream.c (open_memstream): Fix memory leak.
17071         * libio/wmemstream.c (open_wmemstream): Likewise.
17072
17073         [BZ #15895]
17074         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17075
17076 2013-09-09  Will Newton  <will.newton@linaro.org>
17077
17078         * malloc/Makefile: Add tst-realloc to tests.
17079         * malloc/tst-realloc.c: New file.
17080
17081 2013-09-09  Allan McRae  <allan@archlinux.org>
17082
17083         [BZ #15844]
17084         * COPYING: Update from GNU website to fix FSF address.
17085         * COPYING.LIB: Likewise.
17086
17087 2013-09-06  David S. Miller  <davem@davemloft.net>
17088
17089         * po/zh_TW.po: Update Chinese (traditional) translation from
17090         translation project.
17091
17092 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17093             Joseph Myers  <joseph@codesourcery.com>
17094
17095         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17096         "localeinfo.h".
17097         (obstack_chunk_alloc): New macro.
17098         (obstack_chunk_free): Likewise.
17099         (record_offset): New function.
17100         (init_locale_data): Likewise.
17101         (align_locale_data): Likewise.
17102         (add_locale_empty): Likewise.
17103         (add_locale_raw_data): Likewise.
17104         (add_locale_raw_obstack): Likewise.
17105         (add_locale_string): Likewise.
17106         (add_locale_wstring): Likewise.
17107         (add_locale_uint32): Likewise.
17108         (add_locale_uint32_array): Likewise.
17109         (add_locale_char): Likewise.
17110         (start_locale_structure): Likewise.
17111         (end_locale_structure): Likewise.
17112         (start_locale_prelude): Likewise.
17113         (end_locale_prelude): Likewise.
17114         (write_locale_data): Take locale_file structure rather than an
17115         iovec.
17116         * locale/programs/locfile.h: Include "obstack.h".
17117         (struct locale_file): Change to store locale file contents instead
17118         of header.
17119         (init_locale_data): New prototype.
17120         (align_locale_data): Likewise.
17121         (add_locale_empty): Likewise.
17122         (add_locale_raw_data): Likewise.
17123         (add_locale_raw_obstack): Likewise.
17124         (add_locale_string): Likewise.
17125         (add_locale_wstring): Likewise.
17126         (add_locale_uint32): Likewise.
17127         (add_locale_uint32_array): Likewise.
17128         (add_locale_char): Likewise.
17129         (start_locale_structure): Likewise.
17130         (end_locale_structure): Likewise.
17131         (start_locale_prelude): Likewise.
17132         (end_locale_prelude): Likewise.
17133         (write_locale_data): Update prototype.
17134         * locale/programs/3level.h (struct TABLE): Remove result field.
17135         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17136         Use new locale_file interface.
17137         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17138         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17139         * locale/programs/ld-address.c (address_output): Use new
17140         locale_file interface.
17141         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17142         NO_ADD_LOCALE.
17143         (collate_finish): Don't call collseq_table_finalize.
17144         (collate_output): Use new locale_file interface.
17145         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17146         in file.
17147         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17148         (TABLE): Move defines earlier in file.
17149         (ELEMENT): Likewise.
17150         (DEFAULT): Likewise.
17151         (wctrans_table_add): Move macro and inline function earlier in
17152         file.
17153         (struct wctype_table): Move type earlier in file.
17154         (add_locale_wctype_table): New static prototype.
17155         (struct locale_ctype_t): Use logical types instead of struct iovec
17156         pointers for members.
17157         (ctype_output): Use new locale_file interface.
17158         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17159         new locale_file interface.
17160         (allocate_arrays): Update for use of new locale_file interface.
17161         * locale/programs/ld-identification.c (identification_output): Use
17162         new locale_file interface.
17163         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17164         * locale/programs/ld-messages.c (messages_output): Likewise.
17165         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17166         * locale/programs/ld-name.c (name_output): Likewise.
17167         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17168         * locale/programs/ld-paper.c (paper_output): Likewise.
17169         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17170         * locale/programs/ld-time.c (time_output): Likewise.
17171
17172 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17173
17174         * benchtests/Makefile: Add memrchr benchmark.
17175         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17176         benchmark as memrchr.
17177         * benchtests/bench-memrchr-ifunc.c: New file.
17178         * benchtests/bench-memrchr.c: New file.
17179
17180 2013-09-06   Will Newton  <will.newton@linaro.org>
17181
17182         * benchtests/Makefile (string-bench): Add memcpy.
17183
17184 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17185             Cong Wang  <amwang@redhat.com>
17186
17187         [BZ #15850]
17188         * sysdeps/unix/sysv/linux/bits/in.h
17189         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17190         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17191         before __USE_KERNEL_IPV6_DEFS uses.
17192         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17193         IPPROTO_BEETPH.
17194         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17195         sockaddr_in6, or ipv6_mreq.
17196
17197 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17198
17199         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17200         memory access for final bytes in some large inputs.
17201         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17202
17203 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17204
17205         * string/test-memrchr.c: New file.
17206         * string/test-memrchr-ifunc.c: New file.
17207         * string/Makefile: Add new memrchr testcase.
17208
17209 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17210
17211         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17212         fanotify_init returns EPERM.
17213
17214 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17215
17216         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17217         errors.
17218         (top level): Treat second token from macro or constant entries for
17219         allowed headers as allowed.
17220         * include/complex.h: Condition internal declarations on
17221         [!_ISOMAC].
17222         * include/fenv.h: Condition include of <stdbool.h> and internal
17223         declarations on [!_ISOMAC].
17224
17225 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17226
17227         [BZ #15923]
17228         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17229
17230 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17231
17232         * configure.in (--enable-versioning): Remove configure option.
17233         (libc_cv_asm_symver_directive): Remove configure test.
17234         (libc_cv_ld_version_script_option): Likewise.
17235         (VERSIONING): Remove variable and AC_SUBST.
17236         (DO_VERSIONING): Remove AC_DEFINE.
17237         * configure: Regenerated.
17238         * config.h.in (DO_VERSIONING): Remove macro.
17239         * Makerules [$(versioning) = yes]: Change conditionals to
17240         [$(build-shared) = yes].
17241         * config.make.in (versioning): Remove variable.
17242         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17243         [$(build-shared) = yes].
17244         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17245         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17246         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17247         [$(build-shared) = yes].
17248         * extra-lib.mk [$(versioning) = yes]: Likewise.
17249         * hurd/Makefile [$(versioning) = yes]: Likewise.
17250         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17251         [SHARED].
17252         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17253         [SHARED].
17254         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17255         [SHARED && !NO_HIDDEN].
17256         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17257         [SHARED].
17258         [SHARED && DO_VERSIONING]: Likewise..
17259         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17260         [$(build-shared) = yes].
17261         * manual/install.texi (--disable-versioning): Remove
17262         documentation.
17263         * INSTALL: Regenerated.
17264         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17265         to [SHARED].
17266         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17267         [$(build-shared) = yes].
17268         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17269         * sysdeps/i386/i686/multiarch/strstr-c.c
17270         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17271         [SHARED && !NO_HIDDEN].
17272         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17273         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17274         * sysdeps/powerpc/powerpc32/dl-machine.c
17275         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17276         * sysdeps/powerpc/powerpc32/sysdep.h
17277         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17278         to [SHARED && PIC && !NO_HIDDEN].
17279         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17280         conditional to [SHARED].
17281
17282 2013-09-04   Will Newton  <will.newton@linaro.org>
17283
17284         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17285         * benchtests/bench-string.h: Include bench-timing.h instead
17286         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17287         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17288         call to HP_TIMING_DIFF_INIT.
17289         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17290         instead of hp-timing.h macros.
17291         * benchtests/bench-memchr.c: Likewise.
17292         * benchtests/bench-memcmp.c: Likewise.
17293         * benchtests/bench-memcpy.c: Likewise.
17294         * benchtests/bench-memmem.c: Likewise.
17295         * benchtests/bench-memmove.c: Likewise.
17296         * benchtests/bench-memset.c: Likewise.
17297         * benchtests/bench-rawmemchr.c: Likewise.
17298         * benchtests/bench-strcasecmp.c: Likewise.
17299         * benchtests/bench-strcasestr.c: Likewise.
17300         * benchtests/bench-strcat.c: Likewise.
17301         * benchtests/bench-strchr.c: Likewise.
17302         * benchtests/bench-strcmp.c: Likewise.
17303         * benchtests/bench-strcpy.c: Likewise.
17304         * benchtests/bench-strcpy_chk.c: Likewise.
17305         * benchtests/bench-strlen.c: Likewise.
17306         * benchtests/bench-strncasecmp.c: Likewise.
17307         * benchtests/bench-strncat.c: Likewise.
17308         * benchtests/bench-strncmp.c: Likewise.
17309         * benchtests/bench-strncpy.c: Likewise.
17310         * benchtests/bench-strnlen.c: Likewise.
17311         * benchtests/bench-strpbrk.c: Likewise.
17312         * benchtests/bench-strrchr.c: Likewise.
17313         * benchtests/bench-strspn.c: Likewise.
17314         * benchtests/bench-strstr.c: Likewise.
17315
17316 2013-09-04  Will Newton  <will.newton@linaro.org>
17317
17318         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17319
17320 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17321
17322         [BZ #15427]
17323         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17324         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17325         * math/libm-test.inc (lgamma_test_data): Add more tests.
17326         * sysdeps/i386/fpu/libm-test-ulps: Update.
17327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17328
17329 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17330
17331         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17333         Add ifunc.
17334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17335         Add strcmp-sse2-unaligned
17336         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17337
17338 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17339
17340         * Versions.def (libc): Add GLIBC_2.19.
17341
17342 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17343
17344         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17345         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17346
17347 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17348
17349         [BZ #14155]
17350         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17351         intermediate calculations in recurrence.
17352         (__ieee754_ynf): Likewise.
17353         * math/libm-test.inc (jn_test_data): Do not allow spurious
17354         underflow exception.  Add more tests.
17355         (yn_test_data): Add more tests.
17356         * sysdeps/i386/fpu/libm-test-ulps: Update.
17357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17358
17359 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17360
17361         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17362
17363 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17364
17365         * csu/init-first.c: Fix then/than typos.
17366         * locale/programs/ld-collate.c: Likewise.
17367         * locale/programs/linereader.h: Likewise.
17368         * manual/charset.texi: Likewise.
17369         * manual/filesys.texi: Likewise.
17370         * manual/stdio.texi: Likewise.
17371         * manual/string.texi: Likewise.
17372         * stdlib/fmtmsg.c: Likewise.
17373         * sysdeps/i386/stpncpy.S: Likewise.
17374         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17375         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17376         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17377         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17378
17379 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17380
17381         * elf/dl-open.c: Fix typos.
17382         * iconvdata/gbbig5.c: Likewise.
17383         * iconvdata/iso-2022-jp.c: Likewise.
17384         * iconv/gconv_int.h: Likewise.
17385         * iconv/loop.c: Likewise.
17386         * nis/rpcsvc/nis.h: Likewise.
17387         * resolv/ns_name.c: Likewise.
17388         * stdio-common/vfscanf.c: Likewise.
17389         * streams/stropts.h: Likewise.
17390         * sunrpc/rpc_thread.c: Likewise.
17391         * sysdeps/i386/strpbrk.S: Likewise.
17392         * sysdeps/ieee754/k_standard.c: Likewise.
17393         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17394         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17395         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17396         * sysdeps/mach/hurd/profil.c: Likewise.
17397         * sysdeps/s390/dl-procinfo.h: Likewise.
17398         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17399         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17400         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17401         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17402         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17403
17404 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17405
17406         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17408
17409 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17410
17411         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17412         aix specific files.
17413         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17414         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17415         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17416         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17417         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17418         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17419         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17420         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17421
17422 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17423             Roland McGrath  <roland@hack.frob.com>
17424
17425         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17426         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17427
17428 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17429
17430         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17431         __executable_start symbol instead of _start.
17432
17433 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17434
17435         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17436         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17437         Move macros to...
17438         * sysdeps/gnu/ldsodefs.h: ... this new file.
17439
17440         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17441         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17442         instead of ELFOSABI_LINUX.
17443
17444         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17445         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17446         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17447         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17448         Likewise.
17449         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17450         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17451         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17452         Likewise.
17453         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17454         (ibm_extended_long_double): Add ieee_nan member.
17455         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17456         (do_test): New function.
17457
17458         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17459         TEST_TRUNC.
17460         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17461         functions, renamed from truncdfsf_test, trunctfsf_test,
17462         trunctfdf_test.
17463         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17464         functions.
17465         (do_test): Run all these.
17466
17467 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17468
17469         * argp/argp-help.c: Fix typos.
17470         * argp/argp-parse.c: Likewise.
17471         * debug/backtracesyms.c: Likewise.
17472         * elf/elf.h: Likewise.
17473         * malloc/malloc.c: Likewise.
17474         * nis/nis_print.c: Likewise.
17475         * resolv/res_comp.c: Likewise.
17476         * stdlib/stdlib.h: Likewise.
17477         * sunrpc/clnt_tcp.c: Likewise.
17478         * sunrpc/clnt_udp.c: Likewise.
17479         * sunrpc/clnt_unix.c: Likewise.
17480         * sysdeps/unix/bsd/ptsname.c: Likewise.
17481         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17482         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17484         Likewise.
17485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17486         Likewise.
17487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17488         Likewise.
17489         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17490
17491 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17492
17493         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17495
17496 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17497
17498         [BZ #15897]
17499         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17500         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17501         ($(objpfx)bug-dl-leaf): New rule.
17502         ($(objpfx)bug-dl-leaf.so): Likewise.
17503         ($(objpfx)bug-dl-leaf.out): Likewise.
17504         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17505         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17506         * dlfcn/bug-dl-leaf.c: New test.
17507         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17508         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17509         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17510         (dlclose): Likewise.
17511         (dlmopen): Likewise.
17512
17513 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17514
17515         * include/netdb.h [!_ISOMAC]:
17516         Don't include <tls.h>.
17517         (h_errno, __libc_h_errno): Move declaration and macros out of
17518         [_LIBC_REENTRANT].
17519
17520         * include/resolv.h [_RESOLV_H_]:
17521         Don't include <tls.h>.
17522         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17523         * resolv/res_libc.c: Don't include <tls.h>.
17524         (_res): Use __attribute__ ((nocommon)) in place of
17525         __attribute__ ((section (".bss"))).
17526
17527         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17528         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17529
17530         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17531
17532         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17533         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17534
17535         * resolv/res_mkquery.c: Include <sys/time.h>.
17536
17537         * inet/ifreq.c: Moved to ...
17538         * sysdeps/unix/ifreq.c: ... here.
17539         * inet/ifreq.c: New file, true stub version.
17540
17541         * socket/sa_len.c: New file.
17542         * socket/Makefile (aux): Add it.
17543         * sysdeps/unix/sysv/linux/Makefile
17544         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17545         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17546         and #include <socket/sa_len.c>.
17547         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17548         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17549
17550         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17551         * bits/socket.h: ... here.
17552
17553         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17554         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17555         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17556
17557 2013-08-27  Andreas Schwab  <schwab@suse.de>
17558
17559         [BZ #15736]
17560         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17561         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17562         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17563         * string/test-strcasecmp.c (test_main): Run tests in several
17564         locales.
17565         * string/test-strncasecmp.c (test_main): Likewise.
17566
17567         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17568         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17569         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17570         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17571         (__strncasecmp_ssse3) [PIC]: Likewise.
17572
17573 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17574
17575         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17576
17577         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17578         instead of explicitly declaring xdecrypt.
17579         * nis/nss_nis/nis-publickey.c: Likewise.
17580
17581 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17582
17583         [BZ #15890]
17584         * nscd/aicache.c: Include res_hconf.h.
17585         (addhstaiX): Initialize res_hconf.
17586
17587 2013-08-26  Andreas Schwab  <schwab@suse.de>
17588
17589         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17590         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17591
17592 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17593
17594         * nscd/aicache.c (addhstaiX): Fix indentation.
17595
17596 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17597
17598         * configure.ac: Quote $build_pt_chown test.
17599         * configure: Regenerated.
17600
17601 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17602
17603         [BZ #15532]
17604         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17605         * math/s_cexpf.c (__cexpf): Likewise.
17606         * math/s_cexpl.c (__cexpl): Likewise.
17607         * math/libm-test.inc (cexp_test_data): Correct expected return
17608         value for NaN + i0.  Add another test.
17609
17610 2013-08-22  David S. Miller  <davem@davemloft.net>
17611
17612         * po/ca.po: Update Catalan translation from translation project.
17613         * po/uk.po: Add Ukrainian translations from translation project.
17614
17615 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17616
17617         [BZ #15797]
17618         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17619         is infinite, not alongside NaN test.
17620         * math/s_fdimf.c (__fdimf): Likewise.
17621         * math/s_fdiml.c (__fdiml): Likewise.
17622         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17623         errno is unchanged.
17624
17625 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17626
17627         * argp/argp-help.c: Fix typos.
17628         * crypt/speeds.c: Likewise.
17629         * csu/check_fds.c: Likewise.
17630         * elf/dl-load.c: Likewise.
17631         * elf/dl-open.c: Likewise.
17632         * elf/reldep3.c: Likewise.
17633         * elf/reldep.c: Likewise.
17634         * elf/sprof.c: Likewise.
17635         * iconv/iconv_charmap.c: Likewise.
17636         * iconv/skeleton.c: Likewise.
17637         * iconv/strtab.c: Likewise.
17638         * io/lockf64.c: Likewise.
17639         * libio/libioP.h: Likewise.
17640         * resolv/gai_notify.c: Likewise.
17641         * resolv/ns_name.c: Likewise.
17642         * resolv/ns_samedomain.c: Likewise.
17643         * resolv/res_send.c: Likewise.
17644         * stdlib/random.c: Likewise.
17645         * sunrpc/rpc/xdr.h: Likewise.
17646         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17647         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17648         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17649         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17650         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17651         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17652         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17653         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17654         * sysdeps/mach/hurd/check_fds.c: Likewise.
17655         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17656         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17657         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17658         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17659         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17660         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17661         * sysdeps/pthread/aio_notify.c: Likewise.
17662         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17663         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17664         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17665         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17666         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17667
17668 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17669
17670         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17671         version if bit_Slow_SSE4_2 is set.
17672         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17673         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17674
17675 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17676
17677         [BZ #15867]
17678         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17679         trampoline stack frame information.
17680         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17681         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17682         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17683         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17684         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17685         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17686         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17687         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17688         sa_flags value.
17689         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17690         interrupting a syscall and set with option SA_SIGINFO.
17691
17692 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17693
17694         [BZ #15531]
17695         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17696         argument is infinite.
17697         * math/s_cprojf.c (__cprojf): Likewise.
17698         * math/s_cprojl.c (__cprojl): Likewise.
17699         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17700         * math/libm-test.inc (cproj_test_data): Add more tests.
17701
17702         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17703
17704         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17705         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17706         size.  Use __ffs to determine corresponding shift.
17707
17708 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17709             Roland McGrath  <roland@hack.frob.com>
17710
17711         * Makefile (INSTALL): Remove trailing blank lines from output of
17712         makeinfo.
17713
17714 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17715
17716         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17717         Align 32 bit compat elf_greg to 8 bytes.
17718
17719 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17720
17721         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17722
17723 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17724
17725         * string/strcoll_l.c (coll_seq): New structure.
17726         (get_next_seq_cached): New function.
17727         (get_next_seq): New function.
17728         (do_compare): New function.
17729         (STRCOLL): Use GNU style definition.  Simplify implementation
17730         by using get_next_seq, get_next_seq_cached and do_compare.
17731
17732 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17733
17734         [BZ #14699]
17735         CVE-2013-4237
17736         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17737         member.
17738         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17739         member.
17740         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17741         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17742         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17743         conditional.
17744         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17745         GETDENTS_64BIT_ALIGNED.
17746         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17747         * manual/filesys.texi (Reading/Closing Directory): Document
17748         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17749         strongly.
17750         * manual/conf.texi (Limits for Files): Add portability note to
17751         NAME_MAX, PATH_MAX.
17752         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17753
17754 2013-08-13  Andreas Schwab  <schwab@suse.de>
17755
17756         [BZ #15749]
17757         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17758         of fabs.
17759         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17760         LDBL_MAX_EXP >= 16384]: Add tests for it.
17761
17762 2013-08-12  David S. Miller  <davem@davemloft.net>
17763
17764         * version.h (RELEASE): Set to "development".
17765         (VERSION): Set to "2.18.90".
17766         * NEWS: Add 2.19 section.
17767
17768 2013-08-03  David S. Miller  <davem@davemloft.net>
17769
17770         * po/ko.po: Update Korean translation from translation project.
17771
17772 2013-08-01  David S. Miller  <davem@davemloft.net>
17773
17774         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17775         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17776         Bilka.
17777
17778 2013-07-30  David S. Miller  <davem@davemloft.net>
17779
17780         * po/fr.po: Update French translation from translation project.
17781
17782 2013-07-28  David S. Miller  <davem@davemloft.net>
17783
17784         * po/cs.po: Update Czech translation from translation project.
17785
17786         * po/sv.po: Update Swedish translation from translation project.
17787
17788 2013-07-27  David S. Miller  <davem@davemloft.net>
17789
17790         * po/eo.po: Update Esperanto translation from translation project.
17791
17792         * po/vi.po: Update Vietnamese translation from translation project.
17793
17794         * po/de.po: Update German translation from translation project.
17795
17796 2013-07-26  David S. Miller  <davem@davemloft.net>
17797
17798         * po/bg.po: Update Bulgarian translation from translation project.
17799
17800         * po/nl.po: Update Dutch translation from translation project.
17801         * po/pl.po: Update Polish translation from translation project.
17802         * po/ru.po: Update Russian translation from translation project.
17803
17804 2013-07-24  David S. Miller  <davem@davemloft.net>
17805
17806         * po/libc.pot: Update.
17807
17808 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17809
17810         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17811         variable page size.
17812         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17813         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17814         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17815
17816 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17817
17818         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17819
17820 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17821             Andreas Schwab  <schwab@suse.de>
17822             Roland McGrath  <roland@hack.frob.com>
17823             Joseph Myers  <joseph@codesourcery.com>
17824             Carlos O'Donell  <carlos@redhat.com>
17825
17826         [BZ #15755]
17827         * config.h.in: Define HAVE_PT_CHOWN.
17828         * config.make.in (build-pt-chown): New variable.
17829         * configure.in (--enable-pt_chown): New configure option.
17830         * configure: Regenerate.
17831         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17832         build-pt-chown is enabled.
17833         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17834         pt_chown to fix pty ownership.
17835         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17836         CLOSE_ALL_FDS.
17837         * manual/install.texi (Configuring and compiling): Mention
17838         --enable-pt_chown. Add @findex for grantpt.
17839         * INSTALL: Regenerate.
17840
17841 2013-07-20  David S. Miller  <davem@davemloft.net>
17842
17843         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17844         difference between 32-bit and 64-bit.
17845
17846 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17847
17848         [BZ #15711]
17849         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17850         Avoid system header dependency with -ffreestanding.
17851         ($(objpfx)bits/syscall%d): Likewise.
17852
17853 2013-07-13  David S. Miller  <davem@davemloft.net>
17854
17855         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17856         underflows from atanl/atan2l due to bug 15319.
17857         (casinh_test_data): Likewise.
17858
17859 2013-07-07  David S. Miller  <davem@davemloft.net>
17860
17861         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17862
17863 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17864
17865         * sysdeps/i386/fpu/libm-test-ulps: Update.
17866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17867
17868 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17869
17870         * configure.in (--enable-lock-elision): Fix message text.
17871         * INSTALL: Regenerate.
17872         * configure: Regenerate.
17873
17874 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17875
17876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17877
17878 2013-07-03  Andreas Jaeger  <aj@suse.de>
17879
17880         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17881         define.
17882         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17883         (ptrace_peeksiginfo_args): Add.
17884         (__ptrace_peeksiginfo_flags): Add.
17885         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17886         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17887         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17888
17889 2013-07-03  Allan McRae  <allan@archlinux.org>
17890
17891         * sysdeps/i386/fpu/libm-test-ulps: Update.
17892
17893 2013-07-02  David S. Miller  <davem@davemloft.net>
17894
17895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17896
17897 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17898
17899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17900
17901 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17902
17903         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17905
17906 2013-07-02  Andi Kleen <ak@linux.intel.com>
17907
17908         * config.h.in (ENABLE_LOCK_ELISION): Add.
17909         * configure.in (--enable-lock-elision): Add option.
17910         * manual/install.texi: Document --enable lock elision.
17911         * configure: Regenerate
17912         * INSTALL: Regenerate.
17913
17914 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17915
17916         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17917         SSE4.2 strcasecmp for libc.a.
17918         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17919
17920 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17921
17922         [BZ #13304]
17923         * soft-fp/op-common.h (_FP_FMA): New macro.
17924         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17925         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17926         (_FP_MUL_MEAT_1_imm): ... here.
17927         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17928         (_FP_MUL_MEAT_1_wide): ... here.
17929         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17930         (_FP_MUL_MEAT_1_hard): ... here.
17931         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17932         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17933         (_FP_MUL_MEAT_2_wide): ... here.
17934         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17935         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17936         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17937         (_FP_MUL_MEAT_2_gmp): ... here.
17938         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17939         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17940         (_FP_MUL_MEAT_4_wide): ... here.
17941         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17942         (_FP_MUL_MEAT_4_gmp): ... here.
17943         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17944         (_FP_WFRACBITS_DW_S): Likewise.
17945         (_FP_WFRACXBITS_DW_S): Likewise.
17946         (_FP_HIGHBIT_DW_S): Likewise.
17947         (FP_FMA_S): Likewise.
17948         (_FP_FRAC_HIGH_DW_S): Likewise.
17949         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17950         (_FP_WFRACBITS_DW_D): Likewise.
17951         (_FP_WFRACXBITS_DW_D): Likewise.
17952         (_FP_HIGHBIT_DW_D): Likewise.
17953         (FP_FMA_D): Likewise.
17954         (_FP_FRAC_HIGH_DW_D): Likewise.
17955         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17956         (_FP_WFRACBITS_DW_E): Likewise.
17957         (_FP_WFRACXBITS_DW_E): Likewise.
17958         (_FP_HIGHBIT_DW_E): Likewise.
17959         (FP_FMA_E): Likewise.
17960         (_FP_FRAC_HIGH_DW_E): Likewise.
17961         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17962         (_FP_WFRACBITS_DW_Q): Likewise.
17963         (_FP_WFRACXBITS_DW_Q): Likewise.
17964         (_FP_HIGHBIT_DW_Q): Likewise.
17965         (FP_FMA_Q): Likewise.
17966         (_FP_FRAC_HIGH_DW_Q): Likewise.
17967         * soft-fp/fmasf4.c: New file.
17968         * soft-fp/fmadf4.c: Likewise.
17969         * soft-fp/fmatf4.c: Likewise.
17970
17971 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17972
17973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17974         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17975         Silvermont.
17976         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17977         macro.
17978         (index_Slow_SSE4_2): Likewise.
17979         (index_Prefer_PMINUB_for_stringop): Likewise.
17980         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17981         bit_Slow_SSE4_2 is set.
17982         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17983         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17984
17985 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17986
17987         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17988         rtld_global._dl_hwcap2.
17989         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17990         POWER8.
17991         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17992         POWER8 feature descriptions defined in _dl_hwcap2.
17993         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17994         string handling for POWER8 feature bits.
17995         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17996         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17997         _dl_powerpc_cap_flags.
17998         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17999         * sysdeps/powerpc/rtld-global-offsets.sym
18000         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18001         _dl_hwcap2 in the rtld_global_ro structure.
18002
18003 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18004
18005         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18006         hardware capabilities in support of AT_HWCAP2.
18007         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18008         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18009         GLRO(dl_hwcap2).
18010         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18011         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18012         explicitly the unknown a_type display mechanism is used.
18013         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18014         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18015         struct member.
18016         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18017         to macro prototype for AT_HWCAP2 support.
18018         * sysdeps/i386/dl-procinfo.h: Likewise.
18019         * sysdeps/s390/dl-procinfo.h: Likewise.
18020         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18021         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18022         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18023         return -1 for unknown a_type display fallback.
18024         * sysdeps/sparc/dl-procinfo.h: Likewise.
18025         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18026         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18027
18028 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18029
18030         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18031         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18032
18033 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18034
18035         [BZ #12492]
18036         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18037         mprotect making __stack_prot writable.
18038
18039 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18040             Joseph Myers  <joseph@codesourcery.com>
18041
18042         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18043         as being properly aligned.
18044
18045 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18046
18047         * dlfcn/modstatic5.c: New file.
18048         * dlfcn/tststatic5.c: New file.
18049         * dlfcn/Makefile (tests): Add tststatic5.
18050         (tests-static): Likewise.
18051         (modules-names): Add modstatic5.
18052         (tststatic5-ENV): New variable.
18053         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18054
18055         [BZ #15022]
18056         * elf/dl-support.c (_dl_main_map): New variable.
18057         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18058         (_dl_nns, _dl_load_adds): Set to 1.
18059         (_dl_initial_searchlist): Refer to _dl_main_map.
18060         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18061         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18062         call to _dl_get_origin.
18063         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18064         around call_map.
18065         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18066         * dlfcn/modstatic3.c: New file.
18067         * dlfcn/tststatic3.c: New file.
18068         * dlfcn/tststatic4.c: New file.
18069         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18070         (tests-static): Likewise.
18071         (modules-names): Add modstatic3.
18072         (tststatic3-ENV, tststatic4-ENV): New variables.
18073         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18074         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18075
18076 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18077
18078         * configure.in (CC): Require GCC version 4.4 or later.
18079         * configure: Regenerated.
18080         * manual/install.texi (Tools for Compilation): Update GCC version
18081         requirement.
18082         * INSTALL: Regenerated.
18083
18084 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18085
18086         [BZ #15674]
18087         * string/test-memcmp.c (check2): New.
18088         (main): Call check2.
18089
18090         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18091
18092 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18093
18094         [BZ #15022]
18095         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18096         over to...
18097         (dl_open_worker) [!SHARED]: ... here.
18098
18099 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18100
18101         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18102
18103 2013-06-25  Richard Henderson  <rth@redhat.com>
18104
18105         * locale/programs/locarchive.c: Include <libc-internal.h>
18106
18107 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18108
18109         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18110         trailing whitespace removed.
18111
18112 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18113
18114         [BZ #10283]
18115         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18116         * locale/programs/locarchive.c: Include libc-mmap.h.
18117         (prepare_address_space): Take two new outputs (the mmap base and len).
18118         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18119         values.
18120         (create_archive): Declare new mmap base and len values for
18121         prepare_address_space, and store the result in ah.
18122         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18123         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18124         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18125         Declare new mmap base and len values for
18126         prepare_address_space, and store the result in new_ah.
18127         (open_archive): Declare new mmap base and len values for
18128         prepare_address_space, and store the result in ah.
18129         (close_archive): If ah->mmap_base is not NULL, use that and
18130         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18131         * sysdeps/generic/libc-mmap.h: New file.
18132
18133 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18134
18135         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18136         (ALIGN_UP): Likewise.
18137         (PTR_ALIGN_DOWN): Likewise.
18138         (PTR_ALIGN_UP): Likewise.
18139
18140 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18141
18142         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18143         entry mapped to PPC_PLATFORM_POWER8.
18144         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18145         POWER8.
18146         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18147         (_dl_string_platform): Add case for exporting platform position for
18148         POWER8.
18149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18150         search path to sysdeps/powerpc/powerpc32/power8 directory.
18151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18152         search path to sysdeps/powerpc/powerpc64/power8 directory.
18153         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18154         power7 directories.
18155         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18156         power7 directories.
18157
18158 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18159
18160         * INSTALL: Regenerate.
18161
18162         * nscd/connections.c (nscd_init): Fix comment.
18163
18164 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18165
18166         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18167
18168         [BZ #15667]
18169         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18170         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18171
18172 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18173
18174         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18175         DL_DST_REQ_STATIC.
18176         (DL_DST_REQ_STATIC): Remove macro.
18177
18178 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18179
18180         [BZ #7006]
18181         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18182         with a shift of 0 bits.
18183
18184 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18185
18186         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18187         $(tststatic-ENV).
18188
18189 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18190
18191         [BZ #15655]
18192         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18193
18194 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18195
18196         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18197         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18198         accepts -fno-tree-loop-distribute-patterns.
18199         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18200         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18201         recursive call.
18202         * string/memset.c (memset): Likewise.
18203         * string/test-memmove.c (simple_memmove): Disable loop transformation
18204         to library calls.
18205         * string/test-memset.c (simple_memset): Likewise.
18206         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18207         * benchtests/bench-memset.c (simple_memset): Likewise.
18208         * configure: Regenerated.
18209
18210 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18211
18212         * math/test-misc.c (main): Ignore fesetround failure when failures
18213         of subsequent rounding tests would be ignored.
18214
18215         [BZ #15654]
18216         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18217         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18218         * math/fegetenv.c (__fegetenv): Return 0.
18219         * math/fegetexcept.c (fegetexcept): Return 0.
18220         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18221         FE_TONEAREST.
18222         * math/feholdexcpt.c (feholdexcept): Return 0.
18223         * math/fesetenv.c (__fesetenv): Return 0.
18224         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18225         argument FE_TONEAREST.
18226         * math/feupdateenv.c (__feupdateenv): Return 0.
18227         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18228
18229 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18230
18231         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18232         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18233         ($(objpfx)rtld-%.os rules): Use them.
18234
18235 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18236
18237         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18238         fields.
18239
18240 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18241
18242         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18243         length of target pattern, then descending length of dependency pattern.
18244         * configure.in (AWK): Require gawk 3.1.2 or newer.
18245         * manual/install.texi (Tools for Compilation): Say that we do.
18246         * configure: Regenerated.
18247
18248         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18249         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18250         * scripts/sysd-rules.awk: ... this new script.
18251         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18252         than a glob-style pattern.
18253
18254 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18255
18256         * math/test-misc.c (main): Do not treat incorrectly rounded
18257         conversions as failure unless ROUNDING_TESTS passes.
18258
18259 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18260
18261         [BZ #15631]
18262         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18263         restore exception state around main square root computation, then
18264         check for inexactness explicitly.
18265
18266         * math/libm-test.inc (fma_test_data): Add another test.
18267
18268 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18269
18270         * manual/threads.texi (Non-POSIX Extensions): New document
18271         node.  Document pthread_getattr_default_np and
18272         pthread_setattr_default_np.
18273
18274         * Versions.def (libpthread): Add GLIBC_2.18.
18275         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18277         Likewise.
18278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18279         Likewise.
18280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18281         Likewise.
18282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18283         Likewise.
18284         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18285         Likewise.
18286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18287         Likewise.
18288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18289         Likewise.
18290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18291         Likewise.
18292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18293         Likewise.
18294
18295 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18296
18297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18298         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18299
18300 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18301             H.J. Lu  <hjl.tools@gmail.com>
18302
18303         [BZ #15627]
18304         * sysdeps/x86_64/rtld-memset.c: Remove file.
18305         * sysdeps/x86_64/rtld-memset.S: New file.
18306
18307 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18308
18309         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18310         (test_in_one_mode): Take arguments for whether the rounding mode
18311         is supported for each floating-point type.
18312         (do_test): Pass new arguments to test_in_one_mode using
18313         ROUNDING_TESTS.
18314
18315 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18316
18317         * posix/tst-waitid.c (do_test): Distinguish different instances of
18318         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18319         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18320         before entering the kernel for waitpid.
18321
18322 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18323
18324         * NEWS: Fix note on clock function precision.  Text by Roland
18325         McGrath.
18326
18327 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18328
18329         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18330         it into place only when and if the sanity check passes.
18331
18332 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18333
18334         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18335         output for whether conversion result is exact.  Take argument
18336         indicating whether type is IBM long double.
18337         (round_for_all): Change need_exact field to ibm_ld.
18338         * stdlib/tst-strtod-round.c (struct exactness): New type.
18339         (struct test): Change bool ld_ok field to struct exactness exact.
18340         (TEST): Update all definitions for change to field.
18341         (tests): Regenerate array contents.
18342         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18343         field value.  Check for IBM long double here.
18344         (do_test): Update calls to test_in_one_mode.
18345
18346 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18347
18348         [BZ #12515]
18349         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18350         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18351
18352 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18353
18354         [BZ #15605]
18355         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18356         generated by the compiler on loop optimizations.
18357         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18358         general definitions.
18359
18360 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18361
18362         * math/bug-nextafter.c: Include <math-tests.h>.
18363         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18364         the relevant type.
18365         * math/bug-nexttoward.c: Include <math-tests.h>.
18366         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18367         the relevant type.
18368         * math/test-misc.c: Include <math-tests.h>.
18369         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18370         the relevant type.
18371
18372 2013-06-12  Andreas Jaeger  <aj@suse.de>
18373
18374         * po/ia.po: Update Interlingua translation from translation
18375         project.
18376
18377 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18378
18379         * include/fenv.h: Include stdbool.h.
18380         (struct rm_ctx): New structure.
18381         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18382         Define macro.
18383         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18384         (SET_RESTORE_ROUNDF): Likewise.
18385         (SET_RESTORE_ROUNDL): Likewise.
18386         (SET_RESTORE_ROUND_NOEX): Likewise.
18387         (SET_RESTORE_ROUND_NOEXF): Likewise.
18388         (SET_RESTORE_ROUND_NOEXL): Likewise.
18389         (SET_RESTORE_ROUND_53BIT): Likewise.
18390         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18391         (libc_feresetround_noexf_ctx): Likewise.
18392         (libc_feresetround_noexl_ctx): Likewise.
18393         (libc_feholdsetround_53bit_ctx): Likewise.
18394         (libc_feresetround_53bit_ctx): Likewise.
18395         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18396         (libc_feholdexcept_setround_sse_ctx): New function.
18397         (libc_fesetenv_sse_ctx): Likewise.
18398         (libc_feupdateenv_sse_ctx): Likewise.
18399         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18400         (libc_feholdexcept_setround_387_ctx): Likewise.
18401         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18402         (libc_feholdsetround_387_prec_ctx): Likewise.
18403         (libc_feholdsetround_387_ctx): Likewise.
18404         (libc_feholdsetround_387_53bit_ctx): Likewise.
18405         (libc_feholdsetround_sse_ctx): Likewise.
18406         (libc_feresetround_sse_ctx): Likewise.
18407         (libc_feresetround_387_ctx): Likewise.
18408         (libc_feupdateenv_387_ctx): Likewise.
18409         (libc_feholdexcept_setroundf_ctx): Define macro.
18410         (libc_fesetenvf_ctx): Likewise.
18411         (libc_feupdateenvf_ctx): Likewise.
18412         (libc_feholdsetroundf_ctx): Likewise.
18413         (libc_feresetroundf_ctx): Likewise.
18414         (libc_feholdexcept_setround_ctx): Likewise.
18415         (libc_fesetenv_ctx): Likewise.
18416         (libc_feupdateenv_ctx): Likewise.
18417         (libc_feholdsetround_ctx): Likewise.
18418         (libc_feresetround_ctx): Likewise.
18419         (libc_feholdexcept_setroundl_ctx): Likewise.
18420         (libc_feupdateenvl_ctx): Likewise.
18421         (libc_feholdsetroundl_ctx): Likewise.
18422         (libc_feresetroundl_ctx): Likewise.
18423         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18424         (libc_feresetround_53bit_ctx): Likewise.
18425
18426 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18427
18428         * locale/iso-639.def: Convert to UTF-8.
18429
18430 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18431
18432         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18433         (EXCEPTION_TESTS_double): Likewise.
18434         (EXCEPTION_TESTS_long_double): Likewise.
18435         (EXCEPTION_TESTS): Likewise.
18436         * math/libm-test.inc (test_exceptions): Only test exceptions if
18437         EXCEPTION_TESTS (FLOAT).
18438
18439 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18440
18441         * benchtests/Makefile (string-bench): Add strcpy_chk and
18442         stpcpy_chk.
18443         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18444         * benchtests/bench-stpcpy_chk.c: New file.
18445         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18446         * benchtests/bench-strcpy_chk.c: New file.
18447         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18448         code.
18449         (do_test): Likewise.
18450
18451 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18452
18453         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18454         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18455         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18456         with tabs where appropriate.
18457         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18458         dl-procinfo.h.
18459         [PPC_PLATFORM_PPC440]: Likewise.
18460         [PPC_PLATFORM_PPC464]: Likewise.
18461         [PPC_PLATFORM_PPC476]: Likewise.
18462         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18463         ppc464, and ppc476 platform strings merging from ports/
18464         dl-procinfo.h.
18465
18466 2013-06-11  Andreas Schwab  <schwab@suse.de>
18467
18468         [BZ #14991]
18469         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18470         (from_ucs4_idx): Regenerate.
18471         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18472         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18473         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18474         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18475         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18476         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18477         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18478         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18479         from FROM_LOOP and TO_LOOP specific macros.
18480         (BODY): Handle combining characters.
18481         * iconvdata/BIG5HKSCS.irreversible: Update.
18482         * iconvdata/BIG5HKSCS.precomposed: New file.
18483         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18484         characters.
18485         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18486
18487 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18488
18489         * include/sys/time.h: Fix indentation and add copyright header.
18490
18491         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18492         (do_test): Likewise.
18493         * string/test-memchr.c (do_one_test): Likewise.
18494         (do_test): Likewise.
18495         * string/test-memcmp.c (do_one_test): Likewise.
18496         (do_test): Likewise.
18497         * string/test-memcpy.c (do_one_test): Likewise.
18498         (do_test): Likewise.
18499         * string/test-memmem.c (do_one_test): Likewise.
18500         (do_test): Likewise.
18501         (do_random_tests): Likewise.
18502         * string/test-memmove.c (do_one_test): Likewise.
18503         (do_test): Likewise.
18504         * string/test-memset.c (do_one_test): Likewise.
18505         (do_test): Likewise.
18506         * string/test-rawmemchr.c (do_one_test): Likewise.
18507         (do_test): Likewise.
18508         * string/test-strcasecmp.c (do_one_test): Likewise.
18509         (do_test): Likewise.
18510         * string/test-strcasestr.c (do_one_test): Likewise.
18511         (do_test): Likewise.
18512         * string/test-strcat.c (do_one_test): Likewise.
18513         (do_test): Likewise.
18514         * string/test-strchr.c (do_one_test): Likewise.
18515         (do_test): Likewise.
18516         * string/test-strcmp.c (do_one_test): Likewise.
18517         (do_test): Likewise.
18518         * string/test-strcpy.c (do_one_test): Likewise.
18519         (do_test): Likewise.
18520         * string/test-string.h: Likewise.
18521         (test_init): Likewise.
18522         * string/test-strlen.c (do_one_test): Likewise.
18523         (do_test): Likewise.
18524         * string/test-strncasecmp.c (do_one_test): Likewise.
18525         (do_test): Likewise.
18526         * string/test-strncat.c (do_one_test): Likewise.
18527         (do_test): Likewise.
18528         * string/test-strncmp.c (do_one_test): Likewise.
18529         (do_test_limit): Likewise.
18530         (do_test): Likewise.
18531         * string/test-strncpy.c (do_one_test): Likewise.
18532         (do_test): Likewise.
18533         * string/test-strnlen.c (do_one_test): Likewise.
18534         (do_test): Likewise.
18535         * string/test-strpbrk.c (do_one_test): Likewise.
18536         (do_test): Likewise.
18537         * string/test-strrchr.c (do_one_test): Likewise.
18538         (do_test): Likewise.
18539         * string/test-strspn.c (do_one_test): Likewise.
18540         (do_test): Likewise.
18541         * string/test-strstr.c (do_one_test): Likewise.
18542         (do_test): Likewise.
18543
18544         * benchtests/Makefile (string-bench): Add string benchmarks.
18545         * benchtests/bench-bcopy-ifunc.c: New file.
18546         * benchtests/bench-bcopy.c: New file.
18547         * benchtests/bench-bzero-ifunc.c: New file.
18548         * benchtests/bench-bzero.c: New file.
18549         * benchtests/bench-memccpy-ifunc.c: New file.
18550         * benchtests/bench-memccpy.c: New file.
18551         * benchtests/bench-memchr-ifunc.c: New file.
18552         * benchtests/bench-memchr.c: New file.
18553         * benchtests/bench-memcmp-ifunc.c: New file.
18554         * benchtests/bench-memcmp.c: New file.
18555         * benchtests/bench-memmem-ifunc.c: New file.
18556         * benchtests/bench-memmem.c: New file.
18557         * benchtests/bench-memmove-ifunc.c: New file.
18558         * benchtests/bench-memmove.c: New file.
18559         * benchtests/bench-mempcpy-ifunc.c: New file.
18560         * benchtests/bench-mempcpy.c: New file.
18561         * benchtests/bench-memset-ifunc.c: New file.
18562         * benchtests/bench-memset.c: New file.
18563         * benchtests/bench-rawmemchr-ifunc.c: New file.
18564         * benchtests/bench-rawmemchr.c: New file.
18565         * benchtests/bench-stpcpy-ifunc.c: New file.
18566         * benchtests/bench-stpcpy.c: New file.
18567         * benchtests/bench-stpncpy-ifunc.c: New file.
18568         * benchtests/bench-stpncpy.c: New file.
18569         * benchtests/bench-strcasecmp-ifunc.c: New file.
18570         * benchtests/bench-strcasecmp.c: New file.
18571         * benchtests/bench-strcasestr-ifunc.c: New file.
18572         * benchtests/bench-strcasestr.c: New file.
18573         * benchtests/bench-strcat-ifunc.c: New file.
18574         * benchtests/bench-strcat.c: New file.
18575         * benchtests/bench-strchr-ifunc.c: New file.
18576         * benchtests/bench-strchr.c: New file.
18577         * benchtests/bench-strchrnul-ifunc.c: New file.
18578         * benchtests/bench-strchrnul.c: New file.
18579         * benchtests/bench-strcmp-ifunc.c: New file.
18580         * benchtests/bench-strcmp.c: New file.
18581         * benchtests/bench-strcpy-ifunc.c: New file.
18582         * benchtests/bench-strcpy.c: New file.
18583         * benchtests/bench-strcspn-ifunc.c: New file.
18584         * benchtests/bench-strcspn.c: New file.
18585         * benchtests/bench-strlen-ifunc.c: New file.
18586         * benchtests/bench-strlen.c: New file.
18587         * benchtests/bench-strncasecmp-ifunc.c: New file.
18588         * benchtests/bench-strncasecmp.c: New file.
18589         * benchtests/bench-strncat-ifunc.c: New file.
18590         * benchtests/bench-strncat.c: New file.
18591         * benchtests/bench-strncmp-ifunc.c: New file.
18592         * benchtests/bench-strncmp.c: New file.
18593         * benchtests/bench-strncpy-ifunc.c: New file.
18594         * benchtests/bench-strncpy.c: New file.
18595         * benchtests/bench-strnlen-ifunc.c: New file.
18596         * benchtests/bench-strnlen.c: New file.
18597         * benchtests/bench-strpbrk-ifunc.c: New file.
18598         * benchtests/bench-strpbrk.c: New file.
18599         * benchtests/bench-strrchr-ifunc.c: New file.
18600         * benchtests/bench-strrchr.c: New file.
18601         * benchtests/bench-strspn-ifunc.c: New file.
18602         * benchtests/bench-strspn.c: New file.
18603         * benchtests/bench-strstr-ifunc.c: New file.
18604         * benchtests/bench-strstr.c: New file.
18605
18606         * benchtests/Makefile: Disable parallel execution of targets.
18607         (string-bench): Add memcpy.
18608         (benchset): New variable to store a list of benchmark sets.
18609         (bench-func): Renamed from bench.
18610         (bench-set): New target.
18611         (bench): Depend on bench-func and bench-set.
18612         * benchtests/README: Add section on benchmark sets.
18613         * benchtests/bench-memcpy-ifunc.c: New file.
18614         * benchtests/bench-memcpy.c: New file.
18615         * benchtests/bench-string.h: New file.
18616
18617 2013-06-11  Andreas Schwab  <schwab@suse.de>
18618
18619         [BZ #15577]
18620         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18621         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18622         values in the triple.
18623         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18624         terminator in the group key.
18625
18626 2013-06-11  Andreas Jaeger  <aj@suse.de>
18627
18628         * po/zh_TW.po: Update Chinese (traditional) translation from
18629         translation project.
18630
18631 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18632
18633         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18634         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18635         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18636         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18637         (clock_getcpuclockid): Likewise.
18638         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18639         Add weak_alias and libc_hidden_def.
18640         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18641         * rt/clock_gettime.c (clock_gettime): Rename to
18642         __clock_gettime.  Add weak_alias and libc_hidden_def.
18643         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18644         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18645         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18646         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18647         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18648         Likewise.
18649         * rt/clock_settime.c (clock_settime): Rename to
18650         __clock_settime.  Add weak_alias and libc_hidden_def.
18651         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18652
18653 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18654
18655         * mach/err_boot.sub: Remove trailing whitespace.
18656         * mach/err_ipc.sub: Likewise.
18657         * mach/err_mach.sub: Likewise.
18658
18659         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18660         (ROUNDING_TESTS_double): Likewise.
18661         (ROUNDING_TESTS_long_double): Likewise.
18662         (ROUNDING_TESTS): Likewise.
18663         * math/libm-test.inc: Include <math-tests.h>.
18664         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18665         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18666         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18667         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18668
18669 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18670
18671         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18672         of assigning.
18673
18674 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18675
18676         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18677         otherwise empty TRANS lines.
18678         * sysdeps/gnu/errlist.c: Regenerated.
18679
18680         * catgets/gencat.c (error_print): Use (void) in function
18681         definition.
18682         * crypt/crypt_util.c (__init_des): Likewise.
18683         * crypt/speeds.c (Stop): Likewise.
18684         (main): Likewise.
18685         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18686         * inet/ruserpass.c (token): Likewise.
18687         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18688         * intl/localealias.c (extend_alias_table): Likewise.
18689         * intl/plural-exp.c (init_germanic_plural): Likewise.
18690         * libio/fcloseall.c (__fcloseall): Likewise.
18691         * libio/genops.c (_IO_flush_all): Likewise.
18692         (_IO_flush_all_linebuffered): Likewise.
18693         (_IO_cleanup): Likewise.
18694         (_IO_iter_begin): Likewise.
18695         (_IO_iter_end): Likewise.
18696         (_IO_list_lock): Likewise.
18697         (_IO_list_unlock): Likewise.
18698         (_IO_list_resetlock): Likewise.
18699         * libio/getchar.c (getchar): Likewise.
18700         * libio/getchar_u.c (getchar_unlocked): Likewise.
18701         * libio/getwchar.c (getwchar): Likewise.
18702         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18703         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18704         * login/getpt.c (__getpt): Likewise.
18705         * login/tst-utmp.c (main): Likewise.
18706         * malloc/hooks.c (__malloc_check_init): Likewise.
18707         * malloc/malloc.c (__malloc_stats): Likewise.
18708         * malloc/mtrace.c (tr_break): Likewise.
18709         (mtrace): Likewise.
18710         (muntrace): Likewise.
18711         * misc/fstab.c (endfsent): Likewise.
18712         * misc/getclktck.c (__getclktck): Likewise.
18713         * misc/getdtsz.c (__getdtablesize): Likewise.
18714         * misc/gethostid.c (gethostid): Likewise.
18715         * misc/getpagesize.c (__getpagesize): Likewise.
18716         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18717         (__get_nprocs): Likewise.
18718         (__get_phys_pages): Likewise.
18719         (__get_avphys_pages): Likewise.
18720         * misc/getttyent.c (getttyent): Likewise.
18721         (setttyent): Likewise.
18722         (endttyent): Likewise.
18723         * misc/getusershell.c (getusershell): Likewise.
18724         (endusershell): Likewise.
18725         (setusershell): Likewise.
18726         (initshells): Likewise.
18727         * misc/hsearch.c (__hdestroy): Likewise.
18728         * misc/sync.c (sync): Likewise.
18729         * misc/syslog.c (closelog_internal): Likewise.
18730         (closelog): Likewise.
18731         * misc/ttyslot.c (ttyslot): Likewise.
18732         * misc/vhangup.c (vhangup): Likewise.
18733         * posix/fork.c (__fork): Likewise.
18734         * posix/getegid.c (__getegid): Likewise.
18735         * posix/geteuid.c (__geteuid): Likewise.
18736         * posix/getgid.c (__getgid): Likewise.
18737         * posix/getpid.c (__getpid): Likewise.
18738         * posix/getppid.c (__getppid): Likewise.
18739         * posix/getuid.c (__getuid): Likewise.
18740         * posix/pause.c (pause): Likewise.
18741         * posix/setpgrp.c (setpgrp): Likewise.
18742         * posix/setsid.c (__setsid): Likewise.
18743         * posix/test-vfork.c (noop): Likewise.
18744         * resolv/gethnamaddr.c (_endhtent): Likewise.
18745         (_gethtent): Likewise.
18746         (ht_endhostent): Likewise.
18747         (gethostent): Likewise.
18748         (dns_service): Likewise.
18749         * stdlib/drand48.c (drand48): Likewise.
18750         * stdlib/lrand48.c (lrand48): Likewise.
18751         * stdlib/mrand48.c (mrand48): Likewise.
18752         * stdlib/rand.c (rand): Likewise.
18753         * stdlib/random.c (__random): Likewise.
18754         * stdlib/setenv.c (clearenv): Likewise.
18755         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18756         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18757         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18758         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18759         (__get_nprocs): Likewise.
18760         (__get_phys_pages): Likewise.
18761         (__get_avphys_pages): Likewise.
18762         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18763         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18764         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18765         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18766         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18767         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18768         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18769         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18770         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18771         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18772         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18773         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18774         * sysdeps/posix/clock.c (clock): Likewise.
18775         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18776         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18777         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18778         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18779         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18780         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18781         (__get_nprocs_conf): Likewise.
18782         (__get_phys_pages): Likewise.
18783         (__get_avphys_pages): Likewise.
18784         * time/clock.c (clock): Likewise.
18785         * time/tzset.c (__tzname_max): Likewise.
18786
18787 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18788
18789         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18790         (__bswap_32): Do not use "register".
18791         * crypt/crypt.c (_ufc_doit_r): Likewise.
18792         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18793         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18794         * gmon/gmon.c (__monstartup): Likewise.
18795         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18796         * hurd/hurdmalloc.c (more_memory): Likewise.
18797         (malloc): Likewise.
18798         (free): Likewise.
18799         (realloc): Likewise.
18800         (malloc_fork_prepare): Likewise.
18801         (malloc_fork_parent): Likewise.
18802         (malloc_fork_child): Likewise.
18803         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18804         (_svcauth_des): Likewise.
18805         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18806         * inet/inet_net.c (inet_network): Likewise.
18807         * inet/inet_netof.c (inet_netof): Likewise.
18808         * inet/rcmd.c (__validuser2_sa): Likewise.
18809         * io/fts.c (fts_open): Likewise.
18810         (fts_load): Likewise.
18811         (fts_close): Likewise.
18812         (fts_read): Likewise.
18813         (fts_children): Likewise.
18814         (fts_build): Likewise.
18815         (fts_stat): Likewise.
18816         (fts_sort): Likewise.
18817         (fts_alloc): Likewise.
18818         (fts_lfree): Likewise.
18819         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18820         (_IO_file_xsgetn): Likewise.
18821         (_IO_file_xsgetn_mmap): Likewise.
18822         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18823         (_IO_cookie_write): Likewise.
18824         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18825         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18826         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18827         * malloc/obstack.c (_obstack_begin): Likewise.
18828         (_obstack_begin_1): Likewise.
18829         (_obstack_newchunk): Likewise.
18830         (_obstack_allocated_p): Likewise.
18831         (obstack_free): Likewise.
18832         (_obstack_memory_used): Likewise.
18833         * misc/getttyent.c (getttynam): Likewise.
18834         (getttyent): Likewise.
18835         (skip): Likewise.
18836         (value): Likewise.
18837         * misc/getusershell.c (initshells): Likewise.
18838         * misc/syslog.c (__vsyslog_chk): Likewise.
18839         * misc/ttyslot.c (ttyslot): Likewise.
18840         * nis/nis_hash.c (__nis_hash): Likewise.
18841         * posix/fnmatch_loop.c (FCT): Likewise.
18842         * posix/getconf.c (print_all): Likewise.
18843         (main): Likewise.
18844         * posix/getopt.c (exchange): Likewise.
18845         * posix/glob.c (globfree): Likewise.
18846         (prefix_array): Likewise.
18847         (__glob_pattern_type): Likewise.
18848         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18849         (NS_GET32): Likewise.
18850         (NS_PUT16): Likewise.
18851         (NS_PUT32): Likewise.
18852         * resolv/gethnamaddr.c (getanswer): Likewise.
18853         (gethostbyname2): Likewise.
18854         (gethostbyaddr): Likewise.
18855         (_gethtent): Likewise.
18856         (_gethtbyname2): Likewise.
18857         (_gethtbyaddr): Likewise.
18858         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18859         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18860         * resolv/res_init.c (__res_vinit): Likewise.
18861         (net_mask): Likewise.
18862         * resolv/res_mkquery.c (outchar): Likewise.
18863         (PRINT): Likewise.
18864         * stdio-common/printf_fp.c (outchar): Likewise.
18865         (PRINT): Likewise.
18866         * stdio-common/printf_fphex.c (outchar): Likewise.
18867         (PRINT): Likewise.
18868         * stdio-common/printf_size.c (outchar): Likewise.
18869         (PRINT): Likewise.
18870         * stdio-common/test_rdwr.c (main): Likewise.
18871         * stdio-common/tfformat.c (matches): Likewise.
18872         * stdio-common/vfprintf.c (outchar): Likewise.
18873         (printf_unknown): Likewise.
18874         (buffered_vfprintf): Likewise.
18875         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18876         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18877         (ReadFile): Likewise.
18878         * stdlib/qsort.c (SWAP): Likewise.
18879         (_quicksort): Likewise.
18880         * stdlib/setenv.c (__add_to_environ): Likewise.
18881         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18882         * stdlib/strtol_l.c (__strtol_l): Likewise.
18883         * stdlib/tst-strtod.c (main): Likewise.
18884         * stdlib/tst-strtol.c (main): Likewise.
18885         * stdlib/tst-strtoll.c (main): Likewise.
18886         * string/bits/string2.h (__strcmp_cc): Likewise.
18887         (__strcmp_cg): Likewise.
18888         (__strcspn_c1): Likewise.
18889         (__strcspn_c2): Likewise.
18890         (__strcspn_c3): Likewise.
18891         (__strspn_c1): Likewise.
18892         (__strspn_c2): Likewise.
18893         (__strspn_c3): Likewise.
18894         (__strsep_1c): Likewise.
18895         (__strsep_2c): Likewise.
18896         (__strsep_3c): Likewise.
18897         * string/memccpy.c (__memccpy): Likewise.
18898         * string/stpcpy.c (__stpcpy): Likewise.
18899         * string/strcmp.c (strcmp): Likewise.
18900         * string/strrchr.c (strrchr): Likewise.
18901         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18902         Likewise.
18903         * sysdeps/mach/hurd/getcwd.c
18904         (_hurd_canonicalize_directory_name_internal): Likewise.
18905         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18906         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18907         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18908         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18909         Likewise, in both definitions.
18910         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18911         definitions.
18912         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18913         64] (__bswap_64): Likewise.
18914         * time/test_time.c (main): Likewise.
18915         * time/tzfile.c (__tzfile_read): Likewise.
18916         (__tzfile_compute): Likewise.
18917         * time/tzset.c (__tzset_parse_tz): Likewise.
18918         (tzset_internal): Likewise.
18919         (compute_change): Likewise.
18920         * wcsmbs/wcscat.c (__wcscat): Likewise.
18921         * wcsmbs/wcschr.c (wcschr): Likewise.
18922         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18923         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18924         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18925         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18926         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18927         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18928         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18929         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18930         * wcsmbs/wmemset.c (wmemset): Likewise.
18931
18932 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18933
18934         * scripts/config.guess: Update to version 2013-05-16.
18935         * scripts/config.sub: Update to version 2013-04-24.
18936         * scripts/install-sh: Update to version 2011-11-20.07.
18937         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18938         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18939
18940 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18941
18942         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18943         * elf/sln.c: Likewise.
18944         * hurd/hurd/ioctl.h: Likewise.
18945         * hurd/hurdmalloc.c: Likewise.
18946         * hurd/xattr.c: Likewise.
18947         * include/shlib-compat.h: Likewise.
18948         * inet/ruserpass.c: Likewise.
18949         * libio/iofgets_u.c: Likewise.
18950         * libio/iofgetws_u.c: Likewise.
18951         * locale/programs/ld-identification.c: Likewise.
18952         * locale/programs/ld-time.c: Likewise.
18953         * mach/msg-destroy.c: Likewise.
18954         * nss/nss_files/files-netgrp.c: Likewise.
18955         * resolv/res_data.c: Likewise.
18956         * soft-fp/op-1.h: Likewise.
18957         * soft-fp/op-2.h: Likewise.
18958         * soft-fp/op-4.h: Likewise.
18959         * soft-fp/op-common.h: Likewise.
18960         * stdio-common/printf_fphex.c: Likewise.
18961         * stdlib/strtod_l.c: Likewise.
18962         * sunrpc/rpc/clnt.h: Likewise.
18963         * sysdeps/generic/framestate.c: Likewise.
18964         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18965         * sysdeps/i386/bsd-setjmp.S: Likewise.
18966         * sysdeps/i386/__longjmp.S: Likewise.
18967         * sysdeps/i386/setjmp.S: Likewise.
18968         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18969         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18970         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18971         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18972         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18973         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18974         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18975         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18976         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18977         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18978         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18979         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18980         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18981         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18982         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18983         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18984         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18985         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18986         * sysdeps/ieee754/support.c: Likewise.
18987         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18988         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18989         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18990         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18991         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18992         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18993         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18994         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18995         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18996         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18997         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18998         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18999         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19000         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19001         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19002         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19003         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19005
19006 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19007
19008         * posix/transbug.c: Remove executable mode.
19009
19010 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19011
19012         * crypt/speeds.c: Remove trailing whitespace.
19013         * dlfcn/default.c: Likewise.
19014         * elf/ifuncdep2.c: Likewise.
19015         * elf/ifuncmain1.c: Likewise.
19016         * elf/ifuncmain1vis.c: Likewise.
19017         * elf/testobj.h: Likewise.
19018         * elf/tst-stackguard1.c: Likewise.
19019         * gmon/sys/gmon.h: Likewise.
19020         * hurd/hurdmsg.c: Likewise.
19021         * hurd/new-fd.c: Likewise.
19022         * hurd/ports-get.c: Likewise.
19023         * iconvdata/ibm1008_420.c: Likewise.
19024         * inet/tst-getni1.c: Likewise.
19025         * inet/tst-getni2.c: Likewise.
19026         * libio/ioungetc.c: Likewise.
19027         * libio/wfiledoalloc.c: Likewise.
19028         * manual/libm-err-tab.pl: Likewise.
19029         * math/w_dremf.c: Likewise.
19030         * misc/ftruncate.c: Likewise.
19031         * posix/bug-glob2.c: Likewise.
19032         * posix/tst-pcre.c: Likewise.
19033         * posix/wait4.c: Likewise.
19034         * resolv/README: Likewise.
19035         * resolv/res_debug.h: Likewise.
19036         * resolv/tst-inet_ntop.c: Likewise.
19037         * setjmp/bug269-setjmp.c: Likewise.
19038         * soft-fp/extended.h: Likewise.
19039         * soft-fp/op-1.h: Likewise.
19040         * soft-fp/op-2.h: Likewise.
19041         * soft-fp/op-4.h: Likewise.
19042         * soft-fp/op-8.h: Likewise.
19043         * soft-fp/testit.c: Likewise.
19044         * stdio-common/bug16.c: Likewise.
19045         * stdlib/random.c: Likewise.
19046         * sunrpc/rpcsvc/rquota.x: Likewise.
19047         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19048         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19049         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19050         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19051         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19052         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19053         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19054         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19055         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19056         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19057         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19058         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19059         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19060         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19061         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19062         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19063         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19064         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19065         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19066         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19067         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19068         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19069         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19070         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19071         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19072         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19073         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19074         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19075         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19076         * sysdeps/ieee754/s_lib_version.c: Likewise.
19077         * sysdeps/mach/hurd/check_fds.c: Likewise.
19078         * sysdeps/mach/hurd/getsockname.c: Likewise.
19079         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19080         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19081         * sysdeps/powerpc/bits/link.h: Likewise.
19082         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19083         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19084         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19085         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19086         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19087         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19088         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19089         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19090         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19091         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19092         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19093         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19094         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19095         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19096         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19097         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19098         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19099         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19100         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19101         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19102         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19103         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19104         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19105         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19106         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19107         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19108         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19109         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19110         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19111         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19112         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19113         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19114         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19115         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19116         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19117         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19118         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19119         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19120         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19121         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19122         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19123         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19124         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19125         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19126         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19127         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19128         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19129         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19130         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19131         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19132         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19133         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19134         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19135         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19136         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19137         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19138         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19139         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19140         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19141         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19142         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19143         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19144         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19145         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19146         * sysdeps/powerpc/sysdep.h: Likewise.
19147         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19148         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19149         * sysdeps/sh/dl-trampoline.S: Likewise.
19150         * sysdeps/sh/memset.S: Likewise.
19151         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19152         * sysdeps/sh/strlen.S: Likewise.
19153         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19154         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19155         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19156         * sysdeps/sparc/sparc32/rem.S: Likewise.
19157         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19158         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19159         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19160         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19161         * sysdeps/sparc/sparc32/urem.S: Likewise.
19162         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19163         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19164         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19165         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19166         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19167         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19168         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19169         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19170         * sysdeps/unix/bsd/times.c: Likewise.
19171         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19172         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19176         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19177         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19178         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19179         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19180         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19181         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19182         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19183         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19184         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19185         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19186         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19187         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19188         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19189         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19190         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19191         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19192         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19193         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19194         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19195         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19196         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19197         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19198         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19199         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19200         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19201         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19202         * sysdeps/x86_64/strcspn.S: Likewise.
19203
19204 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19205
19206         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19207         generated file.  Regenerate properly from gen-translit.pl.
19208         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19209         locale/C-translit.h.
19210
19211 2013-06-05  Andreas Schwab  <schwab@suse.de>
19212
19213         [BZ #15100]
19214         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19215         week as 6 instead of -1.
19216         * time/tst-strptime.c (day_tests): Add test case.
19217
19218 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19219
19220         * sysdeps/generic/math_private.h
19221         (libc_feholdexcept_setround_53bit): Replace with
19222         libc_feholdsetround_53bit.
19223         (libc_feupdateenv_53bit): Replace with
19224         libc_feresetround_53bit.
19225         (SET_RESTORE_ROUND_53BIT): Adjust.
19226
19227 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19228
19229         * string/test-strchrnul.c: Add copyright header.
19230
19231         * posix/tst-getaddrinfo4.c: Increase test timeout.
19232
19233 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19234
19235         [BZ #15536]
19236         * math/libm-test.inc (MAX_EXP): Remove
19237         (MIN_EXP): Define.
19238         (ulp): Use MIN_EXP - MANT_DIG.
19239         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19240
19241 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19242
19243         * po/be.po: Revert last change.
19244         * po/zh_CN.po: Likewise.
19245         * po/header.pot: Likewise.
19246
19247 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19248
19249         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19250         link-libc-deps to empty as target-specific variable.
19251         * Makerules (link-libc-args): New variable.
19252         (libc-for-link): Likewise.
19253         (link-libc-deps): Likewise.
19254         (lib%.so): Depend on $(link-libc-deps).  Link with
19255         $(link-libc-args).
19256         (build-module): Link with $(link-libc-args).
19257         (build-module-asneeded): Likewise.
19258         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19259         list of objects.
19260         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19261         target-specific variable.
19262         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19263         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19264         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19265         libc.
19266         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19267         libc and ld.so.
19268         ($(objpfx)libpcprofile.so): Likewise.
19269         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19270         libc_nonshared.a.
19271         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19272         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19273         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19274         $(link-libc-deps).
19275         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19276         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19277         * login/Makefile ($(objpfx)libutil.so): Likewise.
19278         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19279         * math/Makefile ($(objpfx)libm.so): Likewise.
19280         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19281         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19282         variable instead of depending directly on libc.
19283         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19284         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19285         $(link-libc-deps).
19286         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19287         libc.
19288         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19289         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19290         ($(objpfx)libanl.so): Likewise.
19291         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19292         ld.so.
19293         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19294         $(link-libc-deps).
19295         * sysdeps/i386/fpu/Makefile: Remove file.
19296         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19297         ($(objpfx)libm.so): Remove dependency on ld.so.
19298
19299 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19300
19301         [BZ # 15553]
19302         * nis/yp_xdr.c (XDRMAXNAME): Define.
19303         (XDRMAXRECORD): Define.
19304         (xdr_domainname): Use XDRMAXNAME.
19305         (xdr_mapname): Likewise.
19306         (xdr_peername): Likewise.
19307         (xdr_keydat): Use XDRMAXRECORD.
19308         (xdr_valdat): Likewise.
19309
19310 2013-05-30  Jeff Law  <law@redhat.com>
19311
19312         [BZ #14256]
19313         * manual/errno.texi (ESTALE): Update to account for more than
19314         just NFS file systems.
19315         * sysdeps/gnu/errlist.c: Regenerated.
19316
19317 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19318
19319         [BZ #15465]
19320         * elf/Makefile (tests): Add tst-null-argv.
19321         (modules-names):  Add tst-null-argv-lib.
19322         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19323         (tst-null-argv-ENV): Set environment for tst-null-argv.
19324         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19325         (RTLD_PROGNAME): New macro.
19326         * elf/tst-null-argv.c: New test case.
19327         * elf/tst-null-argv-lib.c: Library for test case.
19328         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19329         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19330         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19331         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19332         * elf/dl-init.c (call_init): Likewise.
19333         (_dl_init): Likewise.
19334         * elf/dl-load.c (print_search_path): Likewise.
19335         (_dl_map_object): Likewise.
19336         * elf/dl-lookup.c (do_lookup_x): Likewise.
19337         (add_dependency): Likewise.
19338         (_dl_lookup_symbol_x): Likewise.
19339         (_dl_debug_bindings): Likewise.
19340         * elf/dl-open.c (_dl_show_scope): Likewise.
19341         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19342         * elf/dl-version.c (match_symbol): Likewise.
19343         (_dl_check_map_versions): Likewise.
19344         * elf/rtld.c (dl_main): Likewise.
19345         (print_unresolved): Use RTLD_PROGNAME.
19346         (print_missing_version): Likewise.
19347         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19348         (elf_machine_rela): Likewise.
19349         * sysdeps/powerpc/powerpc32/dl-machine.c
19350         (__process_machine_rela): Likewise.
19351         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19352         Likewise.
19353         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19354         Likewise.
19355         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19356         Likewise.
19357         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19358         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19359         Likewise.
19360         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19361         Likewise.
19362         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19363
19364 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19365
19366         * po/be.po: Add descriptive title.
19367         * po/zh_CN.po: Likewise.
19368         * po/header.pot: Likewise.
19369
19370 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19371
19372         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19373         error message.
19374         (enlarge_archive): Likewise.
19375
19376 2013-05-28  Ben North  <ben@redfrontdoor.org>
19377
19378         * manual/arith.texi (frexp): It is the magnitude of the return
19379         value which lies in [0.5, 1), not the return value itself.
19380
19381 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19382
19383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19384
19385 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19386
19387         * stdio-common/bug26.c (main): Correct fscanf template.
19388
19389         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19390         declare _dl_skip_args.
19391
19392         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19393         Don't declare.
19394
19395         * manual/platform.texi: Add missing @end deftypefun.
19396
19397 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19398
19399         [BZ #15529]
19400         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19401         bit of mantissa of 2^16382.
19402         * math/libm-test.inc (hypot_test_data): Add more tests.
19403
19404         * math/libm-test.inc: Add drem and pow10 to list of tested
19405         functions.
19406         (pow10_test): New function.
19407         (drem_test): Likewise.
19408         (drem_test_tonearest): Likewise.
19409         (drem_test_towardzero): Likewise.
19410         (drem_test_downward): Likewise.
19411         (drem_test_upward): Likewise.
19412         (main): Call the new functions.
19413
19414         * math/libm-test.inc (finite_test_data): Remove.
19415         (finite_test): Run tests from isfinite_test_data.
19416         (gamma_test_data): Remove.
19417         (gamma_test): Run tests from lgamma_test_data.
19418         * sysdeps/i386/fpu/libm-test-ulps: Update.
19419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19420
19421 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19422
19423         * manual/platform.texi: Add PowerPC PPR function set documentation.
19424         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19425         implementation.
19426
19427 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19428
19429         * math/libm-test.inc (MAX_EXP): Define.
19430         (ULPDIFF): Define.
19431         (ulp): New function.
19432         (check_float_internal): Use ULPDIFF.
19433         (cpow_test): Disable failing test.
19434         (check_ulp): Test ulp() implemetnation.
19435         (main): Call check_ulp before starting tests.
19436
19437 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19438
19439         * math/gen-libm-test.pl (generate_testfile): Do not handle
19440         START_DATA and END_DATA.
19441         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19442         END_DATA.
19443         (acos_tonearest_test_data): Likewise.
19444         (acos_towardzero_test_data): Likewise.
19445         (acos_downward_test_data): Likewise.
19446         (acos_upward_test_data): Likewise.
19447         (acosh_test_data): Likewise.
19448         (asin_test_data): Likewise.
19449         (asin_tonearest_test_data): Likewise.
19450         (asin_towardzero_test_data): Likewise.
19451         (asin_downward_test_data): Likewise.
19452         (asin_upward_test_data): Likewise.
19453         (asinh_test_data): Likewise.
19454         (atan_test_data): Likewise.
19455         (atanh_test_data): Likewise.
19456         (atan2_test_data): Likewise.
19457         (cabs_test_data): Likewise.
19458         (cacos_test_data): Likewise.
19459         (cacosh_test_data): Likewise.
19460         (carg_test_data): Likewise.
19461         (casin_test_data): Likewise.
19462         (casinh_test_data): Likewise.
19463         (catan_test_data): Likewise.
19464         (catanh_test_data): Likewise.
19465         (cbrt_test_data): Likewise.
19466         (ccos_test_data): Likewise.
19467         (ccosh_test_data): Likewise.
19468         (ceil_test_data): Likewise.
19469         (cexp_test_data): Likewise.
19470         (cimag_test_data): Likewise.
19471         (clog_test_data): Likewise.
19472         (clog10_test_data): Likewise.
19473         (conj_test_data): Likewise.
19474         (copysign_test_data): Likewise.
19475         (cos_test_data): Likewise.
19476         (cos_tonearest_test_data): Likewise.
19477         (cos_towardzero_test_data): Likewise.
19478         (cos_downward_test_data): Likewise.
19479         (cos_upward_test_data): Likewise.
19480         (cosh_test_data): Likewise.
19481         (cosh_tonearest_test_data): Likewise.
19482         (cosh_towardzero_test_data): Likewise.
19483         (cosh_downward_test_data): Likewise.
19484         (cosh_upward_test_data): Likewise.
19485         (cpow_test_data): Likewise.
19486         (cproj_test_data): Likewise.
19487         (creal_test_data): Likewise.
19488         (csin_test_data): Likewise.
19489         (csinh_test_data): Likewise.
19490         (csqrt_test_data): Likewise.
19491         (ctan_test_data): Likewise.
19492         (ctan_tonearest_test_data): Likewise.
19493         (ctan_towardzero_test_data): Likewise.
19494         (ctan_downward_test_data): Likewise.
19495         (ctan_upward_test_data): Likewise.
19496         (ctanh_test_data): Likewise.
19497         (ctanh_tonearest_test_data): Likewise.
19498         (ctanh_towardzero_test_data): Likewise.
19499         (ctanh_downward_test_data): Likewise.
19500         (ctanh_upward_test_data): Likewise.
19501         (erf_test_data): Likewise.
19502         (erfc_test_data): Likewise.
19503         (exp_test_data): Likewise.
19504         (exp_tonearest_test_data): Likewise.
19505         (exp_towardzero_test_data): Likewise.
19506         (exp_downward_test_data): Likewise.
19507         (exp_upward_test_data): Likewise.
19508         (exp10_test_data): Likewise.
19509         (exp2_test_data): Likewise.
19510         (expm1_test_data): Likewise.
19511         (fabs_test_data): Likewise.
19512         (fdim_test_data): Likewise.
19513         (finite_test_data): Likewise.
19514         (floor_test_data): Likewise.
19515         (fma_test_data): Likewise.
19516         (fma_towardzero_test_data): Likewise.
19517         (fma_downward_test_data): Likewise.
19518         (fma_upward_test_data): Likewise.
19519         (fmax_test_data): Likewise.
19520         (fmin_test_data): Likewise.
19521         (fmod_test_data): Likewise.
19522         (fpclassify_test_data): Likewise.
19523         (frexp_test_data): Likewise.
19524         (gamma_test_data): Likewise.
19525         (hypot_test_data): Likewise.
19526         (ilogb_test_data): Likewise.
19527         (isfinite_test_data): Likewise.
19528         (isgreater_test_data): Likewise.
19529         (isgreaterequal_test_data): Likewise.
19530         (isinf_test_data): Likewise.
19531         (isless_test_data): Likewise.
19532         (islessequal_test_data): Likewise.
19533         (islessgreater_test_data): Likewise.
19534         (isnan_test_data): Likewise.
19535         (isnormal_test_data): Likewise.
19536         (issignaling_test_data): Likewise.
19537         (isunordered_test_data): Likewise.
19538         (j0_test_data): Likewise.
19539         (j1_test_data): Likewise.
19540         (jn_test_data): Likewise.
19541         (ldexp_test_data): Likewise.
19542         (lgamma_test_data): Likewise.
19543         (lrint_test_data): Likewise.
19544         (lrint_tonearest_test_data): Likewise.
19545         (lrint_towardzero_test_data): Likewise.
19546         (lrint_downward_test_data): Likewise.
19547         (lrint_upward_test_data): Likewise.
19548         (llrint_test_data): Likewise.
19549         (llrint_tonearest_test_data): Likewise.
19550         (llrint_towardzero_test_data): Likewise.
19551         (llrint_downward_test_data): Likewise.
19552         (llrint_upward_test_data): Likewise.
19553         (log_test_data): Likewise.
19554         (log10_test_data): Likewise.
19555         (log1p_test_data): Likewise.
19556         (log2_test_data): Likewise.
19557         (logb_test_data): Likewise.
19558         (logb_downward_test_data): Likewise.
19559         (lround_test_data): Likewise.
19560         (llround_test_data): Likewise.
19561         (modf_test_data): Likewise.
19562         (nearbyint_test_data): Likewise.
19563         (nextafter_test_data): Likewise.
19564         (nexttoward_test_data): Likewise.
19565         (pow_test_data): Likewise.
19566         (pow_tonearest_test_data): Likewise.
19567         (pow_towardzero_test_data): Likewise.
19568         (pow_downward_test_data): Likewise.
19569         (pow_upward_test_data): Likewise.
19570         (remainder_test_data): Likewise.
19571         (remainder_tonearest_test_data): Likewise.
19572         (remainder_towardzero_test_data): Likewise.
19573         (remainder_downward_test_data): Likewise.
19574         (remainder_upward_test_data): Likewise.
19575         (remquo_test_data): Likewise.
19576         (rint_test_data): Likewise.
19577         (rint_tonearest_test_data): Likewise.
19578         (rint_towardzero_test_data): Likewise.
19579         (rint_downward_test_data): Likewise.
19580         (rint_upward_test_data): Likewise.
19581         (round_test_data): Likewise.
19582         (scalb_test_data): Likewise.
19583         (scalbn_test_data): Likewise.
19584         (scalbln_test_data): Likewise.
19585         (signbit_test_data): Likewise.
19586         (sin_test_data): Likewise.
19587         (sin_tonearest_test_data): Likewise.
19588         (sin_towardzero_test_data): Likewise.
19589         (sin_downward_test_data): Likewise.
19590         (sin_upward_test_data): Likewise.
19591         (sincos_test_data): Likewise.
19592         (sinh_test_data): Likewise.
19593         (sinh_tonearest_test_data): Likewise.
19594         (sinh_towardzero_test_data): Likewise.
19595         (sinh_downward_test_data): Likewise.
19596         (sinh_upward_test_data): Likewise.
19597         (sqrt_test_data): Likewise.
19598         (tan_test_data): Likewise.
19599         (tan_tonearest_test_data): Likewise.
19600         (tan_towardzero_test_data): Likewise.
19601         (tan_downward_test_data): Likewise.
19602         (tan_upward_test_data): Likewise.
19603         (tanh_test_data): Likewise.
19604         (tgamma_test_data): Likewise.
19605         (trunc_test_data): Likewise.
19606         (y0_test_data): Likewise.
19607         (y1_test_data): Likewise.
19608         (yn_test_data): Likewise.
19609         (significand_test_data): Likewise.
19610
19611         * math/gen-libm-test.pl (@functions): Remove variable.
19612         (generate_testfile): Don't handle START and END lines.
19613         * math/libm-test.inc (START): New macro.
19614         (END): Likewise.
19615         (END_COMPLEX): Likewise.
19616         (acos_test): Use END macro without arguments.
19617         (acos_test_tonearest): Likewise.
19618         (acos_test_towardzero): Likewise.
19619         (acos_test_downward): Likewise.
19620         (acos_test_upward): Likewise.
19621         (acosh_test): Likewise.
19622         (asin_test): Likewise.
19623         (asin_test_tonearest): Likewise.
19624         (asin_test_towardzero): Likewise.
19625         (asin_test_downward): Likewise.
19626         (asin_test_upward): Likewise.
19627         (asinh_test): Likewise.
19628         (atan_test): Likewise.
19629         (atanh_test): Likewise.
19630         (atan2_test): Likewise.
19631         (cabs_test): Likewise.
19632         (cacos_test): Use END_COMPLEX macro without arguments.
19633         (cacosh_test): Likewise.
19634         (carg_test): Use END macro without arguments.
19635         (casin_test): Use END_COMPLEX macro without arguments.
19636         (casinh_test): Likewise.
19637         (catan_test): Likewise.
19638         (catanh_test): Likewise.
19639         (cbrt_test): Use END macro without arguments.
19640         (ccos_test): Use END_COMPLEX macro without arguments.
19641         (ccosh_test): Likewise.
19642         (ceil_test): Use END macro without arguments.
19643         (cexp_test): Use END_COMPLEX macro without arguments.
19644         (cimag_test): Use END macro without arguments.
19645         (clog_test): Use END_COMPLEX macro without arguments.
19646         (clog10_test): Likewise.
19647         (conj_test): Likewise.
19648         (copysign_test): Use END macro without arguments.
19649         (cos_test): Likewise.
19650         (cos_test_tonearest): Likewise.
19651         (cos_test_towardzero): Likewise.
19652         (cos_test_downward): Likewise.
19653         (cos_test_upward): Likewise.
19654         (cosh_test): Likewise.
19655         (cosh_test_tonearest): Likewise.
19656         (cosh_test_towardzero): Likewise.
19657         (cosh_test_downward): Likewise.
19658         (cosh_test_upward): Likewise.
19659         (cpow_test): Use END_COMPLEX macro without arguments.
19660         (cproj_test): Likewise.
19661         (creal_test): Use END macro without arguments.
19662         (csin_test): Use END_COMPLEX macro without arguments.
19663         (csinh_test): Likewise.
19664         (csqrt_test): Likewise.
19665         (ctan_test): Likewise.
19666         (ctan_test_tonearest): Likewise.
19667         (ctan_test_towardzero): Likewise.
19668         (ctan_test_downward): Likewise.
19669         (ctan_test_upward): Likewise.
19670         (ctanh_test): Likewise.
19671         (ctanh_test_tonearest): Likewise.
19672         (ctanh_test_towardzero): Likewise.
19673         (ctanh_test_downward): Likewise.
19674         (ctanh_test_upward): Likewise.
19675         (erf_test): Use END macro without arguments.
19676         (erfc_test): Likewise.
19677         (exp_test): Likewise.
19678         (exp_test_tonearest): Likewise.
19679         (exp_test_towardzero): Likewise.
19680         (exp_test_downward): Likewise.
19681         (exp_test_upward): Likewise.
19682         (exp10_test): Likewise.
19683         (exp2_test): Likewise.
19684         (expm1_test): Likewise.
19685         (fabs_test): Likewise.
19686         (fdim_test): Likewise.
19687         (finite_test): Likewise.
19688         (floor_test): Likewise.
19689         (fma_test): Likewise.
19690         (fma_test_towardzero): Likewise.
19691         (fma_test_downward): Likewise.
19692         (fma_test_upward): Likewise.
19693         (fmax_test): Likewise.
19694         (fmin_test): Likewise.
19695         (fmod_test): Likewise.
19696         (fpclassify_test): Likewise.
19697         (frexp_test): Likewise.
19698         (gamma_test): Likewise.
19699         (hypot_test): Likewise.
19700         (ilogb_test): Likewise.
19701         (isfinite_test): Likewise.
19702         (isgreater_test): Likewise.
19703         (isgreaterequal_test): Likewise.
19704         (isinf_test): Likewise.
19705         (isless_test): Likewise.
19706         (islessequal_test): Likewise.
19707         (islessgreater_test): Likewise.
19708         (isnan_test): Likewise.
19709         (isnormal_test): Likewise.
19710         (issignaling_test): Likewise.
19711         (isunordered_test): Likewise.
19712         (j0_test): Likewise.
19713         (j1_test): Likewise.
19714         (jn_test): Likewise.
19715         (ldexp_test): Likewise.
19716         (lgamma_test): Likewise.
19717         (lrint_test): Likewise.
19718         (lrint_test_tonearest): Likewise.
19719         (lrint_test_towardzero): Likewise.
19720         (lrint_test_downward): Likewise.
19721         (lrint_test_upward): Likewise.
19722         (llrint_test): Likewise.
19723         (llrint_test_tonearest): Likewise.
19724         (llrint_test_towardzero): Likewise.
19725         (llrint_test_downward): Likewise.
19726         (llrint_test_upward): Likewise.
19727         (log_test): Likewise.
19728         (log10_test): Likewise.
19729         (log1p_test): Likewise.
19730         (log2_test): Likewise.
19731         (logb_test): Likewise.
19732         (logb_test_downward): Likewise.
19733         (lround_test): Likewise.
19734         (llround_test): Likewise.
19735         (modf_test): Likewise.
19736         (nearbyint_test): Likewise.
19737         (nextafter_test): Likewise.
19738         (nexttoward_test): Likewise.
19739         (pow_test): Likewise.
19740         (pow_test_tonearest): Likewise.
19741         (pow_test_towardzero): Likewise.
19742         (pow_test_downward): Likewise.
19743         (pow_test_upward): Likewise.
19744         (remainder_test): Likewise.
19745         (remainder_test_tonearest): Likewise.
19746         (remainder_test_towardzero): Likewise.
19747         (remainder_test_downward): Likewise.
19748         (remainder_test_upward): Likewise.
19749         (remquo_test): Likewise.
19750         (rint_test): Likewise.
19751         (rint_test_tonearest): Likewise.
19752         (rint_test_towardzero): Likewise.
19753         (rint_test_downward): Likewise.
19754         (rint_test_upward): Likewise.
19755         (round_test): Likewise.
19756         (scalb_test): Likewise.
19757         (scalbn_test): Likewise.
19758         (scalbln_test): Likewise.
19759         (signbit_test): Likewise.
19760         (sin_test): Likewise.
19761         (sin_test_tonearest): Likewise.
19762         (sin_test_towardzero): Likewise.
19763         (sin_test_downward): Likewise.
19764         (sin_test_upward): Likewise.
19765         (sincos_test): Likewise.
19766         (sinh_test): Likewise.
19767         (sinh_test_tonearest): Likewise.
19768         (sinh_test_towardzero): Likewise.
19769         (sinh_test_downward): Likewise.
19770         (sinh_test_upward): Likewise.
19771         (sqrt_test): Likewise.
19772         (tan_test): Likewise.
19773         (tan_test_tonearest): Likewise.
19774         (tan_test_towardzero): Likewise.
19775         (tan_test_downward): Likewise.
19776         (tan_test_upward): Likewise.
19777         (tanh_test): Likewise.
19778         (tgamma_test): Likewise.
19779         (trunc_test): Likewise.
19780         (y0_test): Likewise.
19781         (y1_test): Likewise.
19782         (yn_test): Likewise.
19783         (significand_test): Likewise.
19784
19785 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19786
19787         [BZ #15381]
19788         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19789
19790 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19791
19792         [BZ #14894]
19793         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19794         __ppc_mdoio and __ppc_mdoom.
19795         * manual/platform.texi: Document new functions __ppc_yield,
19796         __ppc_mdoio and __ppc_mdoom.
19797
19798 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19799
19800         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19801         (main): Mention "tls" pseudo-hwcap is legacy.
19802         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19803
19804 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19805
19806         * math/gen-libm-test.pl (parse_args): Output only string of
19807         arguments as text for test name, not full call or descriptions of
19808         tests for extra outputs.
19809         (generate_testfile): Do not pass function name to parse_args.
19810         Generate this_func variable from START.
19811         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19812         field to arg_str.
19813         (struct test_ff_f_data): Likewise.
19814         (test_ff_f_data_nexttoward): Likewise.
19815         (struct test_fi_f_data): Likewise.
19816         (struct test_fl_f_data): Likewise.
19817         (struct test_if_f_data): Likewise.
19818         (struct test_fff_f_data): Likewise.
19819         (struct test_c_f_data): Likewise.
19820         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19821         (struct test_fF_f1_data): Likewise.
19822         (struct test_ffI_f1_data): Likewise.
19823         (struct test_c_c_data): Rename test_name field to arg_str.
19824         (struct test_cc_c_data): Likewise.
19825         (struct test_f_i_data): Likewise.
19826         (struct test_ff_i_data): Likewise.
19827         (struct test_f_l_data): Likewise.
19828         (struct test_f_L_data): Likewise.
19829         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19830         and extra2_name.
19831         (COMMON_TEST_SETUP): New macro.
19832         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19833         (COMMON_TEST_CLEANUP): Likewise.
19834         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19835         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19836         macros.
19837         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19838         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19839         macros.
19840         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19841         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19842         cleanup macros.
19843         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19844         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19845         macros.
19846         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19847         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19848         macros.
19849         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19850         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19851         cleanup macros.
19852         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19853         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19854         cleanup macros.
19855         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19856         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19857         cleanup macros.
19858         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19859         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19860         macros.
19861         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19862         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19863         macros.
19864         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19865         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19866         macros.
19867         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19868         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19869         cleanup macros.
19870         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19871         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19872         cleanup macros.
19873         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19874         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19875         macros.
19876         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19877         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19878         cleanup macros.
19879         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19880         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19881         macros.
19882         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19883         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19884         macros.
19885         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19886         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19887         cleanup macros.
19888         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19889
19890 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19891
19892         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19893         to _sifields.sigfault.
19894         (si_addr_lsb): Define new macro.
19895         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19896         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19897         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19898
19899 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19900
19901         [BZ #15441]
19902         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19903         returns -1.
19904         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19905         null return -1.
19906         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19907         loading the domain.
19908
19909 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19910
19911         * math/gen-libm-test.pl (parse_args): Do not include expected
19912         result in test name.
19913         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19914         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19915         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19916         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19917         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19919
19920 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19921
19922         * benchtests/Makefile: Sort function entries.
19923
19924         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19925         tanh, asinh, acosh, atanh.
19926         * benchtests/acos-inputs: New file.
19927         * benchtests/acosh-inputs: New file.
19928         * benchtests/asin-inputs: New file.
19929         * benchtests/asinh-inputs: New file.
19930         * benchtests/atanh-inputs: New file.
19931         * benchtests/cosh-inputs: New file.
19932         * benchtests/log-inputs: New file.
19933         * benchtests/sinh-inputs: New file.
19934         * benchtests/tanh-inputs: New file.
19935
19936 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19937
19938         [BZ #15339]
19939         * posix/tst-getaddrinfo4.c: New test.
19940         * posix/Makefile (tests): Add it.
19941
19942 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19943
19944         [BZ #15339]
19945         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19946         when no services were used.
19947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19948         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19949
19950 2013-05-21  Andreas Schwab  <schwab@suse.de>
19951
19952         [BZ #15014]
19953         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19954         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19955         successful.
19956         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19957         redundant variable declarations and reallocation of buffer when
19958         parsing as IPv6 address.  Always set NSS status when called from
19959         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19960         buffer too small.  Correct computation of needed size.
19961         * nss/Makefile (tests): Add test-digits-dots.
19962         * nss/test-digits-dots.c: New test.
19963
19964 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19965
19966         * benchtests/Makefile: Remove instructions for adding
19967         benchmark tests.
19968         * benchtests/README: New file to explain how to execute and
19969         enhance the benchmark tests.
19970
19971 2013-05-21  Andreas Schwab  <schwab@suse.de>
19972
19973         [BZ #15493]
19974         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19975         * setjmp/tst-sigsetjmp.c: New test.
19976
19977 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19978
19979         * sysdeps/x86_64/memset.S (memset): New implementation.
19980         (__bzero): Likewise.
19981         (__memset_tail): New function.
19982
19983 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19984
19985         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19986         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19987         __memcpy_sse2_unaligned ifunc selection.
19988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19989         Add memcpy-sse2-unaligned.S.
19990         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19991         Add: __memcpy_sse2_unaligned.
19992
19993 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19994
19995         [BZ #15490]
19996         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19997         math_force_eval before restoring floating-point envrionment.
19998         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19999         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20000         Likewise.
20001         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20002         <math_private.h>.
20003         (__nearbyintl): Use math_force_eval before restoring
20004         floating-point environment.
20005         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20006
20007         * math/gen-libm-test.pl (special_functions): Remove.
20008         (parse_args): Don't handle TEST_extra.  Handle functions with no
20009         return value.
20010         * math/libm-test.inc (struct test_sincos_data): Replace with
20011         struct test_fFF_11_data.
20012         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20013         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20014         (sincos_test_data): Change element type to struct
20015         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20016         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20017         RUN_TEST_LOOP_sincos.
20018         * math/README.libm-test: Don't mention special handling of
20019         individual functions.
20020         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20021         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20022         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20023         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20024         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20026
20027         * math/gen-libm-test.pl (get_variable): Remove function.
20028         (parse_args): Don't show pointer parameters to call in test
20029         names.  Use "extra output N" in test names for extra outputs
20030         rather than naming variables.
20031
20032 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20033
20034         [BZ #15488]
20035         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20036         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20037         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20038         double tests.
20039         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20040         disable.
20041         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20042         check_long_double.
20043
20044         * math/gen-libm-test.pl (@tests): Remove variable.
20045         ($count): Likewise.
20046         (new_test): Remove function.
20047         (show_exceptions): New function.
20048         (special_functions): Use show_exceptions instead of new_test.
20049         (parse_args): Likewise.
20050         (generate_testfile): Pass only function name in generated call to
20051         print_max_error or print_complex_max_error.
20052         (get_ulps): Do not handle complex tests specially.
20053         (output_test): Rename to ...
20054         (get_all_ulps_for_test): ... this.  Return a string rather than
20055         printing to a file.  Require ulps to be present.
20056         (output_ulps): Generate arrays rather than #defines.
20057         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20058         (struct ulp_data): New type.
20059         (BUILD_COMPLEX_ULP): Remove macro.
20060         (compare_ulp_data): New function.
20061         (find_ulps): Likewise.
20062         (find_test_ulps): Likewise.
20063         (find_function_ulps): Likewise.
20064         (find_complex_function_ulps): Likewise.
20065         (print_max_error): Determine allowed ulps using
20066         find_function_ulps.
20067         (print_complex_max_error): Determine allowed ulps using
20068         find_complex_function_ulps.
20069         (check_float_internal): Determine max ulps using find_test_ulps.
20070         (check_float): Do not take max_ulp parameter.  Update call to
20071         check_float_internal.
20072         (check_complex): Likewise.
20073         (check_int): Do not take max_ulp parameter.
20074         (check_long): Likewise.
20075         (check_bool): Likewise.
20076         (check_longlong): Likewise.
20077         (struct test_f_f_data): Remove max_ulp field.
20078         (struct test_ff_f_data): Likewise.
20079         (struct test_ff_f_data_nexttoward): Likewise.
20080         (struct test_fi_f_data): Likewise.
20081         (struct test_fl_f_data): Likewise.
20082         (struct test_if_f_data): Likewise.
20083         (struct test_fff_f_data): Likewise.
20084         (struct test_c_f_data): Likewise.
20085         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20086         (struct test_fF_f1_data): Likewise.
20087         (struct test_ffI_f1_data): Likewise.
20088         (struct test_c_c_data): Remove max_ulp field.
20089         (struct test_cc_c_data): Likewise.
20090         (struct test_f_i_data): Likewise.
20091         (struct test_ff_i_data): Likewise.
20092         (struct test_f_l_data): Likewise.
20093         (struct test_f_L_data): Likewise.
20094         (struct test_sincos_data): Likewise.
20095         (RUN_TEST_f_f): Do not handle ulps.
20096         (RUN_TEST_LOOP_f_f): Likewise.
20097         (RUN_TEST_2_f): Likewise.
20098         (RUN_TEST_LOOP_2_f): Likewise.
20099         (RUN_TEST_fff_f): Likewise.
20100         (RUN_TEST_LOOP_fff_f): Likewise.
20101         (RUN_TEST_c_f): Likewise.
20102         (RUN_TEST_LOOP_c_f): Likewise.
20103         (RUN_TEST_f_f1): Likewise.
20104         (RUN_TEST_LOOP_f_f1): Likewise.
20105         (RUN_TEST_fF_f1): Likewise.
20106         (RUN_TEST_LOOP_fF_f1): Likewise.
20107         (RUN_TEST_fI_f1): Likewise.
20108         (RUN_TEST_LOOP_fI_f1): Likewise.
20109         (RUN_TEST_ffI_f1): Likewise.
20110         (RUN_TEST_LOOP_ffI_f1): Likewise.
20111         (RUN_TEST_c_c): Likewise.
20112         (RUN_TEST_LOOP_c_c): Likewise.
20113         (RUN_TEST_cc_c): Likewise.
20114         (RUN_TEST_LOOP_cc_c): Likewise.
20115         (RUN_TEST_f_i): Likewise.
20116         (RUN_TEST_LOOP_f_i): Likewise.
20117         (RUN_TEST_f_i_tg): Likewise.
20118         (RUN_TEST_LOOP_f_i_tg): Likewise.
20119         (RUN_TEST_ff_i_tg): Likewise.
20120         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20121         (RUN_TEST_f_b): Likewise.
20122         (RUN_TEST_LOOP_f_b): Likewise.
20123         (RUN_TEST_f_b_tg): Likewise.
20124         (RUN_TEST_LOOP_f_b_tg): Likewise.
20125         (RUN_TEST_f_l): Likewise.
20126         (RUN_TEST_LOOP_f_l): Likewise.
20127         (RUN_TEST_f_L): Likewise.
20128         (RUN_TEST_LOOP_f_L): Likewise.
20129         (RUN_TEST_sincos): Likewise.
20130         (RUN_TEST_LOOP_sincos): Likewise.
20131
20132 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20133
20134         [BZ #15480]
20135         [BZ #15485]
20136         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20137         main case of finite arguments, set rounding mode to FE_TONEAREST
20138         and discard exceptions.
20139         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20140         exceptions.
20141         (remainder_tonearest_test_data): New variable.
20142         (remainder_test_tonearest): New function.
20143         (remainder_towardzero_test_data): New variable.
20144         (remainder_test_towardzero): New function.
20145         (remainder_downward_test_data): New variable.
20146         (remainder_test_downward): New function.
20147         (remainder_upward_test_data): New variable.
20148         (remainder_test_upward): New function.
20149         (main): Call the new test functions.
20150
20151         * math/libm-test.inc (struct test_f_f1_data): Remove field
20152         extra_init.
20153         (struct test_fF_f1_data): Likewise.
20154         (struct test_ffI_f1_data): Likewise.
20155         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20156         based on value of EXTRA_EXPECTED.
20157         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20158         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20159         EXTRA_VAR based on value of EXTRA_EXPECTED.
20160         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20161         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20162         EXTRA_VAR based on value of EXTRA_EXPECTED.
20163         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20164         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20165         EXTRA_VAR based on value of EXTRA_EXPECTED.
20166         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20167         * math/gen-libm-test.pl (parse_args): Don't output initializers
20168         for extra output values.
20169
20170         * math/libm-test.inc (check_int): Expect result to be exactly
20171         equal to expected value and do not handle ulps.
20172         (check_long): Likewise.
20173         (check_longlong): Likewise.
20174
20175         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20176         exceptions.
20177         (cimag_test_data): Likewise.
20178         (conj_test_data): Likewise.
20179         (copysign_test_data): Likewise.
20180         (cproj_test_data): Likewise.
20181         (creal_test_data): Likewise.
20182         (fabs_test_data): Likewise.
20183         (fdim_test_data): Likewise.
20184         (finite_test_data): Likewise.
20185         (floor_test_data): Likewise.
20186         (fmax_test_data): Likewise.
20187         (fmin_test_data): Likewise.
20188         (fmod_test_data): Likewise.
20189         (fpclassify_test_data): Likewise.
20190         (frexp_test_data): Likewise.
20191         (ilogb_test_data): Likewise.
20192         (isfinite_test_data): Likewise.
20193         (isgreater_test_data): Likewise.
20194         (isgreaterequal_test_data): Likewise.
20195         (isinf_test_data): Likewise.
20196         (isless_test_data): Likewise.
20197         (islessequal_test_data): Likewise.
20198         (islessgreater_test_data): Likewise.
20199         (isnan_test_data): Likewise.
20200         (isnormal_test_data): Likewise.
20201         (issignaling_test_data): Likewise.
20202         (isunordered_test_data): Likewise.
20203         (ldexp_test_data): Likewise.
20204         (lrint_test_data): Likewise.
20205         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20206         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20207         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20208         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20209         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20210         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20211         test input.
20212         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20213         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20214         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20215         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20216         that test input.
20217         (lrint_downward_test_data): Test for "inexact" exceptions.
20218         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20219         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20220         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20221         test input.
20222         (lrint_upward_test_data): Test for "inexact" exceptions.
20223         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20224         test input.
20225         (llrint_test_data): Test for "inexact" exceptions.
20226         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20227         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20228         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20229         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20230         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20231         (llrint_downward_test_data): Test for "inexact" exceptions.
20232         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20233         (llrint_upward_test_data): Test for "inexact" exceptions.
20234         (logb_test_data): Likewise.
20235         (logb_downward_test_data): Likewise.
20236         (nextafter_test_data): Likewise.
20237         (nexttoward_test_data): Likewise.
20238         (remainder_test_data): Likewise.
20239         (remquo_test_data): Likewise.
20240         (scalbn_test_data): Likewise.
20241         (scalbln_test_data): Likewise.
20242         (signbit_test_data): Likewise.
20243         (sqrt_test_data): Likewise.
20244         (significand_test_data): Likewise.
20245
20246 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20247
20248         [BZ #15424]
20249         * benchtests/bench-modf.c (struct args): Mark arg0 as
20250         volatile.
20251         * scripts/bench.pl: Mark members of struct args as volatile.
20252
20253 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20254
20255         [BZ # 15497]
20256         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20257         negative infinity on POWER6 or lower.
20258         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20259
20260 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20261
20262         [BZ #15442]
20263         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20264         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20265         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20266         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20267         (_FP_SETQNAN): New macro.
20268         (_FP_SETQNAN_SEMIRAW): Likewise.
20269         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20270         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20271         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20272         (FP_EXTEND): Use _FP_FRAC_SNANP.
20273         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20274         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20275         into account.
20276         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20277         New macro.
20278         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20279         Likewise.
20280
20281 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20282
20283         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20284         with DIVIDE_BY_ZERO_EXCEPTION.
20285         (gamma_test_data): Likewise.
20286         (lgamma_test_data): Likewise.
20287         (log_test_data): Likewise.
20288         (log10_test_data): Likewise.
20289         (log2_test_data): Likewise.
20290         (tgamma_test_data): Likewise.
20291
20292         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20293         (acos_test_tonearest): Likewise.
20294         (acos_test_towardzero): Likewise.
20295         (acos_test_downward): Likewise.
20296         (acos_test_upward): Likewise.
20297         (acosh_test): Likewise.
20298         (asin_test): Likewise.
20299         (asin_test_tonearest): Likewise.
20300         (asin_test_towardzero): Likewise.
20301         (asin_test_downward): Likewise.
20302         (asin_test_upward): Likewise.
20303         (asinh_test): Likewise.
20304         (atan_test): Likewise.
20305         (atanh_test): Likewise.
20306         (atan2_test): Likewise.
20307         (cabs_test): Likewise.
20308         (cacos_test): Likewise.
20309         (cacosh_test): Likewise.
20310         (casin_test): Likewise.
20311         (casinh_test): Likewise.
20312         (catan_test): Likewise.
20313         (catanh_test): Likewise.
20314         (cbrt_test): Likewise.
20315         (ccos_test): Likewise.
20316         (ccosh_test): Likewise.
20317         (cexp_test): Likewise.
20318         (clog_test): Likewise.
20319         (clog10_test): Likewise.
20320         (cos_test): Likewise.
20321         (cos_test_tonearest): Likewise.
20322         (cos_test_towardzero): Likewise.
20323         (cos_test_downward): Likewise.
20324         (cos_test_upward): Likewise.
20325         (cosh_test): Likewise.
20326         (cosh_test_tonearest): Likewise.
20327         (cosh_test_towardzero): Likewise.
20328         (cosh_test_downward): Likewise.
20329         (cosh_test_upward): Likewise.
20330         (cpow_test): Likewise.
20331         (csin_test): Likewise.
20332         (csinh_test): Likewise.
20333         (csqrt_test): Likewise.
20334         (ctan_test): Likewise.
20335         (ctan_test_tonearest): Likewise.
20336         (ctan_test_towardzero): Likewise.
20337         (ctan_test_downward): Likewise.
20338         (ctan_test_upward): Likewise.
20339         (ctanh_test): Likewise.
20340         (ctanh_test_tonearest): Likewise.
20341         (ctanh_test_towardzero): Likewise.
20342         (ctanh_test_downward): Likewise.
20343         (ctanh_test_upward): Likewise.
20344         (erf_test): Likewise.
20345         (erfc_test): Likewise.
20346         (exp_test): Likewise.
20347         (exp_test_tonearest): Likewise.
20348         (exp_test_towardzero): Likewise.
20349         (exp_test_downward): Likewise.
20350         (exp_test_upward): Likewise.
20351         (exp10_test): Likewise.
20352         (exp2_test): Likewise.
20353         (expm1_test): Likewise.
20354         (fmod_test): Likewise.
20355         (gamma_test): Likewise.
20356         (hypot_test): Likewise.
20357         (j0_test): Likewise.
20358         (j1_test): Likewise.
20359         (jn_test): Likewise.
20360         (lgamma_test): Likewise.
20361         (log_test): Likewise.
20362         (log10_test): Likewise.
20363         (log1p_test): Likewise.
20364         (log2_test): Likewise.
20365         (logb_test_downward): Likewise.
20366         (pow_test): Likewise.
20367         (pow_test_tonearest): Likewise.
20368         (pow_test_towardzero): Likewise.
20369         (pow_test_downward): Likewise.
20370         (pow_test_upward): Likewise.
20371         (remainder_test): Likewise.
20372         (remquo_test): Likewise.
20373         (sin_test): Likewise.
20374         (sin_test_tonearest): Likewise.
20375         (sin_test_towardzero): Likewise.
20376         (sin_test_downward): Likewise.
20377         (sin_test_upward): Likewise.
20378         (sincos_test): Likewise.
20379         (sinh_test): Likewise.
20380         (sinh_test_tonearest): Likewise.
20381         (sinh_test_towardzero): Likewise.
20382         (sinh_test_downward): Likewise.
20383         (sinh_test_upward): Likewise.
20384         (sqrt_test): Likewise.
20385         (tan_test): Likewise.
20386         (tan_test_tonearest): Likewise.
20387         (tan_test_towardzero): Likewise.
20388         (tan_test_downward): Likewise.
20389         (tan_test_upward): Likewise.
20390         (tanh_test): Likewise.
20391         (tgamma_test): Likewise.
20392         (y0_test): Likewise.
20393         (y1_test): Likewise.
20394         (yn_test): Likewise.
20395
20396         * math/gen-libm-test.pl (adjust_arg): Remove function.
20397         (special_function): Remove argument $in_func.  Only handle
20398         generating output for tables of tests, not inside functions.
20399         (parse_args): Likewise.
20400         (generate_testfile): Remove variable $in_func.  Update call to
20401         parse_args.
20402         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20403         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20404         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20405         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20406         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20407         (MAX_VALUE_INIT): Rename macro to max_value.
20408         (MIN_VALUE_INIT): Rename macro to min_value.
20409         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20410         (plus_zero): Remove variable.
20411         (minus_zero): Likewise.
20412         (plus_infty): Likewise.
20413         (minus_infty): Likewise.
20414         (qnan_value): Likewise.
20415         (max_value): Likewise.
20416         (min_value): Likewise.
20417         (min_subnorm_value): Likewise.
20418
20419 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20420
20421         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20422         uint64_t or uint32_t usage.
20423         * crypt/sha256-block.c: Likewise.
20424         * crypt/sha256-crypt.c: Likewise.
20425         * crypt/sha256.c: Likewise.
20426         * crypt/sha512-block.c: Likewise.
20427         * crypt/sha512-crypt.c: Likewise.
20428         * crypt/sha512.c: Likewise.
20429         * debug/backtrace-tst.c: Likewise.
20430         * debug/pcprofiledump.c: Likewise.
20431         * elf/cache.c: Likewise.
20432         * elf/dl-cache.c: Likewise.
20433         * elf/dl-misc.c: Likewise.
20434         * elf/dl-profile.c: Likewise.
20435         * elf/dl-support.c: Likewise.
20436         * elf/ldconfig.c: Likewise.
20437         * elf/sprof.c: Likewise.
20438         * iconv/dummy-repertoire.c: Likewise.
20439         * iconv/iconv_charmap.c: Likewise.
20440         * iconv/skeleton.c: Likewise.
20441         * iconvdata/8bit-generic.c: Likewise.
20442         * iconvdata/cp737.h: Likewise.
20443         * iconvdata/cp775.h: Likewise.
20444         * iconvdata/ibm1008.h: Likewise.
20445         * iconvdata/ibm1025.h: Likewise.
20446         * iconvdata/ibm1046.h: Likewise.
20447         * iconvdata/ibm1097.h: Likewise.
20448         * iconvdata/ibm1112.h: Likewise.
20449         * iconvdata/ibm1122.h: Likewise.
20450         * iconvdata/ibm1123.h: Likewise.
20451         * iconvdata/ibm1124.h: Likewise.
20452         * iconvdata/ibm1129.h: Likewise.
20453         * iconvdata/ibm1130.h: Likewise.
20454         * iconvdata/ibm1132.h: Likewise.
20455         * iconvdata/ibm1133.h: Likewise.
20456         * iconvdata/ibm1137.h: Likewise.
20457         * iconvdata/ibm1140.h: Likewise.
20458         * iconvdata/ibm1141.h: Likewise.
20459         * iconvdata/ibm1142.h: Likewise.
20460         * iconvdata/ibm1143.h: Likewise.
20461         * iconvdata/ibm1144.h: Likewise.
20462         * iconvdata/ibm1145.h: Likewise.
20463         * iconvdata/ibm1146.h: Likewise.
20464         * iconvdata/ibm1147.h: Likewise.
20465         * iconvdata/ibm1148.h: Likewise.
20466         * iconvdata/ibm1149.h: Likewise.
20467         * iconvdata/ibm1153.h: Likewise.
20468         * iconvdata/ibm1154.h: Likewise.
20469         * iconvdata/ibm1155.h: Likewise.
20470         * iconvdata/ibm1156.h: Likewise.
20471         * iconvdata/ibm1157.h: Likewise.
20472         * iconvdata/ibm1158.h: Likewise.
20473         * iconvdata/ibm1160.h: Likewise.
20474         * iconvdata/ibm1161.h: Likewise.
20475         * iconvdata/ibm1162.h: Likewise.
20476         * iconvdata/ibm1163.h: Likewise.
20477         * iconvdata/ibm1164.h: Likewise.
20478         * iconvdata/ibm1166.h: Likewise.
20479         * iconvdata/ibm1167.h: Likewise.
20480         * iconvdata/ibm12712.h: Likewise.
20481         * iconvdata/ibm1390.h: Likewise.
20482         * iconvdata/ibm1399.h: Likewise.
20483         * iconvdata/ibm16804.h: Likewise.
20484         * iconvdata/ibm4517.h: Likewise.
20485         * iconvdata/ibm4899.h: Likewise.
20486         * iconvdata/ibm4909.h: Likewise.
20487         * iconvdata/ibm4971.h: Likewise.
20488         * iconvdata/ibm5347.h: Likewise.
20489         * iconvdata/ibm803.h: Likewise.
20490         * iconvdata/ibm856.h: Likewise.
20491         * iconvdata/ibm901.h: Likewise.
20492         * iconvdata/ibm902.h: Likewise.
20493         * iconvdata/ibm9030.h: Likewise.
20494         * iconvdata/ibm9066.h: Likewise.
20495         * iconvdata/ibm921.h: Likewise.
20496         * iconvdata/ibm922.h: Likewise.
20497         * iconvdata/ibm9448.h: Likewise.
20498         * iconvdata/isiri-3342.h: Likewise.
20499         * iconvdata/jis0201.h: Likewise.
20500         * include/link.h: Likewise.
20501         * include/netdb.h: Likewise.
20502         * inet/check_native.c: Likewise.
20503         * inet/check_pf.c: Likewise.
20504         * inet/getipv4sourcefilter.c: Likewise.
20505         * inet/getnameinfo.c: Likewise.
20506         * inet/getsourcefilter.c: Likewise.
20507         * inet/htonl.c: Likewise.
20508         * inet/setipv4sourcefilter.c: Likewise.
20509         * inet/setsourcefilter.c: Likewise.
20510         * inet/test-inet6_opt.c: Likewise.
20511         * inet/tst-network.c: Likewise.
20512         * locale/C-collate.c: Likewise.
20513         * locale/C-ctype.c: Likewise.
20514         * locale/C-time.c: Likewise.
20515         * locale/C-translit.h: Likewise.
20516         * locale/loadarchive.c: Likewise.
20517         * locale/programs/3level.h: Likewise.
20518         * locale/programs/charmap.c: Likewise.
20519         * locale/programs/charmap.h: Likewise.
20520         * locale/programs/ld-address.c: Likewise.
20521         * locale/programs/ld-collate.c: Likewise.
20522         * locale/programs/ld-ctype.c: Likewise.
20523         * locale/programs/ld-identification.c: Likewise.
20524         * locale/programs/ld-measurement.c: Likewise.
20525         * locale/programs/ld-messages.c: Likewise.
20526         * locale/programs/ld-monetary.c: Likewise.
20527         * locale/programs/ld-name.c: Likewise.
20528         * locale/programs/ld-numeric.c: Likewise.
20529         * locale/programs/ld-paper.c: Likewise.
20530         * locale/programs/ld-telephone.c: Likewise.
20531         * locale/programs/ld-time.c: Likewise.
20532         * locale/programs/linereader.c: Likewise.
20533         * locale/programs/locale.c: Likewise.
20534         * locale/programs/locarchive.c: Likewise.
20535         * locale/programs/locfile.h: Likewise.
20536         * locale/programs/repertoire.c: Likewise.
20537         * locale/programs/simple-hash.c: Likewise.
20538         * locale/programs/simple-hash.h: Likewise.
20539         * malloc/memusage.c: Likewise.
20540         * malloc/memusagestat.c: Likewise.
20541         * nis/nis_defaults.c: Likewise.
20542         * nis/nis_hash.c: Likewise.
20543         * nis/nis_print.c: Likewise.
20544         * nis/nis_xdr.c: Likewise.
20545         * nscd/connections.c: Likewise.
20546         * nscd/hstcache.c: Likewise.
20547         * nscd/nscd_gethst_r.c: Likewise.
20548         * nscd/nscd_getserv_r.c: Likewise.
20549         * nscd/nscd_helper.c: Likewise.
20550         * nscd/servicescache.c: Likewise.
20551         * nss/makedb.c: Likewise.
20552         * nss/nss_db/db-XXX.c: Likewise.
20553         * nss/nss_db/db-initgroups.c: Likewise.
20554         * nss/nss_db/db-netgrp.c: Likewise.
20555         * nss/nss_files/files-network.c: Likewise.
20556         * nss/nss_files/files-parse.c: Likewise.
20557         * posix/bug-regex5.c: Likewise.
20558         * posix/fnmatch_loop.c: Likewise.
20559         * posix/regcomp.c: Likewise.
20560         * posix/regexec.c: Likewise.
20561         * posix/tst-rfc3484-2.c: Likewise.
20562         * posix/tst-rfc3484-3.c: Likewise.
20563         * posix/tst-rfc3484.c: Likewise.
20564         * resolv/nss_dns/dns-canon.c: Likewise.
20565         * resolv/nss_dns/dns-network.c: Likewise.
20566         * resolv/res_init.c: Likewise.
20567         * resolv/res_mkquery.c: Likewise.
20568         * resolv/tst-aton.c: Likewise.
20569         * stdlib/cxa_atexit.c: Likewise.
20570         * stdlib/cxa_finalize.c: Likewise.
20571         * stdlib/gen-fpioconst.c: Likewise.
20572         * stdlib/strtol_l.c: Likewise.
20573         * string/tst-endian.c: Likewise.
20574         * sunrpc/auth_des.c: Likewise.
20575         * sunrpc/clnt_udp.c: Likewise.
20576         * sunrpc/rtime.c: Likewise.
20577         * sunrpc/svcauth_des.c: Likewise.
20578         * sunrpc/xdr.c: Likewise.
20579         * sunrpc/xdr_intXX_t.c: Likewise.
20580         * sunrpc/xdr_rec.c: Likewise.
20581         * sysdeps/generic/ldconfig.h: Likewise.
20582         * sysdeps/generic/ldsodefs.h: Likewise.
20583         * sysdeps/generic/memusage.h: Likewise.
20584         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20585         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20586         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20587         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20588         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20589         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20590         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20591         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20592         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20593         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20594         * sysdeps/posix/getaddrinfo.c: Likewise.
20595         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20596         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20597         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20598         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20599         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20600         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20601         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20602         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20603         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20604         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20605         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20606         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20607         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20608         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20609         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20610         * sysdeps/x86_64/dl-tls.h: Likewise.
20611         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20612         * time/alt_digit.c: Likewise.
20613         * time/era.c: Likewise.
20614         * wcsmbs/tst-c16c32-1.c: Likewise.
20615
20616 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20617
20618         * math/libm-test.inc (struct test_sincos_data): New type.
20619         (RUN_TEST_LOOP_sincos): New macro.
20620         (sincos_test_data): New variable.
20621         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20622
20623 2013-05-16  Richard Henderson  <rth@redhat.com>
20624
20625         * math/atest-exp2.c (LIMB64): New macro.
20626         (CONSTSZ): New macro.
20627         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20628         (hexdig): Move ...
20629         (print_mpn_fp): ... to function scope.
20630         (read_mpn_hex): Remove.
20631         (get_log2): Remove.
20632         (exp2_mpn): Use mp_log2.
20633         (main): Use mp_exp1.
20634
20635 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20636
20637         * math/libm-test.inc: Remove comment about not testing "inexact"
20638         exceptions.
20639         (INEXACT_EXCEPTION): New macro.
20640         (NO_INEXACT_EXCEPTION): Likewise.
20641         (INVALID_EXCEPTION_OK): Update value.
20642         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20643         (OVERFLOW_EXCEPTION_OK): Likewise.
20644         (UNDERFLOW_EXCEPTION_OK): Likewise.
20645         (IGNORE_ZERO_INF_SIGN): Likewise.
20646         (ERRNO_UNCHANGED): Likewise.
20647         (ERRNO_EDOM): Likewise.
20648         (ERRNO_ERANGE): Likewise.
20649         (test_exceptions): Handle testing "inexact" exceptions.
20650         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20651         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20652         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20653         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20654         INEXACT_EXCEPTION.
20655         (rint_towardzero_test_data): Likewise.
20656         (rint_downward_test_data): Likewise.
20657         (rint_upward_test_data): Likewise.
20658
20659         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20660         with OVERFLOW_EXCEPTION.
20661         (exp10_test_data): Likewise.
20662         (exp2_test_data): Likewise.
20663         (expm1_test_data): Likewise.
20664         (lgamma_test_data): Likewise.
20665         (pow_test_data): Likewise.
20666         (tgamma_test_data): Likewise.
20667         (yn_test_data): Remove duplicate test of overflow.
20668
20669         * math/libm-test.inc (struct test_cc_c_data): New type.
20670         (RUN_TEST_LOOP_cc_c): New macro.
20671         (cpow_test_data): New variable.
20672         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20673
20674         * math/libm-test.inc (struct test_f_L_data): New type.
20675         (RUN_TEST_LOOP_f_L): New macro.
20676         (llrint_test_data): New variable.
20677         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20678         (llrint_tonearest_test_data): New variable.
20679         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20680         (llrint_towardzero_test_data): New variable.
20681         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20682         (llrint_downward_test_data): New variable.
20683         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20684         (llrint_upward_test_data): New variable.
20685         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20686         (llround_test_data): New variable.
20687         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20688
20689 2013-05-13  Peter Collingbourne  <pcc@google.com>
20690
20691         * math/atest-exp2.c (get_log2): Remove const attribute.
20692
20693 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20694
20695         * math/libm-test.inc (struct test_f_l_data): New type.
20696         (RUN_TEST_LOOP_f_l): New macro.
20697         (lrint_test_data): New variable.
20698         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20699         (lrint_tonearest_test_data): New variable.
20700         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20701         (lrint_towardzero_test_data): New variable.
20702         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20703         (lrint_downward_test_data): New variable.
20704         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20705         (lrint_upward_test_data): New variable.
20706         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20707         (lround_test_data): New variable.
20708         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20709
20710 2013-05-15  Peter Collingbourne  <pcc@google.com>
20711
20712         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20713         (EXTRACT_WORDS64) Use where appropriate.
20714         (INSERT_WORDS64) Likewise.
20715
20716         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20717         constraints with x constraints.
20718         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20719
20720         * malloc/obstack.c (_obstack_compat): Add initializer.
20721
20722 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20723
20724         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20725         si_trapno and add si_addr_lsb to _sifields.sigfault.
20726         (si_trapno): Remove macro.
20727         (si_addr_lsb): Define new macro.
20728         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20729
20730 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20731
20732         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20733         instead of TEST_f_l.
20734         (llrint_test_tonearest): Likewise.
20735         (llrint_test_towardzero): Likewise.
20736         (llrint_test_downward): Likewise.
20737         (llrint_test_upward): Likewise.
20738         (llround_test): Likewise.
20739
20740         * math/libm-test.inc (struct test_f_i_data): Add comment.
20741         (RUN_TEST_LOOP_f_b): New macro.
20742         (RUN_TEST_LOOP_f_b_tg): Likewise.
20743         (finite_test_data): New variable.
20744         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20745         (isfinite_test_data): New variable.
20746         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20747         (isinf_test_data): New variable.
20748         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20749         (isnan_test_data): New variable.
20750         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20751         (isnormal_test_data): New variable.
20752         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20753         (issignaling_test_data): New variable.
20754         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20755         (signbit_test_data): New variable.
20756         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20757
20758         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20759         with INVALID_EXCEPTION.
20760         (acosh_test_data): Likewise.
20761         (asin_test_data): Likewise.
20762         (atanh_test_data): Likewise.
20763         (fmod_test_data): Likewise.
20764         (log_test_data): Likewise.
20765         (log10_test_data): Likewise.
20766         (log2_test_data): Likewise.
20767         (pow_test_data): Likewise.
20768         (sqrt_test_data): Likewise.
20769         (y0_test_data): Likewise.
20770         (y1_test_data): Likewise.
20771         (yn_test_data): Likewise.
20772
20773         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20774         function contents.
20775
20776         * math/libm-test.inc (struct test_ff_i_data): New type.
20777         (RUN_TEST_LOOP_ff_i_tg): New macro.
20778         (isgreater_test_data): New variable.
20779         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20780         (isgreaterequal_test_data): New variable.
20781         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20782         (isless_test_data): New variable.
20783         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20784         (islessequal_test_data): New variable.
20785         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20786         (islessgreater_test_data): New variable.
20787         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20788         (isunordered_test_data): New variable.
20789         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20790
20791 2013-05-14  David S. Miller  <davem@davemloft.net>
20792
20793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20794
20795 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20796
20797         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20798
20799         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20800         extra_test to int.
20801         (struct test_f_i_data): Change type of max_ulp to int.
20802
20803         * math/libm-test.inc (test_ffI_f1_data): New type.
20804         (RUN_TEST_LOOP_ffI_f1): New macro.
20805         (remquo_test_data): New variable.
20806         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20807
20808         * setjmp/tst-setjmp-fp.c: New file.
20809         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20810         (link-libm): New variable.
20811         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20812
20813         * math/libm-test.inc (struct test_f_i_data): New type.
20814         (RUN_TEST_LOOP_f_i): New macro.
20815         (RUN_TEST_LOOP_f_i_tg): Likewise.
20816         (fpclassify_test_data): New variable.
20817         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20818         (ilogb_test_data): New variable.
20819         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20820
20821         * math/libm-test.inc (scalbln_test): Correct function name in END
20822         call.
20823
20824         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20825         (RUN_TEST_LOOP_fI_f1): New macro.
20826         (frexp_test_data): New variable.
20827         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20828
20829         * math/libm-test.inc (struct test_fF_f1_data): New type.
20830         (RUN_TEST_LOOP_fF_f1): New macro.
20831         (modf_test_data): New variable.
20832         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20833
20834         * math/libm-test.inc (struct test_f_f1_data): New type.
20835         (RUN_TEST_LOOP_f_f1): New macro.
20836         (gamma_test_data): New variable.
20837         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20838         (lgamma_test_data): New variable.
20839         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20840
20841 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20842
20843         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20844         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20845         (main): Comment "tls" pseudo-hwcap.
20846
20847 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20848
20849         * math/libm-test.inc (struct test_fl_f_data): New type.
20850         (RUN_TEST_LOOP_fl_f): New variable.
20851         (scalbln_test_data): New variable.
20852         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20853
20854         * math/libm-test.inc (struct test_fi_f_data): New type.
20855         (RUN_TEST_LOOP_fi_f): New macro.
20856         (ldexp_test_data): New variable.
20857         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20858         (scalbn_test_data): New variable.
20859         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20860
20861         * math/libm-test.inc (struct test_c_f_data): New type.
20862         (RUN_TEST_LOOP_c_f): New macro.
20863         (cabs_test_data): New variable.
20864         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20865         (carg_test_data): New variable.
20866         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20867         (cimag_test_data): New variable.
20868         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20869         (creal_test_data): New variable.
20870         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20871
20872         * math/libm-test.inc (struct test_if_f_data): New type.
20873         (RUN_TEST_LOOP_if_f): New macro.
20874         (jn_test_data): New variable.
20875         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20876         (yn_test_data): New variable.
20877         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20878
20879         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20880
20881 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20882
20883         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20884         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20885
20886 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20887
20888         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20889         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20890         (bench-deps): Add bench-timing.h.
20891         * benchtests-bench-skeleton.c: Include bench-timing.h.
20892         (main): Use TIMING_* macros instead of clock_gettime.
20893         * benchtests/bench-timing.h: New file.
20894
20895         [BZ #14582]
20896         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20897         Renamed from _LIB_VERSION.
20898         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20899
20900 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20901
20902         * math/libm-test.inc (struct test_fff_f_data): New type.
20903         (RUN_TEST_LOOP_fff_f): New macro.
20904         (fma_test_data): New variable.
20905         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20906         (fma_towardzero_test_data): New variable.
20907         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20908         (fma_downward_test_data): New variable.
20909         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20910         (fma_upward_test_data): New variable.
20911         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20912
20913         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20914         (struct test_c_c_data): New type.
20915         (RUN_TEST_LOOP_c_c): New macro.
20916         (cacos_test_data): New variable.
20917         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20918         (cacosh_test_data): New variable.
20919         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20920         (casin_test_data): New variable.
20921         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20922         (casinh_test_data): New variable.
20923         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20924         (catan_test_data): New variable.
20925         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20926         (catanh_test_data): New variable.
20927         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20928         (ccos_test_data): New variable.
20929         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20930         (ccosh_test_data): New variable.
20931         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20932         (cexp_test_data): New variable.
20933         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20934         (clog_test_data): New variable.
20935         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20936         (clog10_test_data): New variable.
20937         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20938         (conj_test_data): New variable.
20939         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20940         (cproj_test_data): New variable.
20941         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20942         (csin_test_data): New variable.
20943         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20944         (csinh_test_data): New variable.
20945         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20946         (csqrt_test_data): New variable.
20947         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20948         (ctan_test_data): New variable.
20949         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20950         (ctan_tonearest_test_data): New variable.
20951         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20952         (ctan_towardzero_test_data): New variable.
20953         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20954         (ctan_downward_test_data): New variable.
20955         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20956         (ctan_upward_test_data): New variable.
20957         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20958         (ctanh_test_data): New variable.
20959         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20960         (ctanh_tonearest_test_data): New variable.
20961         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20962         (ctanh_towardzero_test_data): New variable.
20963         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20964         (ctanh_downward_test_data): New variable.
20965         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20966         (ctanh_upward_test_data): New variable.
20967         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20968         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20969         of BUILD_COMPLEX.
20970
20971         * math/libm-test.inc (struct test_ff_f_data): New type.
20972         (struct test_ff_f_data_nexttoward): Likewise.
20973         (RUN_TEST_LOOP_2_f): New macro.
20974         (RUN_TEST_LOOP_ff_f): Likewise.
20975         (atan2_test_data): New variable.
20976         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20977         (copysign_test_data): New variable.
20978         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20979         (fdim_test_data): New variable.
20980         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20981         (fmax_test_data): New variable.
20982         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20983         (fmin_test_data): New variable.
20984         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20985         (fmod_test_data): New variable.
20986         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20987         (hypot_test_data): New variable.
20988         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20989         (nextafter_test_data): New variable.
20990         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20991         (nexttoward_test_data): New variable.
20992         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20993         (pow_test_data): New variable.
20994         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20995         (pow_tonearest_test_data): New variable.
20996         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20997         (pow_towardzero_test_data): New variable.
20998         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20999         (pow_downward_test_data): New variable.
21000         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21001         (pow_upward_test_data): New variable.
21002         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21003         (remainder_test_data): New variable.
21004         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21005         (scalb_test_data): New variable.
21006         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21007         * sysdeps/i386/fpu/libm-test-ulps: Update.
21008
21009 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21010
21011         * math/libm-test.inc (fma_test): Use max_value instead of local
21012         variable fltmax.
21013         (nextafter_test): Likewise.
21014
21015         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21016         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21017         (acos_downward_test_data): New variable.
21018         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21019         (acos_upward_test_data): New variable.
21020         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21021         (acosh_test_data): New variable.
21022         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21023         (asin_test_data): New variable.
21024         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21025         (asin_tonearest_test_data): New variable.
21026         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21027         (asin_towardzero_test_data): New variable.
21028         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21029         (asin_downward_test_data): New variable.
21030         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21031         (asin_upward_test_data): New variable.
21032         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21033         (asinh_test_data): New variable.
21034         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21035         (atan_test_data): New variable.
21036         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21037         (atanh_test_data): New variable.
21038         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21039         (cbrt_test_data): New variable.
21040         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21041         (ceil_test_data): New variable.
21042         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21043         (cos_test_data): New variable.
21044         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21045         (cos_tonearest_test_data): New variable.
21046         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21047         (cos_towardzero_test_data): New variable.
21048         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21049         (cos_downward_test_data): New variable.
21050         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21051         (cos_upward_test_data): New variable.
21052         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21053         (cosh_test_data): New variable.
21054         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21055         (cosh_tonearest_test_data): New variable.
21056         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21057         (cosh_towardzero_test_data): New variable.
21058         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21059         (cosh_downward_test_data): New variable.
21060         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21061         (cosh_upward_test_data): New variable.
21062         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21063         (erf_test_data): New variable.
21064         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21065         (erfc_test_data): New variable.
21066         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21067         (exp_test_data): New variable.
21068         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21069         (exp_tonearest_test_data): New variable.
21070         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21071         (exp_towardzero_test_data): New variable.
21072         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21073         (exp_downward_test_data): New variable.
21074         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21075         (exp_upward_test_data): New variable.
21076         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21077         (exp10_test_data): New variable.
21078         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21079         (exp2_test_data): New variable.
21080         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21081         (expm1_test_data): New variable.
21082         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21083         (fabs_test_data): New variable.
21084         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21085         (floor_test_data): New variable.
21086         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21087         (j0_test_data): New variable.
21088         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21089         (j1_test_data): New variable.
21090         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21091         (log_test_data): New variable.
21092         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21093         (log10_test_data): New variable.
21094         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21095         (log1p_test_data): New variable.
21096         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21097         (log2_test_data): New variable.
21098         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21099         (logb_test_data): New variable.
21100         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21101         (logb_downward_test_data): New variable.
21102         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21103         (nearbyint_test_data): New variable.
21104         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21105         (rint_test_data): New variable.
21106         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21107         (rint_tonearest_test_data): New variable.
21108         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21109         (rint_towardzero_test_data): New variable.
21110         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21111         (rint_downward_test_data): New variable.
21112         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21113         (rint_upward_test_data): New variable.
21114         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21115         (round_test_data): New variable.
21116         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21117         (sin_test_data): New variable.
21118         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21119         (sin_tonearest_test_data): New variable.
21120         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21121         (sin_towardzero_test_data): New variable.
21122         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21123         (sin_downward_test_data): New variable.
21124         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21125         (sin_upward_test_data): New variable.
21126         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21127         (sinh_test_data): New variable.
21128         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21129         (sinh_tonearest_test_data): New variable.
21130         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21131         (sinh_towardzero_test_data): New variable.
21132         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21133         (sinh_downward_test_data): New variable.
21134         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21135         (sinh_upward_test_data): New variable.
21136         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21137         (sqrt_test_data): New variable.
21138         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21139         (tan_test_data): New variable.
21140         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21141         (tan_tonearest_test_data): New variable.
21142         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21143         (tan_towardzero_test_data): New variable.
21144         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21145         (tan_downward_test_data): New variable.
21146         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21147         (tan_upward_test_data): New variable.
21148         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21149         (tanh_test_data): New variable.
21150         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21151         (tgamma_test_data): New variable.
21152         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21153         (trunc_test_data): New variable.
21154         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21155         (y0_test_data): New variable.
21156         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21157         (y1_test_data): New variable.
21158         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21159         (significand_test_data): New variable.
21160         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21161
21162 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21163
21164         [BZ #12387]
21165         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21166
21167 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21168
21169         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21170
21171 2013-05-10  Andreas Jaeger  <aj@suse.de>
21172
21173         [BZ #15448]
21174         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21175         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21176
21177 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21178
21179         * math/gen-libm-test.pl (adjust_arg): New function.
21180         (special_functions): Handle generating output in both functions
21181         and arrays.
21182         (parse_args): Likewise.
21183         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21184         $in_func argument to parse_args.
21185         * math/libm-test.inc (struct test_f_f_data): New type.
21186         (IF_ROUND_INIT_): New macro.
21187         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21188         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21189         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21190         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21191         (ROUND_RESTORE_): Likewise.
21192         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21193         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21194         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21195         (ROUND_RESTORE_FE_UPWARD): Likewise.
21196         (RUN_TEST_LOOP_f_f): New macro.
21197         (acos_test_data): New variable.
21198         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21199         (acos_tonearest_test_data): New variable.
21200         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21201
21202 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21203
21204         * benchtests/bench-skeleton.c (startup): Fix coding style.
21205
21206 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21207
21208         [BZ #6809]
21209         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21210         negative infinity argument.
21211         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21212         negative infinity argument.
21213         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21214         negative infinity argument.
21215         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21216         domain errors.
21217
21218 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21219
21220         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21221         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21222         * iconv/iconv_prog.c (main): Likewise.
21223         * locale/programs/charmap-dir.c (charmap_readdir)
21224         (fopen_uncompressed): Likewise.
21225         * locale/programs/locfile.c (siblings_uncached)
21226         (write_locale_data): Use lstat64 instead of lstat.
21227         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21228         stat.
21229
21230 2013-05-10  Andreas Jaeger  <aj@suse.de>
21231
21232         [BZ #15395]
21233         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21234         localization.
21235         Include <locale.h>.
21236
21237 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21238
21239         * elf/dl-close.c (_dl_close_worker): Add comments.
21240
21241 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21242
21243         [BZ #15359]
21244         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21245         high part of pi/2.
21246         (__ieee754_rem_pio2l): Update comments.
21247
21248         [BZ #15429]
21249         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21250         high part of pi/2.
21251         (__ieee754_rem_pio2l): Update comments.
21252
21253         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21254         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21255
21256         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21257         M_PI_4l.
21258
21259         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21260         (M_PI_34_LOG10El): Likewise.
21261         (M_PI2_LOG10El): Likewise.
21262         (M_PI4_LOG10El): Likewise.
21263         (M_PI_LOG10El): Likewise.
21264
21265 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21266
21267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21268
21269 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21270
21271         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21272         (MINUS_ZERO_INIT): Likewise.
21273         (PLUS_INFTY_INIT): Likewise.
21274         (MINUS_INFTY_INIT): Likewise.
21275         (QNAN_VALUE_INIT): Likewise.
21276         (MAX_VALUE_INIT): Likewise.
21277         (MIN_VALUE_INIT): Likewise.
21278         (MIN_SUBNORM_VALUE_INIT): Likewise.
21279         (plus_zero): Initialize with PLUS_ZERO_INIT.
21280         (minus_zero): Initialize with MINUS_ZERO_INIT.
21281         (plus_infty): Initialize with PLUS_INFTY_INIT.
21282         (minus_infty): Initialize with MINUS_INFTY_INIT.
21283         (qnan_value): Initialize with QNAN_VALUE_INIT.
21284         (max_value): Initialize with MAX_VALUE_INIT.
21285         (min_value): Initialize with MIN_VALUE_INIT.
21286         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21287
21288         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21289         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21290         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21291         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21292
21293         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21294         (RUN_TEST_2_f): Likewise.
21295         (RUN_TEST_ff_f): Likewise.
21296         (RUN_TEST_fi_f): Likewise.
21297         (RUN_TEST_fl_f): Likewise.
21298         (RUN_TEST_fff_f): Likewise.
21299         (RUN_TEST_c_f): Likewise.
21300         (RUN_TEST_f_f1): Likewise.
21301         (RUN_TEST_fF_f1): Likewise.
21302         (RUN_TEST_fI_f1): Likewise.
21303         (RUN_TEST_ffI_f1): Likewise.
21304         (RUN_TEST_c_c): Likewise.
21305         (RUN_TEST_cc_c): Likewise.
21306         (RUN_TEST_f_i): Likewise.
21307         (RUN_TEST_f_i_tg): Likewise.
21308         (RUN_TEST_ff_i_tg): Likewise.
21309         (RUN_TEST_f_b): Likewise.
21310         (RUN_TEST_f_b_tg): Likewise.
21311         (RUN_TEST_f_l): Likewise.
21312         (RUN_TEST_f_L): Likewise.
21313         (RUN_TEST_sincos): Likewise.
21314         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21315         whether to show exceptions.  Do not include ");\n" in return
21316         value.
21317         (special_functions): Output call to RUN_TEST_sincos instead of
21318         check_float calls.  Update calls to new_test.
21319         (parse_args): Output call to single RUN_TEST_* macro instead of
21320         check_* calls and other assignments.  Update calls to new_test.
21321
21322         [BZ #2546]
21323         [BZ #2560]
21324         [BZ #5159]
21325         [BZ #15426]
21326         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21327         input to result for tgamma overflow.
21328         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21329         (gamma_coeff): New variable.
21330         (NCOEFF): New macro.
21331         (gamma_positive): New function.
21332         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21333         underflow here.  Use gamma_positive instead of exp (lgamma) for
21334         other arguments.
21335         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21336         (gamma_coeff): New variable.
21337         (NCOEFF): New macro.
21338         (gammaf_positive): New function.
21339         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21340         underflow here.  Use gamma_positive instead of exp (lgamma) for
21341         other arguments.
21342         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21343         (gamma_coeff): New variable.
21344         (NCOEFF): New macro.
21345         (gammal_positive): New function.
21346         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21347         underflow here.  Use gamma_positive instead of exp (lgamma) for
21348         other arguments.
21349         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21350         (gamma_coeff): New variable.
21351         (NCOEFF): New macro.
21352         (gammal_positive): New function.
21353         (__ieee754_gammal_r): Handle positive infinity, overflow and
21354         underflow here.  Handle NaN the same as positive infinity.  Remove
21355         check x < 0xffffffff for negative integers.  Use gamma_positive
21356         instead of exp (lgamma) for other arguments.
21357         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21358         (gamma_coeff): New variable.
21359         (NCOEFF): New macro.
21360         (gammal_positive): New function.
21361         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21362         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21363         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21364         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21365         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21366         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21367         * sysdeps/generic/math_private.h (__gamma_productf): New
21368         prototype.
21369         (__gamma_product): Likewise.
21370         (__gamma_productl): Likewise.
21371         * math/Makefile (libm-calls): Add gamma_product.
21372         * math/libm-test.inc (tgamma_test): Add more tests.
21373         * sysdeps/i386/fpu/libm-test-ulps: Update.
21374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21375
21376 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21377
21378         * benchtests/bench-skeleton.c (main): Preheat CPU.
21379
21380 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21381
21382         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21383
21384 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21385
21386         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21387         and _dl_skip_args_internal.
21388
21389 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21390
21391         * manual/message.texi (Message Translation): Talk about users.
21392         Message to key mapping impacts design.
21393
21394 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21395
21396         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21397
21398         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21399
21400         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21401         * sysdeps/wordsize-64/glob64.c: ... here.
21402
21403         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21404         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21405         New macros.
21406
21407         * debug/getlogin_r_chk.c: Moved to ...
21408         * login/getlogin_r_chk.c: ... here.
21409         * debug/Makefile (routines): Move getlogin_r_chk to ...
21410         * login/Makefile (routines): ... here.
21411         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21412         * login/Versions (libc: GLIBC_2.4): ... here.
21413
21414         * io/poll.c (__poll): Renamed from poll.
21415         Add libc_hidden_def.
21416         (poll): Define as weak alias.
21417
21418         * debug/ptsname_r_chk.c: Moved to ...
21419         * login/ptsname_r_chk.c: ... here.
21420         * debug/Makefile (routines): Move ptsname_r_chk to ...
21421         * login/Makefile (routines): ... here.
21422         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21423         * login/Versions (libc: GLIBC_2.4): ... here.
21424
21425         * posix/getlogin.c: Moved to ...
21426         * login/getlogin.c: ... here.
21427         * posix/getlogin_r.c: Moved to ...
21428         * login/getlogin_r.c: ... here.
21429         * posix/getlogin_r.c: Moved to ...
21430         * login/getlogin_r.c: ... here.
21431         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21432         * login/Makefile (routines): ... here.
21433         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21434         * login/Versions (libc: GLIBC_2.0): ... here.
21435
21436         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21437         (setrlimit): Define as weak alias.
21438
21439         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21440         Call __ names for open, ftruncate, and close.
21441         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21442         (truncate): Define as weak alias.
21443
21444 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21445
21446         * math/gen-libm-test.pl (parse_args): Initialize x before each
21447         test of frexp, modf and remquo.
21448
21449         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21450         test signgam value.
21451
21452 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21453
21454         [BZ #15418]
21455         [BZ #15419]
21456         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21457         internal tests.
21458         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21459
21460 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21461
21462         * elf/dl-writev.h: New file.
21463         * elf/dl-misc.c: Include it.
21464         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21465         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21466
21467 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21468
21469         * math/libm-test.inc (noXFails): Remove variable.
21470         (noXPasses): Likewise.
21471         (BUILD_COMPLEX_INT): Remove macro.
21472         (print_screen): Remove xfail argument.
21473         (print_screen_max_error): Likewise.
21474         (update_stats): Likewise.
21475         (print_max_error): Likewise.  Update calls to other affected
21476         functions.
21477         (print_complex_max_error): Likewise.
21478         (test_single_exception): Update calls to print_screen.
21479         (test_single_errno): Likewise.
21480         (check_float_internal): Remove xfail argument.  Update calls to
21481         other affected functions.
21482         (check_float): Likewise.
21483         (check_complex): Likewise.
21484         (check_int): Likewise.
21485         (check_long): Likewise.
21486         (check_bool): Likewise.
21487         (check_longlong): Likewise.
21488         (main): Don't print noXFails and noXPasses.
21489         * math/gen-libm-test.pl (top level): Don't mention expected
21490         failure handling in comment.
21491         (new_test): Don't handle expected failures.
21492         (parse_args): Don't mention expected failure handling in comment.
21493         (generate_testfile): Don't handle expected failures.
21494         (parse_ulps): Likewise.
21495         (print_ulps_file): Likewise.
21496         (get_failure): Remove function.
21497         (output_test): Don't handle expected failures.
21498         * make/README.libm-test: Don't mention expected failure handling.
21499
21500         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21501         (minus_zero): Likewise.
21502         (plus_infty): Likewise.
21503         (minus_infty): Likewise.
21504         (qnan_value): Likewise.
21505         (max_value): Likewise.
21506         (min_value): Likewise.
21507         (min_subnorm_value): Likewise.
21508         (initialize): Do not initialize those variables dynamically.
21509
21510 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21511
21512         * io/open.c (__open_2): Moved to ...
21513         * io/open_2.c: ... this new file.
21514         * io/open64.c (__open64_2): Moved to ...
21515         * io/open64_2.c: ... this new file.
21516         * io/openat.c (__openat_2): Moved to ...
21517         * io/openat_2.c: ... this new file.
21518         * io/openat64.c (__openat64_2): Moved to ...
21519         * io/openat64_2.c: ... this new file.
21520         * io/Makefile (routines): Add them.
21521         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21522         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21523         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21524         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21525         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21526         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21527         (__openat64): Add hidden_ver.
21528         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21529         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21530
21531         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21532         Separately conditionalize setting of GLRO(dl_sysinfo) so
21533         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21534         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21535
21536 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21537
21538         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21539         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21540         definition.
21541         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21542         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21543         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21544         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21545         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21546
21547 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21548
21549         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21550         test signgam value.
21551
21552         * math/libm-test.inc (hypot_test): Do not use
21553         IGNORE_ZERO_INF_SIGN.
21554
21555 2013-05-03  Andreas Jaeger  <aj@suse.de>
21556
21557         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21558         Linux 3.9.
21559         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21560         (PF_MAX): Adjust for VSOCK change.
21561
21562 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21563
21564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21565
21566 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21567
21568         [BZ #15264]
21569         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21570         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21571         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21572
21573 2013-05-02  David S. Miller  <davem@davemloft.net>
21574
21575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21576
21577 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21578
21579         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21580
21581 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21582
21583         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21584
21585 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21586
21587         [BZ #14952]
21588         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21589         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21590         Use __attribute__ ((__gnu_inline__)).
21591         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21592         Don't use __attribute__ ((__gnu_inline__)).
21593
21594 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21595
21596         [BZ #15423]
21597         * math/s_catan.c (__catan): Handle small real or imaginary part of
21598         input specially to avoid spurious underflow.
21599         * math/s_catanf.c (__catanf): Likewise.
21600         * math/s_catanh.c (__catanh): Likewise.
21601         * math/s_catanhf.c (__catanhf): Likewise.
21602         * math/s_catanhl.c (__catanhl): Likewise.
21603         * math/s_catanl.c (__catanl): Likewise.
21604         * math/libm-test.inc (catan_test): Add more tests.
21605         (catanh_test): Likewise.
21606         * sysdeps/i386/fpu/libm-test-ulps: Update.
21607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21608
21609 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21610
21611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21612
21613 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21614
21615         [BZ #15416]
21616         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21617         accurately for denominator in atan2.
21618         * math/s_catanf.c (__catanf): Likewise.
21619         * math/s_catanh.c (__catanh): Likewise.
21620         * math/s_catanhf.c (__catanhf): Likewise.
21621         * math/s_catanhl.c (__catanhl): Likewise.
21622         * math/s_catanl.c (__catanl): Likewise.
21623         * math/libm-test.inc (catan_test): Add more tests.
21624         (catanh_test): Likewise.
21625         * sysdeps/i386/fpu/libm-test-ulps: Update.
21626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21627
21628 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21629
21630         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21631
21632         * benchtests/Makefile (bench): Remove slow benchmarks.
21633         * benchtests/atan-inputs: Add slow benchmark inputs.
21634         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21635         (BENCH_FUNC): Accept variant offset.
21636         (VARIANT): Define.
21637         * benchtests/bench-skeleton.c (main): Run benchmark for each
21638         variant.
21639         * benchtests/cos-inputs: Add slow benchmark inputs.
21640         * benchtests/exp-inputs: Likewise.
21641         * benchtests/pow-inputs: Likewise.
21642         * benchtests/sin-inputs: Likewise.
21643         * benchtests/slowatan-inputs: Remove.
21644         * benchtests/slowatan.c: Remove.
21645         * benchtests/slowcos-inputs: Remove.
21646         * benchtests/slowcos.c: Remove.
21647         * benchtests/slowexp-inputs: Remove.
21648         * benchtests/slowexp.c: Remove.
21649         * benchtests/slowpow-inputs: Remove.
21650         * benchtests/slowpow.c: Remove.
21651         * benchtests/slowsin-inputs: Remove.
21652         * benchtests/slowsin.c: Remove.
21653         * benchtests/slowtan-inputs: Remove.
21654         * benchtests/slowtan.c: Remove.
21655         * benchtests/tan-inputs: Add slow benchmark inputs.
21656         * scripts/bench.pl: Parse comments and directives.
21657
21658         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21659         in CPPFLAGS.
21660         ($(objpfx)bench-%.c): Remove *-ITER.
21661         * benchtests/bench-modf.c: Remove definition of ITER.
21662         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21663         (main): Loop for DURATION seconds instead of fixed number of
21664         iterations.
21665         * scripts/bench.pl: Don't expect iterations in parameters.
21666
21667 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21668
21669         * io/fchdir.c (__fchdir): Renamed from fchdir.
21670         (fchdir): Define as weak alias.
21671
21672 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21673
21674         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21675         (ERRNO_EDOM): Likewise.
21676         (ERRNO_ERANGE): Likewise.
21677         (noErrnoTests): New variable.
21678         (init_max_error): Set errno to 0.
21679         (test_single_errno): New function.
21680         (test_errno): Likewise.
21681         (check_float_internal): Call test_errno.  Set errno to 0.
21682         (check_complex): Refer to errno tests in comment.
21683         (check_int): Call test_errno.  Set errno to 0.
21684         (check_long): Likewise.
21685         (check_bool): Likewise.
21686         (check_longlong): Likewise.
21687         (cos_test): Use ERRNO_* flags for errno tests instead of
21688         check_int.
21689         (expm1_test): Likewise.
21690         (fmod_test): Likewise.
21691         (ilogb_test): Likewise.
21692         (lgamma_test): Likewise.
21693         (pow_test): Likewise.
21694         (remainder_test): Likewise.
21695         (sin_test): Likewise.
21696         (tan_test): Likewise.
21697         (yn_test): Likewise.
21698         (initialize): Set errno to 0.
21699         (main): Print number of errno tests.
21700         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21701
21702 2013-04-29  Andreas Jaeger  <aj@suse.de>
21703
21704         [BZ #15084]
21705         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21706         and RES_USEVC.
21707
21708         [BZ #15085]
21709         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21710         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21711         unimplemented.
21712
21713         [BZ #15380]
21714         * stdlib/random.c (__initstate): Return NULL if
21715         __initstate fails.
21716
21717         [BZ #15086]
21718         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21719         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21720         RES_SNGLKUPREOP.
21721
21722 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21723
21724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21725
21726 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21727
21728         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21729         of individual tests.
21730         (casin_test): Likewise.
21731         (casinh_test): Likewise.
21732
21733 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21734
21735         [BZ #15409]
21736         * math/s_catan.c (__catan): Handle arguments with large real or
21737         imaginary part separately without squaring.
21738         * math/s_catanf.c (__catanf): Likewise.
21739         * math/s_catanh.c (__catanh): Likewise.
21740         * math/s_catanhf.c (__catanhf): Likewise.
21741         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21742         and redefine.
21743         (__catanhl): Handle arguments with large real or imaginary part
21744         separately without squaring.
21745         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21746         and redefine.
21747         (__catanl): Handle arguments with large real or imaginary part
21748         separately without squaring.
21749         * math/libm-test.inc (catan_test): Add more tests.
21750         (catanh_test): Likewise.
21751         * sysdeps/i386/fpu/libm-test-ulps: Update.
21752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21753
21754 2013-04-27  Andreas Jaeger  <aj@suse.de>
21755
21756         [BZ #15007]
21757         * stdlib/stdlib.h: Update guards for qecvt.
21758         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21759         <stdlib.h>.
21760
21761 2013-04-27  Allan McRae  <allan@archlinux.org>
21762
21763         * sysdeps/i386/fpu/libm-test-ulps: Update.
21764
21765 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21766
21767         [BZ #15406]
21768         * math/s_catan.c: Include <float.h>.
21769         (__catan): Ensure underflow exception occurs for underflowed
21770         result.
21771         * math/s_catanf.c: Include <float.h>.
21772         (__catanf): Ensure underflow exception occurs for underflowed
21773         result.
21774         * math/s_catanh.c: Include <float.h>.
21775         (__catanh): Ensure underflow exception occurs for underflowed
21776         result.
21777         * math/s_catanhf.c: Include <float.h>.
21778         (__catanhf): Ensure underflow exception occurs for underflowed
21779         result.
21780         * math/s_catanhl.c: Include <float.h>.
21781         (__catanhl): Ensure underflow exception occurs for underflowed
21782         result.
21783         * math/s_catanl.c: Include <float.h>.
21784         (__catanl): Ensure underflow exception occurs for underflowed
21785         result.
21786         * math/libm-test.inc (catan_test): Add more tests.
21787         (catanh_test): Likewise.
21788
21789         [BZ #15405]
21790         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21791         underflowed result.
21792         * math/s_ccoshf.c (__ccoshf): Likewise.
21793         * math/s_ccoshl.c (__ccoshl): Likewise.
21794         * math/s_csin.c (__csin): Likewise.
21795         * math/s_csinf.c (__csinf): Likewise.
21796         * math/s_csinh.c (__csinh): Likewise.
21797         * math/s_csinhf.c (__csinhf): Likewise.
21798         * math/s_csinhl.c (__csinhl): Likewise.
21799         * math/s_csinl.c (__csinl): Likewise.
21800         * math/libm-test.inc (ccos_test): Add more tests.
21801         (ccosh_test): Likewise.
21802         (csin_test): Likewise.
21803         (csinh_test): Likewise.
21804
21805 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21806
21807         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21808         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21809         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21810         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21811         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21812         powerpc/power5+/fpu folders.
21813         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21814
21815
21816 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21817
21818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21819
21820 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21821
21822         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21823         additions to variable.
21824         [$(config-machine) = x86_64] (modules-names): Likewise.
21825         ($(objpfx)tst-audit3): Remove dependency.
21826         ($(objpfx)tst-audit3.out): Likewise.
21827         ($(objpfx)tst-audit4): Likewise.
21828         ($(objpfx)tst-audit4.out): Likewise.
21829         ($(objpfx)tst-audit5): Likewise.
21830         ($(objpfx)tst-audit5.out): Likewise.
21831         ($(objpfx)tst-audit6): Likewise.
21832         ($(objpfx)tst-audit6.out): Likewise.
21833         ($(objpfx)tst-audit7): Likewise.
21834         ($(objpfx)tst-audit7.out): Likewise.
21835         (tst-audit3-ENV): Remove variable.
21836         (tst-audit4-ENV): Likewise.
21837         (tst-audit5-ENV): Likewise.
21838         (tst-audit6-ENV): Likewise.
21839         (tst-audit7-ENV): Likewise.
21840         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21841         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21842         addition to variable.
21843         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21844         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21845         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21846         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21847         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21848         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21849         tst-audit3, tst-audit4 and tst-audit5.
21850         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21851         tst-audit6 and tst-audit7.
21852         [$(subdir) = elf] (modules-names): Add audit modules for those
21853         tests.
21854         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21855         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21856         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21857         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21858         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21859         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21860         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21861         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21862         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21863         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21864         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21865         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21866         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21867         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21868         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21869         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21870         Likewise.
21871         [$(subdir) = elf && $(config-cflags-avx) = yes]
21872         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21873         [$(subdir) = elf && $(config-cflags-avx) = yes]
21874         (CFLAGS-tst-auditmod4a.c): Likewise.
21875         [$(subdir) = elf && $(config-cflags-avx) = yes]
21876         (CFLAGS-tst-auditmod4b.c): Likewise.
21877         [$(subdir) = elf && $(config-cflags-avx) = yes]
21878         (CFLAGS-tst-auditmod6b.c): Likewise.
21879         [$(subdir) = elf && $(config-cflags-avx) = yes]
21880         (CFLAGS-tst-auditmod6c.c): Likewise.
21881         [$(subdir) = elf && $(config-cflags-avx) = yes]
21882         (CFLAGS-tst-auditmod7b.c): Likewise.
21883         * elf/tst-audit3.c: Move to ...
21884         * sysdeps/x86_64/tst-audit3.c: ... here.
21885         * elf/tst-audit4.c: Move to ...
21886         * sysdeps/x86_64/tst-audit4.c: ... here.
21887         * elf/tst-audit5.c: Move to ...
21888         * sysdeps/x86_64/tst-audit5.c: ... here.
21889         * elf/tst-audit6.c: Move to ...
21890         * sysdeps/x86_64/tst-audit6.c: ... here.
21891         * elf/tst-audit7.c: Move to ...
21892         * sysdeps/x86_64/tst-audit7.c: ... here.
21893         * elf/tst-auditmod3a.c: Move to ...
21894         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21895         * elf/tst-auditmod3b.c: Move to ...
21896         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21897         * elf/tst-auditmod4a.c: Move to ...
21898         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21899         * elf/tst-auditmod4b.c: Move to ...
21900         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21901         * elf/tst-auditmod5a.c: Move to ...
21902         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21903         * elf/tst-auditmod5b.c: Move to ...
21904         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21905         * elf/tst-auditmod6a.c: Move to ...
21906         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21907         * elf/tst-auditmod6b.c: Move to ...
21908         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21909         * elf/tst-auditmod6c.c: Move to ...
21910         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21911         * elf/tst-auditmod7a.c: Move to ...
21912         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21913         * elf/tst-auditmod7b.c: Move to ...
21914         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21915
21916 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21917
21918         [BZ #15366]
21919         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21920         define unconditionally.
21921         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21922         define unconditionally.
21923         (INT8_C, INT16_C, etc.): Likewise.
21924
21925 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21926
21927         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21928         __ehdr_start with hidden visibility.
21929
21930         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21931
21932 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21933
21934         * math/libm-test.inc (cos_test): Use accurate hex constants.
21935         (sincost_test): Likewise.
21936
21937 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21938
21939         * math/libm-test.inc (catan_test): Add more tests.
21940         (catanh_test): Likewise.
21941
21942         * math/s_catanf.c (__catanf): Use suffixed floating-point
21943         constants.
21944         * math/s_catanhf.c (__catanhf): Likewise.
21945         * math/s_catanhl.c (__catanhl): Likewise.
21946         * math/s_catanl.c (__catanl): Likewise.
21947
21948         [BZ #15394]
21949         * math/s_catan.c (__catan): Calculate imaginary part of result
21950         with log1p not log unless computing log of number close to 0.
21951         * math/s_catanf.c (__catanf): Likewise.
21952         * math/s_catanl.c (__catanl): Likewise.
21953         * math/s_catanh.c (__catanh): Calculate real part of result with
21954         log1p not log unless computing log of number close to 0.
21955         * math/s_catanhf.c (__catanhf): Likewise.
21956         * math/s_catanhl.c (__catanhl): Likewise.
21957         * math/libm-test.inc (catan_test): Add more tests.
21958         (catanh_test): Likewise.
21959         * sysdeps/i386/fpu/libm-test-ulps: Update.
21960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21961
21962 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21963
21964         * benchtests/Makefile: Mention files in which fast and slow
21965         paths of math functions are implemented.
21966
21967 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21968
21969         * sysdeps/posix/timespec_get.c: New file.
21970
21971 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21972
21973         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21974         POWER.
21975         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21976         for POWER.
21977         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21978         powerpc/power5/fpu folders.
21979         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21980         * benchtests/Makefile: Add modf testcase.
21981         * benchtests/bench-modf.c: New file: Benchmark test for mo
21982
21983 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21984
21985         [BZ #14888]
21986         * time/Makefile (tests): Add tst-strptime-whitespace.
21987         * time/strptime_l.c (get_number): Use ISSPACE.
21988         (__strptime_internal): Likewise.
21989         * time/tst-strptime-whitespace.c: New test case.
21990
21991 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21992
21993         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21994         member.
21995         (_nss_files_init): Set it here.
21996
21997 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21998
21999         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22000         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22001         unsigned.
22002
22003 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22004
22005         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22006
22007 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22008
22009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22010         size just once.
22011
22012 2013-04-21  David S. Miller  <davem@davemloft.net>
22013
22014         * po/ru.po: Update Russion translation from translation project.
22015
22016 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22017
22018         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22019         and setfsgid.
22020
22021 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22022
22023         * configure.in: Remove i386 configure warning. Remove i386 case.
22024         * configure: Regenerate.
22025         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22026         Add example to error message.
22027         * sysdeps/i386/configure: Regenerate.
22028
22029 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22030
22031         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22032         slowtan.
22033         * benchtests/cos-inputs: New file.
22034         * benchtests/slowcos-inputs: New file.
22035         * benchtests/slowcos.c: New file.
22036         * benchtests/slowtan-inputs: New file.
22037         * benchtests/slowtan.c: New file.
22038         * benchtests/tan-inputs: New file.
22039
22040 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22041
22042         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22043         considered kosher.
22044
22045 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22046
22047         * benchtests/Makefile: Include cppflags-iterator.mk to add
22048         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22049
22050         * Makefile.in (bench-clean): New target.
22051         * benchtests/Makefile (bench-clean): Likewise.
22052
22053 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22054
22055         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22056
22057 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22058
22059         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22060
22061 2013-04-15  Andreas Schwab  <schwab@suse.de>
22062
22063         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22064         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22065         * nscd/pwdcache.c (cache_addpw): Likewise.
22066         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22067         more than recsize.
22068
22069 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22070
22071         * benchtests/Makefile (bench): Write all output to
22072         bench-out.tmp together.
22073
22074 2013-04-15  Andreas Schwab  <schwab@suse.de>
22075
22076         * nscd/nscd.c (main): Don't fork again after closing files.
22077
22078 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22079
22080         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22081
22082         * benchtests/Rules (bench-deps): Collect dependencies into a
22083         single variable.  Add Makefile to dependencies.
22084         ($(objpfx)bench-%.c): Depend on bench-deps.
22085
22086 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22087             Xavier Roche  <roche+kml2@exalead.com>
22088
22089         [BZ #15361]
22090         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22091         just that it's a file descriptor.
22092         * manual/llio.texi (Synchronizing AIO Operations): Update description
22093         for EBADF error from aio_fsync.
22094
22095 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22096
22097         * Rules (bench): Move target definition...
22098         * benchtests/Makefile: ... here.
22099
22100 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22101
22102         * math/libm-test.inc (cos_test): Fix PI/2 test.
22103         (sincos_test): Likewise.
22104         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22105         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22106
22107 2013-04-11  Andreas Schwab  <schwab@suse.de>
22108
22109         [BZ #13988]
22110         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22111         accept exponent character only when digits were seen.
22112         * stdio-common/Makefile (tests): Add bug26.
22113         * stdio-common/bug26.c: New file.
22114
22115         [BZ #14293]
22116         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22117         non-freeable.
22118
22119 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22120
22121         * Makeconfig (rtld-prefix): Define built linker prefix.
22122         * Rules (run-bench): Use it.
22123         * math/Makefile (run-regen-ulps): Likewise.
22124
22125         * Rules (bench): Remove eval.
22126
22127 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22128             Roland McGrath  <roland@hack.frob.com>
22129             Ondrej Bilka  <neleai@seznam.cz>
22130
22131         [BZ #15346]
22132         * time/getdate.c: Include ctype.h and alloca.h.
22133         (__getdate_r): Trim leading and trailing spaces of input.
22134         * time/tst-getdate.c (tests): Add tests with leading and
22135         trailing spaces.
22136
22137 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22138
22139         [BZ #14280]
22140         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22141         when computing value.
22142
22143 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22144
22145         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22146         Use testrun.sh to run libm tests.
22147
22148         [BZ #15309]
22149         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22150
22151 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22152
22153         [BZ #15264]
22154         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22155
22156 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22157
22158         * Makefile.in (regen-ulps): New target.
22159         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22160         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22161         [ifneq (no,$(PERL)] (regen-ulps): New target.
22162         [ifeq (no,$(PERL)] (regen-ulps): New target.
22163         * math/libm-test.inc (ulps_file_name): Define.
22164         (output_dir): New variable.
22165         (options): Add "output-dir" option.
22166         (parse_opt): Handle 'o' case.
22167         (main): If output_dir is non-NULL use it as a prefix
22168         otherwise use "".
22169         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22170
22171 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22172
22173         [BZ #10060, #10062]
22174         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22175         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22176         fail configure if __sync_val_compare_and_swap is not inlined.
22177         * sysdeps/i386/configure: Regenerate.
22178         * configure.in: Build for i686 when configured for i386.
22179         * configure: Regenerate.
22180         * README: Remove i386 reference.
22181
22182 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22183
22184         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22185         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22186
22187 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22188
22189         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22190         (lmsnanval): New variables.
22191         (F): Add conversion tests.
22192         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22193         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22194
22195         * stdio-common/tstdiomisc.c (F): Properly collect individual
22196         tests' results.
22197
22198         [BZ #14686, #15336]
22199         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22200         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22201         Instead, use input NaN values or generate a qNaN by arithmetic
22202         operation.  Also fix bugs to comply with the standard.
22203         * math/libm-test.inc (remainder_test): Add more tests.
22204
22205         [BZ #15335, #15342]
22206         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22207         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22208         input NaN values or generate a qNaN by arithmetic operation.
22209
22210         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22211         unreachable code.
22212
22213         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22214         definitions.
22215
22216 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22217
22218         [BZ #14478]
22219         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22220         underflowed result.
22221         * math/s_cexpf.c (__cexpf): Likewise.
22222         * math/s_cexpl.c (__cexpl): Likewise.
22223         * math/libm-test.inc (cexp_test): Add more tests.
22224
22225 2013-04-03  Andreas Schwab  <schwab@suse.de>
22226
22227         [BZ #15330]
22228         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22229         order arrays from heap if bigger than alloca cutoff.
22230
22231 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22232
22233         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22234         (SNAN_TESTS_double): Refer to GCC PR56831.
22235         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22236         GCC PR56828.
22237
22238 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22239
22240         * Rules (bench): Move bench.out after the run is complete.
22241
22242         * Rules (bench): Echo currently running benchmark.
22243
22244         * benchtests/Makefile (bench): Add atan and slowatan.
22245         * benchtests/atan-inputs: New file.
22246         * benchtests/slowatan-inputs: New file.
22247         * benchtests/slowatan.c: New file.
22248
22249         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22250         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22251         its value.
22252
22253         [BZ #15305]
22254         * sysdeps/unix/sysv/linux/kernel-features.h
22255         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22256         __ASSUME_XFS_RESTRICTED_CHOWN.
22257         * sysdeps/unix/sysv/linux/pathconf.c
22258         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22259         Save and restore errno.
22260
22261 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22262
22263         [BZ #15327]
22264         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22265         arguments using __kernel_casinh.
22266         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22267         arguments using __kernel_casinhf.
22268         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22269         arguments using __kernel_casinhl.
22270         * math/libm-test.inc (cacosh_test): Add more tests.
22271         * sysdeps/i386/fpu/libm-test-ulps: Update.
22272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22273
22274 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22275
22276         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22277         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22278
22279         * bench/Makefile (bench): Add sin and slowsin.
22280         * benchtests/sin-inputs: New file.
22281         * benchtests/slowsin-inputs: New file.
22282         * benchtests/slowsin.c: New file.
22283
22284         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22285         (bench): Add slowexp and slowpow.
22286         (exp-ITER): Increase iterations.
22287         (pow-ITER): Likewise.
22288         * benchtests/exp-inputs: Change input.
22289         * benchtests/pow-inputs: Likewise.
22290         * benchtests/slowexp-inputs: New file.
22291         * benchtests/slowexp.c: New file.
22292         * benchtests/slowpow-inputs: New file.
22293         * benchtests/slowpow.c: New file.
22294
22295 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22296
22297         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22298         instructions.
22299         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22300         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22301         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22302         * benchtests/Makefile: Add rint benchtest.
22303         * benchtests/rint-inputs: Input for rint benchtest.
22304
22305 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22306
22307         * Versions.def (libm): Add GLIBC_2.18.
22308         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22309         hidden libm prototypes.
22310         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22311         * math/Makefile (libm-calls): Add s_issignaling.
22312         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22313         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22314         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22315         declaration.
22316         * math/math.h [__USE_GNU] (issignaling): New macro.
22317         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22318         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22319         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22320         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22321         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22322         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22323         * manual/arith.texi (issignaling): New section.
22324         * manual/libm-err-tab.pl (@all_functions): Update comment.
22325         * math/gen-libm-test.pl (parse_args): Apply special handling for
22326         issignaling.
22327         * math/libm-test.inc (print_float, issignaling_test): New
22328         functions.
22329         (check_float_internal): Add issignaling checks.
22330         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22331         default definition.
22332         * sysdeps/powerpc/math-tests.h: New file.
22333         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22334         tests.
22335         * math/test-snan.c (TEST_FUNC): Likewise.
22336
22337 2013-03-30  David S. Miller  <davem@davemloft.net>
22338
22339         * po/de.po: Update from translation team.
22340
22341 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22342
22343         [BZ #10357]
22344         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22345         imaginary part less than 1.0 and real part less than 0.5
22346         specially.
22347         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22348         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22349         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22350         (cacos_test): Add more tests.
22351         (casin_test): Likewise.
22352         (casinh_test): Likewise.
22353         * sysdeps/i386/fpu/libm-test-ulps: Update.
22354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22355
22356 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22357
22358         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22359         ONE with its value.
22360
22361         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22362         (__pow_mp): Replace ONE and MONE with their values.
22363         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22364         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22365         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22366         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22367         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22368         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22369
22370         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22371
22372         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22373         (__pow_mp): Replace ZERO and MZERO with their values.
22374         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22375         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22376         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22378         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22379         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22380         (__sqr): Likewise.
22381
22382         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22383
22384         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22385
22386 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22387
22388         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22389         Declare with __attribute__ ((weak)).
22390         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22391         Call __call_tls_dtors only if it's not NULL.
22392
22393 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22394
22395         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22396         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22397         magic __ehdr_start linker symbol if it's defined.
22398         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22399         them up here if it was already done.
22400
22401         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22402         (_dl_aux_init): Use const in cast when setting it.
22403         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22404         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22405         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22406
22407         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22408         Declare them here.
22409         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22410         * csu/libc-tls.c: Nor here.
22411         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22412
22413         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22414         (__libc_message): Never call vsyslog.
22415
22416 2013-03-28  Alan Modra  <amodra@gmail.com>
22417
22418         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22419         Define as empty.
22420         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22421         Likewise.
22422
22423 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22424
22425         [BZ #15214]
22426         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22427         underflow.
22428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22429
22430 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22431
22432         [BZ #15304]
22433         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22434         Don't add gid passed as argument.
22435
22436         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22437
22438 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22439
22440         [BZ #15307]
22441         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22442         imaginary part between 1.0 and 1.5 and real part less than 0.5
22443         specially.
22444         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22445         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22446         * math/libm-test.inc (cacos_test): Add more tests.
22447         (casin_test): Likewise.
22448         (casinh_test): Likewise.
22449         * sysdeps/i386/fpu/libm-test-ulps: Update.
22450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22451
22452 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22453
22454         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22455         constants.
22456         (norm): Likewise.
22457         (denorm): Likewise.
22458         (__dbl_mp): Likewise.
22459         (add_magnitudes): Likewise.
22460         (sub_magnitudes): Likewise.
22461         (__add): Likewise.
22462         (__sub): Likewise.
22463         (__mul): Likewise.
22464         (__sqr): Likewise.
22465         (__inv): Likewise.
22466         (__dvd): Likewise.
22467
22468         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22469         commented code.
22470         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22471         (__dubcos): Likewise.
22472         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22473         (__ieee754_acos): Likewise.
22474         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22475         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22476         (__exp1): Likewise.
22477         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22478         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22479         (log1): Likewise.
22480         (my_log2): Likewise.
22481         (checkint): Likewise.
22482         * sysdeps/ieee754/dbl-64/e_remainder.c
22483         (__ieee754_remainder): Likewise.
22484         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22485         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22486         (bsloww): Likewise.
22487         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22488
22489         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22490         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22491         MANTISSA_STORE_T to store computations on mantissa.  Use
22492         macros for rounding and division.
22493         (denorm): Likewise.
22494         (__dbl_mp): Likewise.
22495         (add_magnitudes): Likewise.
22496         (sub_magnitudes): Likewise.
22497         (__mul): Likewise.
22498         (__sqr): Likewise.
22499         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22500         powers of two in terms of TWOPOW macro.
22501         (mp_no): Make type of mantissa as MANTISSA_T.
22502         [!RADIXI]: Define RADIXI.
22503         [!TWO52]: Define TWO52.
22504         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22505
22506 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22507
22508         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22509         llroundl symbol when building for PPC32.
22510
22511 2013-03-24  Mark H Weaver  <mhw@netris.org>
22512
22513         * manual/arith.texi (Normalization Functions): Fix prototypes for
22514         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22515
22516 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22517
22518         [BZ #13889]
22519         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22520         high value to check if expl overflow.
22521         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22522         to check for underflow and overflow.
22523         * math/libm-test.inc: Add exp test.
22524
22525 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22526
22527         [BZ #11120]
22528         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22529         with NOT_IN_libc.
22530
22531 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22532
22533         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22534         symbol.
22535
22536 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22537
22538         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22539         wrap blocks consisting of several statements.
22540
22541         * sysdeps/generic/math-tests.h: New file.
22542         * sysdeps/i386/fpu/math-tests.h: Likewise.
22543         * math/test-snan.c: Include it.
22544         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22545
22546 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22547
22548         [BZ #15285]
22549         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22550         (__ieee754_j0l): Do not improve calculations using cos of twice
22551         input for inputs above LDBL_MAX / 2.0L.
22552         (__ieee754_y0l): Likewise.
22553         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22554         (__ieee754_j1l): Do not improve calculations using cos of twice
22555         input for inputs above LDBL_MAX / 2.0L.
22556         (__ieee754_y1l): Likewise.
22557         * math/libm-test.inc (j0_test): Add another test.
22558         (j1_test): Likewise.
22559         (y0_test): Likewise.
22560         (y1_test): Likewise.
22561         * sysdeps/i386/fpu/libm-test-ulps: Update.
22562
22563 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22564
22565         * Rules ($(objpfx)bench-%.c): Include code from a C source
22566         file.
22567
22568 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22569
22570         [BZ #15287]
22571         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22572         imaginary part 1.0 and real part less than 0.5 specially.
22573         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22574         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22575         * math/libm-test.inc (cacos_test): Add more tests.
22576         (casin_test): Likewise.
22577         (casinh_test): Likewise.
22578         * sysdeps/i386/fpu/libm-test-ulps: Update.
22579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22580
22581 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22582
22583         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22584         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22585
22586 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22587
22588         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22589         * config.make.in (config-cflags-sse4): Remove variable.
22590         (config-cflags-avx): Likewise.
22591         (config-cflags-sse2avx): Likewise.
22592         (config-cflags-novzeroupper): Likewise.
22593         (config-asflags-i686): Likewise.
22594         (have-mfma4): Likewise.
22595         (have-as-vis3): Likewise.
22596         (MIG): Likewise.
22597         * configure.in (MIG): Do not AC_SUBST.
22598         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22599         (libc_cv_cc_sse4): Do not AC_SUBST.
22600         (libc_cv_cc_avx): Likewise.
22601         (libc_cv_cc_sse2avx): Likewise.
22602         (libc_cv_cc_novzeroupper): Likewise.
22603         (libc_cv_cc_fma4): Likewise.
22604         (libc_cv_as_i686): Likewise.
22605         (libc_cv_sparc_as_vis3): Likewise.
22606         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22607         LIBC_CONFIG_VAR.
22608         (config-asflags-i686): Likewise.
22609         (config-cflags-avx): Likewise.
22610         (config-cflags-sse2avx): Likewise.
22611         (have-mfma4): Likewise.
22612         (config-cflags-novzeroupper): Likewise.
22613         * sysdeps/mach/configure.in (MIG): Likewise.
22614         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22615         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22616         LIBC_CONFIG_VAR.
22617         (config-cflags-avx): Likewise.
22618         (config-cflags-sse2avx): Likewise.
22619         (have-mfma4): Likewise.
22620         (config-cflags-novzeroupper): Likewise.
22621         * configure: Regenerated.
22622         * sysdeps/i386/configure: Likewise.
22623         * sysdeps/mach/configure: Likewise.
22624         * sysdeps/sparc/configure: Likewise.
22625         * sysdeps/x86_64/configure: Likewise.
22626
22627 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22628
22629         [BZ #14812]
22630         * locale/programs/localedef.c (options): Put N_ translation marker
22631         on argument names, not just descriptions.
22632
22633 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22634
22635         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22636
22637 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22638
22639         [BZ #14176]
22640         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22641
22642 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22643
22644         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22645         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22646         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22647         [!BEFORE_ABORT] (before_abort): New function.
22648         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22649         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22650         (writev_for_fatal): New function.
22651         (WRITEV_FOR_FATAL): New macro; call that.
22652         (backtrace_and_maps): New function.
22653         (BEFORE_ABORT): New macro; call that.
22654         (struct str_list): Type removed.
22655         (__libc_message, __libc_fatal): Functions removed.
22656         Include <sysdeps/posix/libc_fatal.c> instead.
22657
22658 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22659
22660         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22661         constants.
22662         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22663         double constants.
22664
22665 2013-03-19  Andreas Schwab  <schwab@suse.de>
22666
22667         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22668         * sysdeps/gnu/configure: Regenerate.
22669
22670         * configure.in: Substitute libc_cv_rtlddir.
22671         * configure: Regenerate.
22672         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22673         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22674         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22675         * elf/Makefile (install-others, CFLAGS-interp.c)
22676         (ldso_install, common-ldd-rewrite): Likewise.
22677         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22678         $(inst_slibdir)/$(rtld-installed-name).
22679         * scripts/rellns-sh: Add -p option.
22680         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22681         for source.
22682
22683 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22684
22685         * manual/nptl.texi: Renamed to ...
22686         * manual/threads.texi: ... this.
22687         * manual/Makefile (chapters): Update.
22688
22689 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22690
22691         [BZ #14812]
22692         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22693         on argument names, not just descriptions.
22694         * malloc/memusagestat.c (options): Likewise.
22695         * nss/getent.c (options): Likewise.
22696
22697 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22698
22699         [BZ #14812]
22700         * iconv/iconv_prog.c (options): Put N_ translation marker
22701         on argument names, not just descriptions.
22702         * iconv/iconvconfig.c (options): Likewise.
22703
22704 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22705
22706         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22707         implementation which is faster on all x86_64 architectures.
22708         Tested on AMD, Intel Nehalem, SNB, IVB.
22709         * sysdeps/x86_64/strnlen.S: Likewise.
22710
22711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22712         Remove all multiarch strlen and strnlen versions.
22713         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22714         Remove strlen and strnlen related parts.
22715
22716         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22717         Inline strlen part.
22718         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22719
22720         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22721         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22722         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22723         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22724         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22725         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22726
22727 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22728
22729         * manual/memory.texi (Malloc Tunable Parameters):
22730         Sort parameters alphabetically. Add comments for missing entries.
22731
22732 2013-03-17  David S. Miller  <davem@davemloft.net>
22733
22734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22735
22736 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22737
22738         [BZ #15283]
22739         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22740         for arguments at most half maximum finite value.
22741         * math/libm-test.inc (j0_test): Add more tests.
22742         (j1_test): Likewise.
22743         (y0_test): Likewise.
22744         (y1_test): Likewise.
22745         * sysdeps/i386/fpu/libm-test-ulps: Update.
22746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22747
22748         [BZ #14155]
22749         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22750         1 / x and functions P and Q for arguments above 0x1p256L.
22751         (__ieee754_y0l): Likewise.
22752         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22753         (__ieee754_y1l): Likewise.
22754         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22755         (j1_test): Likewise.
22756         (y0_test): Likewise.
22757         (y1_test): Likewise.
22758
22759 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22760
22761         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22762         variable.
22763
22764 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22765
22766         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22767         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22768         zero since it's initialized to EXEC_PAGESIZE.
22769
22770         * sysdeps/unix/sysv/linux/ldsodefs.h
22771         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22772         * sysdeps/generic/ldsodefs.h: ... here.
22773
22774 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22775
22776         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22777
22778         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22779         math/test-snan.c.
22780         * math/test-snan.c: Renamed from
22781         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22782         * math/Makefile (tests): Add test-snan.
22783         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22784         test-powerpc-snan.
22785
22786         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22787         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22788         functions.
22789         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22790         __builtin_nan family of functions.
22791         * math/libm-test.inc (initialize): Initialize qnan_value with
22792         __builtin_nan family of functions.
22793         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22794         Remove variables.
22795         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22796         Remove functions.
22797         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22798         storage class.  Initialize qNaN_var and sNaN_var with
22799         __builtin_nan and __builtin_nans families of functions,
22800         respectively.
22801
22802         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22803         (sqrt_test): Remove duplicate test with qNaN input.
22804         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22805         (round_test, signbit_test, significand_test): Note missing +/-Inf
22806         as well as qNaN tests.
22807
22808         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22809         qNaN_var.  Fix a few strings, too.
22810         * math/libm-test.inc (nan_value): Rename to qnan_value.
22811         * math/gen-libm-test.pl (%beautify): Adjust to that.
22812         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22813         * math/test-misc.c (main): Likewise.
22814         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22815         to __qnan_bytes, and __qnan_union, respectively.
22816         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22817         Likewise.
22818         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22819         and lqnanval, respectively.
22820         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22821         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22822         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22823         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22824
22825         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22826         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22827         doubles.
22828
22829         * math/test-misc.c (main): Fix copy'n'pastos.
22830         * misc/tst-efgcvt.c (special): Likewise.
22831
22832         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22833         Remove declarations.
22834
22835 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22836
22837         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22838         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22839         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22840         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22841
22842 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22843
22844         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22845         macro to return vdso values correctly in IFUNC implementations.
22846         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22847         Optimization by using IFUNC.
22848
22849 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22850             Richard Henderson  <rth@redhat.com>
22851             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22852
22853         * Makefile.in (bench): New target.
22854         * NEWS: Mention the benchmark framework.
22855         * Rules (bench): Likewise.
22856         (binaries-bench): Generate binaries for functions to
22857         benchmark.
22858         * benchtests/Makefile: New makefile for benchmark tests.
22859         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22860         programs.
22861         * benchtests/exp-inputs: New input file for EXP function.
22862         * benchtests/pow-inputs: New input file for POW function.
22863         * scripts/bench.pl: New script to generate source files for
22864         benchmark programs.
22865
22866 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22867
22868         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22869         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22870         computations on mantissa.  Use macros for rounding and
22871         division.
22872         (denorm): Likewise.
22873         (__dbl_mp): Likewise.
22874         (add_magnitudes): Likewise.
22875         (sub_magnitudes): Likewise.
22876         (__mul): Likewise.
22877         (__sqr): Likewise.
22878         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22879         powers of two in terms of TWOPOW macro.
22880         (mp_no): Make type of mantissa as MANTISSA_T.
22881         [!RADIXI]: Define RADIXI.
22882         [!TWO52]: Define TWO52.
22883         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22884
22885         * manual/nptl.texi (cindex): Modify threads to pthreads.
22886
22887 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22888
22889         * sysdeps/x86_64/preconfigure: Regenerated.
22890
22891 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22892
22893         [BZ #14155]
22894         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22895         0x1p28 and above.
22896         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22897         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22898         0x1p28 and above.
22899         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22900         * math/libm-test.inc (j0_test): Do not allow one spurious
22901         underflow exception.
22902         (y1_test): Likewise.
22903
22904 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22905
22906         * manual/Makefile (chapters): Add nptl.
22907         * manual/debug.texi (Debugging Support): Add link to Threads
22908         chapter.
22909         * manual/nptl.texi: New file.
22910
22911         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22912
22913 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22914
22915         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22916         for non-NULL pointer before the memory validity test. Pointed
22917         out by Holger Brunck <holger.brunck@keymile.com>.
22918
22919 2013-03-13  Andreas Schwab  <schwab@suse.de>
22920
22921         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22922         instead of .os.
22923
22924 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22925
22926         * timezone/zic.c: Update from tzcode 2013b.
22927
22928 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22929
22930         * manual/install.texi (Configuring and compiling):
22931         Mention i686 and i586.
22932         * INSTALL: Regenerate.
22933
22934 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22935
22936         * sysdeps/init_array/elf-init.c: New file.
22937         * csu/elf-init.c
22938         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22939         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22940
22941         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22942         __gmon_start__ as global, but as static with a .preinit_array pointer.
22943         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22944         * sysdeps/init_array/crti.S: New file, empty except for comments.
22945         * sysdeps/init_array/crtn.S: Likewise.
22946
22947 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22948
22949         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22950         definining bcopy.
22951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22952         Remove Prefer_SSE_for_memop.
22953         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22954         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22955         HAS_PREFER_SSE_FOR_MEMOP.
22956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22957         memset-x86-64.
22958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22959         Remove bzero, memset ifunc support.
22960         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22961         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22962         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22963         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22964
22965 2013-03-11  Andreas Schwab  <schwab@suse.de>
22966
22967         [BZ #15234]
22968         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22969         by SHLIB_COMPAT.
22970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22971         (GLIBC_2.16): Remove pthread_atfork.
22972
22973 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22974
22975         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22976         (ptestcases.h): Likewise.
22977
22978 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22979
22980         * Makeconfig ($(common-objpfx)config.status): Depend on
22981         sysdeps/*/preconfigure{,.in} too.
22982
22983 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22984
22985         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22986         (__free_hook): Use void * instead of __malloc_ptr_t.
22987         (__malloc_hook): Likewise.
22988         (__realloc_hook): Likewise.
22989         (__memalign_hook): Likewise.
22990         (__after_morecore_hook): Likewise.
22991         * malloc/arena.c (save_malloc_hook): Likewise.
22992         (save_free_hook): Likewise.
22993         * malloc/hooks.c (malloc_hook_ini): Likewise.
22994         (realloc_hook_ini): Likewise.
22995         (memalign_hook_ini): Likewise.
22996         * malloc/malloc.c (malloc_hook_ini): Likewise.
22997         (realloc_hook_ini): Likewise.
22998         (memalign_hook_ini): Likewise.
22999         (__free_hook): Likewise.
23000         (__malloc_hook): Likewise.
23001         (__realloc_hook): Likewise.
23002         (__memalign_hook): Likewise.
23003         (__libc_malloc): Likewise.
23004         (__libc_free): Likewise.
23005         (__libc_realloc): Likewise.
23006         (__libc_memalign): Likewise.
23007         (__libc_valloc): Likewise.
23008         (__libc_pvalloc): Likewise.
23009         (__libc_calloc): Likewise.
23010         (__posix_memalign): Likewise.
23011         * malloc/morecore.c (__sbrk): Likewise.
23012         (__default_morecore): Likewise.
23013
23014         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23015
23016         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23017         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23018         __malloc_ptrdiff_t.
23019
23020         * malloc/malloc.h (__malloc_size_t): Remove macro.
23021         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23022         __malloc_size_t.
23023         (old_memalign_hook): Likewise.
23024         (old_realloc_hook): Likewise.
23025         (struct hdr): Likewise.
23026         (flood): Likewise.
23027         (mallochook): Likewise.
23028         (memalignhook): Likewise.
23029         (reallochook): Likewise.
23030         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23031         (tr_old_realloc_hook): Likewise.
23032         (tr_old_memalign_hook): Likewise.
23033         (tr_mallochook): Likewise.
23034         (tr_reallochook): Likewise.
23035         (tr_memalignhook): Likewise.
23036
23037 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23038
23039         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23040         default_ldbl_pack and using as default implementation.
23041         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23042         implementation.
23043         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23044         redundant definition.
23045         (ldbl_insert_mantissa): Likewise.
23046         (ldbl_canonicalize): Likewise.
23047         (ldbl_nearbyint): Likewise.
23048         (ldbl_pack): Rename to ldbl_pack_ppc.
23049         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23050         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23051         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23052
23053 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23054
23055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23056         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23057         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23058         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23059         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23060         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23061         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23062         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23063
23064 2013-03-07  Andreas Jaeger  <aj@suse.de>
23065
23066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23067         bits/mman-linux.h.
23068
23069 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23070
23071         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23072         Include mpa.h and declare __MPEXP.
23073         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23074         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23075         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23076         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23077         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23078         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23079         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23080
23081         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23082         (__slowpow): Use long double EXPL and LOGL functions to
23083         compute POW.
23084         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23085         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23086         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23087         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23088         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23089         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23090
23091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23092         intermediate variable to calculate exponent.
23093         (__sqr): Likewise.
23094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23095         Likewise.
23096         (__sqr): Likewise.
23097
23098         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23099         [!NO__SQR]: Define __sqr.
23100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23101         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23102         sysdeps/ieee754/dbl-64/mpa.c.
23103         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23104
23105         [BZ #12723]
23106         * posix/Makefile (tests): Add tst-pathconf.
23107         * posix/tst-pathconf.c: New test case.
23108         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23109         _PC_PIPE_BUF.
23110         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23111
23112 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23113
23114         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23115
23116 2013-03-06  Andreas Jaeger  <aj@suse.de>
23117
23118         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23119         definition via __MAP_ANONYMOUS.
23120
23121         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23122         it's not part of Linux headers.
23123
23124         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23125         (MAP_HUGE_MASK): Define.
23126
23127         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23128         Define.
23129         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23130         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23131         Define.
23132         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23133         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23134         Define.
23135         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23136         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23137         Define.
23138         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23139
23140         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23141         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23142         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23143         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23144         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23145         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23146
23147         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23148         Handle f2fs.
23149
23150         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23151         Handle f2fs and efivarfs.
23152
23153         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23154         f2fs.
23155
23156         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23157         (EFIVARFS_MAGIC): Add.
23158         (F2FS_LINK_MAX): Add.
23159
23160 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23161
23162         * stdio-common/vfprintf.c: Replace __builtin_expect with
23163         __glibc_unlikely.
23164
23165 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23166
23167         [BZ #13550]
23168         * sysdeps/generic/bp-sym.h: Remove file.
23169         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23170         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23171         <bp-sym.h> and <bp-asm.h>.
23172         (__longjmp): Don't use BP_SYM.
23173         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23174         and <bp-asm.h>.
23175         (memcpy): Don't use BP_SYM.
23176         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23177         <bp-sym.h> and <bp-asm.h>.
23178         (memcpy): Don't use BP_SYM.
23179         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23180         <bp-asm.h>.
23181         (memcpy): Don't use BP_SYM.
23182         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23183         <bp-asm.h>.
23184         (memset): Don't use BP_SYM.
23185         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23186         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23187         (__bzero): Don't use BP_SYM.
23188         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23189         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23190         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23191         <bp-sym.h> and <bp-asm.h>.
23192         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23193         pointers.
23194         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23195         <bp-sym.h> and <bp-asm.h>.
23196         (memcpy): Don't use BP_SYM.
23197         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23198         <bp-sym.h> and <bp-asm.h>.
23199         (memset): Don't use BP_SYM.
23200         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23201         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23202         (__bzero): Don't use BP_SYM.
23203         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23204         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23205         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23206         <bp-sym.h> and <bp-asm.h>.
23207         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23208         pointers.
23209         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23210         <bp-sym.h> and <bp-asm.h>.
23211         (memcpy): Don't use BP_SYM.
23212         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23213         <bp-sym.h> and <bp-asm.h>.
23214         (memset): Don't use BP_SYM.
23215         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23216         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23217         (__bzero): Don't use BP_SYM.
23218         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23219         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23220         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23221         <bp-sym.h> and <bp-asm.h>.
23222         (__memchr): Don't use BP_SYM.
23223         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23224         <bp-sym.h> and <bp-asm.h>.
23225         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23226         pointers.
23227         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23228         <bp-sym.h> and <bp-asm.h>.
23229         (memcpy): Don't use BP_SYM.
23230         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23231         <bp-sym.h> and <bp-asm.h>.
23232         (__mempcpy): Don't use BP_SYM.
23233         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23234         <bp-sym.h> and <bp-asm.h>.
23235         (__memrchr): Don't use BP_SYM.
23236         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23237         <bp-sym.h> and <bp-asm.h>.
23238         (memset): Don't use BP_SYM.
23239         (__bzero): Likewise.
23240         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23241         <bp-sym.h> and <bp-asm.h>.
23242         (__rawmemchr): Don't use BP_SYM.
23243         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23244         <bp-sym.h> and <bp-asm.h>.
23245         (__STRCMP): Don't use BP_SYM.
23246         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23247         <bp-sym.h> and <bp-asm.h>.
23248         (strchr): Don't use BP_SYM.
23249         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23250         <bp-sym.h> and <bp-asm.h>.
23251         (__strchrnul): Don't use BP_SYM.
23252         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23253         <bp-sym.h> and <bp-asm.h>.
23254         (strlen): Don't use BP_SYM.
23255         * sysdeps/powerpc/powerpc64/power7/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/power7/strnlen.S: Don't include
23260         <bp-sym.h> and <bp-asm.h>.
23261         (__strnlen): Don't use BP_SYM.
23262         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23263         <bp-sym.h> and <bp-asm.h>.
23264         (__GI__setjmp): Don't use BP_SYM.
23265         (_setjmp): Likewise.
23266         (__sigsetjmp): Likewise.
23267         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23268         (L(start_addresses)): Don't use BP_SYM.
23269         (_start): Likewise.
23270         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23271         <bp-asm.h>.
23272         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23273         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23274         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23275         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23276         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23277         <bp-asm.h>.
23278         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23279         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23280         about bounded pointers.
23281         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23282         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23283         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23284         <bp-asm.h>.
23285         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23286         about bounded pointers.  Remove GKM FIXME comments.
23287         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23288         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23289         <bp-asm.h>.
23290         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23291         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23292         Remove GKM FIXME comments.
23293         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23294         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23295         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23296         <bp-asm.h>.
23297         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23298         about bounded pointers.  Remove GKM FIXME comment.
23299         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23300         and <bp-asm.h>.
23301         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23302         pointers.
23303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23304         <bp-sym.h> and <bp-asm.h>.
23305         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23307         <bp-sym.h> and <bp-asm.h>.
23308         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23309         comment.
23310
23311 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23312
23313         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23314         call free(NULL).
23315
23316 2013-03-05  David S. Miller  <davem@davemloft.net>
23317
23318         * po/es.po: Update from translation team.
23319
23320 2013-03-05  Andreas Jaeger  <aj@suse.de>
23321
23322         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23323         <bits/mman-linux.h>.
23324         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23325         is fine.
23326         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23327         <bits/mman-linux.h> to end of file.
23328         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23329         is fine.
23330         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23331         <bits/mman-linux.h> to end of file.
23332         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23333         is fine.
23334         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23335         <bits/mman-linux.h> to end of file.
23336
23337         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23338         (MCL_CURRENT, MCL_FUTURE): Define here.
23339
23340 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23341
23342         [BZ #15232]
23343         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23344         attribute_hidden.
23345         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23346
23347 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23348
23349         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23350         fourth parameter needed for rt_sigprocmask syscall.
23351         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23352         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23353         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23354         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23355         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23356         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23357
23358 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23359
23360         [BZ #13550]
23361         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23362         comment about bounded pointers.
23363         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23364         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23365
23366 2013-03-04  Andreas Jaeger  <aj@suse.de>
23367
23368         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23369         common definitions.
23370
23371         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23372         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23373         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23374         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23375         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23376         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23377
23378 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23379
23380         [BZ #15055]
23381         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23382         __ieee754_sqrl instead of __sqrl.
23383
23384 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23385
23386         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23387         * sysdeps/powerpc/fpu_control.h: ... here.
23388         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23389         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23390         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23391         * sysdeps/powerpc/bits/mathinline.h: ... here.
23392
23393 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23394
23395         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23396         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23397         to just [NEED_DL_SYSINFO_DSO].
23398         * elf/dl-support.c: Likewise.
23399         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23400         * elf/rtld.c (dl_main): Likewise.
23401         * elf/setup-vdso.h (setup_vdso): Likewise.
23402         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23403         * sysdeps/unix/sysv/linux/dl-sysdep.c
23404         (_dl_discover_osversion): Likewise.
23405
23406 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23407
23408         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23409         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23410
23411 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23412
23413         * NEWS: Mention libm performance improvements and non-x86 PI
23414         futex support.
23415
23416         * csu/libc-start.c (__pthread_initialize_minimal): Change
23417         function arguments.
23418         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23419
23420 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23421
23422         [BZ #13550]
23423         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23424         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23425         <bp-sym.h> and <bp-asm.h>.
23426         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23427         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23428         and <bp-asm.h>.
23429         (memcpy): Don't use BP_SYM.
23430         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23431         <bp-asm.h>.
23432         (__mpn_add_n): Don't use BP_SYM.
23433         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23434         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23435         and <bp-asm.h>.
23436         (__mpn_addmul_1): Don't use BP_SYM.
23437         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23438         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23439         <bp-sym.h>.
23440         (_setjmp): Don't use BP_SYM.
23441         (__novmx_setjmp): Likewise.
23442         (__GI__setjmp): Likewise.
23443         (__vmx_setjmp): Likewise.
23444         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23445         <bp-sym.h>.
23446         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23447         (__bzero): Don't use BP_SYM.
23448         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23449         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23450         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23451         <bp-sym.h> and <bp-asm.h>.
23452         (memcpy): Don't use BP_SYM.
23453         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23454         <bp-sym.h> and <bp-asm.h>.
23455         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23456         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23457         <bp-sym.h> and <bp-asm.h>.
23458         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23459         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23460         <bp-asm.h>.
23461         (__mpn_lshift): Don't use BP_SYM.
23462         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23463         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23464         <bp-asm.h>.
23465         (memset): Don't use BP_SYM.
23466         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23467         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23468         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23469         <bp-asm.h>.
23470         (__mpn_mul_1): Don't use BP_SYM.
23471         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23472         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23473         <bp-sym.h> and <bp-asm.h>.
23474         (memcmp): Don't use BP_SYM.
23475         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23476         <bp-sym.h> and <bp-asm.h>.
23477         (memcpy): Don't use BP_SYM.
23478         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23479         <bp-sym.h> and <bp-asm.h>.
23480         (memset): Don't use BP_SYM.
23481         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23482         <bp-sym.h> and <bp-asm.h>.
23483         (strncmp): Don't use BP_SYM.
23484         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23485         <bp-sym.h> and <bp-asm.h>.
23486         (memcpy): Don't use BP_SYM.
23487         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23488         <bp-sym.h> and <bp-asm.h>.
23489         (memset): Don't use BP_SYM.
23490         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23491         <bp-sym.h> and <bp-asm.h>.
23492         (__memchr): Don't use BP_SYM.
23493         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23494         <bp-sym.h> and <bp-asm.h>.
23495         (memcmp): Don't use BP_SYM.
23496         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23497         <bp-sym.h> and <bp-asm.h>.
23498         (memcpy): Don't use BP_SYM.
23499         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23500         <bp-sym.h> and <bp-asm.h>.
23501         (__mempcpy): Don't use BP_SYM.
23502         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23503         <bp-sym.h> and <bp-asm.h>.
23504         (__memrchr): Don't use BP_SYM.
23505         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23506         <bp-sym.h> and <bp-asm.h>.
23507         (memset): Don't use BP_SYM.
23508         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23509         <bp-sym.h> and <bp-asm.h>.
23510         (__rawmemchr): Don't use BP_SYM.
23511         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23512         <bp-sym.h> and <bp-asm.h>.
23513         (__STRCMP): Don't use BP_SYM.
23514         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23515         <bp-sym.h> and <bp-asm.h>.
23516         (strchr): Don't use BP_SYM.
23517         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23518         <bp-sym.h> and <bp-asm.h>.
23519         (__strchrnul): Don't use BP_SYM.
23520         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23521         <bp-sym.h> and <bp-asm.h>.
23522         (strlen): Don't use BP_SYM.
23523         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23524         <bp-sym.h> and <bp-asm.h>.
23525         (strncmp): Don't use BP_SYM.
23526         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23527         <bp-sym.h> and <bp-asm.h>.
23528         (__strnlen): Don't use BP_SYM.
23529         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23530         <bp-asm.h>.
23531         (__mpn_rshift): Don't use BP_SYM.
23532         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23533         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23534         <bp-sym.h> and <bp-asm.h>.
23535         (__sigsetjmp): Don't use BP_SYM.
23536         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23537         (L(start_addresses)): Don't use BP_SYM.
23538         (_start): Likewise.
23539         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23540         <bp-asm.h>.
23541         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23542         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23543         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23544         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23545         <bp-asm.h>.
23546         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23547         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23548         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23549         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23550         <bp-asm.h>.
23551         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23552         comments.
23553         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23554         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23555         <bp-asm.h>.
23556         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23557         FIXME comments.
23558         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23559         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23560         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23561         <bp-asm.h>.
23562         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23563         comment.
23564         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23565         and <bp-asm.h>.
23566         (strncmp): Don't use BP_SYM,
23567         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23568         <bp-asm.h>.
23569         (__mpn_sub_n): Don't use BP_SYM.
23570         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23571         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23572         and <bp-asm.h>.
23573         (__mpn_submul_1): Don't use BP_SYM.
23574         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23576         <bp-sym.h> and <bp-asm.h>.
23577         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23579         <bp-sym.h> and <bp-asm.h>.
23580         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23581         comment.
23582
23583 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23584
23585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23586         Use ZK to minimize writes to Z.
23587         (sub_magnitudes): Simplify code a bit.
23588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23589         Use ZK to minimize writes to Z.
23590         (sub_magnitudes): Simplify code a bit.
23591
23592 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23593
23594         * csu/gmon-start.c: Add special exception to license text.
23595
23596 2013-02-27  Richard Henderson  <rth@redhat.com>
23597
23598         * scripts/config.guess: Update from config.git.
23599         * scripts/config.sub: Likewise.
23600
23601 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23602
23603         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23604
23605         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23606
23607         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23608
23609         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23610
23611         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23612
23613 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23614
23615         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23616         [$(build-shared = yes].
23617
23618 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23619
23620         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23621         (__mul): Reduce iterations for calculating mantissa.
23622
23623         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23624         MPTWO.
23625         (__mpranred): Likewise.
23626
23627         [BZ #15160]
23628         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23629         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23630
23631 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23632
23633         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23634         Define __attribute__.
23635
23636 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23637
23638         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23639         unused.
23640         * posix/regex_internal.h (__attribute): Remove.
23641         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23642         (re_string_context_at): Likewise.
23643         (bitset_not): Use __attribute__ and mark function as possibly
23644         unused.
23645         (bitset_merge): Likewise.
23646         (bitset_mask): Likewise.
23647         (re_string_char_size_at): Likewise.
23648         (re_string_wchar_at): Likewise.
23649         (re_string_elem_size_at): Likewise.
23650
23651 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23652
23653         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23654         code.
23655         (cc32): Likewise.
23656
23657         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23658         (__acr): Likewise.
23659         (__cpy): Likewise.
23660         (norm): Likewise.
23661         (denorm): Likewise.
23662         (__dbl_mp): Likewise.
23663         (add_magnitudes): Likewise.
23664         (sub_magnitudes): Likewise.
23665         (__mul): Likewise.
23666         (__inv): Likewise.
23667
23668         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23669         style.
23670
23671         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23672         style.
23673
23674         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23675         code.
23676
23677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23678         up changes with default code.
23679         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23680         Likewise.
23681
23682 2013-02-24  Allan McRae  <allan@archlinux.org>
23683
23684         * manual/socket.texi (The Internet Namespace): Order menu items
23685         to match that in the file.
23686
23687         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23688         node listing of the info page menu.
23689
23690 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23691
23692         [BZ #13550]
23693         * sysdeps/i386/bp-asm.h: Remove file.
23694         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23695         (PARMS): Do not use macros from bp-asm.h.
23696         (S1): Likewise.
23697         (S2): Likewise.
23698         (SIZE): Likewise.
23699         (__mpn_add_n): Do not use BP_SYM
23700         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23701         "bp-asm.h".
23702         (PARMS): Do not use macros from bp-asm.h.
23703         (S1): Likewise.
23704         (SIZE): Likewise.
23705         (__mpn_addmul_1): Do not use BP_SYM
23706         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23707         "bp-asm.h".
23708         (PARMS): Do not use macros from bp-asm.h.
23709         (SIGMSK): Likewise.
23710         (_setjmp): Likewise.  Do not use BP_SYM.
23711         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23712         "bp-asm.h".
23713         (PARMS): Do not use macros from bp-asm.h.
23714         (SIGMSK): Likewise.
23715         (setjmp): Likewise.  Do not use BP_SYM.
23716         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23717         "bp-asm.h".
23718         (PARMS): Do not use macros from bp-asm.h.
23719         (__frexp): Do not use BP_SYM.
23720         (frexp): Likewise.
23721         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23722         "bp-asm.h".
23723         (PARMS): Do not use macros from bp-asm.h.
23724         (__frexpf): Do not use BP_SYM.
23725         (frexpf): Likewise.
23726         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23727         "bp-asm.h".
23728         (PARMS): Do not use macros from bp-asm.h.
23729         (__frexpl): Do not use BP_SYM.
23730         (frexpl): Likewise.
23731         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23732         "bp-asm.h".
23733         (PARMS): Do not use macros from bp-asm.h.
23734         (__remquo): Do not use BP_SYM.
23735         (remquo): Likewise.
23736         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23737         "bp-asm.h".
23738         (PARMS): Do not use macros from bp-asm.h.
23739         (__remquof): Do not use BP_SYM.
23740         (remquof): Likewise.
23741         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23742         "bp-asm.h".
23743         (PARMS): Do not use macros from bp-asm.h.
23744         (__remquol): Do not use BP_SYM.
23745         (remquol): Likewise.
23746         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23747         "bp-asm.h".
23748         (PARMS): Do not use macros from bp-asm.h.
23749         (DEST): Likewise.
23750         (SRC): Likewise.
23751         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23752         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23753         "bp-asm.h".
23754         (PARMS): Do not use macros from bp-asm.h.
23755         (strlen): Do not use BP_SYM.
23756         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23757         "bp-asm.h".
23758         (PARMS): Do not use macros from bp-asm.h.
23759         (S1): Likewise.
23760         (S2): Likewise.
23761         (SIZE): Likewise.
23762         (__mpn_add_n): Do not use BP_SYM.
23763         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23764         "bp-asm.h".
23765         (PARMS): Do not use macros from bp-asm.h.
23766         (S1): Likewise.
23767         (SIZE): Likewise.
23768         (__mpn_addmul_1): Do not use BP_SYM.
23769         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23770         weak_alias.
23771         (bzero): Likewise.
23772         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23773         "bp-asm.h".
23774         (PARMS): Do not use macros from bp-asm.h.
23775         (S): Likewise.
23776         (SIZE): Likewise.
23777         (__mpn_lshift): Do not use BP_SYM.
23778         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23779         "bp-asm.h".
23780         (PARMS): Do not use macros from bp-asm.h.
23781         (DEST): Likewise.
23782         (SRC): Likewise.
23783         (LEN): Likewise.
23784         (memcpy): Likewise.  Do not use BP_SYM.
23785         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23786         libc_hidden_def and weak_alias.
23787         (mempcpy): Do not use BP_SYM in weak_alias.
23788         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23789         "bp-asm.h".
23790         (PARMS): Do not use macros from bp-asm.h.
23791         (DEST): Likewise.
23792         (LEN): Likewise.
23793         [!BZERO_P] (CHR): Likewise.
23794         (memset): Likewise.  Do not use BP_SYM.
23795         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23796         "bp-asm.h".
23797         (PARMS): Do not use macros from bp-asm.h.
23798         (S1): Likewise.
23799         (SIZE): Likewise.
23800         (__mpn_mul_1): Do not use BP_SYM.
23801         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23802         "bp-asm.h".
23803         (PARMS): Do not use macros from bp-asm.h.
23804         (S): Likewise.
23805         (SIZE): Likewise.
23806         (__mpn_rshift): Do not use BP_SYM.
23807         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23808         "bp-asm.h".
23809         (PARMS): Do not use macros from bp-asm.h.
23810         (STR): Likewise.
23811         (CHR): Likewise.
23812         (strchr): Likewise.  Do not use BP_SYM.
23813         (index): Do not use BP_SYM in weak_alias.
23814         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23815         "bp-asm.h".
23816         (PARMS): Do not use macros from bp-asm.h.
23817         (DEST): Likewise.
23818         (SRC): Likewise.
23819         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23820         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23821         "bp-asm.h".
23822         (PARMS): Do not use macros from bp-asm.h.
23823         (strlen): Do not use BP_SYM.
23824         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23825         "bp-asm.h".
23826         (PARMS): Do not use macros from bp-asm.h.
23827         (S1): Likewise.
23828         (S2): Likewise.
23829         (SIZE): Likewise.
23830         (__mpn_sub_n): Do not use BP_SYM.
23831         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23832         "bp-asm.h".
23833         (PARMS): Do not use macros from bp-asm.h.
23834         (S1): Likewise.
23835         (SIZE): Likewise.
23836         (__mpn_submul_1): Do not use BP_SYM.
23837         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23838         "bp-asm.h".
23839         (PARMS): Do not use macros from bp-asm.h.
23840         (S1): Likewise.
23841         (S2): Likewise.
23842         (SIZE): Likewise.
23843         (__mpn_add_n): Do not use BP_SYM.
23844         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23845         weak_alias.
23846         (bzero): Likewise.
23847         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23848         "bp-asm.h".
23849         (PARMS): Do not use macros from bp-asm.h.
23850         (BLK2): Likewise.
23851         (LEN): Likewise.
23852         (memcmp): Do not use BP_SYM.
23853         (bcmp): Do not use BP_SYM in weak_alias.
23854         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23855         "bp-asm.h".
23856         (PARMS): Do not use macros from bp-asm.h.
23857         (DEST): Likewise.
23858         (SRC): Likewise.
23859         (LEN): Likewise.
23860         (memcpy): Likewise.  Do not use BP_SYM.
23861         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23862         "bp-asm.h".
23863         (PARMS): Do not use macros from bp-asm.h.
23864         (DEST): Likewise.
23865         (SRC): Likewise.
23866         (LEN): Likewise.
23867         (memmove): Likewise.  Do not use BP_SYM.
23868         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23869         "bp-asm.h".
23870         (PARMS): Do not use macros from bp-asm.h.
23871         (DEST): Likewise.
23872         (SRC): Likewise.
23873         (LEN): Likewise.
23874         (__mempcpy): Likewise.  Do not use BP_SYM.
23875         (mempcpy): Do not use BP_SYM in weak_alias.
23876         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23877         "bp-asm.h".
23878         (PARMS): Do not use macros from bp-asm.h.
23879         (DEST): Likewise.
23880         (LEN): Likewise.
23881         [!BZERO_P] (CHR): Likewise.
23882         (memset): Likewise.  Do not use BP_SYM.
23883         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23884         "bp-asm.h".
23885         (PARMS): Do not use macros from bp-asm.h.
23886         (STR2): Likewise.
23887         (strcmp): Do not use BP_SYM.
23888         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23889         "bp-asm.h".
23890         (PARMS): Do not use macros from bp-asm.h.
23891         (STR): Likewise.
23892         (DELIM): Likewise.
23893         [USE_AS_STRTOK_R] (SAVE): Likewise.
23894         (FUNCTION): Likewise.  Do not use BP_SYM.
23895         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23896         aliases.
23897         (strtok_r): Likewise.
23898         (__GI___strtok_r): Likewise.
23899         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23900         (PARMS): Do not use macros from bp-asm.h.
23901         (S): Likewise.
23902         (SIZE): Likewise.
23903         (__mpn_lshift): Do not use BP_SYM.
23904         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23905         (PARMS): Do not use macros from bp-asm.h.
23906         (STR): Likewise.
23907         (CHR): Likewise.
23908         (__memchr): Do not use BP_SYM.
23909         (memchr): Do not use BP_SYM in weak_alias.
23910         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23911         (PARMS): Do not use macros from bp-asm.h.
23912         (BLK2): Likewise.
23913         (LEN): Likewise.
23914         (memcmp): Do not use BP_SYM.
23915         (bcmp): Do not use BP_SYM in weak_alias.
23916         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23917         (PARMS): Do not use macros from bp-asm.h.
23918         (S1): Likewise.
23919         (SIZE): Likewise.
23920         (__mpn_mul_1): Do not use BP_SYM.
23921         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23922         "bp-asm.h".
23923         (PARMS): Do not use macros from bp-asm.h.
23924         (STR): Likewise.
23925         (CHR): Likewise.
23926         (__rawmemchr): Do not use BP_SYM.
23927         (rawmemchr): Do not use BP_SYM in weak_alias.
23928         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23929         (PARMS): Do not use macros from bp-asm.h.
23930         (S): Likewise.
23931         (SIZE): Likewise.
23932         (__mpn_rshift): Do not use BP_SYM.
23933         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23934         (PARMS): Do not use macros from bp-asm.h.
23935         (SIGMSK): Likewise.
23936         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23937         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23938         (_start): Do not use BP_SYM.
23939         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23940         (PARMS): Do not use macros from bp-asm.h.
23941         (DEST): Likewise.
23942         (SRC): Likewise.
23943         (__stpcpy): Likewise.  Do not use BP_SYM.
23944         (stpcpy): Do not use BP_SYM in weak_alias.
23945         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23946         "bp-asm.h".
23947         (PARMS): Do not use macros from bp-asm.h.
23948         (DEST): Likewise.
23949         (SRC): Likewise.
23950         (LEN): Likewise.
23951         (__stpncpy): Likewise.  Do not use BP_SYM.
23952         (stpncpy): Do not use BP_SYM in weak_alias.
23953         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23954         (PARMS): Do not use macros from bp-asm.h.
23955         (STR): Likewise.
23956         (CHR): Likewise.
23957         (strchr): Likewise.  Do not use BP_SYM.
23958         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23959         "bp-asm.h".
23960         (PARMS): Do not use macros from bp-asm.h.
23961         (STR): Likewise.
23962         (CHR): Likewise.
23963         (__strchrnul): Likewise.  Do not use BP_SYM.
23964         (strchrnul): Do not use BP_SYM in weak_alias.
23965         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23966         "bp-asm.h".
23967         (PARMS): Do not use macros from bp-asm.h.
23968         (STOP): Likewise.
23969         (strcspn): Do not use BP_SYM.
23970         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23971         "bp-asm.h".
23972         (PARMS): Do not use macros from bp-asm.h.
23973         (STR): Likewise.
23974         (STOP): Likewise.
23975         (strpbrk): Likewise.  Do not use BP_SYM.
23976         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23977         "bp-asm.h".
23978         (PARMS): Do not use macros from bp-asm.h.
23979         (STR): Likewise.
23980         (CHR): Likewise.
23981         (strrchr): Likewise.  Do not use BP_SYM.
23982         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23983         (PARMS): Do not use macros from bp-asm.h.
23984         (SKIP): Likewise.
23985         (strspn): Do not use BP_SYM.
23986         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23987         (PARMS): Do not use macros from bp-asm.h.
23988         (STR): Likewise.
23989         (DELIM): Likewise.
23990         (SAVE): Likewise.
23991         (FUNCTION): Likewise.  Do not use BP_SYM.
23992         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23993         aliases.
23994         (strtok_r): Likewise.
23995         (__GI___strtok_r): Likewise.
23996         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23997         (PARMS): Do not use macros from bp-asm.h.
23998         (S1): Likewise.
23999         (S2): Likewise.
24000         (SIZE): Likewise.
24001         (__mpn_sub_n): Do not use BP_SYM.
24002         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24003         "bp-asm.h".
24004         (PARMS): Do not use macros from bp-asm.h.
24005         (S1): Likewise.
24006         (SIZE): Likewise.
24007         (__mpn_submul_1): Do not use BP_SYM.
24008         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24009         <bp-sym.h>.
24010         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24011         and <bp-asm.h>.
24012         (PARMS): Do not use macros from bp-asm.h.
24013         (FLAGS): Likewise.
24014         (PTID): Likewise.
24015         (TLS): Likewise.
24016         (CTID): Likewise.
24017         (__clone): Do not use BP_SYM.
24018         (clone): Do not use BP_SYM in weak_alias.
24019         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24020         and <bp-asm.h>.
24021         (PARMS): Do not use macros from bp-asm.h.
24022         (LEN): Likewise.
24023         (__mmap64): Do not use BP_SYM.
24024         (mmap64): Do not use BP_SYM in weak_alias.
24025         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24026         <bp-sym.h> and <bp-asm.h>.
24027         (PARMS): Do not use macros from bp-asm.h.
24028         (__posix_fadvise64_l64): Do not use BP_SYM.
24029         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24030         (PARMS): Do not use macros from bp-asm.h.
24031         (NSOPS): Likewise.
24032         (semtimedop): Do not use BP_SYM.
24033         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24034         and <bp-asm.h>.
24035
24036 2013-02-21  Allan McRae  <allan@archlinux.org>
24037
24038         * manual/message.texi (Charset conversion in gettext):
24039         Move @end statement to beginning of line.
24040
24041 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24042
24043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24044         static.
24045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24046         Likewise.
24047
24048         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24049         (denorm): Likewise.
24050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24052
24053 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24054
24055         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24056         tail-call to the resolved function if pltexit isn't needed.
24057
24058 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24059
24060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24061         or Y being zero as being unlikely.
24062         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24063         Likewise.
24064
24065 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24066
24067         * manual/nss.texi (System Databases and Name Service Switch):
24068         Remove frobnicate @pxref.
24069
24070 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24071
24072         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24073         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24074
24075 2013-02-20  Petr Machata  <pmachata@redhat.com>
24076
24077         * elf/elf.h (R_ARM_TARGET1): New macro.
24078         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24079         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24080         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24081         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24082         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24083         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24084         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24085         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24086         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24087         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24088         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24089         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24090         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24091         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24092         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24093         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24094         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24095         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24096         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24097         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24098         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24099         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24100         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24101         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24102         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24103         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24104         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24105         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24106         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24107         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24108         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24109         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24110         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24111         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24112         (R_ARM_THM_GOT_BREL12): Likewise.
24113         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24114         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24115         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24116         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24117         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24118         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24119         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24120         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24121         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24122
24123 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24124
24125         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24126         __attribute_used__ to __attribute__ ((unused)).
24127
24128 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24129
24130         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24131         powerpc mpa.c.
24132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24133         comment formatting.
24134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24135
24136 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24137
24138         [BZ #13550]
24139         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24140         Remove macro.
24141         (ENTER): Remove both macro definitions.
24142         (LEAVE): Likewise.
24143         (CHECK_BOUNDS_LOW): Likewise.
24144         (CHECK_BOUNDS_HIGH): Likewise.
24145         (CHECK_BOUNDS_BOTH): Likewise.
24146         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24147         (RETURN_BOUNDED_POINTER): Likewise.
24148         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24149         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24150         (POP_ERRNO_LOCATION_RETURN): Likewise.
24151         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24152         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24153         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24154         macros.
24155         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24156         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24157         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24158         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24159         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24160         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24161         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24162         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24163         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24164         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24165         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24166         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24167         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24168         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24169         removed macros.
24170         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24171         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24172         macros.
24173         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24174         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24175         * sysdeps/i386/i586/memset.S (memset): Likewise.
24176         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24177         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24178         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24179         macros.
24180         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24181         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24182         Change uses of L(2) to L(out).
24183         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24184         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24185         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24186         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24187         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24188         removed macros.
24189         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24190         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24191         macros.
24192         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24193         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24194         (RETURN): Do not use macro LEAVE.
24195         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24196         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24197         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24198         * sysdeps/i386/i686/memset.S (memset): Likewise.
24199         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24200         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24201         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24202         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24203         Likewise.
24204         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24205         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24206         L(1_2) and L(1_3) into L(1).
24207         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24208         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24209         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24210         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24211         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24212         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24213         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24214         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24215         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24216         macros.
24217         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24218         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24219         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24220         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24221         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24222         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24223         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24224         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24225         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24226         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24227         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24228         * sysdeps/i386/strspn.S (strspn): Likewise.
24229         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24230         conditional code.
24231         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24232         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24233         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24234         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24235         L(1_3) into L(1_1).
24236         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24237         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24238         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24239         macros.
24240         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24241
24242 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24243
24244         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24245         macro.
24246
24247 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24248
24249         * math/atest-exp.c (exp_mpn): Remove ROUND.
24250         * math/atest-exp2.c (exp_mpn): Likewise.
24251         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24252
24253         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24254         * stdlib/tst-tls-atexit-lib.c: Likewise.
24255         * stdlib/tst-tls-atexit.c: Likewise.
24256
24257 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24258
24259         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24260         and __attribute_alloc_size__.
24261
24262 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24263
24264         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24265         __attribute_alloc_size__.
24266         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24267         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24268
24269 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24270
24271         * include/programs/xmalloc.h: New file.
24272         * catgets/gencat.c: Include it.
24273         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24274         * elf/pldd.c: Likewise.
24275         * iconv/iconv_charmap.c: Likewise.
24276         * iconv/iconvconfig.c: Likewise.
24277         * iconv/strtab.c: Likewise.
24278         * locale/programs/locale.c: Likewise.
24279         * locale/programs/localedef.h: Likewise.
24280         * locale/programs/simple-hash.c: Likewise.
24281         * nscd/nscd.h: Likewise.
24282         * nss/makedb.c: Likewise.
24283         * sysdeps/generic/ldconfig.h: Likewise.
24284
24285 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24286
24287         * Versions.def: Add GLIBC_2.18.
24288         * include/link.h (struct link_map): New member l_tls_dtor_count.
24289         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24290         (__call_tls_dtors): Likewise.
24291         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24292         __cxa_thread_atexit_impl.
24293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24294         Likewise.
24295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24296         Likewise.
24297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24298         Likewise.
24299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24300         Likewise.
24301         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24303         Likewise.
24304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24305         Likewise.
24306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24308         Likewise.
24309         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24310         (tests): Add test case tst-tls-atexit.
24311         (modules-names): Add shared library for tst-tls-atexit.
24312         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24313         (GLIBC_PRIVATE): Add __call_tls_dtors.
24314         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24315         for libstdc++.
24316         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24317         * stdlib/tst-tls-atexit.c: New test case.
24318         * stdlib/tst-tls-atexit-lib.c: New test case.
24319
24320         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24321
24322         * elf/Versions (ld): Add _dl_find_dso_for_object.
24323         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24324         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24325         (dl_open_worker): Use _dl_find_dso_for_object.
24326         * elf/dl-sym.c (do_sym): Likewise.
24327         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24328
24329 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24330
24331         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24332         Syntactic changes only.
24333         (_dl_runtime_profile): Do a tail-call to the resolved function.
24334
24335 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24336
24337         [BZ #13550]
24338         * sysdeps/x86_64/bp-asm.h: Remove file.
24339         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24340         <bp-sym.h> and <bp-asm.h>.
24341         (__clone): Do not use BP_SYM.
24342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24343         <bp-sym.h> and <bp-asm.h>.
24344         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24345         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24346         "bp-asm.h".
24347         (_setjmp): Do not use BP_SYM.
24348         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24349         "bp-asm.h".
24350         (setjmp): Do not use BP_SYM.
24351         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24352         libc_hidden_def.
24353         (mempcpy): Do not use BP_SYM in weak_alias.
24354         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24355         "bp-asm.h".
24356         (strchr): Do not use BP_SYM.
24357         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24358         "bp-asm.h".
24359         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24360         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24361         (_start): Do not use BP_SYM.
24362         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24363         "bp-asm.h".
24364         (strcat): Do not use BP_SYM.
24365         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24366         "bp-asm.h".
24367         (STRCMP): Do not use BP_SYM.
24368         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24369         "bp-asm.h".
24370         (STRCPY): Do not use BP_SYM.
24371         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24372         "bp-asm.h".
24373         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24374         "bp-asm.h".
24375         (FUNCTION): Do not use BP_SYM.
24376         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24377         weak_alias.
24378         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24379
24380 2013-02-17  Andreas Jaeger  <aj@suse.de>
24381
24382         * time/Versions: Sort entries.
24383         * string/Versions: Likewise.
24384         * resolv/Versions: Likewise.
24385         * posix/Versions: Likewise.
24386         * iconv/Versions: Likewise.
24387         * elf/Versions: Likewise.
24388         * wcsmbs/Versions: Likewise.
24389
24390 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24391
24392         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24393         loop termination condition.
24394
24395         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24396         variable to calculate EZ.
24397         (__sqr): Likewise.
24398
24399         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24400         the lower precision input.
24401
24402 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24403
24404         [BZ #13550]
24405         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24406         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24407         (run-via-rtld-prefix): Do not handle %-bp tests.
24408         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24409         (all-object-suffixes): Remove .ob.
24410         (bppfx): Remove variable.
24411         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24412         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24413         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24414         [$(build-bounded) = yes] (libtype.ob): Likewise.
24415         * Makerules (elide-routines.ob): Remove variable.
24416         (do-tests-clean): Do not handle *-bp.out.
24417         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24418         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24419         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24420         (tests): Do not include $(tests-bp.out).
24421         (xtests): Do not include $(xtests-bp.out).
24422         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24423         [$(build-bounded) = yes] ($(addprefix
24424         $(objpfx),$(binaries-bounded))): Remove rule.
24425         ($(objpfx)%-bp.out): Remove rule.
24426         * config.make.in (build-bounded): Remove variable.
24427         * crypt/Makefile [$(build-bounded) = yes]
24428         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24429         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24430         append to variable.
24431         [$(build-bounded) = yes] (install-lib): Likewise.
24432         [$(build-bounded) = yes] (generated): Likewise.
24433         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24434         Remove rule.
24435         * intl/Makefile [$(build-bounded) = yes]
24436         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24437         * math/Makefile [$(build-bounded) = yes]
24438         ($(tests:%=$(objpfx)%-bp): Likewise.
24439         * misc/Makefile [$(build-bounded) = yes]
24440         ($(objpfx)tst-tsearch-bp): Likewise.
24441         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24442         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24443         Remove dependency.
24444         * string/Makefile (o-objects.ob): Remove variable.
24445         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24446         (CFLAGS-.ob): Remove variable.
24447         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24448         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24449         both definitions of variable.
24450         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24451         (ASFLAGS-.ob): Remove variable.
24452
24453 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24454
24455         [BZ #13550]
24456         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24457         Remove __BOUNDED_POINTERS__ from condition.
24458         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24459         * string/bits/string2.h [!__NO_STRING_INLINES &&
24460         !__BOUNDED_POINTERS__]: Likewise.
24461         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24462         Likewise.
24463         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24464         Remove conditional code.
24465         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24466         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24467         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24468         condition.
24469
24470         [BZ #13550]
24471         * csu/libc-start.c: Do not include <bp-sym.h>.
24472         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24473         * elf/dl-open.c: Do not include <bp-sym.h>.
24474         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24475         * math/fegetenv.c: Do not include <bp-sym.h>.
24476         (fegetenv): Do not use BP_SYM in versioned symbols.
24477         * nptl/sysdeps/pthread/bits/libc-lockP.h
24478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24479         <bp-sym.h>.
24480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24481         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24483         (__pthread_mutex_destroy): Likewise.
24484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24485         (__pthread_mutex_lock): Likewise.
24486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24487         (__pthread_mutex_trylock): Likewise.
24488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24489         (__pthread_mutex_unlock): Likewise.
24490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24491         (__pthread_mutexattr_init): Likewise.
24492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24493         (__pthread_mutexattr_destroy): Likewise.
24494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24495         (__pthread_mutexattr_settype): Likewise.
24496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24497         (__pthread_rwlock_init): Likewise.
24498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24499         (__pthread_rwlock_destroy): Likewise.
24500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24501         (__pthread_rwlock_rdlock): Likewise.
24502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24503         (__pthread_rwlock_tryrdlock): Likewise.
24504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24505         (__pthread_rwlock_wrlock): Likewise.
24506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24507         (__pthread_rwlock_trywrlock): Likewise.
24508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24509         (__pthread_rwlock_unlock): Likewise.
24510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24511         (__pthread_key_create): Likewise.
24512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24513         (__pthread_setspecific): Likewise.
24514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24515         (__pthread_getspecific): Likewise.
24516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24517         Likewise.
24518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24519         (_pthread_cleanup_push_defer): Likewise.
24520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24521         (_pthread_cleanup_pop_restore): Likewise.
24522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24523         (pthread_setcancelstate): Likewise.
24524         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24525         <bp-sym.h>.
24526         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24527         (memchr): Do not use BP_SYM in weak_alias.
24528         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24529         (fegetenv): Do not use BP_SYM in versioned symbols.
24530         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24531         (fesetenv): Do not use BP_SYM in versioned symbols.
24532         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24533         (feupdateenv): Do not use BP_SYM in versioned symbols.
24534         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24535         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24536         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24537         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24538         (open64): Do not use BP_SYM in weak_alias.
24539         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24540         (fegetenv): Do not use BP_SYM in versioned symbols.
24541         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24542         (fesetenv): Do not use BP_SYM in versioned symbols.
24543         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24544         (feupdateenv): Do not use BP_SYM in versioned symbols.
24545         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24546         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24547         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24548         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24549         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24550         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24551         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24552         <bp-sym.h>.
24553         (__libc_start_main): Do not use BP_SYM.
24554
24555 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24556
24557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24558         redundant return line.
24559         (norm): Likewise.
24560         (denorm): Likewise.
24561         (dbl_mp): Likewise.
24562         (sub_magnitudes): Likewise.
24563         (__add): Likewise.
24564         (__sub): Likewise.
24565         (__mul): Likewise.
24566         (__inv): Likewise.
24567         (__dvd): Likewise.
24568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24569         (norm): Likewise.
24570         (denorm): Likewise.
24571         (dbl_mp): Likewise.
24572         (sub_magnitudes): Likewise.
24573         (__add): Likewise.
24574         (__sub): Likewise.
24575         (__mul): Likewise.
24576         (__inv): Likewise.
24577         (__dvd): Likewise.
24578
24579         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24580         instead of __mul.
24581         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24582         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24583         (cc32): Likewise.
24584
24585         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24586         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24587         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24588         of __mul for squares.
24589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24590         function
24591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24592         Likewise.
24593         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24594         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24595
24596 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24597
24598         [BZ #13550]
24599         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24600         code.
24601         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24602         prototype or function definition.  Rename ubp_* variables and
24603         parameters.  Remove argv definitions conditional on
24604         [__BOUNDED_POINTERS__].
24605         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24606         * elf/dl-runtime.c (_dl_fixup): Likewise.
24607         * include/set-hooks.h (RUN_HOOK): Likewise.
24608         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24609         definition.
24610         * string/strcpy.c (strcpy): Do not use __unbounded.
24611         * sysdeps/generic/frame.h (struct layout): Likewise.
24612         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24613         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24614         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24615         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24616         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24617         (__backtrace): Likewise.
24618         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24619         use __ptrvalue.
24620         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24621         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24622         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24623         Likewise.
24624         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24625         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24626         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24627         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24628         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24629         Do not use __unbounded.
24630         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24631         Rename __unboundedrlimits parameter to rlimits in prototype.
24632         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24633         Do not use __unbounded.
24634         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24635         not use __ptrvalue.
24636         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24637         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24638         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24639         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24640         __ptrvalue or __unbounded.
24641         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24642         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24643         use __unbounded.
24644         (__new_msgctl): Do not use __ptrvalue.
24645         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24646         __unbounded.
24647         (__libc_msgrcv): Do not use __ptrvalue.
24648         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24649         startup_info): Do not use __unbounded.
24650         (__libc_start_main): Likewise.  Rename ubp_* variables and
24651         parameters.  Remove argv definitions conditional on
24652         [__BOUNDED_POINTERS__].
24653         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24654         __ptrvalue.
24655         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24656         use __unbounded.
24657         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24658         or __ptrvalue.
24659         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24660         use __unbounded.
24661         (__new_shmctl): Do not use __ptrvalue.
24662         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24663         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24664         Likewise.
24665         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24666         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24667         (__libc_sigaction): Likewise.
24668         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24669         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24670         Likewise.
24671         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24672
24673 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24674
24675         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24676
24677         * string/mempcpy.c: Implement by calling memcpy.
24678
24679 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24680
24681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24682
24683         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24684         evaluation.
24685
24686         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24687         values in the mantissa.
24688
24689         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24690         minimize writes to Z.
24691         (sub_magnitudes): Simplify code a bit.
24692
24693 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24694
24695         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24696         from the message.  The linker prefixes all warnings with that already.
24697
24698 2013-02-12  Andreas Schwab  <schwab@suse.de>
24699
24700         [BZ #15078]
24701         * posix/regexec.c (extend_buffers): Add parameter min_len.
24702         (check_matching): Pass minimum needed length.
24703         (clean_state_log_if_needed): Likewise.
24704         (get_subexp): Likewise.
24705         * posix/Makefile (tests): Add bug-regex34.
24706         (bug-regex34-ENV): Define.
24707         * posix/bug-regex34.c: New file.
24708
24709         [BZ #11561]
24710         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24711         elements compare against the byte sequence of it, not its name.
24712         * posix/Makefile (tests): Add bug-regex35.
24713         (bug-regex35-ENV): Define.
24714         * posix/bug-regex35.c: New file.
24715
24716 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24717
24718         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24719         comment.
24720         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24721         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24722         (CHECK_EOL): Add undef.
24723
24724 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24725
24726         * bits/stdlib-bsearch.h: New file.
24727         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24728         * stdlib/stdlib.h: Likewise.
24729
24730 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24731
24732         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24733         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24734         declaration.
24735         * manual/search.texi (Array Search Function): Add missing const in
24736         lfind prototype.
24737         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24738         declaration to use rlim_t.
24739         (Basic Scheduling Functions): Remove erroneous const from
24740         sched_getparam prototype.  Remove erroneous * from
24741         sched_get_priority_max and sched_get_priority_min prototypes.
24742         (Resource Usage): Fix summary @comment on vtimes to refer to
24743         sys/vtimes.h rather than vtimes.h.
24744         Add missing *s in vtimes prototype.
24745         (Limits on Resources): Fix ulimit prototype to return long int.
24746         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24747         prototypes to use long int rather than double.
24748         (BSD Random): Fix initstate and setstate to use char *, not void *.
24749         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24750         prototype to make second argument 'struct aiocb64 *const[]'.
24751         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24752         (Status of AIO Operations): Remove erroneous const in aio_return and
24753         aio_return64 prototypes.
24754         (Synchronizing I/O): Fix sync prototype to return void.
24755         * manual/startup.texi (Suboptions): Remove an erroneous const in
24756         getsubopt prototype.
24757         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24758         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24759         use size_t rather than int.
24760         (Scanning All Users): Likewise for getpwent_r.
24761         (Setting Groups): Add missing const to setgroups prototype.
24762         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24763         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24764         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24765         'const void *' rather than 'const char *'.
24766         (Host Address Functions): Likewise for inet_ntop.
24767         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24768         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24769         ssize_t for return value.
24770         (Sending Data): Likewise for send, sendto, sendmsg.
24771         (Socket Option Functions): Add a missing const in setsockopt prototype.
24772         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24773         use wchar_t for the argument.
24774         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24775         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24776         take no arguments.
24777         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24778         double/float/long double for second argument.
24779         Fix return types of significand, significandf, significandl.
24780         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24781         argument in fchmod prototype.
24782         (File Owner): Use uid_t and gid_t in fchown prototype.
24783         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24784         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24785         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24786         use 'const struct dirent **' as argument types to CMP function pointer
24787         argument.
24788         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24789         (File Times): Fix summary magic @comment for struct utimbuf and utime
24790         to refer to utime.h, not time.h.
24791         * manual/string.texi (Argz Functions): Add missing const in
24792         argz_extract and argz_next prototypes.
24793         (Finding Tokens in a String): Likewise for basename.
24794         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24795         (Copying and Concatenation): Fix typo in wmemmove prototype.
24796         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24797         (Signal Stack): Remove erroneous const in sigstack prototype.
24798         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24799         prototype.
24800         (Simple Calendar Time): Likewise for stime.
24801         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24802         prototype.
24803         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24804         say sys/sysctl.h instead.
24805         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24806         and vsyslog prototypes.
24807
24808 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24809
24810         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24811         Remove.
24812
24813 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24814
24815         * misc/sys/mman.h: Fix typo in mremap comment.
24816
24817 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24818
24819         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24820         the '\0' terminator.
24821
24822 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24823
24824         [BZ #13550]
24825         * debug/segfault.c: Don't include <bp-checks.h>.
24826         * sysdeps/generic/bp-checks.h: Remove file.
24827         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24828         (__GETDENTS): Don't use CHECK_N.
24829         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24830         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24831         (__getgroups): Don't use CHECK_N.
24832         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24833         (setgroups): Don't use CHECK_N.
24834         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24835         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24836         (__libc_msgrcv): Don't use CHECK_N.
24837         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24838         (__libc_msgsnd): Don't use CHECK_N.
24839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24840         <bp-checks.h>.
24841         (__libc_pread): Don't use CHECK_N.
24842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24843         include <bp-checks.h>.
24844         (__libc_pread64): Don't use CHECK_N.
24845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24846         include <bp-checks.h>.
24847         (__libc_pwrite): Don't use CHECK_N.
24848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24849         include <bp-checks.h>.
24850         (__libc_pwrite64): Don't use CHECK_N.
24851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24852         <bp-checks.h>.
24853         (__libc_pread): Don't use CHECK_N.
24854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24855         include <bp-checks.h>.
24856         (__libc_pread64): Don't use CHECK_N.
24857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24858         include <bp-checks.h>.
24859         (__libc_pwrite): Don't use CHECK_N.
24860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24861         include <bp-checks.h>.
24862         (__libc_pwrite64): Don't use CHECK_N.
24863         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24864         (do_pread): Don't use CHECK_N.
24865         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24866         (do_pread64): Don't use CHECK_N.
24867         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24868         (do_pwrite): Don't use CHECK_N.
24869         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24870         (do_pwrite64): Don't use CHECK_N.
24871         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24872         (__libc_readv): Don't use CHECK_N.
24873         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24874         (semop): Don't use CHECK_N.
24875         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24876         <bp-checks.h>.
24877         (semtimedop): Don't use CHECK_N.
24878         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24879         (__libc_pread): Don't use CHECK_N.
24880         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24881         <bp-checks.h>.
24882         (__libc_pread64): Don't use CHECK_N.
24883         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24884         <bp-checks.h>.
24885         (__libc_pwrite): Don't use CHECK_N.
24886         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24887         <bp-checks.h>.
24888         (__libc_pwrite64): Don't use CHECK_N.
24889         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24890         <bp-checks.h>.
24891         (__libc_msgrcv): Don't use CHECK_N.
24892         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24893         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24894         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24895         (__libc_writev): Don't use CHECK_N.
24896
24897 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24898
24899         * string/strcpy.c: Removed unused variable.
24900
24901         * Makeconfig (+sysdep-includes): Define with := rather than =.
24902         Use an existing include/ subdir of each sysdeps dir before it.
24903
24904 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24905
24906         * nscd/connection.c (register_traced_file): Comment function.
24907         [HAVE_INOTIFY] (union __inev): Define.
24908         [HAVE_INOTIFY] (inotify_check_files): New function.
24909         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24910         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24911         clear_db_cache.
24912         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24913
24914 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24915
24916         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24917         loaded if not already and that a failure is permanent.
24918
24919 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24920
24921         [BZ #15006]
24922         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24923         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24924
24925 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24926
24927         [BZ #13550]
24928         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24929         (CHECK_1_NULL_OK): Likewise.
24930         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24931         (__fxstat): Do not use CHECK_1.
24932         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24933         <bp-checks.h>.
24934         (___fxstat64): Do not use CHECK_1.
24935         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24936         <bp-checks.h>.
24937         (__fxstatat): Do not use CHECK_1.
24938         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24939         <bp-checks.h>.
24940         (__fxstatat64): Do not use CHECK_1.
24941         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24942         <bp-checks.h>.
24943         (__fxstat): Do not use CHECK_1.
24944         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24945         <bp-checks.h>.
24946         (__fxstatat): Do not use CHECK_1.
24947         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24948         <bp-checks.h>.
24949         (__getresgid): Do not use CHECK_1.
24950         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24951         <bp-checks.h>.
24952         (__getresuid): Do not use CHECK_1.
24953         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24954         <bp-checks.h>.
24955         (__lxstat): Do not use CHECK_1.
24956         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24957         <bp-checks.h>.
24958         (__old_msgctl): Do not use CHECK_1.
24959         (__new_msgctl): Likewise.
24960         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24961         <bp-checks.h>.
24962         (__new_setrlimit): Do not use CHECK_1.
24963         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24964         <bp-checks.h>.
24965         (__old_shmctl): Do not use CHECK_1.
24966         (__new_shmctl): Likewise.
24967         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24968         <bp-checks.h>.
24969         (__xstat): Do not use CHECK_1.
24970         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24971         (__lxstat): Do not use CHECK_1.
24972         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24973         <bp-checks.h>.
24974         (___lxstat64): Do not use CHECK_1.
24975         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24976         (__old_msgctl): Do not use CHECK_1.
24977         (__new_msgctl): Likewise.
24978         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24979         <bp-checks.h>.
24980         (__gettimeofday): Do not use CHECK_1.
24981         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24982         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24983         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24984         <bp-checks.h>.
24985         (__gettimeofday): Do not use CHECK_1.
24986         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24987         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24988         (__new_shmctl): Do not use CHECK_1.
24989         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24990         <bp-checks.h>.
24991         (do_sigtimedwait): Do not use CHECK_1.
24992         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24993         <bp-checks.h>.
24994         (do_sigwaitinfo): Do not use CHECK_1.
24995         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24996         <bp-checks.h>.
24997         (msgctl): Do not use CHECK_1.
24998         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24999         <bp-checks.h>.
25000         (shmctl): Do not use CHECK_1.
25001         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25002         (ustat): Do not use CHECK_1.
25003         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25004         <bp-checks.h>.
25005         (__fxstat): Do not use CHECK_1.
25006         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25007         <bp-checks.h>.
25008         (__fxstatat): Do not use CHECK_1.
25009         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25010         <bp-checks.h>.
25011         (__lxstat): Do not use CHECK_1.
25012         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25013         <bp-checks.h>.
25014         (__xstat): Do not use CHECK_1.
25015         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25016         (__xstat): Do not use CHECK_1.
25017         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25018         (___xstat64): Do not use CHECK_1.
25019
25020         [BZ #13550]
25021         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25022         definitions.
25023         (CHECK_BOUNDS_HIGH): Likewise.
25024         * string/strcpy.c: Do not include <bp-checks.h>.
25025         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25026
25027 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25028
25029         * nscd/nscd-client.h (__nscd_drop_map_ref):
25030         Add __attribute__ ((unused)).
25031         * nis/nss-nisplus.h (niserr2nss): Likewise.
25032
25033         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25034         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25035
25036         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25037         Remove inline keyword.
25038         * include/rounding-mode.h (round_away): Likewise.
25039         * libio/wfileops.c (adjust_wide_data): Likewise.
25040         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25041         (__m128i_strloadu_tolower): Likewise.
25042         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25043         (__m128i_strloadu_tolower): Likewise.
25044         * time/mktime.c (ydhms_diff): Likewise.
25045         * locale/elem-hash.h (elem_hash): Likewise.
25046         * locale/setlocale.c (setdata): Likewise.
25047         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25048         (re_string_wchar_at): Likewise.
25049         (bitset_not, bitset_merge, bitset_mask): Likewise.
25050         [!(__GNUC__ > 3)] (inline): Remove macro.
25051         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25052         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25053         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25054         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25055         * string/memcmp.c (memcmp_bytes): Likewise.
25056         * locale/programs/locarchive.c (compute_hashval): Likewise.
25057         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25058         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25059         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25060         * nss/getent.c (print_rpc, print_protocols): Likewise.
25061         (print_passwd, print_group, print_aliases): Likewise.
25062         * nis/nss-nisplus.h (niserr2nss): Likewise.
25063         * nscd/connections.c (restart_p): Likewise.
25064         Change return type to bool.
25065
25066 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25067
25068         * Makeconfig (all-Depend-files): Add existing
25069         $(sorted-subdirs:=/Depend) files.
25070         (all-subdirs): Remove nss.
25071         * sysdeps/unix/inet/Subdirs: Add it here instead.
25072         * hesiod/Depend: New file.
25073
25074         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25075         instead of calling alloca.
25076
25077         * io/lseek.c (__lseek): Rename to __libc_lseek.
25078         Define __lseek as an alias.
25079
25080         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25081
25082 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25083
25084         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25085         else clause and remove check for non-standard endianness.
25086
25087 2013-02-04  David S. Miller  <davem@davemloft.net>
25088
25089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25090
25091 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25092
25093         [BZ #13550]
25094         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25095         (__ubp_memchr): Remove prototype.
25096         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25097         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25098         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25099         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25100         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25101         Remove alias.
25102         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25103         (__ubp_memchr): Likewise.
25104         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25105         (__ubp_memchr): Likewise.
25106         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25107         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25108         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25109         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25110         CHECK_STRING.
25111         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25112         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25113         (__getcwd): Do not use CHECK_STRING.
25114         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25115         <bp-checks.h>.
25116         (__real_chown): Do not use CHECK_STRING.
25117         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25118         <bp-checks.h>.
25119         (fchownat): Do not use CHECK_STRING.
25120         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25121         CHECK_STRING.
25122         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25123         <bp-checks.h>.
25124         (__lchown): Do not use CHECK_STRING.
25125         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25126         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25127         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25128         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25130         include <bp-checks.h>.
25131         (truncate64): Do not use CHECK_STRING.
25132         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25133         <bp-checks.h>.
25134         (__real_chown): Do not use CHECK_STRING.
25135         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25136         <bp-checks.h>.
25137         (__lchown): Do not use CHECK_STRING.
25138         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25139         <bp-checks.h>.
25140         (__chown): Do not use CHECK_STRING.
25141         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25142         <bp-checks.h>.
25143         (truncate64): Do not use CHECK_STRING.
25144         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25145         Likewise.
25146         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25147         (__xmknod): Do not use CHECK_STRING.
25148         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25149         <bp-checks.h>.
25150         (__xmknodat): Do not use CHECK_STRING.
25151         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25152         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25153
25154 2013-02-04  Andreas Schwab  <schwab@suse.de>
25155
25156         [BZ #14142]
25157         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25158         * include/netdb.h: Likewise for h_errno.
25159         * elf/tst-stackguard1.c: Include <tls.h>.
25160
25161 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25162
25163         * elf/link.h (struct link_map): Extend the l_addr comment.
25164         * include/link.h (struct link_map): Likewise.
25165
25166 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25167
25168         [BZ #13550]
25169         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25170         (BOUNDED_1): Remove macro.
25171         * debug/backtrace.c: Don't include <bp-checks.h>.
25172         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25173         (__backtrace): Likewise.
25174         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25175         <bp-checks.h>.
25176         (__backtrace): Don't use BOUNDED_1.
25177         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25178         <bp-checks.h>.
25179         (__backtrace): Don't use BOUNDED_1.
25180         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25181         (__backtrace): Don't use BOUNDED_1.
25182         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25183         (shmat): Don't use BOUNDED_N.
25184
25185 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25186
25187         [BZ #13550]
25188         * sysdeps/generic/bp-start.h: Remove file.
25189         * csu/libc-start.c: Don't include <bp-start.h>.
25190         (LIBC_START_MAIN): Set up __environ directly instead of using
25191         INIT_ARGV_and_ENVIRON.
25192         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25193         <bp-start.h>.
25194
25195         [BZ #13550]
25196         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25197         definitions.
25198         (CHECK_FCNTL): Likewise.
25199         (CHECK_N_PAGES): Likewise.
25200
25201         [BZ #13550]
25202         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25203         definitions.
25204         (CHECK_SIGSET_NULL_OK): Likewise.
25205         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25206         <bp-checks.h>.
25207         (sigpending): Don't use CHECK_SIGSET.
25208         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25209         <bp-checks.h>.
25210         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25211         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25212         <bp-checks.h>.
25213         (do_sigsuspend): Don't use CHECK_SIGSET.
25214         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25215         use CHECK_SIGSET.
25216         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25217         (do_sigwait): Don't use CHECK_SIGSET.
25218         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25219         use CHECK_SIGSET.
25220         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25221         include <bp-checks.h>.
25222         (sigpending): Don't use CHECK_SIGSET.
25223         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25224         include <bp-checks.h>.
25225         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25226         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25227         <bp-checks.h>.
25228         (sigpending): Don't use CHECK_SIGSET.
25229         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25230         <bp-checks.h>.
25231         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25232
25233         [BZ #13550]
25234         * sysdeps/generic/bp-semctl.h: Remove file.
25235         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25236         <bp-checks.h> and <bp-semctl.h>.
25237         (__old_semctl): Don't use CHECK_SEMCTL.
25238         (__new_semctl): Likewise.
25239         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25240         and <bp-semctl.h>.
25241         (__old_semctl): Don't use CHECK_SEMCTL.
25242         (__new_semctl): Likewise.
25243         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25244         <bp-checks.h> and <bp-semctl.h>.
25245         (__old_semctl): Don't use CHECK_SEMCTL.
25246         (__new_semctl): Likewise.
25247         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25248         <bp-checks.h> and <bp-semctl.h>.
25249         (semctl): Don't use CHECK_SEMCTL.
25250
25251         [BZ #13550]
25252         * Makerules (elide-bp-thunks): Remove variable.
25253         (elide-routines.oS): Don't use $(elide-bp-thunks).
25254         (elide-routines.os): Likewise.
25255         (elide-routines.o): Likewise.
25256         (elide-routines.op): Likewise.
25257         (elide-routines.og): Likewise.
25258         (objects): Don't use $(bp-thunks).
25259         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25260         include.
25261         (common-generated): Do not add s-proto-bp.d.
25262         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25263         (int): Likewise.
25264         (typ): Likewise.
25265         Do not generate makefile rules for bounded-pointer thunks.
25266         * sysdeps/generic/bp-thunks.h: Remove file.
25267         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25268         * sysdeps/unix/s-proto-bp.S: Likewise.
25269
25270         [BZ #15062]
25271         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25272         parts of result separately when argument is not close to line from
25273         -i to i and one part of argument is small.
25274         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25275         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25276         * math/libm-test.inc (cacos_test): Add more tests.
25277         (casin_test): Likewise.
25278         (casinh_test): Likewise.
25279         * sysdeps/i386/fpu/libm-test-ulps: Update.
25280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25281
25282 2013-01-31  David S. Miller  <davem@davemloft.net>
25283
25284         * po/de.po: Update from translation team.
25285
25286 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25287
25288         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25289
25290 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25291
25292         * configure.in (_AC_PROG_CC_C89): New definition.
25293         * configure: Regenerate.
25294
25295         * configure.in (AC_PROG_CPP): New definition.
25296         * configure: Regenerate.
25297
25298 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25299
25300         * debug/tst-backtrace.h: New file.
25301         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25302         (ret): Remove variable.
25303         (x): Likewise.
25304         (FAIL): Remove macro.
25305         (NO_INLINE): Likewise.
25306         (fn1): Use match function instead of strstr.
25307         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25308         (ret): Remove variable.
25309         (x): Likewise.
25310         (FAIL): Remove macro.
25311         (NO_INLINE): Likewise.
25312         (fn): Use match function instead of strstr.
25313         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25314         (ret): Remove variable.
25315         (x): Likewise.
25316         (FAIL): Remove macro.
25317         (NO_INLINE): Likewise.
25318         (handle_signal): Use match function instead of strstr.
25319         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25320         (ret): Remove variable.
25321         (x): Likewise.
25322         (FAIL): Remove macro.
25323         (NO_INLINE): Likewise.
25324         (handle_signal): Use match function instead of strstr.
25325
25326 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25327
25328         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25329
25330 2013-01-23  David S. Miller  <davem@davemloft.net>
25331
25332         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25333         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25334         argument of CAS if possible.
25335         * sysdeps/sparc/sparc64/bits/atomic.h
25336         (__arch_compare_and_exchange_val_32_acq): Likewise.
25337         (__arch_compare_and_exchange_val_64_acq): Likewise.
25338
25339 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25340
25341         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25342         * sysdeps/posix/ulimit.c: ... this.
25343         Include <limits.h>.
25344         * sysdeps/unix/bsd/ulimit.c: Remove file.
25345
25346 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25347
25348         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25349         (LDFLAGS-tst-array5): Likewise.
25350
25351 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25352
25353         [BZ #15036]
25354         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25355         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25356         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25357         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25358
25359 2013-01-21  David S. Miller  <davem@davemloft.net>
25360
25361         * sysdeps/sparc/backtrace.c: New file.
25362         * sysdeps/sparc/sparc32/backtrace.h: New file.
25363         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25364         * sysdeps/sparc/sparc64/backtrace.h: New file.
25365         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25366         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25367         -funwind-tables.
25368
25369 2013-01-21  Andreas Schwab  <schwab@suse.de>
25370
25371         [BZ #15020]
25372         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25373         closed its stdout.
25374
25375 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25376
25377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25378         "mpa2.h".
25379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25380
25381 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25382             Mark Mitchell  <mark@codesourcery.com>
25383             Tom de Vries  <tom@codesourcery.com>
25384             Paul Pluzhnikov  <ppluzhnikov@google.com>
25385
25386         * debug/tst-backtrace2.c: New file.
25387         * debug/tst-backtrace3.c: Likewise.
25388         * debug/tst-backtrace4.c: Likewise.
25389         * debug/tst-backtrace5.c: Likewise.
25390         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25391         (CFLAGS-tst-backtrace3.c): Likewise.
25392         (CFLAGS-tst-backtrace4.c): Likewise.
25393         (CFLAGS-tst-backtrace5.c): Likewise.
25394         (LDFLAGS-tst-backtrace2): Likewise.
25395         (LDFLAGS-tst-backtrace3): Likewise.
25396         (LDFLAGS-tst-backtrace4): Likewise.
25397         (LDFLAGS-tst-backtrace5): Likewise.
25398         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25399         tst-backtrace4 and tst-backtrace5.
25400
25401 2013-01-18  Anton Blanchard  <anton@samba.org>
25402             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25403
25404         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25405         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25406         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25407         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25409         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25410         "+r" and remove output regs list as redundant.  Add explicit inline
25411         asm to specify register of return val to work around compiler codegen
25412         bug.  Remove (int) cast on return value.  Add return type parameter to
25413         use in macro so that this macro does not truncate return value for
25414         64-bit values.
25415         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25416         pass to INTERNAL_VSYSCALL_NCS.
25417         (INLINE_VSYSCALL): Add 'long int' as return type to
25418         INTERNAL_VSYSCALL_NCS macro invocation.
25419         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25420         INTERNAL_VSYSCALL_NCS macro invocation.
25421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25422
25423 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25424
25425         [BZ #14496]
25426         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25427         Fix application of SIMD FP exception mask.
25428
25429         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25430         mp_no from a power of two.
25431         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25432         __mpexp_twomm1.  Use __pow_mp.
25433
25434         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25435         multiplication.
25436
25437 2013-01-17  David S. Miller  <davem@davemloft.net>
25438
25439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25440
25441 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25442
25443         [BZ #15023]
25444         * include/complex.h: Condition contents on [!_COMPLEX_H].
25445         (__kernel_casinhf): New prototype.
25446         (__kernel_casinh): Likewise.
25447         (__kernel_casinhl): Likewise.
25448         * math/Makefile (libm_calls): Add k_casinh.
25449         * math/k_casinh.c: New file.
25450         * math/k_casinhf.c: Likewise.
25451         * math/k_casinhl.c: Likewise.
25452         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25453         finite nonzero arguments.
25454         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25455         finite nonzero arguments.
25456         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25457         finite nonzero arguments.
25458         * math/s_casinh.c: Do not include <float.h>.
25459         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25460         * math/s_casinhf.c: Do not include <float.h>.
25461         (__casinhf): Move code for finite nonzero arguments to
25462         k_casinhf.c.
25463         * math/s_casinhl.c: Do not include <float.h>.
25464         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25465         redefine.
25466         (__casinhl): Move code for finite nonzero arguments to
25467         k_casinhl.c.
25468         * math/libm-test.inc (cacos_test): Add more tests.
25469         * sysdeps/i386/fpu/libm-test-ulps: Update.
25470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25471
25472 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25473
25474         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25475         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25476         [!HAVE_MREMAP]: Remove [defined linux] case.
25477         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25478
25479 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25480
25481         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25482
25483 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25484
25485         * elf/elf.h (R_386_SIZE32): New relocation.
25486         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25487         R_386_SIZE32.
25488         (elf_machine_rela): Likewise.
25489         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25490         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25491
25492 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25493
25494         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25495         (FP_FAST_FMA): Do not define.
25496         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25497         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25498         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25499         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25500         !_SOFT_FLOAT]: Likewise.
25501         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25502         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25503         value.
25504         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25505         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25506         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25507         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25508         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25509         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25510         file.
25511
25512 2013-01-16  Andreas Schwab  <schwab@suse.de>
25513
25514         [BZ #14327]
25515         * include/stdlib.h (__mktemp): Add declaration.
25516         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25517         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25518
25519 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25520
25521         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25522         definitions.
25523         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25524         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25525         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25526         definitions here.
25527         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25528         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25529         definitions.
25530         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25531         and ONE.
25532         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25533         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25534         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25535         definitions.
25536         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25537         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25538         definitions.
25539         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25540
25541         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25542
25543 2013-01-15  David S. Miller  <davem@davemloft.net>
25544
25545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25546         trunc{,f} to libm-sysdep_routes.
25547         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25549         file.
25550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25552         file.
25553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25554         file.
25555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25557         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25558         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25559         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25560         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25561         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25562         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25563
25564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25565         nearbyint{,f} to libm-sysdep_routes.
25566         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25568         New file.
25569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25570         file.
25571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25572         New file.
25573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25574         file.
25575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25577         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25578         file.
25579         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25580         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25581         file.
25582         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25583         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25584         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25585
25586         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25587         libc_feholdexcept and libc_fesetenv.
25588
25589 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25590
25591         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25592
25593 2013-01-14  David S. Miller  <davem@davemloft.net>
25594
25595         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25596         (SPARC_ASM_VIS2_IFUNC): Likewise.
25597         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25599         use of 'siam' instruction.
25600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25601         Likewise.
25602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25603         Likewise.
25604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25605         Likewise.
25606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25607         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25611         file.
25612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25613         file.
25614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25615         file.
25616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25617         file.
25618         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25619         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25620         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25621         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25623         new VIS2 routines.
25624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25627         Likewise.
25628         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25629         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25630         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25633         routines to libm-sysdep_routines.
25634         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25635
25636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25637         fdim/fdimf to libm-sysdep_routines.
25638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25639         file.
25640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25642         file.
25643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25646         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25647         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25648         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25649         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25650
25651 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25652
25653         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25654         to optimize copies.
25655
25656         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25659
25660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25661         local variable MPTWO.
25662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25663         Likewise.
25664
25665 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25666
25667         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25668         GLOB_NOESCAPE.
25669
25670 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25671
25672         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25673
25674 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25675
25676         * manual/pattern.texi (glob_t): Document gl_flags.
25677         (glob64_t): Likewise.
25678
25679 2013-01-11  David S. Miller  <davem@davemloft.net>
25680
25681         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25682         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25683         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25684         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25685         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25686         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25687         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25688         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25689         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25690         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25691         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25692         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25693         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25694
25695         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25696         sparc V9 rather than using V8 code.
25697         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25698         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25699
25700         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25701         Move to...
25702         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25703         Here.
25704
25705 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25706
25707         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25708         not in the main loop.
25709         * configure: Regenerated.
25710
25711 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25712
25713         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25714         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25715         to just #else.
25716         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25717         [!__GLIBC_HAVE_LONG_LONG] case.
25718         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25719         condition to just #else.
25720         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25721         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25722         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25723         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25724         unconditional.
25725         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25726         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25727         #elif condition to just #else.
25728         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25729         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25730         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25731         #elif condition to just #else.
25732
25733 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25734
25735         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25736         (EF_MIPS_ARCH_64): Fix value.
25737         (EF_MIPS_ARCH_32R2): New.
25738         (EF_MIPS_ARCH_64R2): New.
25739
25740 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25741
25742         * Makeconfig (+link-pie-before-libc): New.
25743         (+link-pie-after-libc): Likewise.
25744         (+link-pie-tests): Likewise.
25745         (+link-pie): Rewritten.
25746         (link-before-libc): Remove $(config-LDFLAGS).
25747         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25748         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25749         (config-LDFLAGS): Renamed to ...
25750         (rtld-LDFLAGS): This.
25751         (rtld-tests-LDFLAGS): New macro.
25752         (link-libc-rpath-link): Likewise.
25753         (link-libc-tests-rpath-link): Likewise.
25754         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25755         (link-libc): Prepand $(link-libc-rpath-link).
25756         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25757         (test-program-prefix): New macro.
25758         (test-via-rtld-prefix): Likewise.
25759         (test-program-cmd): Likewise.
25760         (host-test-program-cmd): Likewise.
25761         * Makefile ($(common-objpfx)testrun.sh): Replace
25762         $(run-program-prefix) with $(test-program-prefix).
25763         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25764         $(rtld-LDFLAGS).
25765         ($(common-objpfx)shlib.lds): Likewise.
25766         (build-module-helper): Likewise.
25767         ($(common-objpfx)format.lds): Likewise.
25768         * Rules (binaries-pie-tests): New.
25769         (binaries-pie-notests): Likewise.
25770         (binaries-pie): Rewritten.
25771         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25772         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25773         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25774         (make-test-out): Replace $(host-built-program-cmd) with
25775         $(host-test-program-cmd).
25776         * config.make.in (build-hardcoded-path-in-tests): New variable.
25777         * configure.in (--enable-hardcoded-path-in-tests): New configure
25778         option.
25779         (hardcoded_path_in_tests): New AC_SUBST.
25780         * configure: Regenerated.
25781         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25782         $(built-program-cmd) with $(test-program-cmd).
25783         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25784         (test_program_cmd): This.
25785         * elf/Makefile ($(objpfx)order.out): Run test with
25786         $(test-program-prefix).
25787         ($(objpfx)order2.out): Likewise.
25788         ($(objpfx)tst-initorder.out): Likewise.
25789         ($(objpfx)tst-initorder2.out): Likewise.
25790         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25791         $(test-program-cmd).
25792         ($(objpfx)tst-array1-static.out): Likewise.
25793         ($(objpfx)tst-array2.out): Likewise.
25794         ($(objpfx)tst-array3.out): Likewise.
25795         ($(objpfx)tst-array4.out): Likewise.
25796         ($(objpfx)tst-array5.out): Likewise.
25797         ($(objpfx)tst-array5-static.out): Likewise.
25798         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25799         $(test-program-cmd).
25800         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25801         $(run-program-prefix) with $(test-program-prefix).
25802         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25803         (test_program_prefix): This.
25804         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25805         $(run-program-prefix) with $(test-program-prefix).
25806         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25807         (test_program_prefix): This.
25808         * iconvdata/tst-tables.sh: Likewise.
25809         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25810         $(run-program-prefix) with $(test-program-prefix).
25811         ($(objpfx)tst-translit.out): Likewise.
25812         ($(objpfx)tst-gettext2.out): Likewise.
25813         ($(objpfx)tst-gettext4.out): Likewise.
25814         ($(objpfx)tst-gettext6.out): Likewise.
25815         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25816         (test_program_prefix): This.
25817         * intl/tst-gettext2.sh: Likewise.
25818         * intl/tst-gettext4.sh  Likewise.
25819         * intl/tst-gettext6.sh: Likewise.
25820         * intl/tst-translit.sh: Likewise.
25821         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25822         with $(test-program-cmd).
25823         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25824         $(run-program-prefix) with $(test-program-prefix).
25825         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25826         (test_program_prefix): This.
25827         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25828         $(run-program-prefix) with $(test-program-prefix).
25829         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25830         (test_program_prefix): This.
25831         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25832         * posix/Makefile ($(objpfx)globtest.out): Replace
25833         $(run-via-rtld-prefix) and $(test-wrapper) with
25834         $(test-program-prefix) and $(test-via-rtld-prefix).
25835         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25836         $(test-program-prefix).
25837         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25838         $(host-test-program-cmd).
25839         (tst-spawn-ARGS): Likewise.
25840         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25841         $(test-program-prefix).
25842         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25843         (test_via_rtld_prefix): This.
25844         (test_wrapper): Renamed to ...
25845         (test_program_prefix): This.
25846         (run_program_prefix): Replaced by test_program_prefix.
25847         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25848         (test_program_prefix): This.
25849         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25850         with $(host-test-program-cmd).
25851         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25852         $(run-program-prefix) with $(test-program-prefix).
25853         ($(objpfx)tst-printf.out): Likewise.
25854         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25855         $(test-program-cmd).
25856         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25857         (test_program_prefix): This.
25858         * stdio-common/tst-unbputc.sh: Likewise.
25859         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25860         $(run-program-prefix) with $(test-program-prefix).
25861         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25862         (test_program_prefix): This.
25863         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25864         $(built-program-cmd) with $(test-program-cmd).
25865
25866 2013-01-11  Andreas Jaeger  <aj@suse.de>
25867
25868         [BZ #15003]
25869         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25870         value. Sync with Linux 3.7.
25871
25872 2013-01-10  David S. Miller  <davem@davemloft.net>
25873
25874         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25875         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25876         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25877
25878 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25879
25880         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25881         never set.
25882         * configure: Regenerated.
25883
25884 2013-01-10  David S. Miller  <davem@davemloft.net>
25885
25886         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25887         sparc V9 rather than using V8 code.
25888         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25889         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25890
25891 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25892
25893         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25894         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25895         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25896         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25897         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25898         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25899         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25900         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25901         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25902         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25903         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25904         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25905         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25906         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25907         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25908         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25909         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25910         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25911         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25912         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25913         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25914         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25915         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25916         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25917         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25918         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25919         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25920
25921 2013-01-10  David S. Miller  <davem@davemloft.net>
25922
25923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25924
25925 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25926
25927         * posix/Makefile (tests-static): New variable.
25928         (tests): Add $(tests-static).
25929         (tst-exec-static-ARGS): New variable.
25930         (tst-spawn-static-ARGS): Likewise.
25931         * posix/tst-exec-static.c: New file.
25932         * posix/tst-spawn-static.c: Likewise.
25933         * posix/tst-exec.c: Support run directly.
25934         * posix/tst-spawn.c: Likewise.
25935
25936 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25937
25938         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25939         long.
25940         * math/bits/mathcalls.h (llrint): Likewise.
25941         (llround): Likewise.
25942         * stdlib/stdlib.h (struct drand48_data): Likewise.
25943         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25944         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25945         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25946         Likewise.
25947         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25948         Likewise.
25949         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25950         (elf_greg_t): Likewise.
25951         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25952         (__jmp_buf): Likewise.
25953         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25954         definitions.
25955         (llrint): Likewise, for all definitions.
25956         (llrintl): Likewise.
25957
25958         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25959         Remove [__GNUC__] condition.
25960         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25961         condition to just [__USE_ISOC99].
25962         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25963
25964 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25965
25966         [BZ #14200]
25967         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25968         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25969         defined.
25970         (_POSIX_V6_ILP32_OFF32): Likewise.
25971         (_XBS5_ILP32_OFF32): Likewise.
25972         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25973         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25974
25975 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25976
25977         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25978
25979         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25980         doubles __mpexp_twomm1.  Adjust usage.
25981         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25982         Remove.
25983
25984 2013-01-10  Andreas Schwab  <schwab@suse.de>
25985
25986         [BZ #14964]
25987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25988         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25989
25990 2013-01-09  David S. Miller  <davem@davemloft.net>
25991
25992         [BZ #15003]
25993         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25994         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25995         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25996         (TCP_FASTOPEN): Define.
25997         (tcp_repair_opt): New structure.
25998         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25999         enum values.
26000         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26001         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26002         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26003         (tcp_cookie_transactions): New structure.
26004
26005 2013-01-09  Anton Blanchard  <anton@samba.org>
26006
26007         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26008         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26009         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26010         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26011
26012 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26013
26014         * include/features.h (__USE_ANSI): Remove.
26015
26016 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26017
26018         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26019
26020         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26021
26022 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26023
26024         * sysdeps/s390/fpu/libm-test-ulps: Update.
26025
26026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26027
26028         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26029         (__acr): Likewise.
26030         (__cpy): Likewise.
26031         (norm): Likewise.
26032         (denorm): Likewise.
26033         (__mp_dbl): Likewise.
26034         (__dbl_mp): Likewise.
26035         (add_magnitudes): Likewise.
26036         (sub_magnitudes): Likewise.
26037         (__add): Likewise.
26038         (__sub): Likewise.
26039         (__mul): Likewise.
26040         (__inv): Likewise.
26041         (__dvd): Likewise.
26042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26043         (__acr): Likewise.
26044         (__cpy): Likewise.
26045         (norm): Likewise.
26046         (denorm): Likewise.
26047         (__mp_dbl): Likewise.
26048         (__dbl_mp): Likewise.
26049         (add_magnitudes): Likewise.
26050         (sub_magnitudes): Likewise.
26051         (__add): Likewise.
26052         (__sub): Likewise.
26053         (__mul): Likewise.
26054         (__inv): Likewise.
26055         (__dvd): Likewise.
26056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26057         (__acr): Likewise.
26058         (__cpy): Likewise.
26059         (norm): Likewise.
26060         (denorm): Likewise.
26061         (__mp_dbl): Likewise.
26062         (__dbl_mp): Likewise.
26063         (add_magnitudes): Likewise.
26064         (sub_magnitudes): Likewise.
26065         (__add): Likewise.
26066         (__sub): Likewise.
26067         (__mul): Likewise.
26068         (__inv): Likewise.
26069         (__dvd): Likewise.
26070
26071 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26072
26073         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26074         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26075         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26076         2 && __USE_EXTERN_INLINES]: Likewise.
26077
26078 2013-01-08  Andreas Jaeger  <aj@suse.de>
26079
26080         [BZ# 14985]
26081         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26082         Remove.
26083         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26084         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26085
26086 2013-01-07  Anton Blanchard  <anton@samba.org>
26087
26088         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26089         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26090         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26091         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26092         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26093         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26094         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26095         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26097         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26098         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26099         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26100         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26101         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26102         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26103         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26104         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26105         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26106         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26107         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26108         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26109         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26110         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26111         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26112         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26113         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26114         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26115         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26116         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26117         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26118         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26119         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26120         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26121         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26122         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26123         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26124         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26125         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26126         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26127         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26128         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26129         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26130         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26131
26132 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26133
26134         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26135         (__MALLOC_PMT): Likewise.
26136         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26137         [__GNUC__], only on [_LIBC].
26138         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26139         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26140         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26141         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26142         forward declaration.
26143         (realloc_hook_ini): Likewise.
26144         (memalign_hook_ini): Likewise.
26145         (__libc_memalign): Do not use __MALLOC_PMT in variable
26146         declaration.
26147         (__libc_valloc): Likewise.
26148         (__libc_pvalloc): Likewise.
26149         (__libc_calloc): Likewise.
26150         (__posix_memalign): Likewise.
26151
26152         [BZ #14996]
26153         * math/s_casinh.c: Include <float.h>.
26154         (__casinh): Do not do computation with squaring and square root
26155         for large arguments.
26156         * math/s_casinhf.c: Include <float.h>.
26157         (__casinhf): Do not do computation with squaring and square root
26158         for large arguments.
26159         * math/s_casinhl.c: Include <float.h>.
26160         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26161         (__casinhl): Do not do computation with squaring and square root
26162         for large arguments.
26163         * math/libm-test.inc (casin_test): Add more tests.
26164         (casinh_test): Likewise.
26165         * sysdeps/i386/fpu/libm-test-ulps: Update.
26166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26167
26168 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26169
26170         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26171         (__x86_64_raw_data_cache_size): Likewise.
26172         (__x86_64_data_cache_size_half): Likewise.
26173         (__x86_64_raw_data_cache_size_half): Likewise.
26174         (__x86_64_shared_cache_size): Likewise.
26175         (__x86_64_raw_shared_cache_size): Likewise.
26176         (__x86_64_shared_cache_size_half): Likewise.
26177         (__x86_64_raw_shared_cache_size_half): Likewise.
26178         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26179         to ...
26180         (__x86_data_cache_size): This.
26181         (__x86_64_raw_data_cache_size): Renamed to ...
26182         (__x86_raw_data_cache_size): This.
26183         (__x86_64_data_cache_size_half): Renamed to ...
26184         (__x86_data_cache_size_half): This.
26185         (__x86_64_raw_data_cache_size_half): Renamed to ...
26186         (__x86_raw_data_cache_size_half): This.
26187         (__x86_64_shared_cache_size): Renamed to ...
26188         (__x86_shared_cache_size): This.
26189         (__x86_64_raw_shared_cache_size): Renamed to ...
26190         (__x86_raw_shared_cache_size): This.
26191         (__x86_64_shared_cache_size_half): Renamed to ...
26192         (__x86_shared_cache_size_half): This.
26193         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26194         (__x86_raw_shared_cache_size_half): This.
26195         * sysdeps/x86_64/memcpy.S: Updated.
26196         * sysdeps/x86_64/memset.S: Likewise.
26197         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26198         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26199         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26200
26201 2013-01-04  David S. Miller  <davem@davemloft.net>
26202
26203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26204
26205 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26206
26207         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26208         1 to avoid redefinition warning.
26209         (__USE_GNU): Don't define.
26210         (init_signaling_nan): Protoize.
26211
26212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26213
26214 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26215
26216         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26218         (__cpymn): Likewise.
26219         (norm): Remove commented code.
26220         (denorm): Likewise.
26221         (__mp_dbl): Likewise.
26222         (__inv): Likewise.
26223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26224         (__cpymn): Likewise.
26225         (norm): Remove commented code.
26226         (denorm): Likewise.
26227         (__mp_dbl): Likewise.
26228         (__inv): Likewise.
26229
26230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26231         mp_no value for 1.0 and 2.0.
26232         (norm): Use RADIXI instead of radixi.d.
26233         (denorm): Likewise.
26234         (__mul): Use 0.0 instead of zero.d.
26235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26236         mp_no value for 1.0 and 2.0.
26237         (norm): Use RADIXI instead of radixi.d.
26238         (denorm): Likewise.
26239         (__mul): Use 0.0 instead of zero.d.
26240
26241 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26242
26243         [BZ #14994]
26244         * math/s_casinh.c (__casinh): Reduce finite argument to first
26245         quadrant then set signs of results at the end.
26246         * math/s_casinhf.c (__casinhf): Likewise.
26247         * math/s_casinhl.c (__casinhl): Likewise.
26248         * math/libm-test.inc (casin_test): Add more tests.
26249         (casinh_test): Likewise.
26250         * sysdeps/i386/fpu/libm-test-ulps: Update.
26251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26252
26253 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26254
26255         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26256
26257         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26258
26259         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26260         declarations.
26261         (denorm): Likewise.
26262         (__mp_dbl): Likewise.
26263         (__inv): Likewise.
26264
26265         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26266         and adjust the header comment.
26267
26268         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26269         variable name from declaration.
26270
26271 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26272
26273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26274         Initialize COMMON_CPUID_INDEX_7 element.
26275         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26276         (CPUID_RTM): Likewise.
26277         (HAS_RTM): Likewise.
26278         (COMMON_CPUID_INDEX_7): New enum.
26279
26280 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26281
26282         [BZ #14981]
26283         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26284         size is zero, record memory as freed.
26285
26286 2013-01-03  Andreas Jaeger  <aj@suse.de>
26287
26288         * po/ia.po: Add new Interlingua translation.
26289
26290 2012-01-03  Allan McRae  <allan@archlinux.org>
26291
26292         * locale/programs/localedef.c: Fix description of '--posix' flag.
26293
26294 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26295
26296         * NEWS: Update dates in second copyright notice.
26297         * README: Update copyright dates in example.
26298         * manual/libc.texinfo: Update copyright dates.
26299         * scripts/test-installation.pl: Update copyright date in --version
26300         output.
26301
26302         * hurd/ctty-input.c: Fix copyright notice formatting.
26303         * hurd/ctty-output.c: Likewise.
26304         * hurd/dtable.c: Likewise.
26305         * hurd/hurd-raise.c: Likewise.
26306         * hurd/hurdprio.c: Likewise.
26307         * hurd/msgportdemux.c: Likewise.
26308         * misc/sys/file.h: Likewise.
26309         * misc/sys/ioctl.h: Likewise.
26310         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26311         * sysdeps/mach/hurd/chdir.c: Likewise.
26312         * sysdeps/mach/hurd/fchdir.c: Likewise.
26313         * sysdeps/mach/hurd/rename.c: Likewise.
26314         * sysdeps/mach/hurd/rmdir.c: Likewise.
26315         * sysdeps/mach/hurd/seekdir.c: Likewise.
26316         * sysdeps/mach/hurd/setsid.c: Likewise.
26317         * sysdeps/posix/wait3.c: Likewise.
26318
26319         * All files with FSF copyright notices: Update copyright dates
26320         using scripts/update-copyrights.
26321         * intl/plural.c: Regenerated.
26322         * locale/programs/charmap-kw.h: Likewise.
26323         * locale/programs/locfile-kw.h: Likewise.
26324
26325 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26326
26327         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26328         four values.
26329
26330         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26331         calculation loop and add branch prediction.
26332
26333         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26334         check access beyond bounds of m1np.
26335
26336         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26337         MPTWO.
26338         (__inv): Remove local variable MPTWO to use the global
26339         constant.
26340         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26341         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26342         variable MPTWO.
26343         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26344         MP3HALFS static const.
26345
26346 2013-01-01  David S. Miller  <davem@davemloft.net>
26347
26348         * po/ca.po: Update from translation team.
26349
26350 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26351
26352         * scripts/update-copyrights: New file.
26353         * Makeconfig: Reformat copyright notice.
26354         * ctype/ctype.h: Likewise.
26355         * debug/swprintf_chk.c: Likewise.
26356         * elf/dl-cache.c: Likewise.
26357         * elf/dl-debug.c: Likewise.
26358         * elf/dl-object.c: Likewise.
26359         * grp/initgroups.c: Likewise.
26360         * hurd/Makefile: Likewise.
26361         * hurd/hurd/signal.h: Likewise.
26362         * hurd/hurdfault.c: Likewise.
26363         * hurd/hurdioctl.c: Likewise.
26364         * hurd/hurdlookup.c: Likewise.
26365         * hurd/intr-msg.c: Likewise.
26366         * iconv/gconv_open.c: Likewise.
26367         * libio/swprintf.c: Likewise.
26368         * locale/lc-ctype.c: Likewise.
26369         * locale/nl_langinfo.c: Likewise.
26370         * mach/Machrules: Likewise.
26371         * mach/Makefile: Likewise.
26372         * malloc/obstack.h: Likewise.
26373         * manual/Makefile: Likewise.
26374         * manual/tsort.awk: Likewise.
26375         * misc/bits/stab.def: Likewise.
26376         * nis/nis_print_group_entry.c: Likewise.
26377         * nis/nis_table.c: Likewise.
26378         * nis/nss_compat/compat-pwd.c: Likewise.
26379         * nis/nss_compat/compat-spwd.c: Likewise.
26380         * po/Makefile: Likewise.
26381         * posix/fnmatch.c: Likewise.
26382         * posix/regex.h: Likewise.
26383         * resolv/Makefile: Likewise.
26384         * resolv/nss_dns/dns-network.c: Likewise.
26385         * resolv/res_hconf.c: Likewise.
26386         * scripts/gen-sorted.awk: Likewise.
26387         * soft-fp/soft-fp.h: Likewise.
26388         * stdio-common/printf.h: Likewise.
26389         * stdlib/monetary.h: Likewise.
26390         * stdlib/random.c: Likewise.
26391         * stdlib/random_r.c: Likewise.
26392         * sysdeps/generic/Makefile: Likewise.
26393         * sysdeps/gnu/Makefile: Likewise.
26394         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26395         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26396         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26397         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26398         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26399         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26400         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26401         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26402         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26403         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26404         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26405         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26406         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26407         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26408         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26409         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26410         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26411         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26412         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26413         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26414         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26415         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26416         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26417         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26418         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26419         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26420         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26421         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26422         * sysdeps/mach/hurd/errnos.awk: Likewise.
26423         * sysdeps/mach/hurd/fork.c: Likewise.
26424         * sysdeps/mach/hurd/getcwd.c: Likewise.
26425         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26426         * sysdeps/mach/hurd/mmap.c: Likewise.
26427         * sysdeps/mach/hurd/utimes.c: Likewise.
26428         * sysdeps/mach/hurd/xmknod.c: Likewise.
26429         * sysdeps/posix/profil.c: Likewise.
26430         * sysdeps/posix/readdir_r.c: Likewise.
26431         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26432         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26433         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26434         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26435         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26436         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26437         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26438         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26440         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26441         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26442         * sysdeps/pthread/lio_listio.c: Likewise.
26443         * sysdeps/sparc/dl-procinfo.h: Likewise.
26444         * sysdeps/unix/i386/sysdep.S: Likewise.
26445         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26446         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26447         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26448         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26450         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26451         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26452         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26453         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26454         * sysdeps/wordsize-32/divdi3.c: Likewise.
26455         * time/sys/time.h: Likewise.
26456         * wcsmbs/Makefile: Likewise.
26457
26458 2013-01-01  David S. Miller  <davem@davemloft.net>
26459
26460         * po/fr.po: Update from translation team.
26461
26462         * catgets/gencat.c: Update copyright year.
26463         * csu/version.c: Likewise.
26464         * debug/catchsegv.sh: Likewise.
26465         * debug/pcprofiledump.c: Likewise.
26466         * debug/xtrace.sh: Likewise.
26467         * elf/ldconfig.c: Likewise.
26468         * elf/ldd.bash.in: Likewise.
26469         * elf/pldd.c: Likewise.
26470         * elf/sotruss.ksh: Likewise.
26471         * elf/sprof.c: Likewise.
26472         * iconv/iconv_prog.c: Likewise.
26473         * iconv/iconvconfig.c: Likewise.
26474         * locale/programs/locale.c: Likewise.
26475         * locale/programs/localedef.c: Likewise.
26476         * login/programs/pt_chown.c: Likewise.
26477         * malloc/memusage.sh: Likewise.
26478         * malloc/memusagestat.c: Likewise.
26479         * malloc/mtrace.pl: Likewise.
26480         * nscd/nscd.c: Likewise.
26481         * nss/getent.c: Likewise.
26482         * nss/makedb.c: Likewise.
26483         * posix/getconf.c: Likewise.
26484
26485 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26486
26487         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26488         numbers.
26489
26490 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26491
26492         * math/bits/mathcalls.h (modf): Use __nonnull.
26493
26494 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26495
26496         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26497         (split): Use macro CN instead of the bare value.
26498         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26499         could be used.
26500         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26501         instead of the bare value.
26502         (power1): Likewise.
26503
26504 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26505
26506         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26507         __ATAN_TWOM.
26508         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26509
26510         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26511         their values.
26512         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26513         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26514         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26515         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26516
26517 2012-12-28  Andreas Jaeger  <aj@suse.de>
26518
26519         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26520         values are from Linux 3.7.
26521
26522         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26523         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26524
26525 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26526
26527         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26528         TRUE case.
26529
26530         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26531         (norm): Likewise.
26532         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26533         variables with preprocessor constants.
26534         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26535         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26536         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26537
26538 2012-12-27  Bruno Haible  <bruno@clisp.org>
26539
26540         [BZ #14317]
26541         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26542         only if needed.
26543
26544 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26545
26546         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26547         and use variable directly.
26548         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26549
26550         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26551         MPONE.
26552         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26553         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26554         variable MPONE.
26555         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26556         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26557         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26558         include directive.  Remove local variable MPONE.
26559         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26560         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26561         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26562
26563 2012-12-25  David S. Miller  <davem@davemloft.net>
26564
26565         * version.h (RELEASE): Set to "development".
26566         (VERSION): Set to "2.17.90".
26567         * NEWS: Add 2.18 section.
26568
26569 2012-12-21  David S. Miller  <davem@davemloft.net>
26570
26571         * po/hr.po: Update from translation team.
26572
26573 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26574
26575         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26576
26577 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26578
26579         * NEWS:  Mention new memcpy for MIPS.
26580
26581 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26582
26583         * manual/contrib.texi (Contributors): Spelling correction.
26584
26585 2012-12-15  David S. Miller  <davem@davemloft.net>
26586
26587         * po/ru.po: Update from translation team.
26588
26589 2012-12-13  David S. Miller  <davem@davemloft.net>
26590
26591         * NEWS: Mention IFUNC testsuite enhancements.
26592
26593         * po/pl.po: Update from translation team.
26594         * po/bg.po: Likewise.
26595
26596         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26597         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26598
26599 2012-12-11  David S. Miller  <davem@davemloft.net>
26600
26601         * po/sv.po: Update from translation team.
26602
26603         * po/vi.po: Update from translation team.
26604
26605         * po/cs.po: Update from translation team.
26606
26607         * po/de.po: Update from translation team.
26608         * po/eo.po: Likewise.
26609         * po/nl.po: Likewise.
26610
26611 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26612
26613         [BZ #14246]
26614         * manual/argp.texi (Argp Helper Functions): Move node to follow
26615         Argp Parsing State.
26616
26617         [BZ #14872]
26618         * manual/conf.texi (Limits on File System Capacity): Mention if
26619         terminating null is included in the max size.
26620
26621 2012-12-10  Andreas Jaeger  <aj@suse.de>
26622
26623         * po/cs.po: Update from translation team.
26624
26625 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26626
26627         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26628         void pointer and cast to uintptr_t.
26629         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26630         path.
26631         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26632         * sysdeps/s390/s390-64/memset.S: Likewise.
26633
26634 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26635
26636         [BZ #14833]
26637         * menual/message.texi (Message Translation): Fix typos.
26638         (Helper programs for gettext): Likewise.
26639
26640 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26641
26642         [BZ #14898]
26643         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26644         Change to -1.
26645
26646 2012-12-07  David S. Miller  <davem@davemloft.net>
26647
26648         * po/libc.pot: Update.
26649
26650 2012-12-07  Richard Henderson  <rth@redhat.com>
26651
26652         [BZ #10114]
26653         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26654         normal/normal case to before the switch.
26655         (_FP_DIV): Likewise.
26656
26657 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26658             Mike Frysinger  <vapier@gentoo.org>
26659
26660         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26661         check for __NR_fadvise64_64.
26662
26663 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26664
26665         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26666         0, not just to plain "0" as a statement.
26667         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26668         with cw.
26669
26670 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26671
26672         * NEWS: Use sourceware.org in Bugzilla URL.
26673
26674 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26675
26676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26677         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26678
26679         * stdio-common/tst-put-error.c (do_test): Add newline to the
26680         padded test to ensure flush.
26681
26682 2012-12-05  Jeff Law  <law@redhat.com>
26683
26684         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26685
26686 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26687
26688         * README: Don't refer to ports add-on as distributed separately.
26689         Mention AArch64 in list of systems supported in the ports add-on.
26690
26691         * LICENSES: Add more non-FSF copyright and license notices.
26692
26693         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26694         ((unused)).
26695
26696         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26697
26698         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26699         10000 as width of padded output.
26700
26701 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26702
26703         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26704
26705         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26706         variable LX with __attribute__ ((unused)).
26707         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26708         Likewise.
26709         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26710         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26711         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26712         with __attribute__ ((unused)).
26713
26714 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26715
26716         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26717
26718 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26719
26720         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26721         (CFLAGS-nldbl-acos.c): New variable.
26722         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26723         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26724         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26725         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26726         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26727         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26728         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26729         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26730         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26731         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26732         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26733         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26734         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26735         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26736         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26737         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26738         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26739         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26740         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26741         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26742         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26743         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26744         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26745         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26746         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26747         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26748         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26749         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26750         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26751         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26752         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26753         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26754         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26755         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26756         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26757         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26758         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26759         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26760         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26761         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26762         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26763         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26764         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26765         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26766         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26767         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26768         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26769         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26770         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26771         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26772         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26773         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26774         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26775         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26776         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26777         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26778         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26779         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26780         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26781         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26782         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26783         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26784         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26785         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26786         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26787         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26788         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26789         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26790         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26791         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26792         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26793         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26794         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26795         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26796         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26797         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26798         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26799         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26800         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26801         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26802         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26803         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26804         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26805         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26806         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26807         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26808         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26809         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26810         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26811         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26812         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26813         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26814         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26815         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26816         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26817         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26818         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26819
26820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26821         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26822
26823         [BZ #14914]
26824         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26825         whole low double instead of just low 47 bits when splitting values
26826         into two parts.
26827
26828 2012-12-03  Allan McRae  <allan@archlinux.org>
26829
26830         * manual/stdio.texi (Predefined Printf Handlers): Remove
26831         @hsep and @vsep usage.
26832
26833 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26834
26835         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26836         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26837
26838 2012-12-03  Jeff Law  <law@redhat.com>
26839
26840         * time/sys/time.h (settimeofday): Do not mark TV argument
26841         as __nonnull.
26842
26843 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26844
26845         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26846         when currently writing and seek to current position when not.
26847         * libio/Makefile (tests): Remove bug-fclose1.
26848         * libio/bug-fclose1.c: Delete.
26849
26850 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26851
26852         * manual/arith.texi (feenableexcept): Fix typo.
26853         (fedisableexcept): Likewise.
26854
26855 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26856
26857         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26858         second, differently-typed declaration, rather than a cast.
26859
26860 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26861
26862         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26863         * include/rpc/svc.h: ... here.
26864
26865 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26866
26867         [BZ #13013]
26868         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26869         depending n and resplen2 to catch cases where answer
26870         equals answerp2.
26871
26872 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26873
26874         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26875         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26876
26877 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26878
26879         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26880
26881 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26882
26883         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26884
26885 2012-11-28  Jeff Law  <law@redhat.com>
26886
26887         [BZ #13761]
26888         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26889         dataset_temporary.  Track alloca usage into alloca_used.
26890         If dataset is large allocate and release it via malloc/free.
26891
26892 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26893
26894         [BZ #14197]
26895         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26896
26897 2012-11-28  David S. Miller  <davem@davemloft.net>
26898
26899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26900
26901 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26902
26903         [BZ #14803]
26904         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26905         of pi/2 rounded to nearest to 64 bits.
26906         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26907         nearest to 64 bits.
26908         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26909         bits.
26910
26911 2012-11-28  Jeff Law <law@redhat.com>
26912             Martin Osvald <mosvald@redhat.com>
26913
26914         [BZ #14889]
26915         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26916         * sunrpc/svc.c: Include time.h.
26917         (__svc_accept_failed): New function.
26918         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26919         any reason other than EINTR, call __svc_accept_failed.
26920         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26921         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26922
26923 2012-11-28  Andreas Schwab  <schwab@suse.de>
26924
26925         * scripts/abilist.awk: Also handle indirect functions in .opd
26926         section.
26927
26928 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26929
26930         [BZ #13881]
26931         * sysdeps/x86/fpu/powl_helper.c: New file.
26932         * sysdeps/x86/fpu/Makefile: Likewise.
26933         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26934         (p3): New object.
26935         (__ieee754_powl): Use __powl_helper for finite arguments except
26936         integer exponents below 8.
26937         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26938         (p3): New object.
26939         (__ieee754_powl): Use __powl_helper for finite arguments except
26940         integer exponents below 8.
26941         * math/libm-test.inc (pow_test): Add more tests and enable some
26942         previously disabled tests.
26943         * sysdeps/i386/fpu/libm-test-ulps: Update.
26944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26945
26946 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26947             Carlos O'Donell  <carlos_odonell@mentor.com>
26948
26949         * nss/makedb.c (is_prime): Assert that input is odd and greater
26950         than 4.  Note that fact in a comment too.
26951         (next_prime): Add 4 to input.
26952
26953 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26954
26955         [BZ #11741]
26956         * libio/Makefile (tests): Add test case tst-fwrite-error.
26957         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26958         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26959         * libio/tst-fwrite-error.c: New test case.
26960
26961 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26962
26963         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26964         before casting to void *.
26965         * include/libc-internal.h (__pointer_type): New macro.
26966         (__integer_if_pointer_type_sub): Likewise.
26967         (__integer_if_pointer_type): Likewise.
26968         (cast_to_integer): Likewise.
26969         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26970         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26971         before casting to atomic64_t.
26972         (atomic_exchange_acq): Likewise.
26973         (__arch_exchange_and_add_body): Likewise.
26974         (__arch_add_body): Likewise.
26975         (atomic_add_negative): Likewise.
26976         (atomic_add_zero): Likewise.
26977
26978 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26979
26980         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26981         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26982         (add_fdes): Likewise.
26983         (linear_search_fdes): Likewise.
26984         (binary_search_unencoded_fdes): Likewise.
26985
26986 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26987
26988         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26989
26990 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26991
26992         * configure.in: Autodetect C++ header directories.
26993         * configure: Regenerated.
26994
26995 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26996
26997         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26998
26999 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27000
27001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27002
27003 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27004
27005         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27006         LDBL_MANT_DIG == 106]: Disable some tests.
27007         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27008         Likewise.
27009         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27010         Likewise.
27011
27012         [BZ #14871]
27013         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27014         input for small inputs.  Return +/- pi/2 for large inputs.
27015         * math/libm-test.inc (atan_test): Add more tests.
27016
27017         * sysdeps/generic/unwind-dw2-fde-glibc.c
27018         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27019         __attribute__ ((unused)).
27020
27021         [BZ #14645]
27022         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27023         x * y if x and y are nonzero and z is zero.
27024
27025         [BZ #14811]
27026         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27027         nonzero exponents with absolute value below 0x1p-117 to +/-
27028         0x1p-117.
27029
27030         [BZ #14869]
27031         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27032         up arguments below 2**-450, not just those below 2**-500.
27033         * math/libm-test.inc (hypot_test): Add another test.
27034
27035         [BZ #14868]
27036         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27037         Return a+b for ratio over 2**120, not 2**60.
27038         * math/libm-test.inc (hypot_test): Add another test.
27039
27040         * math/libm-test.inc (clog_test): Use
27041         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27042         (clog10_test): Likewise.
27043
27044         [BZ #6778]
27045         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27046
27047 2012-11-22  Andreas Schwab  <schwab@suse.de>
27048
27049         * sysdeps/i386/fpu/libm-test-ulps: Update.
27050
27051 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27052
27053         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27054         printf output with newline.
27055
27056 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27057
27058         [BZ #14865]
27059         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27060         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27061         -z nodlopen, -z initfirst and -z execstack support.
27062         * configure: Regenerated.
27063
27064         * elf/elf.h (DF_1_NODIRECT): New macro.
27065         (DF_1_IGNMULDEF): Likewise.
27066         (DF_1_NOKSYMS): Likewise.
27067         (DF_1_NOHDR): Likewise.
27068         (DF_1_EDITED): Likewise.
27069         (DF_1_NORELOC): Likewise.
27070         (DF_1_SYMINTPOSE): Likewise.
27071         (DF_1_GLOBAUDIT): Likewise.
27072         (DF_1_SINGLETON): Likewise.
27073         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27074         DT_1_SUPPORTED_MASK bits.
27075         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27076
27077 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27078
27079         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27080
27081 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27082
27083         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27084         macro.
27085
27086         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27087         (sendmmsg): Move declarations...
27088         * socket/sys/socket.h: ... here.
27089         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27090         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27091         include it from...
27092         * socket/recvmmsg.c: ... this new file.
27093         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27094         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27095         definition of __sendmmsg hidden.
27096         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27097         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27098         Move ENOSYS stub into and include it from...
27099         * socket/sendmmsg.c: ... this new file.
27100         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27101         (sysdep_routines): Move recvmmsg and sendmmsg...
27102         * socket/Makefile (routines): ... here.
27103         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27104         (GLIBC_PRIVATE): Add __sendmmsg.
27105         * include/sys/socket.h (__sendmmsg): Add declarations.
27106         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27107         sendmmsg.
27108
27109 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27110
27111         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27112         variable I1 with __attribute__ ((unused)).
27113         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27114
27115 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27116
27117         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27118         DUMMY variables with __attribute__ ((unused)).
27119
27120         * bits/byteswap.h: Include <bits/types.h>.
27121         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27122
27123 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27124
27125         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27126         string_t.  Do not manually set errno.
27127         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27128         length with __strnlen.  Make sure to both set errno and return it on
27129         failure.
27130
27131 2012-11-19  David S. Miller  <davem@davemloft.net>
27132
27133         With help from Joseph Myers.
27134         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27135         very large arguments properly.
27136         * math/libm-test.inc (atan_test): New tests.
27137         (atan2_test): New tests.
27138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27140
27141 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27142
27143         [BZ #14856]
27144         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27145         Define to 3.
27146
27147         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27148         [POSIX] (EADDRNOTAVAIL): Likewise.
27149         [POSIX] (EAFNOSUPPORT): Likewise.
27150         [POSIX] (EALREADY): Likewise.
27151         [POSIX] (ECONNABORTED): Likewise.
27152         [POSIX] (ECONNREFUSED): Likewise.
27153         [POSIX] (ECONNRESET): Likewise.
27154         [POSIX] (EDESTADDRREQ): Likewise.
27155         [POSIX] (EDQUOT): Likewise.
27156         [POSIX] (EHOSTUNREACH): Likewise.
27157         [POSIX] (EIDRM): Likewise.
27158         [POSIX] (EISCONN): Likewise.
27159         [POSIX] (ELOOP): Likewise.
27160         [POSIX] (EMULTIHOP): Likewise.
27161         [POSIX] (ENETDOWN): Likewise.
27162         [POSIX] (ENETUNREACH): Likewise.
27163         [POSIX] (ENOBUFS): Likewise.
27164         [POSIX] (ENODATA): Likewise.
27165         [POSIX] (ENOLINK): Likewise.
27166         [POSIX] (ENOMSG): Likewise.
27167         [POSIX] (ENOPROTOOPT): Likewise.
27168         [POSIX] (ENOSR): Likewise.
27169         [POSIX] (ENOSTR): Likewise.
27170         [POSIX] (ENOTCONN): Likewise.
27171         [POSIX] (ENOTSOCK): Likewise.
27172         [POSIX] (EOPNOTSUPP): Likewise.
27173         [POSIX] (EOVERFLOW): Likewise.
27174         [POSIX] (EPROTO): Likewise.
27175         [POSIX] (EPROTONOSUPPORT): Likewise.
27176         [POSIX] (EPROTOTYPE): Likewise.
27177         [POSIX] (ESTALE): Likewise.
27178         [POSIX] (ETIME): Likewise.
27179         [POSIX] (ETXTBSY): Likewise.
27180         [POSIX] (EWOULDBLOCK): Likewise.
27181         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27182         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27183         [POSIX] (SEEK_CUR): Likewise.
27184         [POSIX] (SEEK_END): Likewise.
27185         [POSIX || UNIX98] (mode_t): Do not require.
27186         [POSIX] (off_t): Likewise.
27187         [POSIX] (pid_t): Likewise.
27188         [POSIX] (sys/stat.h): Do not allow header.
27189         [POSIX] (unistd.h): Likewise.
27190         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27191         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27192         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27193         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27194         require.
27195         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27196         sigevent): Specify elements.
27197         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27198         entry.
27199         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27200         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27201
27202         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27203         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27204         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27205         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27206         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27207         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27208         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27209         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27210         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27211         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27212         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27213         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27214         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27215         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27216         Likewise.
27217         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27218         Likewise.
27219         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27220         Likewise.
27221         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27222         Likewise.
27223         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27224         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27225         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27226         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27227         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27228         Specify lower bound on value.
27229         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27230         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27231         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27232         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27233         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27234         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27235         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27236         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27237         value.
27238         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27239         as optional.
27240         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27241         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27242         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27243         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27244         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27245         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27246         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27247         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27248         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27249         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27250         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27251         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27252         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27253         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27254         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27255         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27256         entry.
27257         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27258         optional.
27259         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27260         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27261         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27262         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27263         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27264         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27265         Likewise.
27266         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27267         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27268         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27269         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27270         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27271         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27272         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27273         as optional.
27274         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27275         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27276         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27277         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27278         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27279         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27280         specify as optional.
27281         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27282         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27283         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27284         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27285         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27286         [XPG3] (NL_LANGMAX): Likewise.
27287         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27288         [POSIX || XPG3] (NL_NMAX): Likewise.
27289         [POSIX || XPG3] (NL_SETMAX): Likewise.
27290         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27291         [XPG3] (NZERO): Likewise.
27292         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27293         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27294         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27295         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27296         (REG_ERANGE): Expect.
27297         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27298         optional-constant.
27299         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27300         Use (void) in prototype.
27301         [POSIX] (*_t): Allow.
27302         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27303         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27304         (WRDE_BADVAL): Expect.
27305
27306         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27307         expect.
27308         [XPG3 || XPG4] (O_RSYNC): Likewise.
27309         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27310         Likewise.
27311         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27312         [XPG3 || XPG4] (sigqueue): Likewise.
27313         [XPG3 || XPG4] (sigtimedwait): Likewise.
27314         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27315         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27316         [XPG3 || XPG4] (vsnprintf): Likewise.
27317         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27318         Likewise.
27319         [XPG3 || XPG4] (blksize_t): Likewise.
27320         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27321         Likewise.
27322         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27323         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27324         [XPG3 || XPG4] (struct itimerspec): Likewise.
27325         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27326         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27327         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27328         [XPG3 || XPG4] (clockid_t): Likewise.
27329         [XPG3 || XPG4] (timer_t): Likewise.
27330         [XPG3 || XPG4] (clock_getres): Likewise.
27331         [XPG3 || XPG4] (clock_gettime): Likewise.
27332         [XPG3 || XPG4] (clock_settime): Likewise.
27333         [XPG3 || XPG4] (nanosleep): Likewise.
27334         [XPG3 || XPG4] (timer_create): Likewise.
27335         [XPG3 || XPG4] (timer_delete): Likewise.
27336         [XPG3 || XPG4] (timer_gettime): Likewise.
27337         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27338         [XPG3 || XPG4] (timer_settime): Likewise.
27339         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27340         [XPG3 || XPG4] (getlogin_r): Likewise.
27341         [XPG3 || XPG4] (pread): Likewise.
27342         [XPG3 || XPG4] (pthread_atfork): Likewise.
27343         [XPG3 || XPG4] (pwrite): Likewise.
27344
27345         [BZ #14835]
27346         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27347         <bits/siginfo.h>.
27348
27349 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27350
27351         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27352         finalizing MALLSTREAM.
27353
27354         * sysdeps/mach/hurd/syncfs.c: New file.
27355
27356 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27357
27358         [BZ #14719]
27359         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27360         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27361         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27362         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27363         (_nss_dns_gethostbyname4_r): Likewise.
27364         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27365         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27366
27367 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27368
27369         [BZ #13763]
27370         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27371
27372 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27373
27374         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27375         * elf/cache.c (print_entry): Print ",AArch64" for
27376         FLAG_AARCH64_LIB64
27377
27378         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27379         * elf/cache.c (print_entry): Print ",hard-float" for
27380         FLAG_ARM_LIBHF.
27381
27382 2012-11-18  David S. Miller  <davem@davemloft.net>
27383
27384         With help from Joseph Myers.
27385         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27386         cutoff to 2**-13.
27387         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27388         cutoff to 2**-25.
27389         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27390         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27391         small.
27392         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27393         * math/libm-test.inc (y0_test): New tests.
27394         (y1_test): New tests.
27395         * sysdeps/i386/fpu/libm-test-ulps: Update.
27396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27398
27399 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27400
27401         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27402         64-bit targets.
27403         * configure: Regenerated.
27404
27405 2012-11-17  David S. Miller  <davem@davemloft.net>
27406
27407         [BZ #14811]
27408         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27409         nonzero exponents with absolute value below 0x1p-128 to +/-
27410         0x1p-128.
27411
27412 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27413
27414         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27415
27416         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27417
27418         * posix/getconf-speclist.c: New file.
27419         * posix/posix-envs.def: Likewise.
27420         * posix/confstr.c (START_ENV_GROUP): New macro.
27421         (END_ENV_GROUP): Likewise.
27422         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27423         (KNOWN_PRESENT_ENV_STRING): Likewise.
27424         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27425         (UNKNOWN_ENVIRONMENT): Likewise.
27426         (confstr): Include posix-envs.def instead of handling
27427         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27428         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27429         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27430         (END_ENV_GROUP): Likewise.
27431         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27432         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27433         (UNKNOWN_ENVIRONMENT): Likewise.
27434         (__sysconf): Include posix-envs.def instead of handling associated
27435         cases directly here.
27436         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27437         preprocessing getconf-speclist.c rather than running getconf or
27438         generating empty file.
27439
27440 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27441
27442         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27443
27444 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27445
27446         [BZ #14672]
27447         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27448
27449 2012-11-16  David S. Miller  <davem@davemloft.net>
27450
27451         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27452         smaller than LDBL_EPSILON/2.0L, just return xm1.
27453
27454 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27455
27456         * elf/tst-array1.c (init): Set constructor priority to 1000.
27457         (fini): Set destructor priority to 1000.
27458         * elf/tst-array2dep.c: Likewise.
27459
27460 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27461
27462         [BZ #11741]
27463         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27464         (_IO_new_file_xsputn): Also return EOF if none of the input
27465         data was written when overflow failed.
27466         * libio/iopadn.c (_IO_padn): Likewise.
27467         * libio/iowpadn.c (_IO_wpadn): Likewise.
27468         * stdio-common/tst-put-error.c: Add copyright notice.
27469         (do_test): Add case for printing padded string.
27470         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27471         _IO_padn returned error.
27472         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27473         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27474         return EOF.
27475
27476 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27477
27478         * libio/libioP.h: Add comment note that the references to C++
27479         bits are now obsolete.
27480
27481 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27482
27483         * math/libm-test.inc (check_complex): Use asprintf.
27484
27485 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27486
27487         * debug/pcprofiledump.c (print_version): Update copyright year.
27488         * malloc/memusagestat.c (print_version): Likewise.
27489
27490 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27491
27492         [BZ #14831]
27493         * elf/Makefile (tests): Add tst-audit8.
27494         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27495         ($(objpfx)tst-audit8.out): New target.
27496         (tst-audit8-ENV): New variable.
27497         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27498         audit if l_reloc_result is NULL.
27499         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27500         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27501         * elf/tst-audit8.c: New file.
27502
27503 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27504
27505         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27506         * misc/Makefile (CFLAGS-select.c): Define.
27507         * posix/Makefile (CFLAGS-pause.c): Define.
27508
27509 2012-11-13  David S. Miller  <davem@davemloft.net>
27510
27511         * crypt/Makefile: Move test targets after toplevel Rules
27512         inclusion.  Grab any necessary sysdep routines when linking.
27513         * crypt/md5.c (md5_process_block): Remove define, we will always
27514         name it __md5_process_block.
27515         (md5_finish_ctx): Update md5_process_block call.
27516         (md5_stream): Likewise.
27517         (md5_process_bytes): Likewise.
27518         (md5_process_block): Rename to __md5_process_block and move to ...
27519         * crypt/md5-block.c: ... here.
27520         * crypt/sha256.c (sha256_process_block): Move to ...
27521         * crypt/sha256-block.c: ... here.
27522         * crypt/sha512.c (sha512_process_block): Move to ...
27523         * crypt/sha512-block.c: ... here.
27524         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27525         path.
27526         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27527         * sysdeps/sparc/sparc64/multiarch/Makefile
27528         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27529         crypt subdir.
27530         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27531         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27532         multiarch changes.
27533         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27534         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27535         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27536         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27537         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27538         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27539         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27540         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27541         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27542         file.
27543         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27544         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27545         file.
27546         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27547
27548 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27549
27550         * timezone/tzselect.ksh: Update from tzcode git revision
27551         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27552         * timezone/zdump.c: Likewise.
27553         * timezone/zic.c: Likewise.
27554         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27555         in TZVERSION setting, not $(PKGVERSION).
27556         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27557         REPORT_BUGS_TO settings.
27558
27559         [BZ #14838]
27560         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27561         macro.
27562
27563 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27564
27565         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27566         detection to immediately after _FP_ROUND().
27567         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27568         bits are 0.
27569
27570 2012-11-11  David S. Miller  <davem@davemloft.net>
27571
27572         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27573         inttypes.h
27574         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27575         __close rather than their public counterparts.
27576
27577 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27578
27579         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27580         file.
27581         [UNIX98] (sem_timedwait): Do not expect.
27582         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27583         [XPG4 || UNIX98] (sockatmark): Do not expect.
27584         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27585         (clock_getcpuclockid): Do not expect.
27586         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27587         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27588         Do not expect.
27589         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27590         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27591         [UNIX98] (vwscanf): Likewise.
27592         [UNIX98] (vswscanf): Likewise.
27593
27594 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27595
27596         * timezone/version.h: Remove file.
27597         * timezone/README: Do not refer to version.h.
27598         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27599         $(objpfx)version.h.
27600         ($(objpfx)zdump.o): Likewise.
27601         ($(objpfx)version.h): New target.
27602
27603         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27604         2012i.
27605         * timezone/README: Don't mention modification to tzselect.ksh.
27606         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27607         work on unmodified tzselect.ksh.  Substitute version numbers in
27608         tzselect.ksh.
27609
27610         * Makefile (format-me): Remove.
27611         (INSTALL): Adjust indentation.  Use commands directly instead of
27612         using $(format-me).
27613
27614         * aclocal.m4 (ACX_PKGVERSION): New macro.
27615         (ACX_BUGURL): Likewise.
27616         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27617         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27618         (REPORT_BUGS_TO): Likewise.
27619         * configure: Regenerated.
27620         * config.h.in (PKGVERSION): New macro.
27621         (REPORT_BUGS_TO): Likewise.
27622         * config.make.in (PKGVERSION): New variable.
27623         (PKGVERSION_TEXI): Likewise.
27624         (REPORT_BUGS_TO): Likewise.
27625         (REPORT_BUGS_TEXI): Likewise.
27626         * Makefile (format-me): Use -I$(common-objpfx)manual.
27627         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27628         ($(common-objpfx)manual/%): New target.
27629         (manual/%): Remove target.
27630         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27631         (print_version): Use PKGVERSION.
27632         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27633         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27634         and REPORT_BUGS_TO.
27635         ($(objpfx)xtrace): Likewise.
27636         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27637         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27638         (print_version): Use PKGVERSION.
27639         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27640         (do_version): Use PKGVERSION.
27641         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27642         REPORT_BUGS_TO.
27643         (common-ldd-rewrite): Likewise.
27644         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27645         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27646         (print_version): Use PKGVERSION.
27647         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27648         * elf/pldd.c (argp_program_bug_address): Remove variable.
27649         (more_help): New function.
27650         (argp): Use more_help.
27651         (print_version): Use PKGVERSION.
27652         * elf/sln.c (main): Use PKGVERSION.
27653         (usage): Use REPORT_BUGS_TO.
27654         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27655         (top level): Use PKGVERSION.
27656         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27657         (print_version): Use PKGVERSION.
27658         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27659         (print_version): Use PKGVERSION.
27660         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27661         (print_version): Use PKGVERSION.
27662         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27663         (print_version): Use PKGVERSION.
27664         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27665         (print_version): Use PKGVERSION.
27666         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27667         (print_version): Use PKGVERSION.
27668         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27669         and BUGURL.
27670         ($(objpfx)memusage): Likewise.
27671         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27672         (do_version): Use PKGVERSION.
27673         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27674         (print_version): Use PKGVERSION.
27675         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27676         ($PKGVERSION): New variable.
27677         ($REPORT_BUGS_TO): Likewise.
27678         (usage): Use $REPORT_BUGS_TO.
27679         (top level): Use $PKGVERSION.
27680         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27681         ($(objpfx)pkgvers.texi): New rule.
27682         ($(objpfx)stamp-pkgvers): Likewise.
27683         * manual/install.texi: Include pkgvers.texi.
27684         (--with-pkgversion): Document new configure option.
27685         (--with-bugurl): Likewise.
27686         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27687         than necessarily for this particular distribution.  Use
27688         REPORT_BUGS_TO for where to report bugs.
27689         * INSTALL: Regenerated.
27690         * manual/libc.texinfo: Include pkgvers.texi.
27691         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27692         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27693         (print_version): Use PKGVERSION.
27694         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27695         (print_version): Use PKGVERSION.
27696         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27697         (print_version): Use PKGVERSION.
27698         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27699         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27700         macro.
27701         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27702         (print_version): Use PKGVERSION.
27703         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27704         (print_version): Use PKGVERSION.
27705         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27706         and PKGVERSION.
27707
27708         * timezone/checktab.awk: Update from tzcode 2012i.
27709         * timezone/ialloc.c: Likewise.
27710         * timezone/private.h: Likewise.
27711         * timezone/scheck.c: Likewise.
27712         * timezone/tzfile.h: Likewise.
27713         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27714         (TZVERSION): Hardcode tzcode version number.
27715         * timezone/zdump.c: Update from tzcode 2012i.
27716         * timezone/zic.c: Likewise.
27717         * timezone/version.h: New file.
27718         * timezone/README: Describe version.h.  Update upstream location.
27719
27720         [BZ #14824]
27721         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27722         (mktemp): Enable declaration.
27723         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27724         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27725         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27726         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27727         Likewise.
27728         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27729         Likewise.
27730         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27731         Likewise.
27732         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27733         Likewise.
27734         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27735         Likewise.
27736         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27737         Likewise.
27738
27739         [BZ #14821]
27740         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27741         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27742         for copies of such integer values.
27743         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27744         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27745
27746 2012-11-09  Andreas Jaeger  <aj@suse.de>
27747
27748         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27749         definitions and declarations that are provided by
27750         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27751
27752 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27753
27754         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27755         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27756         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27757         definition.
27758
27759 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27760
27761         * elf/elf.h: Update comment before AArch64 relocations.
27762
27763 2012-11-07  David S. Miller  <davem@davemloft.net>
27764
27765         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27766         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27767         (__start_context): Declare.
27768         (__makecontext_ret): Delete.
27769         (__makecontext): Hook up __start_context instead of
27770         __makecontext_ret.
27771         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27772         (sysdep_routines): Add __start_context when in stdlib.
27773
27774 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27775
27776         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27777         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27778         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27779         hardcoded "nm".
27780         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27781         (READELF): New variable.  Use it instead of hardcoded "readelf".
27782
27783 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27784
27785         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27786         * sysdeps/x86/Makefile: Here.
27787         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27788         * sysdeps/x86/tst-xmmymm.sh: This.
27789
27790 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27791
27792         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27793         expectations.
27794         [UNIX98] (pthread_barrier_t): Do not expect.
27795         [UNIX98] (pthread_barrierattr_t): Likewise.
27796         [UNIX98] (pthread_spinlock_t): Likewise.
27797         [UNIX98] (pthread_barrier_destroy): Likewise.
27798         [UNIX98] (pthread_barrier_init): Likewise.
27799         [UNIX98] (pthread_barrier_wait): Likewise.
27800         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27801         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27802         [UNIX98] (pthread_barrierattr_init): Likewise.
27803         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27804         [UNIX98] (pthread_getcpuclockid): Likewise.
27805         [UNIX98] (pthread_mutex_timedlock): Likewise.
27806         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27807         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27808         [UNIX98] (pthread_sigmask): Likewise.
27809         [UNIX98] (pthread_spin_destroy): Likewise.
27810         [UNIX98] (pthread_spin_init): Likewise.
27811         [UNIX98] (pthread_spin_lock): Likewise.
27812         [UNIX98] (pthread_spin_trylock): Likewise.
27813         [UNIX98] (pthread_spin_unlock): Likewise.
27814         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27815         Do not expect.
27816         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27817         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27818         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27819         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27820         [XPG3 || XPG4] (pthread_key_t): Likewise.
27821         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27822         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27823         [XPG3 || XPG4] (pthread_once_t): Likewise.
27824         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27825         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27826         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27827         [XPG3 || XPG4] (pthread_t): Likewise.
27828
27829         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27830         not expect.
27831         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27832
27833         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27834         Change function return type to int.
27835
27836         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27837         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27838         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27839         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27840         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27841         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27842         [!POSIX] (posix_madvise): Likewise.
27843         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27844         && !UNIX98].
27845         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27846         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27847         (mode_t): Likewise.
27848         (posix_mem_offset): Likewise.
27849         (posix_typed_mem_get_info): Likewise.
27850         (posix_typed_mem_open): Likewise.
27851
27852         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27853         Change condition to [XOPEN2K8].
27854
27855         * conform/conformtest.pl: Preprocess allow-header data with -x c
27856         instead of from stdin.
27857         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27858         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27859         [C99-based standards] (cerfc): Likewise.
27860         [C99-based standards] (cexp2): Likewise.
27861         [C99-based standards] (cexpm1): Likewise.
27862         [C99-based standards] (clog10): Likewise.
27863         [C99-based standards] (clog1p): Likewise.
27864         [C99-based standards] (clog2): Likewise.
27865         [C99-based standards] (clgamma): Likewise.
27866         [C99-based standards] (ctgamma): Likewise.
27867         [C99-based standards] (cerff): Likewise.
27868         [C99-based standards] (cerfcf): Likewise.
27869         [C99-based standards] (cexp2f): Likewise.
27870         [C99-based standards] (cexpm1f): Likewise.
27871         [C99-based standards] (clog10f): Likewise.
27872         [C99-based standards] (clog1pf): Likewise.
27873         [C99-based standards] (clog2f): Likewise.
27874         [C99-based standards] (clgammaf): Likewise.
27875         [C99-based standards] (ctgammaf): Likewise.
27876         [C99-based standards] (cerfl): Likewise.
27877         [C99-based standards] (cerfcl): Likewise.
27878         [C99-based standards] (cexp2l): Likewise.
27879         [C99-based standards] (cexpm1l): Likewise.
27880         [C99-based standards] (clog10l): Likewise.
27881         [C99-based standards] (clog1pl): Likewise.
27882         [C99-based standards] (clog2l): Likewise.
27883         [C99-based standards] (clgammal): Likewise.
27884         [C99-based standards] (ctgammal): Likewise.
27885         * conform/data/inttypes.h-data [C99-based standards]: Include
27886         stdint.h-data.  Remove all expectations for stdint.h contents.
27887         [C99-based standards] (PRI*): Do not allow.
27888         [C99-based standards] (SCN*): Likewise.
27889         [C99-based standards] (*_t): Likewise.
27890         [C99-based-standards] (PRId8): Expect macro.
27891         [C99-based-standards] (PRIi8): Likewise.
27892         [C99-based-standards] (PRIo8): Likewise.
27893         [C99-based-standards] (PRIu8): Likewise.
27894         [C99-based-standards] (PRIx8): Likewise.
27895         [C99-based-standards] (PRIX8): Likewise.
27896         [C99-based-standards] (SCNd8): Likewise.
27897         [C99-based-standards] (SCNi8): Likewise.
27898         [C99-based-standards] (SCNo8): Likewise.
27899         [C99-based-standards] (SCNu8): Likewise.
27900         [C99-based-standards] (SCNx8): Likewise.
27901         [C99-based-standards] (PRIdLEAST8): Likewise.
27902         [C99-based-standards] (PRIiLEAST8): Likewise.
27903         [C99-based-standards] (PRIoLEAST8): Likewise.
27904         [C99-based-standards] (PRIuLEAST8): Likewise.
27905         [C99-based-standards] (PRIxLEAST8): Likewise.
27906         [C99-based-standards] (PRIXLEAST8): Likewise.
27907         [C99-based-standards] (SCNdLEAST8): Likewise.
27908         [C99-based-standards] (SCNiLEAST8): Likewise.
27909         [C99-based-standards] (SCNoLEAST8): Likewise.
27910         [C99-based-standards] (SCNuLEAST8): Likewise.
27911         [C99-based-standards] (SCNxLEAST8): Likewise.
27912         [C99-based-standards] (PRIdFAST8): Likewise.
27913         [C99-based-standards] (PRIiFAST8): Likewise.
27914         [C99-based-standards] (PRIoFAST8): Likewise.
27915         [C99-based-standards] (PRIuFAST8): Likewise.
27916         [C99-based-standards] (PRIxFAST8): Likewise.
27917         [C99-based-standards] (PRIXFAST8): Likewise.
27918         [C99-based-standards] (SCNdFAST8): Likewise.
27919         [C99-based-standards] (SCNiFAST8): Likewise.
27920         [C99-based-standards] (SCNoFAST8): Likewise.
27921         [C99-based-standards] (SCNuFAST8): Likewise.
27922         [C99-based-standards] (SCNxFAST8): Likewise.
27923         [C99-based-standards] (PRId16): Likewise.
27924         [C99-based-standards] (PRIi16): Likewise.
27925         [C99-based-standards] (PRIo16): Likewise.
27926         [C99-based-standards] (PRIu16): Likewise.
27927         [C99-based-standards] (PRIx16): Likewise.
27928         [C99-based-standards] (PRIX16): Likewise.
27929         [C99-based-standards] (SCNd16): Likewise.
27930         [C99-based-standards] (SCNi16): Likewise.
27931         [C99-based-standards] (SCNo16): Likewise.
27932         [C99-based-standards] (SCNu16): Likewise.
27933         [C99-based-standards] (SCNx16): Likewise.
27934         [C99-based-standards] (PRIdLEAST16): Likewise.
27935         [C99-based-standards] (PRIiLEAST16): Likewise.
27936         [C99-based-standards] (PRIoLEAST16): Likewise.
27937         [C99-based-standards] (PRIuLEAST16): Likewise.
27938         [C99-based-standards] (PRIxLEAST16): Likewise.
27939         [C99-based-standards] (PRIXLEAST16): Likewise.
27940         [C99-based-standards] (SCNdLEAST16): Likewise.
27941         [C99-based-standards] (SCNiLEAST16): Likewise.
27942         [C99-based-standards] (SCNoLEAST16): Likewise.
27943         [C99-based-standards] (SCNuLEAST16): Likewise.
27944         [C99-based-standards] (SCNxLEAST16): Likewise.
27945         [C99-based-standards] (PRIdFAST16): Likewise.
27946         [C99-based-standards] (PRIiFAST16): Likewise.
27947         [C99-based-standards] (PRIoFAST16): Likewise.
27948         [C99-based-standards] (PRIuFAST16): Likewise.
27949         [C99-based-standards] (PRIxFAST16): Likewise.
27950         [C99-based-standards] (PRIXFAST16): Likewise.
27951         [C99-based-standards] (SCNdFAST16): Likewise.
27952         [C99-based-standards] (SCNiFAST16): Likewise.
27953         [C99-based-standards] (SCNoFAST16): Likewise.
27954         [C99-based-standards] (SCNuFAST16): Likewise.
27955         [C99-based-standards] (SCNxFAST16): Likewise.
27956         [C99-based-standards] (PRId32): Likewise.
27957         [C99-based-standards] (PRIi32): Likewise.
27958         [C99-based-standards] (PRIo32): Likewise.
27959         [C99-based-standards] (PRIu32): Likewise.
27960         [C99-based-standards] (PRIx32): Likewise.
27961         [C99-based-standards] (PRIX32): Likewise.
27962         [C99-based-standards] (SCNd32): Likewise.
27963         [C99-based-standards] (SCNi32): Likewise.
27964         [C99-based-standards] (SCNo32): Likewise.
27965         [C99-based-standards] (SCNu32): Likewise.
27966         [C99-based-standards] (SCNx32): Likewise.
27967         [C99-based-standards] (PRIdLEAST32): Likewise.
27968         [C99-based-standards] (PRIiLEAST32): Likewise.
27969         [C99-based-standards] (PRIoLEAST32): Likewise.
27970         [C99-based-standards] (PRIuLEAST32): Likewise.
27971         [C99-based-standards] (PRIxLEAST32): Likewise.
27972         [C99-based-standards] (PRIXLEAST32): Likewise.
27973         [C99-based-standards] (SCNdLEAST32): Likewise.
27974         [C99-based-standards] (SCNiLEAST32): Likewise.
27975         [C99-based-standards] (SCNoLEAST32): Likewise.
27976         [C99-based-standards] (SCNuLEAST32): Likewise.
27977         [C99-based-standards] (SCNxLEAST32): Likewise.
27978         [C99-based-standards] (PRIdFAST32): Likewise.
27979         [C99-based-standards] (PRIiFAST32): Likewise.
27980         [C99-based-standards] (PRIoFAST32): Likewise.
27981         [C99-based-standards] (PRIuFAST32): Likewise.
27982         [C99-based-standards] (PRIxFAST32): Likewise.
27983         [C99-based-standards] (PRIXFAST32): Likewise.
27984         [C99-based-standards] (SCNdFAST32): Likewise.
27985         [C99-based-standards] (SCNiFAST32): Likewise.
27986         [C99-based-standards] (SCNoFAST32): Likewise.
27987         [C99-based-standards] (SCNuFAST32): Likewise.
27988         [C99-based-standards] (SCNxFAST32): Likewise.
27989         [C99-based-standards] (PRId64): Likewise.
27990         [C99-based-standards] (PRIi64): Likewise.
27991         [C99-based-standards] (PRIo64): Likewise.
27992         [C99-based-standards] (PRIu64): Likewise.
27993         [C99-based-standards] (PRIx64): Likewise.
27994         [C99-based-standards] (PRIX64): Likewise.
27995         [C99-based-standards] (SCNd64): Likewise.
27996         [C99-based-standards] (SCNi64): Likewise.
27997         [C99-based-standards] (SCNo64): Likewise.
27998         [C99-based-standards] (SCNu64): Likewise.
27999         [C99-based-standards] (SCNx64): Likewise.
28000         [C99-based-standards] (PRIdLEAST64): Likewise.
28001         [C99-based-standards] (PRIiLEAST64): Likewise.
28002         [C99-based-standards] (PRIoLEAST64): Likewise.
28003         [C99-based-standards] (PRIuLEAST64): Likewise.
28004         [C99-based-standards] (PRIxLEAST64): Likewise.
28005         [C99-based-standards] (PRIXLEAST64): Likewise.
28006         [C99-based-standards] (SCNdLEAST64): Likewise.
28007         [C99-based-standards] (SCNiLEAST64): Likewise.
28008         [C99-based-standards] (SCNoLEAST64): Likewise.
28009         [C99-based-standards] (SCNuLEAST64): Likewise.
28010         [C99-based-standards] (SCNxLEAST64): Likewise.
28011         [C99-based-standards] (PRIdFAST64): Likewise.
28012         [C99-based-standards] (PRIiFAST64): Likewise.
28013         [C99-based-standards] (PRIoFAST64): Likewise.
28014         [C99-based-standards] (PRIuFAST64): Likewise.
28015         [C99-based-standards] (PRIxFAST64): Likewise.
28016         [C99-based-standards] (PRIXFAST64): Likewise.
28017         [C99-based-standards] (SCNdFAST64): Likewise.
28018         [C99-based-standards] (SCNiFAST64): Likewise.
28019         [C99-based-standards] (SCNoFAST64): Likewise.
28020         [C99-based-standards] (SCNuFAST64): Likewise.
28021         [C99-based-standards] (SCNxFAST64): Likewise.
28022         [C99-based-standards] (PRIdMAX): Likewise.
28023         [C99-based-standards] (PRIiMAX): Likewise.
28024         [C99-based-standards] (PRIoMAX): Likewise.
28025         [C99-based-standards] (PRIuMAX): Likewise.
28026         [C99-based-standards] (PRIxMAX): Likewise.
28027         [C99-based-standards] (PRIXMAX): Likewise.
28028         [C99-based-standards] (SCNdMAX): Likewise.
28029         [C99-based-standards] (SCNiMAX): Likewise.
28030         [C99-based-standards] (SCNoMAX): Likewise.
28031         [C99-based-standards] (SCNuMAX): Likewise.
28032         [C99-based-standards] (SCNxMAX): Likewise.
28033         [C99-based-standards] (PRIdPTR): Likewise.
28034         [C99-based-standards] (PRIiPTR): Likewise.
28035         [C99-based-standards] (PRIoPTR): Likewise.
28036         [C99-based-standards] (PRIuPTR): Likewise.
28037         [C99-based-standards] (PRIxPTR): Likewise.
28038         [C99-based-standards] (PRIXPTR): Likewise.
28039         [C99-based-standards] (SCNdPTR): Likewise.
28040         [C99-based-standards] (SCNiPTR): Likewise.
28041         [C99-based-standards] (SCNoPTR): Likewise.
28042         [C99-based-standards] (SCNuPTR): Likewise.
28043         [C99-based-standards] (SCNxPTR): Likewise.
28044         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28045         allow.
28046         * conform/data/stdint.h-data: Update comments to clarify
28047         requirements.
28048         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28049         type.
28050         [C99-based standards] (INT8_MAX): Likewise.
28051         [C99-based standards] (INT16_MIN): Likewise.
28052         [C99-based standards] (INT16_MAX): Likewise.
28053         [C99-based standards] (INT32_MIN): Likewise.
28054         [C99-based standards] (INT32_MAX): Likewise.
28055         [C99-based standards] (INT64_MIN): Likewise.
28056         [C99-based standards] (INT64_MAX): Likewise.
28057         [C99-based standards] (UINT8_MAX): Likewise.
28058         [C99-based standards] (UINT16_MAX): Likewise.
28059         [C99-based standards] (UINT32_MAX): Likewise.
28060         [C99-based standards] (UINT64_MAX): Likewise.
28061         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28062         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28063         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28064         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28065         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28066         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28067         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28068         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28069         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28070         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28071         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28072         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28073         [C99-based standards] (INT_FAST8_MIN): Likewise.
28074         [C99-based standards] (INT_FAST8_MAX): Likewise.
28075         [C99-based standards] (INT_FAST16_MIN): Likewise.
28076         [C99-based standards] (INT_FAST16_MAX): Likewise.
28077         [C99-based standards] (INT_FAST32_MIN): Likewise.
28078         [C99-based standards] (INT_FAST32_MAX): Likewise.
28079         [C99-based standards] (INT_FAST64_MIN): Likewise.
28080         [C99-based standards] (INT_FAST64_MAX): Likewise.
28081         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28082         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28083         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28084         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28085         [C99-based standards] (INTPTR_MIN): Likewise.
28086         [C99-based standards] (INTPTR_MAX): Likewise.
28087         [C99-based standards] (UINTPTR_MAX): Likewise.
28088         [C99-based standards] (INTMAX_MIN): Likewise.
28089         [C99-based standards] (INTMAX_MAX): Likewise.
28090         [C99-based standards] (UINTMAX_MAX): Likewise.
28091         [C99-based standards] (PTRDIFF_MIN): Likewise.
28092         [C99-based standards] (PTRDIFF_MAX): Likewise.
28093         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28094         [C99-based standards] (SIZE_MAX): Likewise.
28095         [C99-based standards] (WCHAR_MAX): Likewise.
28096         [C99-based standards] (WINT_MAX): Likewise.
28097         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28098         constraint on value.
28099         [C99-based standards] (WCHAR_MIN): Likewise.
28100         [C99-based standards] (WINT_MIN): Likewise.
28101         [C99-based standards] (*_t): Allow.
28102         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28103         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28104         Include math.h-data and complex.h-data.  Remove all expectations
28105         of math.h and complex.h contents.
28106         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28107         at end of line.
28108         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28109         (struct tm): Expect tag.
28110         [C99-based-standards] (wcstof): Expect function.
28111         [C99-based-standards] (wcstold): Likewise.
28112         [C99-based-standards] (wcstoll): Likewise.
28113         [C99-based-standards] (wcstoull): Likewise.
28114         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28115         macro-int-constant.  Specify type.
28116         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28117         constraint on value.
28118         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28119         Specify type.
28120         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28121         Specify value.
28122         [ISO C standards]: Do not allow headers.
28123         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28124         wcs[abcdefghijklmnopqrstuvwxyz]*.
28125         [ISO C standards] (*_t): Do not allow.
28126         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28127         Expect function.
28128         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28129         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28130         Specify type.
28131         [ISO C standards]: Do not allow headers.
28132         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28133         is[abcdefghijklmnopqrstuvwxyz]*.
28134         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28135         to[abcdefghijklmnopqrstuvwxyz]*.
28136         [ISO C standards] (*_t): Do not allow.
28137         * conform/data/stdalign.h-data: New file.
28138         * conform/data/stdbool.h-data: Likewise.
28139         * conform/data/stdnoreturn.h-data: Likewise.
28140
28141 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28142
28143         [BZ #14815]
28144         * manual/filesys.texi (Directory Entries): Typo fix.
28145         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28146
28147 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28148
28149         * elf/elf.h (EM_AARCH64): New macro.
28150         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28151         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28152         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28153         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28154         (R_AARCH64_TLSDESC): Likewise.
28155         (NT_ARM_TLS): Likewise.
28156         (NT_ARM_HW_BREAK): Likewise.
28157         (NT_ARM_HW_WATCH): Likewise.
28158
28159 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28160
28161         [BZ #14811]
28162         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28163         (__ieee754_powl): Saturate nonzero exponents with absolute value
28164         below 0x1p-79 to +/- 0x1p-79.
28165         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28166         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28167         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28168         nonzero exponents with absolute value below 0x1p-32 to +/-
28169         0x1p-32.
28170         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28171         (__ieee754_powl): Saturate nonzero exponents with absolute value
28172         below 0x1p-79 to +/- 0x1p-79.
28173         * math/libm-test.inc (pow_test): Add more tests.
28174
28175 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28176
28177         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28178         _dl_s390_cap_flags with kernel. Increase string length.
28179         (_dl_s390_platforms): Add z196 and zEC12.
28180
28181 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28182
28183         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28184         Change XOPEN21K to XOPEN2K.
28185
28186 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28187
28188         * string/memmove.c: Use memcpy when possible.
28189
28190 2012-11-06  Andreas Jaeger  <aj@suse.de>
28191
28192         * po/eo.po: Update from translation team.
28193
28194 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28195
28196         [BZ #14793]
28197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28198         exponent and small x and y exponents, scale x or y up.  Increase
28199         by 2 the exponent used in scaling up.
28200         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28201         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28202         * math/libm-test.inc (fma_test): Add more tests.
28203         (fma_test_towardzero): Likewise.
28204         (fma_test_downward): Likewise.
28205         (fma_test_upward): Likewise.
28206
28207 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28208
28209         [BZ #14805]
28210         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28211         fenv_t *.
28212
28213         [BZ #14801]
28214         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28215         namespace for names of struct fields.
28216         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28217         fenv_t fields.
28218         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28219         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28220
28221 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28222
28223         [BZ #3665]
28224         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28225
28226 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28227
28228         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28229         PTR_DEMANGLE.
28230
28231         [BZ #5246]
28232         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28233         PTR_DEMANGLE.
28234
28235 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28236
28237         [BZ #14797]
28238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28239         definitely overflow as x * y not x * y + z.
28240         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28241         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28242         * math/libm-test.inc (fma_test): Add more tests.
28243         (fma_test_towardzero): Likewise.
28244         (fma_test_downward): Likewise.
28245         (fma_test_upward): Likewise.
28246
28247 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28248
28249         [BZ #157]
28250
28251         * include/stub-tag.h: Remove file.
28252         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28253         '#include' of it.
28254         * manual/maint.texi (Porting): Don't reference it.
28255         * Makerules ($(objpfx)stubs): Likewise.
28256         * dirent/closedir.c: Don't include <stub-tag.h>.
28257         * dirent/dirfd.c: Likewise.
28258         * dirent/fdopendir.c: Likewise.
28259         * dirent/getdents.c: Likewise.
28260         * dirent/getdents64.c: Likewise.
28261         * dirent/opendir.c: Likewise.
28262         * dirent/readdir.c: Likewise.
28263         * dirent/readdir64.c: Likewise.
28264         * dirent/readdir64_r.c: Likewise.
28265         * dirent/readdir_r.c: Likewise.
28266         * dirent/rewinddir.c: Likewise.
28267         * dirent/seekdir.c: Likewise.
28268         * dirent/telldir.c: Likewise.
28269         * gmon/profil.c: Likewise.
28270         * grp/setgroups.c: Likewise.
28271         * inet/if_index.c: Likewise.
28272         * io/access.c: Likewise.
28273         * io/chdir.c: Likewise.
28274         * io/chmod.c: Likewise.
28275         * io/chown.c: Likewise.
28276         * io/close.c: Likewise.
28277         * io/dup.c: Likewise.
28278         * io/dup2.c: Likewise.
28279         * io/dup3.c: Likewise.
28280         * io/euidaccess.c: Likewise.
28281         * io/faccessat.c: Likewise.
28282         * io/fchdir.c: Likewise.
28283         * io/fchmod.c: Likewise.
28284         * io/fchmodat.c: Likewise.
28285         * io/fchown.c: Likewise.
28286         * io/fchownat.c: Likewise.
28287         * io/fcntl.c: Likewise.
28288         * io/flock.c: Likewise.
28289         * io/fstatfs.c: Likewise.
28290         * io/fstatfs64.c: Likewise.
28291         * io/fstatvfs.c: Likewise.
28292         * io/fstatvfs64.c: Likewise.
28293         * io/futimens.c: Likewise.
28294         * io/fxstat.c: Likewise.
28295         * io/fxstat64.c: Likewise.
28296         * io/fxstatat.c: Likewise.
28297         * io/fxstatat64.c: Likewise.
28298         * io/getcwd.c: Likewise.
28299         * io/isatty.c: Likewise.
28300         * io/lchmod.c: Likewise.
28301         * io/lchown.c: Likewise.
28302         * io/link.c: Likewise.
28303         * io/linkat.c: Likewise.
28304         * io/lseek.c: Likewise.
28305         * io/lseek64.c: Likewise.
28306         * io/lxstat64.c: Likewise.
28307         * io/mkdir.c: Likewise.
28308         * io/mkdirat.c: Likewise.
28309         * io/mkfifo.c: Likewise.
28310         * io/mkfifoat.c: Likewise.
28311         * io/open.c: Likewise.
28312         * io/open64.c: Likewise.
28313         * io/openat.c: Likewise.
28314         * io/openat64.c: Likewise.
28315         * io/pipe.c: Likewise.
28316         * io/pipe2.c: Likewise.
28317         * io/poll.c: Likewise.
28318         * io/posix_fadvise.c: Likewise.
28319         * io/posix_fadvise64.c: Likewise.
28320         * io/posix_fallocate.c: Likewise.
28321         * io/posix_fallocate64.c: Likewise.
28322         * io/read.c: Likewise.
28323         * io/readlink.c: Likewise.
28324         * io/readlinkat.c: Likewise.
28325         * io/rmdir.c: Likewise.
28326         * io/sendfile.c: Likewise.
28327         * io/sendfile64.c: Likewise.
28328         * io/statfs.c: Likewise.
28329         * io/statfs64.c: Likewise.
28330         * io/statvfs.c: Likewise.
28331         * io/statvfs64.c: Likewise.
28332         * io/symlink.c: Likewise.
28333         * io/symlinkat.c: Likewise.
28334         * io/ttyname.c: Likewise.
28335         * io/ttyname_r.c: Likewise.
28336         * io/umask.c: Likewise.
28337         * io/unlink.c: Likewise.
28338         * io/unlinkat.c: Likewise.
28339         * io/utime.c: Likewise.
28340         * io/utimensat.c: Likewise.
28341         * io/write.c: Likewise.
28342         * io/xmknod.c: Likewise.
28343         * io/xmknodat.c: Likewise.
28344         * io/xstat.c: Likewise.
28345         * io/xstat64.c: Likewise.
28346         * login/getpt.c: Likewise.
28347         * login/grantpt.c: Likewise.
28348         * login/unlockpt.c: Likewise.
28349         * math/e_acoshl.c: Likewise.
28350         * math/e_acosl.c: Likewise.
28351         * math/e_asinl.c: Likewise.
28352         * math/e_atan2l.c: Likewise.
28353         * math/e_atanhl.c: Likewise.
28354         * math/e_coshl.c: Likewise.
28355         * math/e_expl.c: Likewise.
28356         * math/e_fmodl.c: Likewise.
28357         * math/e_gammal_r.c: Likewise.
28358         * math/e_hypotl.c: Likewise.
28359         * math/e_j0l.c: Likewise.
28360         * math/e_j1l.c: Likewise.
28361         * math/e_jnl.c: Likewise.
28362         * math/e_lgammal_r.c: Likewise.
28363         * math/e_log10l.c: Likewise.
28364         * math/e_log2l.c: Likewise.
28365         * math/e_logl.c: Likewise.
28366         * math/e_powl.c: Likewise.
28367         * math/e_rem_pio2l.c: Likewise.
28368         * math/e_sinhl.c: Likewise.
28369         * math/e_sqrtl.c: Likewise.
28370         * math/fclrexcpt.c: Likewise.
28371         * math/fedisblxcpt.c: Likewise.
28372         * math/feenablxcpt.c: Likewise.
28373         * math/fegetenv.c: Likewise.
28374         * math/fegetexcept.c: Likewise.
28375         * math/fegetround.c: Likewise.
28376         * math/feholdexcpt.c: Likewise.
28377         * math/fesetenv.c: Likewise.
28378         * math/fesetround.c: Likewise.
28379         * math/feupdateenv.c: Likewise.
28380         * math/fgetexcptflg.c: Likewise.
28381         * math/fraiseexcpt.c: Likewise.
28382         * math/fsetexcptflg.c: Likewise.
28383         * math/ftestexcept.c: Likewise.
28384         * math/k_cosl.c: Likewise.
28385         * math/k_rem_pio2l.c: Likewise.
28386         * math/k_sinl.c: Likewise.
28387         * math/k_tanl.c: Likewise.
28388         * math/s_asinhl.c: Likewise.
28389         * math/s_atanl.c: Likewise.
28390         * math/s_cbrtl.c: Likewise.
28391         * math/s_erfl.c: Likewise.
28392         * math/s_expm1l.c: Likewise.
28393         * math/s_log1pl.c: Likewise.
28394         * math/s_tanhl.c: Likewise.
28395         * misc/acct.c: Likewise.
28396         * misc/brk.c: Likewise.
28397         * misc/chflags.c: Likewise.
28398         * misc/chroot.c: Likewise.
28399         * misc/fchflags.c: Likewise.
28400         * misc/fgetxattr.c: Likewise.
28401         * misc/flistxattr.c: Likewise.
28402         * misc/fremovexattr.c: Likewise.
28403         * misc/fsetxattr.c: Likewise.
28404         * misc/fsync.c: Likewise.
28405         * misc/ftruncate.c: Likewise.
28406         * misc/futimes.c: Likewise.
28407         * misc/futimesat.c: Likewise.
28408         * misc/getdomain.c: Likewise.
28409         * misc/getdtsz.c: Likewise.
28410         * misc/gethostid.c: Likewise.
28411         * misc/gethostname.c: Likewise.
28412         * misc/getloadavg.c: Likewise.
28413         * misc/getpagesize.c: Likewise.
28414         * misc/getsysstats.c: Likewise.
28415         * misc/getxattr.c: Likewise.
28416         * misc/gtty.c: Likewise.
28417         * misc/ioctl.c: Likewise.
28418         * misc/lgetxattr.c: Likewise.
28419         * misc/listxattr.c: Likewise.
28420         * misc/llistxattr.c: Likewise.
28421         * misc/lremovexattr.c: Likewise.
28422         * misc/lsetxattr.c: Likewise.
28423         * misc/lutimes.c: Likewise.
28424         * misc/madvise.c: Likewise.
28425         * misc/mincore.c: Likewise.
28426         * misc/mlock.c: Likewise.
28427         * misc/mlockall.c: Likewise.
28428         * misc/mmap.c: Likewise.
28429         * misc/mprotect.c: Likewise.
28430         * misc/msync.c: Likewise.
28431         * misc/munlock.c: Likewise.
28432         * misc/munlockall.c: Likewise.
28433         * misc/munmap.c: Likewise.
28434         * misc/preadv.c: Likewise.
28435         * misc/preadv64.c: Likewise.
28436         * misc/ptrace.c: Likewise.
28437         * misc/pwritev.c: Likewise.
28438         * misc/pwritev64.c: Likewise.
28439         * misc/readv.c: Likewise.
28440         * misc/reboot.c: Likewise.
28441         * misc/remap_file_pages.c: Likewise.
28442         * misc/removexattr.c: Likewise.
28443         * misc/revoke.c: Likewise.
28444         * misc/select.c: Likewise.
28445         * misc/setdomain.c: Likewise.
28446         * misc/setegid.c: Likewise.
28447         * misc/seteuid.c: Likewise.
28448         * misc/sethostid.c: Likewise.
28449         * misc/sethostname.c: Likewise.
28450         * misc/setregid.c: Likewise.
28451         * misc/setreuid.c: Likewise.
28452         * misc/setxattr.c: Likewise.
28453         * misc/sstk.c: Likewise.
28454         * misc/stty.c: Likewise.
28455         * misc/swapoff.c: Likewise.
28456         * misc/swapon.c: Likewise.
28457         * misc/sync.c: Likewise.
28458         * misc/syncfs.c: Likewise.
28459         * misc/syscall.c: Likewise.
28460         * misc/truncate.c: Likewise.
28461         * misc/ualarm.c: Likewise.
28462         * misc/usleep.c: Likewise.
28463         * misc/ustat.c: Likewise.
28464         * misc/utimes.c: Likewise.
28465         * misc/vhangup.c: Likewise.
28466         * misc/writev.c: Likewise.
28467         * posix/_exit.c: Likewise.
28468         * posix/alarm.c: Likewise.
28469         * posix/execve.c: Likewise.
28470         * posix/fexecve.c: Likewise.
28471         * posix/fork.c: Likewise.
28472         * posix/fpathconf.c: Likewise.
28473         * posix/getaddrinfo.c: Likewise.
28474         * posix/getegid.c: Likewise.
28475         * posix/geteuid.c: Likewise.
28476         * posix/getgid.c: Likewise.
28477         * posix/getgroups.c: Likewise.
28478         * posix/getlogin.c: Likewise.
28479         * posix/getlogin_r.c: Likewise.
28480         * posix/getpgid.c: Likewise.
28481         * posix/getpid.c: Likewise.
28482         * posix/getppid.c: Likewise.
28483         * posix/getresgid.c: Likewise.
28484         * posix/getresuid.c: Likewise.
28485         * posix/getsid.c: Likewise.
28486         * posix/getuid.c: Likewise.
28487         * posix/glob64.c: Likewise.
28488         * posix/nanosleep.c: Likewise.
28489         * posix/pathconf.c: Likewise.
28490         * posix/pause.c: Likewise.
28491         * posix/posix_madvise.c: Likewise.
28492         * posix/pread.c: Likewise.
28493         * posix/pread64.c: Likewise.
28494         * posix/pwrite.c: Likewise.
28495         * posix/pwrite64.c: Likewise.
28496         * posix/sched_getaffinity.c: Likewise.
28497         * posix/sched_getp.c: Likewise.
28498         * posix/sched_gets.c: Likewise.
28499         * posix/sched_primax.c: Likewise.
28500         * posix/sched_primin.c: Likewise.
28501         * posix/sched_rr_gi.c: Likewise.
28502         * posix/sched_setaffinity.c: Likewise.
28503         * posix/sched_setp.c: Likewise.
28504         * posix/sched_sets.c: Likewise.
28505         * posix/sched_yield.c: Likewise.
28506         * posix/setgid.c: Likewise.
28507         * posix/setlogin.c: Likewise.
28508         * posix/setpgid.c: Likewise.
28509         * posix/setresgid.c: Likewise.
28510         * posix/setresuid.c: Likewise.
28511         * posix/setsid.c: Likewise.
28512         * posix/setuid.c: Likewise.
28513         * posix/sleep.c: Likewise.
28514         * posix/spawni.c: Likewise.
28515         * posix/sysconf.c: Likewise.
28516         * posix/times.c: Likewise.
28517         * posix/wait.c: Likewise.
28518         * posix/wait3.c: Likewise.
28519         * posix/wait4.c: Likewise.
28520         * posix/waitpid.c: Likewise.
28521         * resolv/gai_sigqueue.c: Likewise.
28522         * resource/getpriority.c: Likewise.
28523         * resource/getrlimit.c: Likewise.
28524         * resource/getrusage.c: Likewise.
28525         * resource/nice.c: Likewise.
28526         * resource/setpriority.c: Likewise.
28527         * resource/setrlimit.c: Likewise.
28528         * resource/ulimit.c: Likewise.
28529         * rt/aio_cancel.c: Likewise.
28530         * rt/aio_fsync.c: Likewise.
28531         * rt/aio_read.c: Likewise.
28532         * rt/aio_sigqueue.c: Likewise.
28533         * rt/aio_suspend.c: Likewise.
28534         * rt/aio_write.c: Likewise.
28535         * rt/clock_getres.c: Likewise.
28536         * rt/clock_gettime.c: Likewise.
28537         * rt/clock_nanosleep.c: Likewise.
28538         * rt/clock_settime.c: Likewise.
28539         * rt/lio_listio.c: Likewise.
28540         * rt/mq_close.c: Likewise.
28541         * rt/mq_getattr.c: Likewise.
28542         * rt/mq_notify.c: Likewise.
28543         * rt/mq_open.c: Likewise.
28544         * rt/mq_receive.c: Likewise.
28545         * rt/mq_send.c: Likewise.
28546         * rt/mq_setattr.c: Likewise.
28547         * rt/mq_timedreceive.c: Likewise.
28548         * rt/mq_timedsend.c: Likewise.
28549         * rt/mq_unlink.c: Likewise.
28550         * rt/shm_open.c: Likewise.
28551         * rt/shm_unlink.c: Likewise.
28552         * rt/timer_create.c: Likewise.
28553         * rt/timer_delete.c: Likewise.
28554         * rt/timer_getoverr.c: Likewise.
28555         * rt/timer_gettime.c: Likewise.
28556         * rt/timer_settime.c: Likewise.
28557         * setjmp/__longjmp.c: Likewise.
28558         * setjmp/setjmp.c: Likewise.
28559         * signal/kill.c: Likewise.
28560         * signal/killpg.c: Likewise.
28561         * signal/raise.c: Likewise.
28562         * signal/sigaction.c: Likewise.
28563         * signal/sigaltstack.c: Likewise.
28564         * signal/sigblock.c: Likewise.
28565         * signal/sigignore.c: Likewise.
28566         * signal/sigintr.c: Likewise.
28567         * signal/signal.c: Likewise.
28568         * signal/sigpause.c: Likewise.
28569         * signal/sigpending.c: Likewise.
28570         * signal/sigqueue.c: Likewise.
28571         * signal/sigreturn.c: Likewise.
28572         * signal/sigset.c: Likewise.
28573         * signal/sigsetmask.c: Likewise.
28574         * signal/sigstack.c: Likewise.
28575         * signal/sigsuspend.c: Likewise.
28576         * signal/sigtimedwait.c: Likewise.
28577         * signal/sigvec.c: Likewise.
28578         * signal/sigwait.c: Likewise.
28579         * signal/sigwaitinfo.c: Likewise.
28580         * signal/sysv_signal.c: Likewise.
28581         * socket/accept.c: Likewise.
28582         * socket/accept4.c: Likewise.
28583         * socket/bind.c: Likewise.
28584         * socket/connect.c: Likewise.
28585         * socket/getpeername.c: Likewise.
28586         * socket/getsockname.c: Likewise.
28587         * socket/getsockopt.c: Likewise.
28588         * socket/isfdtype.c: Likewise.
28589         * socket/listen.c: Likewise.
28590         * socket/recv.c: Likewise.
28591         * socket/recvfrom.c: Likewise.
28592         * socket/recvmsg.c: Likewise.
28593         * socket/send.c: Likewise.
28594         * socket/sendmsg.c: Likewise.
28595         * socket/sendto.c: Likewise.
28596         * socket/setsockopt.c: Likewise.
28597         * socket/shutdown.c: Likewise.
28598         * socket/sockatmark.c: Likewise.
28599         * socket/socket.c: Likewise.
28600         * socket/socketpair.c: Likewise.
28601         * stdio-common/ctermid.c: Likewise.
28602         * stdio-common/cuserid.c: Likewise.
28603         * stdio-common/remove.c: Likewise.
28604         * stdio-common/rename.c: Likewise.
28605         * stdio-common/renameat.c: Likewise.
28606         * stdio-common/tempname.c: Likewise.
28607         * stdlib/getcontext.c: Likewise.
28608         * stdlib/makecontext.c: Likewise.
28609         * stdlib/setcontext.c: Likewise.
28610         * stdlib/swapcontext.c: Likewise.
28611         * stdlib/system.c: Likewise.
28612         * streams/fattach.c: Likewise.
28613         * streams/fdetach.c: Likewise.
28614         * streams/getmsg.c: Likewise.
28615         * streams/getpmsg.c: Likewise.
28616         * streams/putmsg.c: Likewise.
28617         * streams/putpmsg.c: Likewise.
28618         * sysdeps/unix/bsd/getpt.c: Likewise.
28619         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28620         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28621         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28623         Likewise.
28624         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28625         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28626         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28627         * sysvipc/msgctl.c: Likewise.
28628         * sysvipc/msgget.c: Likewise.
28629         * sysvipc/msgrcv.c: Likewise.
28630         * sysvipc/msgsnd.c: Likewise.
28631         * sysvipc/semctl.c: Likewise.
28632         * sysvipc/semget.c: Likewise.
28633         * sysvipc/semop.c: Likewise.
28634         * sysvipc/semtimedop.c: Likewise.
28635         * sysvipc/shmat.c: Likewise.
28636         * sysvipc/shmctl.c: Likewise.
28637         * sysvipc/shmdt.c: Likewise.
28638         * sysvipc/shmget.c: Likewise.
28639         * termios/tcdrain.c: Likewise.
28640         * termios/tcflow.c: Likewise.
28641         * termios/tcflush.c: Likewise.
28642         * termios/tcgetattr.c: Likewise.
28643         * termios/tcgetpgrp.c: Likewise.
28644         * termios/tcsendbrk.c: Likewise.
28645         * termios/tcsetattr.c: Likewise.
28646         * termios/tcsetpgrp.c: Likewise.
28647         * time/adjtime.c: Likewise.
28648         * time/clock.c: Likewise.
28649         * time/getitimer.c: Likewise.
28650         * time/gettimeofday.c: Likewise.
28651         * time/setitimer.c: Likewise.
28652         * time/settimeofday.c: Likewise.
28653         * time/stime.c: Likewise.
28654         * time/time.c: Likewise.
28655
28656 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28657
28658         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28659         /usr/old/bin.
28660
28661         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28662         instead of spaces.
28663         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28664
28665 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28666
28667         [BZ #14796]
28668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28669         FE_TONEAREST before applying Dekker multiplication and Knuth
28670         addition.  Clear inexact exceptions and check for exact zero
28671         results afterwards.
28672         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28673         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28674         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28675         * math/libm-test.inc (fma_test): Add more tests.
28676         (fma_test_towardzero): Likewise.
28677         (fma_test_downward): Likewise.
28678         (fma_test_upward): Likewise.
28679         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28680         function.
28681         (libc_fesetround): New macro.
28682         (libc_fesetroundf): Likewise.
28683         (libc_fesetroundl): Likewise.
28684         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28685         function.
28686         (libc_fesetround_387): Likewise.
28687         (libc_fesetroundf): New macro.
28688         (libc_fesetround): Likewise.
28689         (libc_fesetroundl): Likewise.
28690         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28691         function.
28692         (libc_fesetroundf): New macro.
28693         (libc_fesetround): Likewise.
28694         (libc_fesetroundl): Likewise.
28695         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28696         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28697         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28698         libm_hidden_ver.
28699         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28700         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28701         libm_hidden_def.
28702         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28703         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28704         libm_hidden_ver.
28705         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28706         libm_hidden_def.
28707
28708         [BZ #3439]
28709         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28710         integer constant usable in #if and use that to give value to enum
28711         constant.
28712         (FE_DIVBYZERO): Likewise.
28713         (FE_UNDERFLOW): Likewise.
28714         (FE_OVERFLOW): Likewise.
28715         (FE_INVALID): Likewise.
28716         (FE_INVALID_SNAN): Likewise.
28717         (FE_INVALID_ISI): Likewise.
28718         (FE_INVALID_IDI): Likewise.
28719         (FE_INVALID_ZDZ): Likewise.
28720         (FE_INVALID_IMZ): Likewise.
28721         (FE_INVALID_COMPARE): Likewise.
28722         (FE_INVALID_SOFTWARE): Likewise.
28723         (FE_INVALID_SQRT): Likewise.
28724         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28725         (FE_TONEAREST): Likewise.
28726         (FE_TOWARDZERO): Likewise.
28727         (FE_UPWARD): Likewise.
28728         (FE_DOWNWARD): Likewise.
28729         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28730         (FE_DIVBYZERO): Likewise.
28731         (FE_OVERFLOW): Likewise.
28732         (FE_UNDERFLOW): Likewise.
28733         (FE_INEXACT): Likewise.
28734         (FE_TONEAREST): Likewise.
28735         (FE_DOWNWARD): Likewise.
28736         (FE_UPWARD): Likewise.
28737         (FE_TOWARDZERO): Likewise.
28738         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28739         (FE_UNDERFLOW): Likewise.
28740         (FE_OVERFLOW): Likewise.
28741         (FE_DIVBYZERO): Likewise.
28742         (FE_INVALID): Likewise.
28743         (FE_TONEAREST): Likewise.
28744         (FE_TOWARDZERO): Likewise.
28745         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28746         (FE_OVERFLOW): Likewise.
28747         (FE_UNDERFLOW): Likewise.
28748         (FE_DIVBYZERO): Likewise.
28749         (FE_INEXACT): Likewise.
28750         (FE_TONEAREST): Likewise.
28751         (FE_TOWARDZERO): Likewise.
28752         (FE_UPWARD): Likewise.
28753         (FE_DOWNWARD): Likewise.
28754         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28755         (FE_DIVBYZERO): Likewise.
28756         (FE_OVERFLOW): Likewise.
28757         (FE_UNDERFLOW): Likewise.
28758         (FE_INEXACT): Likewise.
28759         (FE_TONEAREST): Likewise.
28760         (FE_DOWNWARD): Likewise.
28761         (FE_UPWARD): Likewise.
28762         (FE_TOWARDZERO): Likewise.
28763
28764 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28765
28766         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28767
28768 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28769
28770         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28771         commands.  Quote $PWD.
28772         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28773         -x" by "export".
28774         (remove_newlines): Remove.
28775
28776 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28777
28778         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28779         * stdlib/stdlib.h (atof): Moved to ...
28780         * include/bits/stdlib-float.h: Here.  New file.
28781         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28782         * stdlib/bits/stdlib-float.h: New file.
28783         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28784         -mno-sse -mno-mmx.
28785         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28786         <xmmintrin.h>.
28787
28788 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28789
28790         * conform/conformtest.pl (@headers): Add fenv.h.
28791         * conform/data/fenv.h-data: New file.
28792         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28793         include of <math/fenv.h>.
28794
28795         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28796         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28797         && !UNIX98].  Enables tests for XOPEN2K8.
28798         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28799         POSIX2008]: Likewise.
28800
28801         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28802         (struct rusage): Do not expect type or its members.
28803
28804         [BZ #3439]
28805         * math/math.h (FP_NAN): Define macro to integer constant usable in
28806         #if and use that to give value to enum constant.
28807         (FP_INFINITE): Likewise.
28808         (FP_ZERO): Likewise.
28809         (FP_SUBNORMAL): Likewise.
28810         (FP_NORMAL): Likewise.
28811
28812 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28813
28814         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28815         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28816         arguments.
28817
28818 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28819
28820         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28821         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28822         autoconf-time if not.
28823         * configure.in: Remove AC_PREREQ.
28824
28825 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28826
28827         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28828         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28829         of the internal implementation.
28830
28831 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28832
28833         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28834         except include of <misc/sys/syslog.h>.
28835
28836 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28837
28838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28839         function returns with a NULL context exit with zero.
28840
28841 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28842
28843         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28844
28845 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28846
28847         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28848         (run_program_cmd): This.
28849         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28850         (tst_langinfo): New variable.  Use it.
28851
28852 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28853
28854         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28855         floating point opcodes.
28856
28857 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28858
28859         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28860         variable.
28861
28862         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28863
28864         * sysdeps/mach/hurd/powerpc: Remove directory.
28865         * sysdeps/mach/powerpc: Likewise.
28866
28867 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28868
28869         * scripts/check-local-headers.sh: Ignore c++ headers.
28870
28871 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28872
28873         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28874         __libc_cleanup_region_start argument.
28875
28876 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28877
28878         [BZ #14784]
28879         [BZ #14785]
28880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28881         x * y using scaling, not as x * y + z.
28882         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28883         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28884         * math/libm-test.inc (fma_test): Add more tests.
28885         (fma_test_towardzero): Likewise.
28886         (fma_test_downward): Likewise.
28887         (fma_test_upward): Likewise.
28888
28889 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28890
28891         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28892
28893 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28894
28895         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28896         New variable.
28897
28898 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28899
28900         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28901
28902 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28903
28904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28905         Fix sort order.
28906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28907         Likewise.
28908
28909 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28910
28911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28912         Fix the order of the list for glibc 2.17.
28913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28914         Likewise.
28915
28916 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28917
28918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28919
28920 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28921
28922         [BZ #14610]
28923         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28924         for low part of x being zero before using __atanl (y).
28925         * math/libm-test.inc (atan2_test): Add another test.
28926
28927         * manual/install.texi (Configuring and compiling): Document
28928         general use of test-wrapper and test-wrapper-env.
28929         * INSTALL: Regenerated.
28930
28931         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28932         (__fma): Do not extract and scale down low bits on after-rounding
28933         systems when result rounded to normal precision would have normal
28934         exponent.
28935         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28936         (__fmal): Do not extract and scale down low bits on after-rounding
28937         systems when result rounded to normal precision would have normal
28938         exponent.
28939         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28940         (__fmal): Do not extract and scale down low bits on after-rounding
28941         systems when result rounded to normal precision would have normal
28942         exponent.
28943         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28944         macro.
28945         (fma_test): Add more tests.
28946         (fma_test_towardzero): Likewise.
28947         (fma_test_downward): Likewise.
28948         (fma_test_upward): Likewise.
28949
28950 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28951
28952         * sysdeps/i386/tininess.h: Renamed to ...
28953         * sysdeps/x86/tininess.h: This.
28954         * sysdeps/x86_64/tininess.h: Removed.
28955
28956 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28957
28958         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28959         input.  Use $(build-program-cmd).
28960         ($(objpfx)tst-array1-static.out): Likewise.
28961         ($(objpfx)tst-array2.out): Likewise.
28962         ($(objpfx)tst-array3.out): Likewise.
28963         ($(objpfx)tst-array4.out): Likewise.
28964         ($(objpfx)tst-array5.out): Likewise.
28965         ($(objpfx)tst-array5-static.out): Likewise.
28966
28967 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28968
28969         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28970         if defined.
28971
28972         * nss/nsswitch.h (nss_interface_function): Provide new
28973         macro for use with NSS functions.
28974         * grp/initgroups.c: Use new macro.
28975         * nss/getXXbyYY.c: Likewise.
28976         * nss/getXXbyYY_r.c: Likewise.
28977         * nss/getXXent.c: Likewise.
28978         * nss/getXXent_r.c: Likewise.
28979         * sysdeps/posix/getaddrinfo.c: Likewise.
28980
28981 2012-10-30  Andreas Jaeger  <aj@suse.de>
28982
28983         * po/ru.po: Update Russion translation from translation project.
28984
28985 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28986
28987         [BZ #14152]
28988         [BZ #14783]
28989         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28990         result and shift together with sticky bit instead of replicating
28991         round-to-nearest rounding.
28992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28993         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28994         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28995         missing underflow exceptions.
28996         (fma_test_towardzero): Add more tests.
28997         (fma_test_downward): Likewise.
28998         (fma_test_upward): Likewise.
28999
29000         [BZ #14047]
29001         * sysdeps/generic/tininess.h: New file.
29002         * sysdeps/i386/tininess.h: Likewise.
29003         * sysdeps/sh/tininess.h: Likewise.
29004         * sysdeps/x86_64/tininess.h: Likewise.
29005         * stdlib/tst-strtod-underflow.c: Likewise.
29006         * stdlib/tst-tininess.c: Likewise.
29007         * stdlib/strtod_l.c: Include <tininess.h>.
29008         (round_and_return): Do not set errno for exact underflow cases.
29009         Force an underflow exception when setting errno for underflow.
29010         Determine underflow based on rounding to normal precision if
29011         TININESS_AFTER_ROUNDING.
29012         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29013         ERANGE for exact underflow cases.
29014         * stdlib/Makefile (tests): Add tst-tininess and
29015         tst-strtod-underflow.
29016         ($(objpfx)tst-tininess): Use $(link-libm).
29017         ($(objpfx)tst-strtod-underflow): Likewise.
29018
29019 2012-10-30  Andreas Jaeger  <aj@suse.de>
29020
29021         [BZ#14767]
29022         * elf/Makefile (tests): Remove conditional for have-initfini-array
29023         since this is now always required and the variable does not exist
29024         anymore.
29025         (tests-static): Likewise.
29026         (modules-names): Likewise.
29027
29028         * po/eo.po: Add Esperanto translation from translation project.
29029
29030         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29031         merged with constructor/destructor.
29032         (init_array): Likewise.
29033         * elf/tst-array2dep.c (fini_array): Likewise.
29034         (init_array): Likewise.
29035
29036 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29037
29038         * manual/message.texi: Delete @cartouche tags.
29039
29040 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29041
29042         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29043         EOPNOTSUPP.
29044         * sysdeps/mach/hurd/fsync.c: Likewise.
29045
29046         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29047         [_POSIX_REALTIME_SIGNALS]: Change condition to
29048         [_POSIX_REALTIME_SIGNALS > 0].
29049
29050 2012-10-27  Andreas Jaeger  <aj@suse.de>
29051
29052         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29053         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29054         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29055         [__WORDSIZE != 64]: Likewise.
29056
29057 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29058
29059         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29060         *  iconvdata/tst-tables.sh: Likewise.
29061
29062 2012-10-25  David S. Miller  <davem@davemloft.net>
29063
29064         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29065         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29066         of strtoull.
29067
29068         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29069         ifunc-impl-list.c
29070         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29071         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29072         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29073         file.
29074
29075 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29076
29077         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29078         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29079         __getdirentries.
29080
29081 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29082             Jim Blandy  <jimb@codesourcery.com>
29083
29084         * scripts/cross-test-ssh.sh: New file.
29085         * manual/install.texi (Configuring and compiling): Document use of
29086         cross-test-ssh.sh.
29087         * INSTALL: Regenerated.
29088
29089 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29090
29091         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29092         EOPNOTSUPP.
29093
29094 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29095
29096         * Makeconfig (run-program-prefix): Fix comment.
29097
29098 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29099             Jim Blandy  <jimb@codesourcery.com>
29100
29101         * Makeconfig (test-wrapper): New variable,
29102         (test-wrapper-env): Likewise.
29103         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29104         (run-built-tests): Define to yes.
29105         (run-program-prefix): Use $(test-wrapper).
29106         (built-program-cmd): Likewise.
29107         * Rules (make-test-out): Use $(test-wrapper-env) and
29108         $(host-built-program-cmd).
29109         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29110         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29111         tst-pathopt.sh.
29112         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29113         $(test-wrapper-env) to tst-rtld-load-self.sh.
29114         ($(objpfx)order2.out): Use $(test-wrapper).
29115         ($(objpfx)tst-initorder.out): Likewise.
29116         ($(objpfx)tst-initorder2.out): Likewise.
29117         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29118         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29119         (test_wrapper_env): New variable.  Use it to run ld.so.
29120         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29121         Use it to run ld.so.
29122         (test_wrapper_env): Likewise.
29123         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29124         $(test-wrapper) to run-iconv-test.sh.
29125         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29126         (ICONV): Use $test_wrapper.
29127         * posix/Makefile ($(objpfx)globtest.out): Pass
29128         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29129         globtest.sh, not $(run-program-prefix).
29130         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29131         (test_wrapper): Likewise.
29132         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29133         set together with run_via_rtld_prefix.
29134         (run_program_prefix): Define in terms of test_wrapper and
29135         run_via_rtld_prefix.
29136
29137 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29138
29139         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29140         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29141         Targets removed.
29142
29143         [BZ #14743]
29144         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29145         Declare __clock_getres, __clock_gettime, __clock_settime,
29146         __clock_nanosleep, and __clock_getcpuclockid.
29147         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29148         Remove librt_hidden_def (clock_gettime).
29149         * sysdeps/unix/clock_gettime.c: Likewise.
29150         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29151         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29152         * rt/clock_getres.c: Define __clock_getres as an alias.
29153         * sysdeps/posix/clock_getres.c: Likewise.
29154         * rt/clock_settime.c: Define __clock_settime as an alias.
29155         * sysdeps/unix/clock_settime.c: Likewise.
29156         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29157         * sysdeps/unix/clock_nanosleep.c: Likewise.
29158         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29159         * rt/clock-compat.c: New file.
29160         * rt/Makefile (librt-routines): Add clock-compat and move
29161         $(clock-routines) to ...
29162         (routines): ... here, new variable.
29163         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29164         Don't add get_clockfreq here.
29165         * rt/Versions (libc: GLIBC_2.17): New version set.
29166         Add clock_* symbols here.
29167         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29168         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29169         (GLIBC_2.17): Add clock_* symbols.
29170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29172         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29174         Likewise.
29175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29176         Likewise.
29177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29181         * NEWS: Mention the move.
29182
29183         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29184         Use __open, __read, __close rather than their public counterparts.
29185         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29186         (__get_clockfreq_via_cpuinfo): Likewise.
29187         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29188         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29189
29190         * config.h.in (HAVE_IFUNC): New #undef.
29191         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29192         was successful.
29193         * configure: Regenerated.
29194
29195 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29196
29197         * configure.in: Move READELF check to start of file.
29198         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29199         libc_cv_asm_gnu_indirect_function in the process.
29200         * configure: Regenerated.
29201
29202 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29203
29204         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29205         send the output to /dev/null.
29206         (libc_cv_cc_with_libunwind): Likewise.
29207         (libc_cv_as_noexecstack): Likewise.
29208         * configure: Regenerate.
29209
29210 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29211
29212         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29213
29214         * posix/globtest.sh (TMPDIR): Do not set.
29215         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29216         (testout): Likewise.
29217
29218 2012-10-24  Andreas Jaeger  <aj@suse.de>
29219
29220         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29221         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29222         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29223         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29224         posix_fadvise64, posix_fallocate64.
29225
29226         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29227         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29228         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29229         Likewise.
29230         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29231         Likewise.
29232         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29233
29234         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29235         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29236         <bits/fcntl-linux.h>.
29237         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29238
29239         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29240         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29241         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29242         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29243         [__WORDSIZE != 64]: Likewise.
29244
29245 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29246
29247         * Makeconfig (run-built-tests): New variable.
29248         * Rules [$(cross-compiling) = yes]: Change condition to
29249         [$(run-built-tests) = no].
29250         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29251         to [$(run-built-tests) = yes].
29252         * elf/Makefile [$(cross-compiling) = no]: Likewise
29253         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29254         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29255         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29256         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29257         * io/Makefile [$(cross-compiling) = no]: Likewise.
29258         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29259         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29260         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29261         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29262         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29263         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29264         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29265         * string/Makefile [$(cross-compiling) = no]: Likewise.
29266
29267         * posix/Makefile ($(objpfx)globtest.out): Pass
29268         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29269         $(rtld-installed-name).
29270         * posix/globtest.sh (elf_objpfx): Remove variable.
29271         (rtld_installed_name): Likewise.
29272         (library_path): Likewise.
29273         (run_program_prefix): New variable.  Use for running globtest
29274         binary.
29275
29276 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29277             Joseph Myers  <joseph@codesourcery.com>
29278
29279         * Makeconfig (host-built-program-cmd): New variable.
29280         * elf/Makefile (tst-stackguard1-ARGS): Use
29281         $(host-built-program-cmd).
29282         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29283         (tst-spawn-ARGS): Likewise.
29284         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29285
29286 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29287             Jim Blandy  <jimb@codesourcery.com>
29288
29289         * Makeconfig (run-via-rtld-prefix): New variable.
29290         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29291         (built-program-cmd): Likewise.
29292
29293 2012-10-22  Andreas Jaeger  <aj@suse.de>
29294
29295         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29296         __O_RSYNC if it exists, otherwise to O_SYNC.
29297
29298 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29299             Joseph Myers  <joseph@codesourcery.com>
29300
29301         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29302         /dev/null.
29303         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29304         from /dev/null
29305         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29306         /dev/null.
29307
29308 2012-10-22  Andreas Jaeger  <aj@suse.de>
29309
29310         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29311         Define always.
29312         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29313
29314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29315         bits/fcntl-linux.h.
29316
29317         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29318         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29319
29320         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29321         to __O_LARGEFILE.
29322         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29323         to __O_LARGEFILE.
29324
29325 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29326             Joseph Myers  <joseph@codesourcery.com>
29327
29328         * config.make.in (NM): New variable.
29329
29330 2012-10-21  Andreas Jaeger  <aj@suse.de>
29331
29332         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29333         definitions and declarations that are provided by
29334         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29335
29336 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29337
29338         [BZ #14683]
29339         * elf/Makefile (tests-static): Add tst-leaks1-static.
29340         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29341         ($(objpfx)tst-leaks1-static): New rule.
29342         ($(objpfx)tst-leaks1-static-mem): Likewise.
29343         (tst-leaks1-static-ENV): New macro.
29344         * elf/dl-open.c (dl_open_worker): Check the main application
29345         only if SHARED is defined.
29346         * elf/tst-leaks1-static.c: New file.
29347
29348 2012-10-20  Andreas Jaeger  <aj@suse.de>
29349
29350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29351         generic values for Linux.
29352         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29353         and declarations that are provided by <bits/fcntl-linux.h> and
29354         include <bits/fcntl-linux.h>.
29355         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29356         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29357
29358 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29359
29360         * io/fcntl.h: Move include of <bits/types.h> to the top and
29361         include it unconditionally.
29362
29363 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29364
29365         * wcsmbs/Makefile (tests-ifunc): New variable.
29366         (tests): Add $(tests-ifunc).
29367         * wcsmbs/test-wcschr-ifunc.c: New file.
29368         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29369         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29370         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29371         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29372         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29373
29374         * string/Makefile (tests-ifunc): New variable.
29375         (tests): Add $(tests-ifunc).
29376         * string/test-memccpy.c (TEST_NAME): New macro.
29377         * string/test-memchr.c (TEST_NAME): Likewise.
29378         * string/test-memcmp.c (TEST_NAME): Likewise.
29379         * string/test-memcpy.c (TEST_NAME): Likewise.
29380         * string/test-memmem.c (TEST_NAME): Likewise.
29381         * string/test-memmove.c (TEST_NAME): Likewise.
29382         * string/test-memset.c (TEST_NAME): Likewise.
29383         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29384         * string/test-stpcpy.c (TEST_NAME): Likewise.
29385         * string/test-stpncpy.c (TEST_NAME): Likewise.
29386         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29387         * string/test-strcasestr.c (TEST_NAME): Likewise.
29388         * string/test-strcat.c (TEST_NAME): Likewise.
29389         * string/test-strchr.c (TEST_NAME): Likewise.
29390         * string/test-strcmp.c(TEST_NAME): Likewise.
29391         * string/test-strcpy.c (TEST_NAME): Likewise.
29392         * string/test-strcspn.c (TEST_NAME): Likewise.
29393         * string/test-strlen.c (TEST_NAME): Likewise.
29394         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29395         * string/test-strncmp.c (TEST_NAME): Likewise.
29396         * string/test-strncpy.c (TEST_NAME): Likewise.
29397         * string/test-strnlen.c (TEST_NAME): Likewise.
29398         * string/test-strpbrk.c (TEST_NAME): Likewise.
29399         * string/test-strrchr.c (TEST_NAME): Likewise.
29400         * string/test-strspn.c (TEST_NAME): Likewise.
29401         * string/test-strstr.c (TEST_NAME): Likewise.
29402         * string/test-bcopy-ifunc.c: New file.
29403         * string/test-bzero-ifunc.c: Likewise.
29404         * string/test-memccpy-ifunc.c: Likewise.
29405         * string/test-memchr-ifunc.c: Likewise.
29406         * string/test-memcmp-ifunc.c: Likewise.
29407         * string/test-memcpy-ifunc.c: Likewise.
29408         * string/test-memmem-ifunc.c: Likewise.
29409         * string/test-memmove-ifunc.c: Likewise.
29410         * string/test-mempcpy-ifunc.c: Likewise.
29411         * string/test-memset-ifunc.c: Likewise.
29412         * string/test-rawmemchr-ifunc.c: Likewise.
29413         * string/test-stpcpy-ifunc.c: Likewise.
29414         * string/test-stpncpy-ifunc.c: Likewise.
29415         * string/test-strcasecmp-ifunc.c: Likewise.
29416         * string/test-strcasestr-ifunc.c: Likewise.
29417         * string/test-strcat-ifunc.c: Likewise.
29418         * string/test-strchr-ifunc.c: Likewise.
29419         * string/test-strchrnul-ifunc.c: Likewise.
29420         * string/test-strcmp-ifunc.c: Likewise.
29421         * string/test-strcpy-ifunc.c: Likewise.
29422         * string/test-strcspn-ifunc.c: Likewise.
29423         * string/test-strlen-ifunc.c: Likewise.
29424         * string/test-strncasecmp-ifunc.c: Likewise.
29425         * string/test-strncat-ifunc.c: Likewise.
29426         * string/test-strncmp-ifunc.c: Likewise.
29427         * string/test-strncpy-ifunc.c: Likewise.
29428         * string/test-strnlen-ifunc.c: Likewise.
29429         * string/test-strpbrk-ifunc.c: Likewise.
29430         * string/test-strrchr-ifunc.c: Likewise.
29431         * string/test-strspn-ifunc.c: Likewise.
29432         * string/test-strstr-ifunc.c: Likewise.
29433
29434         * debug/Makefile (tests-ifunc): New variable.
29435         (tests): Add $(tests-ifunc).
29436         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29437         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29438         * debug/test-stpcpy_chk-ifunc.c: New file.
29439         * debug/test-strcpy_chk-ifunc.c: Likewise.
29440
29441 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29442
29443         [BZ #13601]
29444         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29445         header is not read in.
29446
29447 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29448
29449         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29450         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29451         directly.  Pass built executable to script as
29452         $(built-program-cmd).
29453         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29454         $testprogram without using LD_LIBRARY_PATH and $ldso.
29455
29456         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29457         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29458         $(rtld-installed-name).
29459         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29460         (rtld_installed_name): Likewise.
29461         (library_path): Likewise.
29462         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29463         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29464         $(run-program-prefix) to tst-tables.sh.
29465         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29466         it to run tst-table-from and tst-table-to.
29467         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29468         Pass it to tst-table.sh.
29469         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29470         $(run-program-prefix) to tst-gettext.sh.
29471         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29472         tst-translit.sh.
29473         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29474         tst-gettext2.sh.
29475         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29476         to run tst-gettext.
29477         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29478         to run tst-gettext2.
29479         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29480         to run tst-translit.
29481         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29482         $(run-program-prefix) to tst-mtrace.sh.
29483         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29484         to run tst-mtrace.
29485         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29486         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29487         $(rtld-installed-name).
29488         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29489         (rtld_installed_name): Likewise.
29490         (run_program_prefix): New variable.  Use it to run wordexp-test.
29491
29492         * Makeconfig (ARCH): Remove all definitions.
29493         (machine): Likewise.
29494         [ARCH]: Remove conditional code.
29495         [!objdir]: Give error.
29496         [!objdir] (objpfx): Remove.
29497         [!objdir] (common-objpfx): Likewise.
29498         [!objdir] (common-objdir): Likewise.
29499         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29500         AC_CONFIG_FILES call.
29501         * configure: Regenerated.
29502
29503         [BZ #13888]
29504         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29505         or TMPDIR.
29506         (testout): Likewise.
29507
29508         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29509         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29510         $(rtld-installed-name).
29511         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29512         (rtld_installed_name): Likwise.
29513         (runit): Remove function.
29514         (run_getconf): New variable,  Use it for running getconf binary.
29515
29516 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29517
29518         [BZ #14716]
29519         * string/test-memmem.c (check_result): New function.
29520         (do_one_test): Use it.
29521         (check1): New function.
29522         (test_main): Use it.
29523
29524 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29525
29526         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29527
29528 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29529
29530         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29531         (_G_LSEEK64): Likewise.
29532         (_G_MMAP64): Likewise.
29533         (_G_FSTAT64): Likewise.
29534         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29535         (_G_LSEEK64): Likewise.
29536         (_G_MMAP64): Likewise.
29537         (_G_FSTAT64): Likewise.
29538         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29539         unconditional.  Call __mmap64 directly.
29540         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29541         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29542         __lseek64 directly.
29543         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29544         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29545         __mmap64 directly.
29546         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29547         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29548         __lseek64 directly.
29549         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29550         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29551         __lseek64 directly.
29552         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29553         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29554         __lseek64 directly.
29555         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29556         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29557         __fxstat64 directly.
29558         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29559         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29560         unconditional.
29561         (freopen64) [!_G_OPEN64]: Remove conditional code.
29562         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29563         unconditional.
29564         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29565         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29566         unconditional.
29567         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29568         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29569         unconditional.
29570         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29571         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29572         unconditional.
29573         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29574         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29575         unconditional.
29576         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29577         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29578         unconditional.
29579         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29580         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29581         unconditional.
29582         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29583
29584 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29585
29586         [BZ #12140]
29587         * manual/memory.texi (Malloc Tunable Parameters): Add note
29588         about free list pointers overwriting some perturb bytes.
29589         Wording suggested by Roland McGrath.
29590
29591 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29592
29593         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29594         (lgamma_test): Likewise.
29595         (tgamma_test): Likewise.
29596
29597 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29598
29599         [BZ #14700]
29600         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29601         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29602
29603 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29604
29605         * NEWS: Mention BZ #14716.
29606         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29607         when removing AVAILABLE1_USES_J macro.
29608
29609 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29610
29611         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29612         (__bswap_64): __uint64_t for unsigned 64-bit int.
29613
29614 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29615
29616         * include/string.h (memmem): Declare libc hidden alias.
29617         * string/memmem.c (memmem): Define libc hidden alias.
29618         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29619         __read, __close instead of open, read, close.
29620
29621 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29622
29623         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29624         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29625         global and hidden.
29626         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29627         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29628         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29629         Likewise.
29630         (__rawmemchr_sse2): Likewise.
29631         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29632         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29633         (__strchr_sse2): Likewise.
29634         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29635         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29636         (__strcasecmp_sse2): Likewise.
29637         (__strncasecmp_sse2): Likewise.
29638         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29639         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29640         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29641         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29642         (__strrchr_sse2): Likewise.
29643         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29644         ifunc-impl-list.c.
29645         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29646         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29647         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29648         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29649         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29650         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29651         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29652         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29653         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29654         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29655         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29656         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29657         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29658         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29659         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29660         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29661         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29662         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29663         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29664         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29665         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29666         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29667         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29668         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29669         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29670         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29671         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29672         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29673         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29674         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29675
29676         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29677         global and hidden.
29678         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29679         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29680         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29681         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29682         Likewise.
29683         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29684         Likewise.
29685         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29686         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29687         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29688         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29689         ifunc-impl-list.c.
29690         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29691         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29692         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29693         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29694         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29695         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29696         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29697         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29698         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29699         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29700         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29701         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29702         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29703         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29704         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29705         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29706         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29707         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29708         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29709         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29710         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29711         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29712         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29713         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29714         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29715         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29716         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29717         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29718         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29719         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29720         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29721         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29722         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29723         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29724         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29725         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29726         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29727         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29728         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29729         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29730         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29731
29732         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29733         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29734         * include/ifunc-impl-list.h: New file.
29735         * misc/ifunc-impl-list.c: Likewise.
29736         * misc/Makefile (routines): Add ifunc-impl-list.
29737         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29738         * string/test-string.h: Include <ifunc-impl-list.h>.
29739         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29740         TEST_NAME]: New variables.
29741         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29742         are defined.
29743         (test_init): Call __libc_ifunc_impl_list to initialize
29744         func_list if TEST_IFUNC and TEST_NAME are defined.
29745
29746         * string/Makefile (strop-tests): Add bcopy and bzero.
29747         * string/test-bcopy.c: New file.
29748         * string/test-bzero.c: Likewise.
29749         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29750         defined.
29751         * string/test-memset.c: Support bzero test if TEST_BZERO is
29752         defined.
29753         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29754         __libc_memmove.
29755         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29756         __libc_memset.
29757         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29758         of memset.
29759
29760 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29761
29762         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29763         * configure: Regenerated.
29764
29765         * Makeconfig (+link-static-before-libc): Don't include
29766         $(link-static-libc).
29767
29768         * libio/libio.h (_IO_pos_t): Remove.
29769
29770 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29771
29772         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29773         McGrath.
29774
29775 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29776
29777         * crypt/crypt-entry.c: Include fips-private.h.
29778         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29779         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29780         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29781         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29782
29783 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29784
29785         * crypt/crypt-private.h: Include stdbool.h.
29786         (_ufc_setup_salt_r): Return bool.
29787         * crypt/crypt-entry.c: Include errno.h.
29788         (__crypt_r): Return NULL with EINVAL for bad salt.
29789         * crypt/crypt_util.c (bad_for_salt): New.
29790         (_ufc_setup_salt_r): Check that salt is long enough and within
29791         the specified alphabet.
29792         * crypt/badsalttest.c: New file.
29793         * crypt/Makefile (tests): Add it.
29794         ($(objpfx)badsalttest): New.
29795
29796 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29797
29798         * NEWS: Add entry for BZ #14602.
29799
29800 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29801
29802         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29803         type-generic.
29804         * math/libm-test.inc: Update comment listing what functions and
29805         macros are tested.
29806         (isgreater_test): New function.
29807         (isgreaterequal_test): Likewise.
29808         (isless_test): Likewise.
29809         (islessequal_test): Likewise.
29810         (islessgreater_test): Likewise.
29811         (isunordered_test): Likewise.
29812         (main): Call the new functions.
29813
29814 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29815
29816         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29817         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29818         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29819         * sysdeps/i386/configure: Regenerated.
29820         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29821         * sysdeps/mach/configure: Regenerated.
29822         * sysdeps/mach/hurd/configure: Regenerated.
29823         * sysdeps/powerpc/configure: Regenerated.
29824         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29825         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29826         * sysdeps/s390/s390-32/configure: Regenerated.
29827         * sysdeps/s390/s390-64/configure: Regenerated.
29828         * sysdeps/sh/configure: Regenerated.
29829         * sysdeps/sparc/configure: Regenerated.
29830         * sysdeps/unix/sysv/linux/configure: Regenerated.
29831         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29832         * sysdeps/x86_64/configure: Regenerated.
29833
29834         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29835         defined.  Don't check if MAP is NULL.
29836
29837 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29838
29839         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29840         (_G_stat64): Likewise.
29841         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29842         (_G_stat64): Likewise.
29843         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29844         instead of struct _G_stat64.
29845         * libio/fileops.c (mmap_remap_check): Likewise.
29846         (decide_maybe_mmap): Likewise.
29847         (_IO_new_file_seekoff): Likewise.
29848         (_IO_file_stat): Likewise.
29849         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29850         _G_off64_t.
29851         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29852         instead of struct _G_stat64.
29853         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29854
29855 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29856
29857         [BZ #14602]
29858         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29859         Replace with ...
29860         (CHECK_EOL): New macro.
29861         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29862         CHECK_EOL.
29863         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29864         Replace with CHECK_EOL.
29865         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29866         Replace with CHECK_EOL.
29867
29868 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29869
29870         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29871         type-generic.
29872         * math/libm-test.inc: Update comment listing what functions and
29873         macros are tested.
29874         (finite_test): New function.
29875         (isinf_test): Likewise.
29876         (isnan_test): Likewise.
29877         (fpclassify_test): Test subnormal input.
29878         (isfinite_test): Likewise.
29879         (isnormal_test): Likewise.
29880         (main): Call the new functions.
29881
29882 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29883
29884         [BZ #14660]
29885         * Makerules (%.dynsym): Force C locale when running
29886         $(OBJDUMP) --dynamic-syms.
29887
29888 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29889
29890         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29891         <stdint.h>.
29892
29893 2012-10-06  David S. Miller  <davem@davemloft.net>
29894
29895         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29896         upper 32-bits of the length value in %o2 since we use branch-on-register
29897         tests which consider the entire 64-bit register.
29898
29899 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29900
29901         * string/test-strstr.c (check2): Add a test for page boundary.
29902
29903 2012-10-05  David S. Miller  <davem@davemloft.net>
29904
29905         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29906         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29907         file.
29908         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29909         sysdep_routines.
29910         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29911         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29912         and bzero when HWCAP_SPARC_CRYPTO is present.
29913
29914 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29915
29916         [BZ #14602]
29917         * string/test-strstr.c (check2): New function.
29918         (test_main): Call check2.
29919
29920         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29921         and bug-strchr1.
29922         * string/bug-strcasestr1.c (do_test): Moved to ...
29923         * string/test-strcasestr.c (check1): Here.  New function.
29924         (do_one_test): Break out result checking code into ...
29925         (check_result): This.  New function.
29926         (do_one_test): Call check_result.
29927         (test_main): Call check1.
29928         * string/bug-strchr1.c (do_test): Moved to ...
29929         * string/test-strchr.c (check1): Here.  New function.
29930         (do_one_test): Break out result checking code into ...
29931         (check_result): This.  New function.
29932         (do_one_test): Call check_result.
29933         (test_main): Call check1.
29934         * string/bug-strstr1.c (main): Moved to ...
29935         * string/test-strstr.c (check1): Here.  New function.
29936         (do_one_test): Break out result checking code into ...
29937         (check_result): This.  New function.
29938         (do_one_test): Call check_result.
29939         (test_main): Call check1.
29940         * string/bug-strcasestr1.c: Removed.
29941         * string/bug-strchr1.c: Likewise.
29942         * string/bug-strstr1.c: Likewise.
29943
29944         * elf/Makefile (dl-routines): Add hwcaps.
29945         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29946         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29947         (_dl_important_hwcaps): Moved to ...
29948         * elf/dl-hwcaps.c: Here.  New file.
29949         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29950
29951         [BZ #14557]
29952         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29953         if IS_IN_rtld isn't defined.
29954
29955         * elf/dl-support.c (_dl_sysinfo_map): New.
29956         Include "get-dynamic-info.h" and "setup-vdso.h".
29957         (_dl_non_dynamic_init): Call setup_vdso.
29958         * elf/dynamic-link.h: Don't include <assert.h>.
29959         (elf_get_dynamic_info): Moved to ...
29960         * elf/get-dynamic-info.h: Here.  New file.
29961         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29962         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29963         * elf/setup-vdso.h: Here.  New file.
29964         * elf/rtld.c: Include "setup-vdso.h".
29965         (dl_main): Call setup_vdso.
29966
29967 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29968
29969         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29970         creal in comment listing functions tested.  List finite, isinf,
29971         isnan, isless, islessequal, isgreater, isgreaterequal,
29972         islessgreater, isunordered, lgamma_r and pow10 as functions and
29973         macros not tested.  Mention which functions not tested are aliases
29974         for other functions.  Fix typo.  Note that signs of NaNs are not
29975         tested.
29976
29977         * scripts/config.guess: Update from config.git.
29978         * scripts/config.sub: Likewise.
29979
29980 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29981
29982         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29983         * misc/madvise.c (madvise): Renamed to __madvise.
29984         Make madvise a weak alias.
29985         * include/sys/mman.h: Declare __madvise.
29986         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29987         * sysdeps/unix/syscalls.list
29988         (madvise): Make __madvise the strong name, and madvise a weak alias.
29989         * sysdeps/unix/sysv/linux/syscalls.list
29990         (madvise, mmap): Remove redundant entries.
29991         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29992         * malloc/malloc.c (mtrim): Likewise.
29993         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29994
29995 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29996
29997         * sysdeps/mach/hurd/dl-cache.c: File removed.
29998         * config.h.in (USE_LDCONFIG): New #undef.
29999         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30000         * configure: Regenerated.
30001         * elf/Makefile (dl-routines): Add dl-cache only under
30002         [$(use-ldconfig) = yes].
30003         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30004         cache on [USE_LDCONFIG].
30005         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30006         [USE_LDCONFIG].
30007         * elf/rtld.c (dl_main): Likewise.
30008
30009 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30010
30011         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30012         _SC_LEVEL4_CACHE_LINESIZE.
30013
30014 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30015
30016         * sysdeps/unix/bsd/confstr.h: File removed.
30017
30018 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30019
30020         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30021         sys/sdt-config.h.
30022
30023 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30024
30025         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30026         Make 'mapoff' field ElfW(Off) rather than off_t.
30027
30028 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30029
30030         * nscd/Makefile: Remove nscd-cflags and all its users.
30031         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30032         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30033
30034         [BZ #10631]
30035         * malloc.c (malloc_printerr): Clarify error message.
30036
30037 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30038
30039         [BZ #14648]
30040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30041         Set bit_FMA_Usable if FMA is supported.
30042         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30043         macro.
30044         (bit_FMA4_Usable): Updated.
30045         (index_FMA_Usable): New macro.
30046         (CPUID_FMA): Likewise
30047         (HAS_FMA): Defined with bit_FMA_Usable.
30048
30049 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30050
30051         * bits/types.h (__swblk_t): Type removed.
30052         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30053         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30054         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30055         (__SWBLK_T_TYPE): Likewise.
30056         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30057         (__SWBLK_T_TYPE): Likewise.
30058         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30059         (__SWBLK_T_TYPE): Likewise.
30060         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30061         (__SWBLK_T_TYPE): Likewise.
30062
30063 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30064             Honza Horak <hhorak@redhat.com>
30065
30066         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30067         (xdr_mapname): Use YPMAXMAP as maxsize.
30068         (xdr_peername): Use YPMAXPEER as maxsize.
30069         (xdr_keydat): Use YPAXRECORD as maxsize.
30070         (xdr_valdat): Use YPMAXRECORD as maxsize.
30071
30072 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30073
30074         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30075
30076         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30077         * csu/init-first.c: ... here.
30078         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30079         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30080         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30081         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30082         * sysdeps/i386/init-first.c: File removed.
30083         * sysdeps/sh/init-first.c: File removed.
30084
30085 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30086
30087         [BZ #14645]
30088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30089         if x * y might underflow to zero and z is zero.
30090         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30091         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30092         * math/libm-test.inc (min_subnorm_value): New variable.
30093         (fma_test): Add more tests.
30094         (fma_test_towardzero): Likewise.
30095         (fma_test_downward): Likewise
30096         (fma_test_upward): Likewise.
30097         (initialize): Set min_subnorm_value.
30098
30099 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30100
30101         [BZ #14638]
30102         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30103         0 + 0.
30104         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30105         mode for addition resulting in exact zero.
30106         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30107         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30108         exact 0 + 0.
30109         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30110         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30111         * math/libm-test.inc (fma_test): Add more tests.
30112         (fma_test_towardzero): New function.
30113         (fma_test_downward): Likewise.
30114         (fma_test_upward): Likewise.
30115         (main): Call the new functions.
30116
30117 2012-09-28  David S. Miller  <davem@davemloft.net>
30118
30119         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30120
30121 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30122
30123         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30124         instead of SIGALRM.
30125
30126         * sysdeps/gnu/_G_config.h: Moved to ...
30127         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30128         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30129         * sysdeps/generic/_G_config.h: ... here.
30130
30131         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30132
30133         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30134
30135         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30136         Conditionalize target on [libnss_test1.so-version].
30137
30138         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30139
30140         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30141         (elfobjdir): Move out of conditionals.
30142
30143         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30144         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30145         (__nss_lookup_function): Conditionalize label remove_from_tree on
30146         [!DO_STATIC_NSS || SHARED], matching its only use.
30147
30148 2012-09-28  David S. Miller  <davem@davemloft.net>
30149
30150         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30151         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30152         file.
30153         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30154         sysdep_routines.
30155         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30156         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30157         when HWCAP_SPARC_CRYPTO is present.
30158
30159 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30160
30161         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30162
30163 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30164
30165         [BZ #6530]
30166         * stdio-common/vfprintf.c (process_string_arg): Revert
30167         2000-07-22 change.
30168
30169 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30170
30171         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30172         for testcase.
30173         * stdio-common/tst-sprintf.c: Include <locale.h>
30174         (main): Test sprintf's handling of incomplete multibyte
30175         characters.
30176
30177 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30178
30179         * elf/dl-runtime.c (VERSYMIDX): Removed.
30180         * elf/dl-version.c (VERSYMIDX): Likewise.
30181         * elf/do-rel.h (VERSYMIDX): Likewise.
30182         (VALIDX): Likewise.
30183         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30184         * elf/rtld.c (VALIDX): Likewise.
30185         (ADDRIDX): Likewise.
30186         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30187         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30188         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30189         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30190         (VALIDX): Likewise.
30191         (ADDRIDX): Likewise.
30192
30193 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30194
30195         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30196
30197 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30198
30199         [BZ #11438]
30200         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30201         to global scope.
30202         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30203         addresses are in the same scope as 192.0.2/24.
30204         * posix/gai.conf: Document new scope table defaults.
30205
30206 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30207
30208         [BZ #5298]
30209         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30210         for ftell.  Compute offsets from write pointers instead.
30211         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30212
30213 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30214
30215         [BZ #14543]
30216         * libio/Makefile (tests): New test case tst-fseek.
30217         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30218         combination works in wide mode.
30219         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30220         state when the external buffer state changes.
30221
30222 2012-09-27  David S. Miller  <davem@davemloft.net>
30223
30224         [BZ #14376]
30225         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30226         pass reloc->r_addend in as the 'high' argument to
30227         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30228
30229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30230
30231 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30232
30233         * rt/tst-aio2.c: Include <pthread.h>.
30234         * rt/tst-aio3.c: Likewise.
30235
30236 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30237
30238         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30239
30240 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30241
30242         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30243         contents on [SHARED].
30244
30245 2012-09-26  Marek Polacek  <polacek@redhat.com>
30246
30247         [BZ #14530]
30248         [BZ #13741]
30249         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30250         for C++ and GCC <4.3 as well as for non GCC compilers.
30251
30252 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30253
30254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30255
30256 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30257
30258         * Makefile.in (all, install): Declare with .PHONY.
30259         Reported by Michael Hope <michael.hope@linaro.org>.
30260
30261 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30262
30263         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30264         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30265         system header.
30266         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30267         Likewise.
30268         (sydep_routines): Add the new and the internal functions.
30269         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30270         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30272         (GLIBC_2.17): Add the new function.
30273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30274         (GLIBC_2.17): Likewise.
30275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30276         (GLIBC_2.17): Likewise.
30277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30278         (GLIBC_2.17): Likewise.
30279         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30280
30281 2012-09-25  Alan Modra  <amodra@gmail.com>
30282
30283         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30284         Add release barrier before setting once_control to say
30285         initialisation is done.  Add hints on lwarx.  Use macro in
30286         place of isync.
30287         (clear_once_control): Add release barrier.
30288
30289 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30290
30291         [BZ #13629]
30292         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30293         specially.
30294         * math/s_clog10.c (__clog10): Likewise.
30295         * math/s_clog10f.c (__clog10f): Likewise.
30296         * math/s_clog10l.c (__clog10l): Likewise.
30297         * math/s_clogf.c (__clogf): Likewise.
30298         * math/s_clogl.c (__clogl): Likewise.
30299         * math/Makefile (libm-calls): Add x2y2m1.
30300         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30301         (__x2y2m1): Likewise.
30302         (__x2y2m1l): Likewise.
30303         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30304         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30305         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30306         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30307         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30308         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30309         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30310         * sysdeps/i386/fpu/libm-test-ulps: Update.
30311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30312
30313         [BZ #14621]
30314         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30315         int as type of variable DEPTH.
30316         (glob): Use size_t instead of int as type of variables NEWCOUNT
30317         and OLD_PATHC.
30318
30319 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30320
30321         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30322         Add s_sincosf-sse2.
30323         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30324         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30325         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30326         macros for using routine as __sincosf_ia32.
30327         Use macro for function declaration and weak_alias.
30328         * sysdeps/i386/fpu/libm-test-ulps: Update.
30329
30330         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30332
30333         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30334         subnormal argument.
30335         * math/s_cexpf.c (__cexpf): Likewise.
30336         * math/s_csinf.c (__csinf): Likewise.
30337         * math/s_csinhf.c (__csinhf): Likewise.
30338         * math/s_ctanf.c (__ctanf): Likewise.
30339         * math/s_ctanhf.c (__ctanhf): Likewise.
30340         * math/s_ccosh.c (__ccoshf): Likewise.
30341         * math/s_cexp.c (__cexpl): Likewise.
30342         * math/s_csin.c (__csin): Likewise.
30343         * math/s_csinh.c (__csinh): Likewise.
30344         * math/s_ctan.c (__ctan): Likewise.
30345         * math/s_ctanh.c (ctanh): Likewise.
30346         * math/s_ccoshl.c (__ccoshl): Likewise.
30347         * math/s_cexpl.c (__cexpl): Likewise.
30348         * math/s_csinl.c (__csinl): Likewise.
30349         * math/s_csinhl.c (__csinhl): Likewise.
30350         * math/s_ctanl.c (__ctanl): Likewise.
30351         * math/s_ctanhl.c (__ctanhl): Likewise.
30352
30353 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30354
30355         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30356         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30357         (_IO_off_t): Define to __off_t, not _G_off_t.
30358         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30359         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30360         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30361         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30362         type of __dummy and __dummy2 fields.
30363         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30364         (_G_ssize_t): Likewise.
30365         (_G_off_t): Likewise.
30366         (_G_pid_t): Likewise.
30367         (_G_uid_t): Likewise.
30368         (_G_wchar_t): Likewise.
30369         (_G_wint_t): Likewise.
30370         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30371         (_G_ssize_t): Likewise.
30372         (_G_off_t): Likewise.
30373         (_G_pid_t): Likewise.
30374         (_G_uid_t): Likewise.
30375         (_G_wchar_t): Likewise.
30376         (_G_wint_t): Likewise.
30377         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30378         (_G_ssize_t): Likewise.
30379         (_G_off_t): Likewise.
30380         (_G_pid_t): Likewise.
30381         (_G_uid_t): Likewise.
30382         (_G_wchar_t): Likewise.
30383         (_G_wint_t): Likewise.
30384
30385 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30386
30387         * malloc/arena.c: Include malloc-sysdep.h.
30388         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30389         is sufficient to shrink the heap or an unmap is needed.
30390         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30391         new function check_may_shrink_heap.
30392         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30393         new function check_may_shrink_heap.
30394
30395 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30396
30397         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30398         comments.
30399
30400 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30401
30402         * catgets/test-gencat.sh: Add "set -e".
30403         * elf/tst-pathopt.sh: Likewise.
30404         * grp/tst_fgetgrent.sh: Likewise.
30405         * iconvdata/run-iconv-test.sh: Likewise.
30406         * intl/tst-gettext.sh: Likewise.
30407         * intl/tst-gettext2.sh: Likewise.
30408         * intl/tst-gettext4.sh: Likewise.
30409         * intl/tst-gettext6.sh: Likewise.
30410         * intl/tst-translit.sh: Likewise.
30411         * io/ftwtest-sh: Likewise.
30412         * libio/test-freopen.sh: Likewise.
30413         * malloc/tst-mtrace.sh: Likewise.
30414         * posix/globtest.sh: Likewise.
30415         * posix/tst-getconf.sh: Likewise.
30416         * posix/wordexp-tst.sh: Likewise.
30417         * stdio-common/tst-printf.sh: Likewise.
30418         * stdio-common/tst-unbputc.sh: Likewise.
30419         * stdlib/tst-fmtmsg.sh: Likewise.
30420         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30421         * catgets/Makefile: Do not specify -e option when running
30422         testsuite shell scripts.
30423         * elf/Makefile: Likewise.
30424         * grp/Makefile: Likewise.
30425         * iconvdata/Makefile: Likewise.
30426         * intl/Makefile: Likewise.
30427         * io/Makefile: Likewise.
30428         * libio/Makefile: Likewise.
30429         * malloc/Makefile: Likewise.
30430         * posix/Makefile: Likewise.
30431         * stdio-common/Makefile: Likewise.
30432         * stdlib/Makefile: Likewise.
30433         * sysdeps/x86_64/Makefile: Likewise.
30434
30435         * io/ftwtest-sh: Add copyright header.
30436         * posix/globtest.sh: Likewise.
30437         * posix/tst-getconf.sh: Likewise.
30438         * posix/wordexp-tst.sh: Likewise.
30439         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30440
30441 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30442
30443         [BZ #13679]
30444         * Makeconfig (+link): Defined as $(+link-static) if
30445         $(build-shared) isn't yes.
30446         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30447         isn't yes.
30448         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30449
30450         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30451
30452         [BZ #14562]
30453         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30454         new chunk size with MALLOC_ALIGN_MASK.
30455
30456 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30457
30458         [BZ #5044]
30459         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30460         <rounding-mode.h>.
30461         (__printf_fphex): Determine rounding using get_rounding_mode and
30462         round_away.
30463         * stdio-common/tst-printf-round.c (struct hex_test): New
30464         structure.
30465         (hex_tests): New variable.
30466         (test_hex_in_one_mode): New function.
30467         (do_test): Also run tests for hex float output.
30468
30469 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30470
30471         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30472         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30473         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30474         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30475         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30476         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30477         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30478         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30479
30480 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30481
30482         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30483         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30484         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30485         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30486
30487 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30488
30489         [BZ #14579]
30490         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30491         mode only.
30492         * elf/tst-rtld-load-self.sh: New test.
30493         * elf/Makefile: Run it.
30494
30495 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30496
30497         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30498         (tst-writev-ENV): Remove.
30499         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30500
30501 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30502
30503         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30504
30505 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30506
30507         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30508         unconditional.
30509         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30510         Likewise.
30511         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30512         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30513         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30514         Likewise.
30515
30516 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30517
30518         [BZ #14587]
30519         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30520         * config.make.in (have-cpp-asm-debuginfo): Removed.
30521         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30522         * configure: Regenerated.
30523
30524 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30525
30526         [BZ #5044]
30527         * stdio-common/printf_fp.c: Include <stdbool.h> and
30528         <rounding-mode.h>.
30529         (___printf_fp): Determine rounding using get_rounding_mode and
30530         round_away.
30531         * stdio-common/tst-printf-round.c: New file.
30532         * stdio-common/Makefile (tests): Add tst-printf-round.
30533         (link-libm): New variable.
30534         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30535
30536 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30537
30538         [BZ #14576]
30539         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30540         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30541         Likewise.
30542         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30543         Likewise.
30544
30545 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30546
30547         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30548         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30549         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30550         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30551
30552 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30553
30554         [BZ #14518]
30555         * include/rounding-mode.h: New file.
30556         * sysdeps/generic/get-rounding-mode.h: Likewise.
30557         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30558         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30559         (MAX_VALUE): New macro.
30560         (MIN_VALUE): Likewise.
30561         (overflow_value): New function.
30562         (underflow_value): Likewise.
30563         (round_and_return): Use overflow_value and underflow_value to
30564         determine return values in overflow and underflow cases.  Use
30565         round_away to determine rounding depending on rounding mode.
30566         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30567         determine return values in overflow and underflow cases.
30568         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30569         (struct test_results): New structure.
30570         (struct test): Use struct test_results to store expected results
30571         for all rounding modes.
30572         (TEST): Include expected results for all rounding modes.
30573         (test_in_one_mode): New function.
30574         (do_test): Use test_in_one_mode to compute and check results.
30575         Check results for all rounding modes.
30576         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30577         $(link-libm).
30578
30579 2012-12-09  Allan McRae  <allan@archlinux.org>
30580
30581         * sysdeps/i386/fpu/libm-test-ulps: Update
30582
30583 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30584
30585         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30586         (_G_int32_t): Likewise.
30587         (_G_uint16_t): Likewise.
30588         (_G_uint32_t): Likewise.
30589         (_G_HAVE_BOOL): Likewise.
30590         (_G_HAVE_ATEXIT): Likewise.
30591         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30592         (_G_HAVE_IO_FILE_OPEN): Likewise.
30593         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30594         (_G_int32_t): Likewise.
30595         (_G_uint16_t): Likewise.
30596         (_G_uint32_t): Likewise.
30597         (_G_HAVE_BOOL): Likewise.
30598         (_G_HAVE_ATEXIT): Likewise.
30599         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30600         (_G_HAVE_IO_FILE_OPEN): Likewise.
30601         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30602         (_G_int32_t): Likewise.
30603         (_G_uint16_t): Likewise.
30604         (_G_uint32_t): Likewise.
30605         (_G_HAVE_BOOL): Likewise.
30606         (_G_HAVE_ATEXIT): Likewise.
30607         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30608         (_G_HAVE_IO_FILE_OPEN): Likewise.
30609
30610 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30611
30612         * csu/libc-tls.c: Update copyright years.
30613
30614 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30615
30616         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30617         [!_G_USING_THUNKS]: Remove conditional code.
30618         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30619         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30620
30621         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30622         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30623         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30624         (_G_VTABLE_LABEL_PREFIX): Likewise.
30625         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30626         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30627         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30628         (_G_VTABLE_LABEL_PREFIX): Likewise.
30629         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30630         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30631         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30632         (_G_VTABLE_LABEL_PREFIX): Likewise.
30633         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30634
30635 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30636
30637         * libio/Makefile: Include ../Makeconfig before tests.
30638         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30639         only if $(build-shared) is yes.
30640
30641         * iconv/gconv_db.c: Update copyright years.
30642
30643 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30644
30645         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30646         unwind info if defined PIC. Fix special cases description.
30647         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30648
30649         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30650         DP_HI_MASK entry.
30651         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30652
30653 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30654
30655         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30656
30657         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30658         is NULL.
30659
30660         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30661         (LDLIBS-tst-chk4): This.
30662         (LDFLAGS-tst-chk5): Renamed to ...
30663         (LDLIBS-tst-chk5): This.
30664         (LDFLAGS-tst-chk6): Renamed to ...
30665         (LDLIBS-tst-chk6): This.
30666         (LDFLAGS-tst-lfschk4): Renamed to ...
30667         (LDLIBS-tst-lfschk4): This.
30668         (LDFLAGS-tst-lfschk5): Renamed to ...
30669         (LDLIBS-tst-lfschk5): This.
30670         (LDFLAGS-tst-lfschk6): Renamed to ...
30671         (LDLIBS-tst-lfschk6): This.
30672
30673         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30674         on $(common-objpfx)soversions.mk.
30675
30676 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30677
30678         [BZ #10014]
30679         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30680         example host name.
30681
30682 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30683
30684         * malloc/arena.c (arena_get_retry): New function that gets
30685         another arena for the caller to try its request on.
30686         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30687         current arena cannot fulfill the request.
30688         (__libc_memalign): Likewise.
30689         (__libc_memalign): Likewise.
30690         (__libc_pvalloc): Likewise.
30691         (__libc_calloc): Likewise.
30692
30693 2012-09-05  John Tobey  <john.tobey@gmail.com>
30694
30695         [BZ #13542]
30696         * manual/arith.texi (Operations on Complex): Fix description
30697         of carg branch cut.
30698
30699 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30700
30701         [BZ #10014]
30702         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30703         host name.
30704
30705         [BZ #10038]
30706         * manual/memory.texi (Memory): Make order of menu items match
30707         order of sections.
30708
30709 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30710
30711         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30712         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30713         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30714
30715 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30716
30717         * csu/libc-tls.c (static_dtv): Renamed to ...
30718         (_dl_static_dtv): This.  Make it global.
30719         (_dl_initial_dtv): Removed.
30720         (__libc_setup_tls): Updated.
30721         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30722         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30723         DL_INITIAL_DTV.
30724
30725 2012-09-06  Petr Machata  <pmachata@redhat.com>
30726
30727         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30728         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30729         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30730         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30731
30732 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30733
30734         [BZ #14545]
30735         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30736         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30737         freeing dtv[-1].
30738
30739 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30740
30741         [BZ #14544]
30742         * Makeconfig (link-static-before-libc): Replace $(+prector)
30743         with $(+prectorT).
30744         (link-static-after-libc): Replace $(+postctor) with
30745         $(+postctorT).
30746         (link-bounded): Replace $(+prector)/$(+postctor) with
30747         $(+prectorT)/$(+postctorT).
30748         (+prectorT): New macro.
30749         (+postctorT): Likewise.
30750
30751 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30752
30753         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30754         (round_str): Handle values above the maximum for IBM long double
30755         as inexact.
30756         * stdlib/tst-strtod-round.c (tests): Regenerated.
30757
30758 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30759
30760         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30761         assembler flag.
30762         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30763         zarch_nohighgprs around the zarch optimized routines.
30764         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30765         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30766         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30767         for zarch.
30768
30769 2012-09-05  David S. Miller  <davem@davemloft.net>
30770
30771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30772
30773         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30774         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30775         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30776         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30777         entries.
30778
30779 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30780
30781         * malloc/arena.c: Fold copyright years.
30782         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30783
30784 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30785
30786         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30787
30788 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30789
30790         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30791
30792 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30793
30794         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30795         change internal state upon failure.
30796
30797 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30798
30799         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30800         * malloc/memusage.c (mmap): Likewise.
30801         (mmap64, mremap): Likewise.  Adjust name in comment.
30802
30803 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30804
30805         * libio/fileops.c: Fix typos in comments.
30806         * libio/oldfileops.c: Likewise.
30807         * libio/wfileops.c: Likewise.
30808
30809 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30810
30811         [BZ #1349]
30812         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30813         (tst-malloc-usable-ENV): Set environment for test case.
30814         * malloc/hooks.c (malloc_check_get_size): New function to get
30815         requested size.
30816         * malloc/malloc.c (musable): Use malloc_check_get_size.
30817         * malloc/tst-malloc-usable.c: New test case.
30818
30819 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30820
30821         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30822
30823 2012-09-05  Allan McRae  <allan@archlinux.org>
30824
30825         [BZ #13966]
30826         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30827         determine header location.
30828         * configure: Regenerated.
30829
30830 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30831
30832         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30833         float format.
30834         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30835         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30836         format.
30837         (test): Regenerate.
30838
30839 2012-09-04  David S. Miller  <davem@davemloft.net>
30840
30841         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30842         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30843         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30844
30845 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30846
30847         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30848         failures.
30849
30850         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30851
30852 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30853
30854         [BZ #9914]
30855         * libio/iogetdelim.c: Include <limits.h>.
30856         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30857         + len + 1 would overflow.
30858
30859 2012-09-03  Andreas Jaeger  <aj@suse.de>
30860
30861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30862         * sysdeps/i386/fpu/libm-test-ulps: Update.
30863
30864 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30865
30866         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30867         Add s_sinf-sse2, s_conf-sse2.
30868
30869         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30870         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30871         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30872         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30873
30874         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30875         for using routine as __sinf_ia32.
30876         Use macro for function declaration and weak_alias.
30877         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30878         for using routine as __cosf_ia32.
30879         Use macro for function declaration and weak_alias.
30880
30881         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30882         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30883
30884         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30885         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30887
30888         * math/libm-test.inc (cos_test): Add more test cases.
30889         (sin_test): Likewise.
30890         (sincos_test): Likewise.
30891
30892 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30893
30894         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30895         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30896         hidden.
30897         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30898
30899 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30900
30901         [BZ #14538]
30902         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30903         first element of the GOT.
30904         (elf_machine_load_address): Return the difference between
30905         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30906
30907 2012-09-01  Allan McRae  <allan@archlinux.org>
30908
30909         [BZ #13412]
30910         * configure.in (AWK): Require gawk version 3.0 or later.
30911         * configure: Regenerated.
30912
30913 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30914
30915         * sysdeps/unix/sysv/linux/kernel-features.h
30916         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30917         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30918         [__NR_clock_getres]: Make code unconditional.
30919         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30920         (clock_getcpuclockid): Remove code left unreachable by removal of
30921         conditionals.
30922         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30923         code unconditional.
30924         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30925         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30926         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30927         Make code unconditional.
30928         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30929         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30930         * sysdeps/unix/sysv/linux/clock_settime.c
30931         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30932         conditional code.
30933         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30934         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30935
30936 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30937
30938         [BZ #14476]
30939         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30940         scripts/test-installation.pl.
30941
30942         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30943         and $ld_so_version if it is set.
30944
30945 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30946
30947         [BZ #14516]
30948         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30949         failure if reading from procfs failed.
30950         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30951
30952 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30953
30954         * sysdeps/unix/sysv/linux/kernel-features.h
30955         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30956         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30957         Remove conditional code.
30958         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30959         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30960         Remove conditional code.
30961         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30962         * sysdeps/unix/sysv/linux/i386/fxstat.c
30963         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30964         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30965         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30966         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30967         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30968         * sysdeps/unix/sysv/linux/i386/lxstat.c
30969         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30970         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30971         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30972         Remove conditional code.
30973         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30974         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30975         Remove conditional code.
30976         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30977         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30978         <kernel-features.h>.
30979         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30980         Remove.
30981         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30982         Remove conditional code.
30983         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30984         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30985         Remove conditional.
30986
30987 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30988
30989         [BZ #5400]
30990         * NEWS: Add fixed bug number.
30991
30992 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30993
30994         [BZ #14519]
30995         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30996         underflowing exponent in case of negative sign.
30997         * stdlib/tst-strtod-round-data: Add more tests.
30998         * stdlib/tst-strtod-round.c (tests): Regenerated.
30999
31000         [BZ #3479]
31001         * stdlib/strtod_l.c (NDIG): Remove.
31002         (HEXNDIG): Likewise.
31003         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31004         smallest representable value.
31005         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31006         lie within an exact representation of 1/2 ulp of the result.
31007         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31008         unconditionally.
31009         (TENS_P9_IDX): Define unconditionally.
31010         (TENS_P9_SIZE): Likewise.
31011         (TENS_P10_IDX): Likewise.
31012         (TENS_P10_SIZE): Likewise.
31013         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31014         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31015         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31016         entries for 10^2^13 and 10^2^14.
31017         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31018         (TENS_P13_IDX): Define.
31019         (TENS_P13_SIZE): Likewise.
31020         (TENS_P14_IDX): Likewise.
31021         (TENS_P14_SIZE): Likewise.
31022         (_fpioconst_pow10): Change array size to
31023         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31024         unconditional.
31025         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31026         1024]: Add entries for 10^2^13 and 10^2^14.
31027         [LAST_POW10 > _LAST_POW10]: Remove #error.
31028         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31029         (_fpioconst_pow10): Change array size to
31030         FPIOCONST_POW10_ARRAY_SIZE.
31031         * stdlib/gen-fpioconst.c: New file.
31032         * stdlib/gen-tst-strtod-round.c: Likewise.
31033         * stdlib/tst-strtod-round-data: Likewise.
31034         * stdlib/tst-strtod-round.c: Likewise.
31035         * stdlib/Makefile (tests): Add tst-strtod-round.
31036
31037         [BZ #14459]
31038         * stdlib/strtod_l.c: Include <stdint.h>.
31039         (NDEBUG): Do not define.
31040         (round_and_return): Change EXPONENT parameter to type intmax_t.
31041         Rearrange calculations to avoid internal overflow possibilities.
31042         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31043         Rearrange calculations to avoid internal overflow possibilities.
31044         Assert that number fits inside MPNSIZE limbs.
31045         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31046         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31047         calculations and add assertions to avoid internal overflow
31048         possibilities.  Add casts to avoid signed/unsigned operations.
31049         * stdlib/tst-strtod-overflow.c: New file.
31050         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31051
31052 2012-08-25  Marek Polacek  <polacek@redhat.com>
31053
31054         * time/time.h: Fix some typos in comments.
31055
31056 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31057
31058         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31059         * posix/tst-rfc3484-2.c: Likewise.
31060         * posix/tst-rfc3484-3.c: Likewise.
31061
31062 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31063
31064         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31065         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31066
31067 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31068
31069         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31070         #include of fxstatat64.c.
31071
31072 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31073
31074         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31075         * shadow/getspent_r.c: Likewise.
31076         * shadow/getspnam.c: Likewise.
31077         * shadow/getspnam_r.c: Likewise.
31078         * gshadow/getsgent.c: Likewise.
31079         * gshadow/getsgent_r.c: Likewise.
31080         * gshadow/getsgnam.c: Likewise.
31081         * gshadow/getsgnam_r.c: Likewise.
31082         * inet/getnetbyad.c: Likewise.
31083         * inet/getnetbyad_r.c: Likewise.
31084         * inet/getnetbynm.c: Likewise.
31085         * inet/getnetbynm_r.c: Likewise.
31086         * inet/getnetent.c: Likewise.
31087         * inet/getnetent_r.c: Likewise.
31088         * inet/getproto.c: Likewise.
31089         * inet/getproto_r.c: Likewise.
31090         * inet/getprtent.c: Likewise.
31091         * inet/getprtent_r.c: Likewise.
31092         * inet/getprtname.c: Likewise.
31093         * inet/getprtname_r.c: Likewise.
31094         * inet/getrpcbyname.c: Likewise.
31095         * inet/getrpcbyname_r.c: Likewise.
31096         * inet/getrpcbynumber.c: Likewise.
31097         * inet/getrpcbynumber_r.c: Likewise.
31098         * inet/getrpcent.c: Likewise.
31099         * inet/getrpcent_r.c: Likewise.
31100         * inet/getaliasent.c: Likewise.
31101         * inet/getaliasent_r.c: Likewise.
31102         * inet/getaliasname.c: Likewise.
31103         * inet/getaliasname_r.c: Likewise.
31104         * nscd/getgrgid_r.c: Likewise.
31105         * nscd/getgrnam_r.c: Likewise.
31106         * nscd/gethstbyad_r.c: Likewise.
31107         * nscd/gethstbynm3_r.c: Likewise.
31108         * nscd/getpwnam_r.c: Likewise.
31109         * nscd/getpwuid_r.c: Likewise.
31110         * nscd/getsrvbynm_r.c: Likewise.
31111         * nscd/getsrvbypt_r.c: Likewise.
31112         * nscd/gai.c: Likewise.
31113
31114         * configure.in (build_nscd): New substituted variable, set
31115         by --disable-build-nscd and defaults to $use_nscd.
31116         * configure: Regenerated.
31117         * config.make.in (build-nscd): New substituted variable.
31118         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31119         Change conditional to require [$(build-nscd) = yes] as well.
31120         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31121
31122         [BZ# 13696]
31123         * configure.in (use_nscd): New substituted variable, set by
31124         --disable-nscd.  If enabled, define USE_NSCD.
31125         * configure: Regenerated.
31126         * config.h.in: Add USE_NSCD.
31127         * config.make.in (use-nscd): New substituted variable.
31128         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31129         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31130         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31131         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31132         (CFLAGS-getgrnam_r.c): Likewise.
31133         (CFLAGS-initgroups.c): Likewise.
31134         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31135         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31136         Variables removed.
31137         * inet/getnetgrent_r.c
31138         (nscd_setnetgrent): New function, broken out of ...
31139         (setnetgrent): ... here.  Call it.
31140         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31141         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31142         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31143         * nscd/Makefile (routines, aux): Move definitions after include of
31144         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31145         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31146         Conditionalize on [USE_NSCD].
31147         (is_nscd, nscd_init_cb): Likewise.
31148         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31149         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31150         * nss/nss_db/db-init.c: Likewise.
31151         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31152         [USE_NSCD].
31153         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31154         (make_request): Use it.
31155         (cache_valid_p): New function.
31156         (__check_pf): Use it.
31157         * NEWS: Add item for --disable-nscd.
31158
31159 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31160
31161         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31162         to support sed >= 4.2.1-20-ga9bf076.
31163         * configure: Regenerated.
31164
31165 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31166
31167         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31168         Conditionalize whole body on [IREL].
31169
31170 2012-08-22  Jeff Law <law@redhat.com>
31171
31172         [BZ #14505]
31173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31174         if the family is PF_UNSPEC.
31175
31176 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31177
31178         * Makerules (lib-version): Rename from V.
31179         (install-lib-nosubdir): Change V to lib-version.
31180
31181 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31182
31183         [BZ #14252]
31184         * powerpc32/power6/wcschr.c: New file.
31185         * powerpc32/power6/wcscpy.c: New file.
31186         * powerpc32/power6/wcsrchr.c: New file.
31187         * powerpc64/power6/wcschr.c: New file.
31188         * powerpc64/power6/wcscpy.c: New file.
31189         * powerpc64/power6/wcsrchr.c: New file.
31190
31191 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31192
31193         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31194         (two_way_short_needle): Use it.
31195         * string/strstr.c (AVAILABLE1_USES_J): Define.
31196         * string/strcasestr.c: Likewise.
31197
31198         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31199         array references.
31200         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31201
31202         [BZ #11607]
31203         * NEWS: Add an entry.
31204         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31205         define their defaults.
31206         (two_way_short_needle): Detect end-of-string on-the-fly.
31207         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31208         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31209         * string/bug-strcasestr1.c: New test.
31210         * string/Makefile: Run it.
31211
31212 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31213
31214         [BZ #11607]
31215         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31216         the first character.
31217
31218 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31219
31220         * csu/elf-init.c (__libc_csu_irel): Function removed.
31221         * csu/libc-start.c (apply_irel): New function.
31222         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31223
31224 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31225
31226         * sysdeps/unix/sysv/linux/kernel-features.h
31227         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31228         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31229         <kernel-features.h>.
31230         [__NR_fadvise64_64]: Make code unconditional.
31231         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31232         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31233         !__NR_fadvise64_64)]: Likewise.
31234         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31235         !__NR_fadvise64_64))]: Likewise.
31236         [__NR_fadvise64]: Make code unconditional.
31237         [!__NR_fadvise64]: Remove conditional code.
31238         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31239         <kernel-features.h>.
31240         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31241         unconditional.
31242         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31243         conditional code.
31244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31245         not include <kernel-features.h>.
31246         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31247         unconditional.
31248         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31249         conditional code.
31250         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31251         include <kernel-features.h>.
31252         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31253         unconditional.
31254         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31255         conditional code.
31256
31257 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31258
31259         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31260         slight instruction rearrangements per scrollpipe analysis.
31261         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31262
31263 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31264
31265         * manual/syslog.texi (syslog; vsyslog, closelog):
31266         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31267         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31268
31269         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31270         DSOCAPS to match condition on defining it.
31271
31272 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31273
31274         * sysdeps/unix/sysv/linux/kernel-features.h
31275         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31277         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31278         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31280         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31281         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31283         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31284         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31285
31286         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31287         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31288
31289         * sysdeps/unix/sysv/linux/kernel-features.h
31290         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31291         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31292         unconditional.
31293         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31294         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31295         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31296         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31297         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31298         Make code unconditional.
31299         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31300         (__mmap64) [!__NR_mmap2]: Likewise.
31301         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31302         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31303         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31304         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31305         [__NR_mmap2]: Make code unconditional.
31306         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31307         (__mmap64) [!__NR_mmap2]: Likewise.
31308
31309 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31310
31311         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31312
31313 2012-08-18  Andreas Jaeger  <aj@suse.de>
31314
31315         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31316
31317 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31318
31319         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31320         * include/unistd.h (__have_sock_cloexec): Likewise.
31321         (__have_pipe2): Likewise.
31322         (__have_dup3): Likewise.
31323
31324 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31325
31326         [BZ #9685]
31327         * include/unistd.h (__have_pipe2): Change define into an extern int.
31328         (__have_dup3): Likewise.
31329         * socket/have_sock_cloexec.c: Include fcntl.h.
31330         (__have_pipe2): New variable.
31331         (__have_dup3): Likewise.
31332
31333 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31334
31335         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31336
31337 2012-08-17  Marek Polacek  <polacek@redhat.com>
31338
31339         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31340         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31341
31342 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31343
31344         * configure.in: Add AC_SUBST for sysheaders.
31345         * configure: Regenerated.
31346         * config.make.in (sysheaders): New substituted variable.
31347
31348         * sysdeps/unix/mkfifo.c: Moved ...
31349         * sysdeps/posix/mkfifo.c: ... here.
31350         * sysdeps/unix/mkfifoat.c: Moved ...
31351         * sysdeps/posix/mkfifoat.c: ... here.
31352
31353         * sysdeps/unix/utime.c: Moved ...
31354         * sysdeps/posix/utime.c: ... here.
31355
31356         * sysdeps/unix/time.c: Moved ...
31357         * sysdeps/posix/time.c: ... here.
31358         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31359         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31360
31361         * sysdeps/unix/nice.c: Moved ...
31362         * sysdeps/posix/nice.c: ... here.
31363
31364         * sysdeps/unix/alarm.c: Moved ...
31365         * sysdeps/posix/alarm.c: ... here.
31366
31367         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31368
31369 2012-08-17  Jeff Law <law@redhat.com>
31370
31371         * intl/Makefile (codeset_mo): New variable.
31372         ($(codeset_mo)): New target.
31373         (tst-codeset.out): Depend on that.  Remove explicit rule.
31374         (tst-gettext3.out, tst-gettext5.out): Likewise.
31375         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31376         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31377         * intl/tst-codeset.sh: Remove.
31378         * intl/tst-gettext3.sh: Likewise.
31379         * intl/tst-gettext5.sh: Likewise.
31380
31381 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31382
31383         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31384         * sysdeps/unix/syscalls.list: ... here.
31385
31386         * sysdeps/posix/getaddrinfo.c
31387         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31388         (gaiconf_init, gaiconf_reload): Use them.
31389         [!_STATBUF_ST_NSEC]
31390         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31391         Define using time_t rather than struct timespec.
31392
31393         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31394         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31395         Macros removed.
31396         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31397         [!NO_THREADS].
31398         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31399         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31400         Likewise.
31401
31402         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31403         __libc_cleanup_push argument.
31404
31405         * bits/param.h: New file.
31406         * misc/sys/param.h: New file.
31407         * include/sys/param.h: New file.
31408         * misc/Makefile (headers): Add bits/param.h.
31409         * sysdeps/generic/sys/param.h: File removed.
31410         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31411         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31412         * sysdeps/mach/hurd/bits/param.h: New file.
31413         * sysdeps/mach/hurd/sys/param.h: File removed.
31414
31415         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31416         last change.
31417
31418         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31419         [_IO_MTSAFE_IO].
31420         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31421         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31422         New macros.
31423
31424         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31425         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31426         rather than -D_IO_MTSAFE_IO conditionally.
31427         * stdio-common/Makefile (CPPFLAGS): Likewise.
31428         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31429         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31430         Use $(libio-mtsafe).
31431         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31432         of -D_IO_MTSAFE_IO.
31433         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31434         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31435         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31436         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31437         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31438         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31439         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31440         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31441         (CFLAGS-fread_u_chk.c): Likewise.
31442         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31443         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31444         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31445         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31446         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31447         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31448         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31449         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31450         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31451
31452         * libio/Makefile: Test [$(libc-reentrant) = yes]
31453         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31454
31455         * Makeconfig
31456         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31457         * sysdeps/pthread/configure: File removed.
31458         * sysdeps/pthread/Makeconfig: New file.
31459         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31460         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31461
31462 2012-08-16  Gary Benson  <gbenson@redhat.com>
31463
31464         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31465         unmapping the first object in a namespace.
31466
31467 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31468
31469         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31470         (__internal_setnetgrent): ... this.  Add internal_function to
31471         definition.  Add libc_hidden_def.
31472         (setnetgrent): Update caller.
31473         (internal_endnetgrent): Renamed to ...
31474         (__internal_endnetgrent): ... this.  Add internal_function to
31475         definition.  Add libc_hidden_def.
31476         (endnetgrent): Update caller.
31477         (internal_getnetgrent_r): Renamed to ...
31478         (__internal_getnetgrent_r): ... this.  Add internal_function to
31479         definition.  Add libc_hidden_def.
31480         (__getnetgrent_r): Update caller.
31481         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31482
31483 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31484
31485         * stdlib/longlong.h: Update from GCC.
31486
31487 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31488
31489         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31490         on _QL, which is set by umul_ppmm but never used.
31491         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31492         variables, which are set by GMP macros but never used.
31493         * stdio-common/_itowa.c (_itowa): Likewise.
31494         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31495         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31496
31497 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31498
31499         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31500         struct La_sh_regs is not constant.
31501         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31502         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31503         and struct La_sparc64_regs are not constant.
31504
31505 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31506
31507         * sysdeps/unix/sysv/linux/kernel-features.h
31508         (__ASSUME_POSIX_TIMERS): Remove.
31509         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31510         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31511         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31512         Make code unconditional.
31513         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31514         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31515         Make code unconditional.
31516         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31517         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31518         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31519         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31520         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31521         Make code unconditional.
31522         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31523         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31524         (__libc_missing_posix_timers): Remove.
31525
31526 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31527
31528         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31529         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31530
31531         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31532
31533         * elf/dl-sym.c: Include <stdlib.h>.
31534
31535         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31536         constants, which avoids warnings in 32-bit builds.
31537
31538         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31539         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31540
31541         * misc/lseek.c: File moved to ...
31542         * io/lseek.c: ... here.
31543
31544         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31545
31546         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31547         shifting LEN more than 31 bits at once.
31548
31549 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31550
31551         [BZ #14195]
31552         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31553         segmentation fault for a case of two empty input strings.
31554         * string/test-strncasecmp.c (check1): Renamed to...
31555         (bz12205): ...this.
31556         (bz14195): Add new testcase for two empty input strings and N > 0.
31557         (test_main): Call new testcase, adapt for renamed function.
31558
31559 2012-08-15  Andreas Jaeger  <aj@suse.de>
31560
31561         [BZ #14090]
31562         * crypt/md5test2.c: New test, based on test supplied by Serge
31563         Belyshev <belyshev@depni.sinp.msu.ru>.
31564         * crypt/Makefile (xtests): Add md5test-giant..
31565         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31566
31567 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31568
31569         [BZ #14090]
31570         * crypt/md5.c (md5_process_block): Don't assume the buffer
31571         length is less than 2**32.
31572         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31573         length is less than 2**64.
31574
31575 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31576
31577         * string/str-two-way.h: Include <sys/param.h>.
31578         (MAX): Macro removed.
31579
31580         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31581         Move #define and #undef of memmove to just before and after
31582         including <string.h>.
31583
31584         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31585         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31586         and after including <string.h>.  Move declarations of
31587         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31588         to before #include "string/memmove.c".
31589
31590         * include/dirent.h: Declare __getdirentries.
31591
31592         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31593         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31594
31595 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31596
31597         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31598         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31599         * sysdeps/i386/configure: Regenerated.
31600         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31601         STABS_CURRENT_FILE, and STABS_FUN.
31602         (END): Remove call to STABS_FUN_END.
31603         (STABS_CURRENT_FILE1): Delete.
31604         (STABS_CURRENT_FILE): Likewise.
31605         (STABS_FUN): Likewise.
31606         (STABS_FUN_END): Likewise.
31607         (STABS_FUN2): Likewise.
31608         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31609         * sysdeps/x86_64/configure: Regenerated.
31610
31611 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31612
31613         * elf/dl-open.c: Include <atomic.h>.
31614         * elf/dl-lookup.c: Likewise.
31615
31616 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31617
31618         * sysdeps/unix/sysv/linux/kernel-features.h
31619         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31620         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31621         unconditionally.
31622         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31623         unconditionally.
31624         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31625         condition on __ASSUME_CLONE_THREAD_FLAGS.
31626
31627 2012-08-14  Andreas Jaeger  <aj@suse.de>
31628
31629         * sysdeps/i386/fpu/libm-test-ulps: Update.
31630
31631 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31632
31633         * include/atomic.h (atomic_exchange_and_add): Split into ...
31634         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31635         New atomic macros.
31636
31637 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31638
31639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31640
31641 2012-08-13  Jeff Law <law@redhat.com>
31642
31643         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31644         null byte in the output string.
31645
31646 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31647
31648         * sysdeps/unix/sysv/linux/kernel-features.h
31649         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31650         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31651         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31652         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31653         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31654         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31655         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31656
31657 2012-08-09  Jeff Law <law@redhat.com>
31658
31659         [BZ #13939]
31660         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31661         When avoid_arena is set, don't retry in the that arena.  Pick the
31662         next one, whatever it might be.
31663         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31664         (arena_lock): Pass in new parameter to arena_get2.
31665         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31666         arena_get2.
31667         (__libc_malloc): Unify retrying after main arena failure with
31668         __libc_memalign version.
31669         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31670
31671 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31672
31673         [BZ #14166]
31674         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31675         to __redirect_strstr.
31676         (__strstr_sse42): Use typeof __redirect_strstr.
31677         (__strstr_ia32): Likewise.
31678         (__libc_strstr): New prototype.
31679         (strstr): Renamed to ...
31680         (__libc_strstr): This.
31681         (strstr): New strong alias of __libc_strstr.
31682         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31683         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31684         __redirect_time.
31685         Include <time.h>.
31686         (__libc_time): New prototype.
31687         (time_ifunc): Replace time with __libc_time.
31688         (time): New strong alias and hidden definition of __libc_time.
31689         (__GI_time): Remove strong alias.
31690         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31691         Include <stddef.h>.
31692         (memmove): Redefined to __redirect_memmove.
31693         (__memmove_sse2): Use typeof __redirect_memmove.
31694         (__memmove_ssse3): Likewise.
31695         (__memmove_ssse3_back): Likewise.
31696         (__libc_memmove): New prototype.
31697         (memmove): Renamed to ...
31698         (__libc_memmove): This.
31699         (memmove): New strong alias of __libc_memmove.
31700
31701 2012-08-08  Mark Salter  <msalter@redhat.com>
31702
31703         * elf/elf.h
31704         (R_MN10300_TLS_GD): Define.
31705         (R_MN10300_TLS_LD): Likewise.
31706         (R_MN10300_TLS_LDO): Likewise.
31707         (R_MN10300_TLS_GOTIE): Likewise.
31708         (R_MN10300_TLS_IE): Likewise.
31709         (R_MN10300_TLS_LE): Likewise.
31710         (R_MN10300_TLS_DTPMOD): Likewise.
31711         (R_MN10300_TLS_DTPOFF): Likewise.
31712         (R_MN10300_TLS_TPOFF): Likewise.
31713         (R_MN10300_SYM_DIFF): Likewise.
31714         (R_MN10300_ALIGN): Likewise.
31715         (R_MN10300_NUM): Update.
31716
31717 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31718
31719         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31720         Remove.
31721
31722 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31723
31724         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31725
31726         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31727         sysdeps/unix -> sysdeps/posix move.
31728         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31729
31730 2012-08-07      Allan McRae     <allan@archlinux.org>
31731
31732         [BZ #14303]
31733         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31734         (SUNOS_CPP): Likewise.
31735         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31736         not found.
31737         (open_input): Call CPP using execvp.
31738
31739 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31740
31741         * sysdeps/unix/sysv/linux/kernel-features.h
31742         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31743         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31744         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31745         (__ASSUME_WAITID_SYSCALL): Likewise.
31746         * sysdeps/unix/sysv/linux/dl-execstack.c
31747         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31748         code unconditional.
31749         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31750         conditional code.
31751         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31752         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31753         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31754         code.
31755         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31756         unconditional.
31757         [__ASSUME_WAITID_SYSCALL]: Likewise.
31758         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31759
31760 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31761
31762         * sysdeps/unix/closedir.c: Renamed to ...
31763         * sysdeps/posix/closedir.c: ... here.
31764         * sysdeps/unix/dirfd.c: Renamed to ...
31765         * sysdeps/posix/dirfd.c: ... here.
31766         * sysdeps/unix/dirstream.h: Renamed to ...
31767         * sysdeps/posix/dirstream.h: ... here.
31768         * sysdeps/unix/fdopendir.c: Renamed to ...
31769         * sysdeps/posix/fdopendir.c: ... here.
31770         * sysdeps/unix/opendir.c: Renamed to ...
31771         * sysdeps/posix/opendir.c: ... here.
31772         * sysdeps/unix/readdir.c: Renamed to ...
31773         * sysdeps/posix/readdir.c: ... here.
31774         * sysdeps/unix/readdir_r.c: Renamed to ...
31775         * sysdeps/posix/readdir_r.c: ... here.
31776         * sysdeps/unix/rewinddir.c: Renamed to ...
31777         * sysdeps/posix/rewinddir.c: ... here.
31778         * sysdeps/unix/seekdir.c: Renamed to ...
31779         * sysdeps/posix/seekdir.c: ... here.
31780         * sysdeps/unix/telldir.c: Renamed to ...
31781         * sysdeps/posix/telldir.c: ... here.
31782         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31783         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31784         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31785         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31786
31787         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31788         * bits/fcntl.h: ... here.
31789
31790         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31791         not 0.
31792         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31793         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31794         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31795         (struct flock): Move l_start, l_len to the beginning.
31796         Use __pid_t for l_pid.
31797         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31798         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31799         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31800         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31801         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31802         [__USE_LARGEFILE64] (struct flock64): New type.
31803         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31804
31805         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31806         * bits/dirent.h: ... here.
31807
31808         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31809         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31810
31811 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31812
31813         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31814         Change from 2.6.0 to 2.6.16.
31815         * sysdeps/unix/sysv/linux/configure: Regenerated.
31816         * sysdeps/unix/sysv/linux/kernel-features.h
31817         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31818         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31819         version.
31820         (__ASSUME_UTIMES): Likewise.
31821         (__ASSUME_CLONE_STOPPED): Remove.
31822         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31823         architectures, not kernel version.
31824         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31825         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31826         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31827         (__ASSUME_WAITID_SYSCALL): Likewise.
31828         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31829         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31830         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31831         refer to older versions.
31832
31833 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31834
31835         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31836         Define alphasort64 as an alias.
31837         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31838         Define versionsort64 as an alias.
31839         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31840         Define scandir64 as an alias.
31841         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31842         Define scandirat64 as an alias.
31843         * dirent/alphasort64.c (alphasort64):
31844         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31845         * dirent/versionsort64.c: Likewise.
31846         * dirent/scandir64.c: Likewise.
31847         * dirent/scandirat64.c: Likewise.
31848         * sysdeps/wordsize-64/alphasort.c: File removed.
31849         * sysdeps/wordsize-64/alphasort64.c: File removed.
31850         * sysdeps/wordsize-64/scandir.c: File removed.
31851         * sysdeps/wordsize-64/scandir64.c: File removed.
31852         * sysdeps/wordsize-64/scandirat.c: File removed.
31853         * sysdeps/wordsize-64/scandirat64.c: File removed.
31854         * sysdeps/wordsize-64/versionsort.c: File removed.
31855         * sysdeps/wordsize-64/versionsort64.c: File removed.
31856         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31857         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31858         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31859         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31860         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31861         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31862         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31863         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31864
31865         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31866         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31867         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31869         [defined __arch64__ || defined __sparcv9]
31870         (__INO_T_MATCHES_INO64_T): New macro.
31871         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31872         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31873         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31874         * sysdeps/unix/sysv/linux/bits/dirent.h
31875         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31876         (_DIRENT_MATCHES_DIRENT64): New macro.
31877
31878         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31879         Define lockf64 as an alias.
31880         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31881         Define fseeko64 as an alias.
31882         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31883         Define ftello64 as an alias.
31884         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31885         Define _IO_fgetpos64 and fgetpos64 as aliases.
31886         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31887         Define _IO_fsetpos64 and fsetpos64 as aliases.
31888         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31889         Conditionalize body on this.
31890         * libio/fseeko64.c: Likewise.
31891         * libio/ftello64.c: Likewise.
31892         * libio/iofgetpos64.c: Likewise.
31893         * libio/iofsetpos64.c: Likewise.
31894         * sysdeps/wordsize-64/lockf.c: File removed.
31895         * sysdeps/wordsize-64/lockf64.c: File removed.
31896         * sysdeps/wordsize-64/fseeko.c: File removed.
31897         * sysdeps/wordsize-64/fseeko64.c: File removed.
31898         * sysdeps/wordsize-64/ftello.c: File removed.
31899         * sysdeps/wordsize-64/ftello64.c: File removed.
31900         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31901         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31902         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31903         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31904         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31905         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31906         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31907         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31908         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31909         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31910         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31911         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31912         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31913         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31914
31915         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31917         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31918         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31919         [defined __arch64__ || defined __sparcv9]
31920         (__OFF_T_MATCHES_OFF64_T): New macro.
31921         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31922         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31923         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31924         (__OFF_T_MATCHES_OFF64_T): New macro.
31925
31926 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31927
31928         * stdlib/secure-getenv.c (__secure_getenv): Replace
31929         GLIBC_2_16 with GLIBC_2_17.
31930
31931 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31932
31933         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31934         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31935
31936 2012-08-03  David S. Miller  <davem@davemloft.net>
31937
31938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31939
31940 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31941
31942         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31943         Remove.
31944         (__ASSUME_CORRECT_SI_PID): Likewise.
31945         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31946         (__ASSUME_TMPFS_NAME): Likewise.
31947         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31948         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31949         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31950         (HAVE_AUX_SECURE): Make definition unconditional.
31951         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31952         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31953
31954 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31955
31956         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31957         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31958         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31959         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31960         __eloop_threshold instead of SYMLOOP_MAX.
31961
31962         * sysdeps/generic/eloop-threshold.h: New file.
31963         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31964         of MAXSYMLINKS.
31965         * elf/chroot_canon.c (chroot_canon): Likewise.
31966
31967 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31968
31969         [BZ #13717]
31970         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31971         Change to 2.6.0 everywhere.
31972         * sysdeps/unix/sysv/linux/configure: Regenerated.
31973         * sysdeps/unix/sysv/linux/kernel-features.h
31974         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31975         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31976         kernel versions.
31977         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31978         (__ASSUME_FUTEX_REQUEUE): Remove.
31979         (__ASSUME_STATFS64): Define unconditionally.
31980         (__ASSUME_AT_SECURE): Likewise.
31981         (__ASSUME_CORRECT_SI_PID): Likewise.
31982         (__ASSUME_TGKILL): Define without depending on kernel version for
31983         i386.
31984         (__ASSUME_UTIMES): Likewise.
31985         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31986         kernel version.
31987         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31988         (__ASSUME_TMPFS_NAME): Likewise.
31989         * README: Update reference to Linux kernel versions.
31990
31991 2012-08-02  Marek Polacek  <polacek@redhat.com>
31992
31993         [BZ# 14150]
31994         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31995         libc_cv_asm_type_prefix with %.
31996         * configure: Regenerated.
31997         * include/libc-symbols.h: Remove comment about
31998         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31999         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32000         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32001         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32002         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32003         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32004         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32005         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32006         * elf/tst-unique2mod1.c: Likewise.
32007         * elf/tst-unique1mod2.c: Likewise.
32008         * elf/tst-unique1mod1.c: Likewise.
32009         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32010         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32011         Replace ASM_TYPE_DIRECTIVE with .type.
32012         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32013         * sysdeps/i386/sysdep.h: Likewise.
32014         * sysdeps/x86_64/sysdep.h: Likewise.
32015         * sysdeps/sh/sysdep.h: Likewise.
32016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32017         Do not define ASM_TYPE_DIRECTIVE.
32018         * sysdeps/powerpc/sysdep.h: Likewise.
32019         * sysdeps/powerpc/powerpc32/sysdep.h:
32020         Replace ASM_TYPE_DIRECTIVE with .type.
32021         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32022         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32023         * sysdeps/i386/fpu/e_powf.S: Likewise.
32024         * sysdeps/i386/fpu/e_expl.S: Likewise.
32025         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32026         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32027         * sysdeps/i386/fpu/e_pow.S: Likewise.
32028         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32029         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32030         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32031         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32032         * sysdeps/i386/fpu/e_log2.S: Likewise.
32033         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32034         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32035         * sysdeps/i386/fpu/e_powl.S: Likewise.
32036         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32037         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32038         * sysdeps/i386/fpu/e_logl.S: Likewise.
32039         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32040         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32041         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32042         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32043         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32044         * sysdeps/i386/fpu/e_log.S: Likewise.
32045         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32046         * sysdeps/i386/fpu/e_logf.S: Likewise.
32047         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32048         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32049         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32050         * sysdeps/i386/fpu/e_log10.S: Likewise.
32051         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32052         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32053         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32054         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32055         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32056         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32057         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32058         * sysdeps/i386/i686/strtok.S: Likewise.
32059         * sysdeps/i386/i386-mcount.S: Likewise.
32060         * sysdeps/i386/strtok.S: Likewise.
32061         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32062         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32063         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32064         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32065         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32066         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32067         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32068         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32069         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32070         * sysdeps/x86_64/_mcount.S: Likewise.
32071         * sysdeps/x86_64/strtok.S: Likewise.
32072         * sysdeps/sh/_mcount.S: Likewise.
32073
32074 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32075
32076         * libio/iofopen.c: Include <fcntl.h>.
32077         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32078         (_IO_fopen64, fopen64): Define as aliases.
32079         * libio/iofopen64.c: Include <fcntl.h>.
32080         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32081         Conditionalize body on this.
32082         * sysdeps/wordsize-64/iofopen.c: File removed.
32083         * sysdeps/wordsize-64/iofopen64.c: File removed.
32084
32085 2012-08-01  Marek Polacek  <polacek@redhat.com>
32086
32087         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32088         Use dlfcn directly instead of a variable.
32089         (binfmt-subdir): Do not define.
32090         (dlfcn): Likewise.
32091
32092 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32093
32094         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32095         Remove all definitions.
32096         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32097         <kernel-features.h>.
32098         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32099         (miss_F_GETOWN_EX): Remove all definitions.
32100         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32101         macro definition.
32102         [!__ASSUME_FCNTL64]: Remove conditional code.
32103         [__ASSUME_FCNTL64]: Make code unconditional.
32104         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32105         <kernel-features.h>.
32106         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32107         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32108         (lockf64) [__NR_fcntl64]: Make code unconditional.
32109         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32110
32111         * sysdeps/unix/sysv/linux/kernel-features.h
32112         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32113         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32114         Make code unconditional.
32115         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32116         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32118         [__NR_vfork]: Make code unconditional.
32119         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32120         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32122         [__NR_vfork]: Make code unconditional.
32123         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32124         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32125
32126 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32127
32128         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32129         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32130
32131         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32132         Define mkstemp64 as an alias.
32133         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32134         Define mkstemps64 as an alias.
32135         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32136         Define mkostemp64 as an alias.
32137         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32138         Define mkostemps64 as an alias.
32139         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32140         Conditionalize body on this.
32141         * misc/mkostemp64.c: Likewise.
32142         * misc/mkostemps64.c: Likewise.
32143         * misc/mkstemps64.c: Likewise.
32144         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32145         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32146         * sysdeps/wordsize-64/mkostemp.c: File removed.
32147         * sysdeps/wordsize-64/mkstemp.c: File removed.
32148         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32149         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32150         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32151         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32152
32153         [BZ #14138]
32154         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32155         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32156         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32157         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32158
32159         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32160         compat_symbol macros from <shlib-compat.h> rather than the underlying
32161         default_symbol_version and symbol_version macros, so that DEFAULT
32162         lines in shlib-versions are respected.
32163         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32164
32165 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32166
32167         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32168         Declare with warn_unused_result.
32169         (setgid, setregid, setegid, setresgid): Likewise.
32170         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32171         Likewise.
32172         * WUR-REPORT: Remove set*id functions.
32173
32174 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32175
32176         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32177
32178 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32179
32180         [BZ #10191]
32181         * include/sys/socket.h (__libc_accept, __libc_accept4):
32182         Add attribute_hidden.
32183         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32184
32185         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32186         use of PTR_MANGLE.
32187         * inet/getnetgrent_r.c (setup): Likewise.
32188
32189         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32190
32191 2012-07-31  David S. Miller  <davem@davemloft.net>
32192
32193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32194
32195 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32196
32197         [BZ #13629]
32198         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32199         value between 1.0 and 2.0 and smaller part has absolute value less
32200         than 1.0.
32201         * math/s_clog10.c (__clog10): Likewise.
32202         * math/s_clog10f.c (__clog10f): Likewise.
32203         * math/s_clog10l.c (__clog10l): Likewise.
32204         * math/s_clogf.c (__clogf): Likewise.
32205         * math/s_clogl.c (__clogl): Likewise.
32206         * math/libm-test.inc (clog_test): Add more tests.
32207         (clog10_test): Likewise.
32208         * sysdeps/i386/fpu/libm-test-ulps: Update.
32209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32210
32211 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32212
32213         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32214         Exit with zero in case no suitable GID is found, and write a
32215         message to standard error.
32216
32217 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32218
32219         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32220         rather than to 1.
32221         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32222         (MAXPATHLEN): Removed.
32223         (NOGROUP, NODEV): New macros.
32224         (setbit, clrbit, isset, isclr): New macros.
32225         (howmany, roundup, powerof2): New macros.
32226         (DEV_BSIZE): New macro.
32227
32228         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32229         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32230
32231         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32232         definition on [!__NO_LONG_DOUBLE_MATH].
32233
32234         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32235         PTR_MANGLE and PTR_DEMANGLE.
32236
32237         * socket/accept4.c (accept4): Rename to __libc_accept4.
32238         Define accept4 as a weak alias.
32239
32240         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32241         on [_DIRENT_HAVE_D_TYPE].
32242         * io/ftw.c (ftw_dir): Likewise.
32243
32244         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32245
32246         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32247
32248         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32249         Use the BSD numbers rather than the arbitrary ones we had.
32250         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32251         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32252         (SIGXCPU, SIGXFSZ): New macros.
32253         (_NSIG): Now 32.
32254
32255         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32256         initializer on [_LIBC_REENTRANT].
32257
32258         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32259         definitions inside [_POSIX_MAPPED_FILES].
32260
32261         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32262
32263         * dirent/opendir.c: Include <fcntl.h>.
32264
32265         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32266         (__libc_getspecific): Likewise.
32267         (__libc_key_create): Likewise.
32268
32269         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32270         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32271         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32272         (tmpfile64): Define as alias.
32273         * sysdeps/wordsize-64/tmpfile.c: File removed.
32274         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32275         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32276         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32277
32278         * stdio-common/vfscanf.c: Include <stdbool.h>.
32279         * nss/makedb.c: Likewise.
32280         * stdio-common/_i18n_number.h: Likewise.
32281         * argp/argp-help.c: Likewise.
32282         * posix/wordexp.c: Likewise.
32283         * sysdeps/posix/spawni.c: Likewise.
32284         * nss/nss_files/files-initgroups.c: Likewise.
32285         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32286         * nss/nss_files/files-initgroups.c: Likewise.
32287         * nss/nss_db/db-netgrp.c: Likewise.
32288         * nss/nss_db/db-initgroups.c: Likewise.
32289         * io/fchmodat.c: Include <sys/stat.h>.
32290
32291         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32292         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32293
32294         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32295         [HAVE_MMAP].
32296
32297         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32298         Add multiple inclusion protection.
32299
32300 2012-07-27  David S. Miller  <davem@davemloft.net>
32301
32302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32303
32304 2012-07-27  Gary Benson  <gbenson@redhat.com>
32305
32306         [BZ #14298]
32307         * elf/rtld.c: Include <stap-probe.h>.
32308         (dl_main): Added static probes "init_start" and "init_complete".
32309         * elf/dl-load.c: Include <stap-probe.h>.
32310         (lose): Take new parameter "nsid".
32311         Added static probe "map_failed".
32312         (_dl_map_object_from_fd): Pass namespace id to lose.
32313         Added static probe "map_start".
32314         (open_verify): Pass namespace id to lose.
32315         * elf/dl-open.c: Include <stap-probe.h>.
32316         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32317         and "reloc_complete".
32318         * elf/dl-close.c: Include <stap-probe.h>.
32319         (_dl_close_worker): Added static probes "unmap_start" and
32320         "unmap_complete".
32321         * elf/rtld-debugger-interface.txt: New file documenting the above.
32322
32323 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32324
32325         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32326         rather than a string variable.
32327         * sunrpc/rpc_main.c (h_output): Likewise.
32328         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32329
32330 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32331
32332         * inet/check_native.c: New file.
32333
32334 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32335
32336         [BZ #13629]
32337         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32338         if larger part has absolute value 1.0.
32339         * math/s_clog10.c (__clog10): Likewise.
32340         * math/s_clog10f.c (__clog10f): Likewise.
32341         * math/s_clog10l.c (__clog10l): Likewise.
32342         * math/s_clogf.c (__clogf): Likewise.
32343         * math/s_clogl.c (__clogl): Likewise.
32344         * math/libm-test.inc (clog_test): Add more tests.
32345         (clog10_test): Likewise.
32346         * sysdeps/i386/fpu/libm-test-ulps: Update.
32347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32348
32349         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32350         (pltexit): Likewise.
32351         (La_regs): Likewise.
32352         (La_retval): Likewise.
32353         (int_retval): Likewise.
32354         Update #error for removed macros to refer only to definitions in
32355         tst-audit.h.
32356         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32357         macro.
32358         (pltexit): Likewise.
32359         (La_regs): Likewise.
32360         (La_retval): Likewise.
32361         (int_retval): Likewise.
32362         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32363         macro.
32364         (pltexit): Likewise.
32365         (La_regs): Likewise.
32366         (La_retval): Likewise.
32367         (int_retval): Likewise.
32368         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32369         macro.
32370         (pltexit): Likewise.
32371         (La_regs): Likewise.
32372         (La_retval): Likewise.
32373         (int_retval): Likewise.
32374         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32375         macro.
32376         (pltexit): Likewise.
32377         (La_regs): Likewise.
32378         (La_retval): Likewise.
32379         (int_retval): Likewise.
32380         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32381         macro.
32382         (pltexit): Likewise.
32383         (La_regs): Likewise.
32384         (La_retval): Likewise.
32385         (int_retval): Likewise.
32386         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32387         macro.
32388         (pltexit): Likewise.
32389         (La_regs): Likewise.
32390         (La_retval): Likewise.
32391         (int_retval): Likewise.
32392         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32393         macro definitions in tst-audit.h.
32394         * sysdeps/i386/tst-audit.h: New file.
32395         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32396         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32397         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32398         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32399         * sysdeps/sh/tst-audit.h: Likewise.
32400         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32401         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32402         * sysdeps/x86_64/tst-audit.h: Likewise.
32403
32404 2012-07-26  Andreas Jaeger  <aj@suse.de>
32405
32406         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32407         ptrace.
32408
32409         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32410         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32411         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32412         PTRACE_O_MASK.
32413         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32414         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32415         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32416
32417         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32418         value.
32419
32420         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32421         _sigsys.
32422         (si_call_addr, si_syscall, si_arch): Define new macro.
32423         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32424         _sigsys.
32425         (si_call_addr, si_syscall, si_arch): Define new marcro.
32426         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32427         _sigsys.
32428         (si_call_addr, si_syscall, si_arch): Define new macro.
32429         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32430         _sigsys.
32431         (si_call_addr, si_syscall, si_arch): Define new macro.
32432
32433 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32434
32435         [BZ #13717]
32436         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32437         Change to 2.4.21 where previously 2.4.1.
32438         * sysdeps/unix/sysv/linux/configure: Regenerated.
32439         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32440         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32441         Linux kernel version.
32442         (__ASSUME_STD_AUXV): Remove.
32443         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32444         kernel version.
32445         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32446         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32447         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32448         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32449         (__ASSUME_NETLINK_SUPPORT): Likewise.
32450         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32451         (__no_netlink_support): Remove conditional definition.
32452         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32453         Remove.
32454         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32455         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32456         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32457         (if_nameindex_ioctl): Remove.
32458         (if_nameindex_netlink): Do not handle __no_netlink_support.
32459         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32460         code.
32461         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32462         Remove conditional code.
32463         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32464         code.
32465         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32466         unconditional.
32467         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32468         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32469         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32470         Remove.
32471         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32472         [!__ASSUME_STD_AUXV]: Remove conditional code.
32473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32474         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32475         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32477         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32478         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32479         code.
32480         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32482         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32483         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32484         conditional code.
32485         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32487         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32488         code.
32489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32490         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32491         conditional code.
32492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32493         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32494         code unconditional.
32495         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32496         conditional code.
32497         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32498         unconditional.
32499         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32500         conditional code.
32501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32502         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32503         unconditional.
32504         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32505         conditional code.
32506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32507         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32508         code unconditional.
32509         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32510         conditional code.
32511         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32512         unconditional.
32513         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32514         conditional code.
32515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32516         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32517         code unconditional.
32518         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32519         conditional code.
32520         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32521         unconditional.
32522         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32523         conditional code.
32524
32525 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32526
32527         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32528         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32529         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32530         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32531         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32532         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32533         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32534         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32535         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32536         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32537         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32538         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32539         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32540         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32541         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32542         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32543         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32544         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32545         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32546         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32547         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32548         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32549         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32550
32551 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32552
32553         * Versions.def: Add GLIBC_2.17.
32554         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32555         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32556         Introduce __libc_secure_getenv.
32557         * stdlib/Versions (2.17): Add secure_getenv
32558         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32559         * stdlib/secure-getenv.c: Rename __secure_getenv to
32560         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32561         symbol __secure_getenv for GLIBC_2.0.
32562         * stdlib/tst-secure-getenv.c: New.
32563         * stdlib/Makefile (tests): Add testcase.
32564         * manual/startup.texi (Environment Access): Document
32565         secure_getenv.
32566         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32567         __libc_secure_getenv.
32568         * inet/ruserpass.c (ruserpass): Likewise.
32569         * malloc/mtrace.c (mtrace): Likewise.
32570         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32571         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32572         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32573         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32574         HAVE_SECURE_GETENV.
32575         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32576         __secure_getenv to __libc_secure_getenv.
32577         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32579         Likewise.
32580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32581         Likewise.
32582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32584         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32589
32590 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32591
32592         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32593         (struct La_i86_retval): Likewise.
32594         (struct La_x86_64_regs): Likewise.
32595         (struct La_x86_64_retval): Likewise.
32596         (struct La_x32_regs): Likewise.
32597         (struct La_x32_retval): Likewise.
32598         (struct La_ppc32_regs): Likewise.
32599         (struct La_ppc32_retval): Likewise.
32600         (struct La_ppc64_regs): Likewise.
32601         (struct La_ppc64_retval): Likewise.
32602         (struct La_sh_regs): Likewise.
32603         (struct La_sh_retval): Likewise.
32604         (struct La_s390_32_regs): Likewise.
32605         (struct La_s390_32_retval): Likewise.
32606         (struct La_s390_64_regs): Likewise.
32607         (struct La_s390_64_retval): Likewise.
32608         (struct La_sparc32_regs): Likewise.
32609         (struct La_sparc32_retval): Likewise.
32610         (struct La_sparc64_regs): Likewise.
32611         (struct La_sparc64_retval): Likewise.
32612         (struct audit_ifaces): Remove architecture-specific pltenter and
32613         pltexit members.
32614         * sysdeps/i386/ldsodefs.h: New file.
32615         * sysdeps/powerpc/ldsodefs.h: Likewise.
32616         * sysdeps/s390/ldsodefs.h: Likewise.
32617         * sysdeps/sh/ldsodefs.h: Likewise.
32618         * sysdeps/sparc/ldsodefs.h: Likewise.
32619         * sysdeps/x86_64/ldsodefs.h: Likewise.
32620
32621 2012-07-25  Marek Polacek  <polacek@redhat.com>
32622
32623         [BZ #6808]
32624         * math/libm-test.inc (yn_test): Add another test.
32625         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32626         to ERANGE when the result is +-Inf.
32627         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32628         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32629         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32630         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32631
32632 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32633
32634         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32635         equal to 0.
32636         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32637         clock_t.
32638         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32639
32640 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32641
32642         * configure.in <sysdeps resolving>: Correct printing
32643         Implies_before.
32644         * configure: Regenerate.
32645
32646 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32647
32648         * math/w_ilogb.c: Include <limits.h>.
32649         * math/w_ilogbl.c: Likewise.
32650
32651 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32652
32653         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32654         va_copy.  Document allowing for unavailable va_copy only as
32655         pre-C99 compatibility.
32656         * manual/string.texi (Copying and Concatenation): Use va_copy
32657         instead of __va_copy in concat example.
32658
32659 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32660
32661         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32662         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32663         it if not null.
32664
32665         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32666         with O_NOLINK passed to __file_name_lookup.
32667
32668         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32669         with O_NOLINK passed to __file_name_lookup.
32670
32671         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32672         negative N or less than NGIDS.
32673
32674         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32675         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32676         enough.  Use memcpy instead of strncpy.
32677
32678 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32679
32680         * elf/Makefile (check-data): Remove.
32681         (localplt.data): New vpath directive.
32682         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32683         instead of $(check-data).
32684         * scripts/data/localplt-generic.data: Move to ...
32685         * sysdeps/generic/localplt.data: ... here.
32686         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32687         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32688         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32690         ... here.
32691         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32693         ... here.
32694         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32696         ... here.
32697         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32699         ... here.
32700         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32702         ... here.
32703         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32705         ... here.
32706
32707 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32708
32709         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32710         PPC32 and PPC64 files.
32711         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32712         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32713
32714 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32715
32716         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32717         __makecontext_ret to ...
32718         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32719         ... here and call exit if uc_link is NULL.  New file.
32720         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32721         __makecontext_ret.S.
32722         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32723         __makecontext_ret to ...
32724         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32725         ... here and call exit if uc_link is NULL.  New file.
32726         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32727         __makecontext_ret.S.
32728
32729 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32730
32731         * elf/elf.h (R_390_IRELATIVE): New definition.
32732         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32733         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32734         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32735         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32736         (elf_machine_lazy_rel): Likewise.
32737         * sysdeps/s390/dl-irel.h: New file.
32738         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32739         * sysdeps/s390/s390-64/memset.S: New asm code.
32740         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32741         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32742         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32743         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32744         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32745         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32746         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32747         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32748         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32749         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32750         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32751         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32752         * sysdeps/s390/s390-32/memset.S: New asm code.
32753         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32754
32755 2012-07-17  Marek Polacek  <polacek@redhat.com>
32756
32757         [BZ #14349]
32758         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32759         * sysdeps/s390/s390-64/configure.in: Likewise.
32760         * sysdeps/sparc/configure.in: Likewise.
32761         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32762         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32763         * sysdeps/i386/configure.in: Likewise.
32764         * sysdeps/x86_64/configure.in: Likewise.
32765         * sysdeps/sh/configure.in: Likewise.
32766         * sysdeps/s390/s390-32/configure: Regenerated.
32767         * sysdeps/s390/s390-64/configure: Likewise.
32768         * sysdeps/x86_64/configure: Likewise.
32769         * sysdeps/sh/configure: Likewise.
32770         * sysdeps/powerpc/powerpc64/configure: Likewise.
32771         * sysdeps/powerpc/powerpc32/configure: Likewise.
32772         * sysdeps/sparc/configure: Likwise.
32773         * sysdeps/i386/configure: Likewise.
32774
32775         * elf/dl-open.c: Comment fixes.
32776
32777 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32778
32779         * Makefile [CXX] (check-data): Remove.
32780         [CXX] (c++-types.data): New vpath directive.
32781         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32782         vpath.  Do not allow for C++ type data being missing.
32783         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32784         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32785         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32786         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32787         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32788         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32789         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32791         ... here.
32792         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32794         ... here.
32795         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32797         ... here.
32798         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32800         ... here.
32801         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32803         ... here.
32804         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32806         ... here.
32807         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32809         ... here.
32810         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32812
32813         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32814         definitions to architecture-specific files.
32815         (TLS_IE): Likewise.
32816         (TLS_LD): Likewise.
32817         (TLS_GD): Likewise.
32818         * sysdeps/i386/tls-macros.h: New file.
32819         * sysdeps/powerpc/tls-macros.h: Likewise.
32820         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32821         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32822         * sysdeps/sh/tls-macros.h: Likewise.
32823         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32824         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32825         * sysdeps/x86_64/tls-macros.h: Likewise.
32826
32827 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32828
32829         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32830         zero value for regular exit case.
32831
32832         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32833         (__start_context): Preserve zero value for regular exit case.
32834
32835 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32836             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32837
32838         * manual/setjmp.texi (setcontext): Clarify normal process
32839         termination when uc_link is the null pointer.
32840         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32841         exit call.
32842
32843 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32844
32845         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32846         preprocessor.  Test for each exception mask separately.
32847
32848 2012-07-16  Andreas Jaeger  <aj@suse.de>
32849
32850         * po/ru.po: Update from translation team.
32851
32852 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32853
32854         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32855         equal to 0.
32856         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32857         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32858         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32859         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32860         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32861
32862 2012-07-13  Andreas Jaeger  <aj@suse.de>
32863
32864         * po/fr.po: Update from translation team.
32865
32866 2012-07-12  Marek Polacek  <polacek@redhat.com>
32867
32868         [BZ #14173]
32869         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32870         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32871         loop condition.
32872
32873 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32874
32875         [BZ #13717]
32876         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32877         Change to 2.4.1 where previously 2.4.0.
32878         * sysdeps/unix/sysv/linux/configure: Regenerated.
32879         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32880         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32881         version.
32882         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32883         (__ASSUME_AT_CLKTCK): Remove.
32884         (__ASSUME_AT_PAGESIZE): Likewise.
32885         (__ASSUME_AT_XID): Likewise.
32886         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32887         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32888         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32889         unconditionally.
32890         (HAVE_AUX_PAGESIZE): Likewise.
32891         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32892         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32893         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32894
32895 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32896
32897         [BZ #14307]
32898         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32899         the temporary buffer used to invoke __gethostbyname2_r,
32900         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32901         host_data / struct gaih_addrtuple.
32902         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32903         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32904         header file nss/nsswitch.h.
32905         * nss/nsswitch.h (global scope): Add definition of implementation
32906         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32907         resolv/nss_dns/dns-host.c).
32908
32909 2012-07-11  Andreas Jaeger  <aj@suse.de>
32910
32911         * po/fr.po: Update from translation team.
32912
32913         * po/sv.po: Update from translation team
32914         * po/fr.po: Another update from translation team.
32915
32916 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32917
32918         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32919         for subnormals or multiply small sinh result by itself.
32920         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32922
32923 2012-07-11  David S. Miller  <davem@davemloft.net>
32924
32925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32926
32927 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32928
32929         [BZ #14347]
32930         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32931         (INTERNAL_MARK): Shift it here.
32932
32933 2012-07-10  Marek Polacek  <polacek@redhat.com>
32934
32935         [BZ #14151]
32936         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32937         libc_cv_asm_global_directive with .globl.
32938         * configure: Regenerated.
32939         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32940         with .globl.
32941         * sysdeps/i386/configure: Regenerated.
32942         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32943         with .globl.
32944         * sysdeps/x86_64/configure: Regenerated.
32945         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32946         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32947         * elf/tst-unique2mod2.c: Likewise.
32948         * elf/tst-unique2mod1.c: Likewise.
32949         * elf/tst-unique1mod2.c: Likewise.
32950         * elf/tst-unique1mod1.c: Likewise.
32951         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32952         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32953         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32954         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32955         * sysdeps/mach/sysdep.h: Likewise.
32956         * sysdeps/i386/sysdep.h: Likewise.
32957         * sysdeps/i386/i386-mcount.S: Likewise.
32958         * sysdeps/x86_64/_mcount.S: Likewise.
32959         * sysdeps/x86_64/sysdep.h: Likewise.
32960         * sysdeps/sh/_mcount.S: Likewise.
32961         * sysdeps/sh/sysdep.h: Likewise.
32962         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32963         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32964         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32965         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32966         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32967         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32968         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32969         * locale/localeinfo.h: Likewise.
32970         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32971         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32972
32973 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32974
32975         [BZ #14336]
32976         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32977         system".
32978         * manual/message.texi (The Uniforum approach): Likewise.
32979         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32980         (glibc iconv Implementation): Likewise.
32981
32982 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32983
32984         [BZ #14337]
32985         * math/s_clog.c (__clog): Avoid scaling a value down where that
32986         could result in underflow.
32987         * math/s_clog10.c (__clog10): Likewise.
32988         * math/s_clog10f.c (__clog10f): Likewise.
32989         * math/s_clog10l.c (__clog10l): Likewise.
32990         * math/s_clogf.c (__clogf): Likewise.
32991         * math/s_clogl.c (__clogl): Likewise.
32992         * math/libm-test.inc (clog_test): Add more tests.
32993         (clog10_test): Likewise.
32994         * sysdeps/i386/fpu/libm-test-ulps: Update.
32995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32996
32997 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32998
32999         [BZ #14283]
33000         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33001         by 7 not 8 to examine high bit of fractional part.
33002
33003         [BZ #14042]
33004         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33005         for call to __mcount_internal.
33006         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33007         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33008         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33009
33010 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33011
33012         [BZ #14154]
33013         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33014         approximation for values within 0x1p-13f of an odd multiple of
33015         pi/4.
33016         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33017         exception.  Add more tests.
33018         * sysdeps/i386/fpu/libm-test-ulps: Update.
33019
33020         [BZ #6778]
33021         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33022         inputs and return -1 for them.  Do not check for +Inf in case not
33023         reachable for +Inf.
33024         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33025         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33026         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33027         and return -1 for them.  Do not check for +Inf in case not
33028         reachable for +Inf.
33029         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33030         define.
33031         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33032         and return -1 for them.  Do not check for +Inf in case not
33033         reachable for +Inf.
33034         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33035         spurious underflow.
33036         * sysdeps/i386/fpu/libm-test-ulps: Update.
33037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33038
33039 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33040
33041         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33042
33043 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33044
33045         [BZ #14157]
33046         [BZ #14331]
33047         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33048         could result in spurious underflow.  Scale down values above
33049         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33050         * math/s_csqrtf.c (__csqrtf): Likewise.
33051         * math/s_csqrtl.c (__csqrtl): Likewise.
33052         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33053         spurious underflow.
33054         * sysdeps/i386/fpu/libm-test-ulps: Update.
33055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33056
33057 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33058
33059         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33060         xopen-msg.sed.
33061         * catgets/xopen-msg.awk: New file.
33062         * catgets/xopen-msg.sed: Removed.
33063
33064         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33065         po2text.sed.
33066         * intl/po2test.awk: New file.
33067         * intl/po2test.sed: Removed.
33068
33069 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33070
33071         [BZ #14328]
33072         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33073         or multiply small sinh result by itself.
33074         * math/s_ctanf.c (__ctanf): Likewise.
33075         * math/s_ctanh.c (__ctanh): Likewise.
33076         * math/s_ctanhf.c (__ctanhf): Likewise.
33077         * math/s_ctanhl.c (__ctanhl): Likewise.
33078         * math/s_ctanl.c (__ctanl): Likewise.
33079         * math/libm-test.inc (ctan_test_tonearest): New function.
33080         (ctan_test_towardzero): Likewise.
33081         (ctan_test_downward): Likewise.
33082         (ctan_test_upward): Likewise.
33083         (ctanh_test_tonearest): Likewise.
33084         (ctanh_test_towardzero): Likewise.
33085         (ctanh_test_downward): Likewise.
33086         (ctanh_test_upward): Likewise.
33087         (main): Call these new functions.
33088         * sysdeps/i386/fpu/libm-test-ulps: Update.
33089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33090
33091 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33092
33093         * .gitignore: Delete /ports entry.
33094
33095 2012-07-03  Andreas Jaeger  <aj@suse.de>
33096
33097         * po/bg.po: Update from translation team.
33098         * po/cs.po: Likewise.
33099         * po/de.po: Likewise.
33100         * po/hr.po: Likewise.
33101         * po/nl.pl: Likewise.
33102         * po/pl.po: Likewise.
33103         * po/vi.po: Likewise.
33104
33105 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33106
33107         * Makeconfig [!+link] (+link-before-libc): New variable.
33108         [!+link] (+link-after-libc): Likewise.
33109         [!+link] (+link-tests): Likewise.
33110         [!+link] (+link): Define in terms of $(+link-before-libc) and
33111         $(+link-after-libc).
33112         [!+link-static] (+link-static-before-libc): New variable.
33113         [!+link-static] (+link-static-after-libc): Likewise.
33114         [!+link-static] (+link-static-tests): Likewise.
33115         [!+link-static] (+link-static): Define in terms of
33116         $(+link-static-before-libc) and $(+link-static-after-libc).
33117         [build-shared] (link-libc-before-gnulib): New variable.
33118         [build-shared] (link-libc-tests): Likewise.
33119         [build-shared] (link-libc): Define in terms of
33120         $(link-libc-before-gnulib).
33121         [!build-shared] (link-libc-tests): New variable.
33122         (link-libc-static-tests): New variable.
33123         [!gnulib] (gnulib-arch): New variable.
33124         [!gnulib] (gnulib-tests): Likewise.
33125         [!gnulib] (static-gnulib-arch): Likewise.
33126         [!gnulib] (static-gnulib-tests): Likewise.
33127         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33128         Define with "=" instead of ":=".
33129         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33130         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33131         * Rules (binaries-all-notests): New variable.
33132         (binaries-all-tests): Likewise.
33133         (binaries-static-notests): Likewise.
33134         (binaries-static-tests): Likewise.
33135         (binaries-all): Define using $(binaries-all-notests) and
33136         $(binaries-all-tests).
33137         (binaries-static): Define using $(binaries-static-notests) and
33138         $(binaries-static-tests).
33139         (binaries-shared-tests): New variable.
33140         (binaries-shared-notests): Likewise.
33141         (binaries-shared): Remove variable.
33142         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33143         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33144         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33145         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33146         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33147         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33148         * elf/Makefile (sln-modules): New variable.
33149         (extra-objs): Add $(sln-modules:=.o).
33150         (ldconfig-modules): Add static-stubs.
33151         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33152         * elf/static-stubs.c: New file.
33153
33154         [BZ #14283]
33155         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33156         by 7 not 8 to examine high bit of fractional part.  Use volatile
33157         variables when splitting into final array of floats if
33158         __FLT_EVAL_METHOD__ != 0.
33159         * math/libm-test.inc (cos_test): Add another test.
33160         (sin_test): Likewise.
33161         * sysdeps/i386/fpu/libm-test-ulps: Update.
33162
33163         [BZ #14273]
33164         * math/libm-test.inc (cosh_test): Add more tests.
33165
33166         * version.h (RELEASE): Set to "development".
33167         (VERSION): Set to "2.16.90".
33168
33169 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33170
33171         * NEWS: Update copyright. Remove last-updated date.
33172         Mention math library bug fixes and timezone data changes.
33173         * README: Mention GNU/Hurd, x32, and HPPA support status.
33174
33175 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33176
33177         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33178
33179 2012-06-27  Andreas Jaeger  <aj@suse.de>
33180
33181         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33182
33183 2012-06-25  Andreas Jaeger  <aj@suse.de>
33184
33185         * sysdeps/s390/fpu/libm-test-ulps: Update.
33186
33187 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33188             Thomas Schwinge  <thomas@codesourcery.com>
33189
33190         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33191         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33192         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33193         fanotify_mark.
33194
33195 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33196
33197         * sysdeps/mach/start.c: Remove file.
33198         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33199         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33200         * sysdeps/sh/init-first.c: Likewise.
33201
33202         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33203         registers for frame unwinding purposes, add CFI directives.
33204         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33205         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33206         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33207         Likewise.
33208
33209         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33210         __fortify_fail returning.
33211         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33212
33213         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33214         sysdeps/sh/____longjmp_chk.S.
33215         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33216         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33217         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33218         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33219
33220         * sysdeps/sh/abort-instr.h: New file.
33221         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33222         process in case exit returns.
33223
33224         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33225         initialize the GOT register before use.
33226
33227         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33228         calculation of ARGC > 4.
33229
33230         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33231         meaningful names to some local labels.
33232
33233 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33234             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33235
33236         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33237         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33238         (__arch_compare_and_exchange_val_16_acq): Likewise.
33239         (__arch_compare_and_exchange_val_32_acq): Likewise.
33240         (atomic_exchange_and_add): Fix gUSA sequence.
33241         (atomic_add): Likewise.
33242         (atomic_add_negative): Likewise.
33243         (atomic_add_zero): Likewise.
33244         (atomic_bit_test_set): Likewise.
33245
33246 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33247
33248         [BZ #13579]
33249         * include/link.h (struct link_map): Add l_free_initfini.
33250         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33251         l_initfini.
33252         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33253         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33254         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33255         set.
33256
33257 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33258
33259         * configure.in: Use AC_LANG_SOURCE.
33260         * configure: Regenerate.
33261
33262 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33263
33264         * configure.in (libc_cv_localstatedir): New substituted variable.
33265         * configure: Regenerated.
33266         * config.make.in (localstatedir): New variable, substituted from
33267         libc_cv_localstatedir.
33268         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33269         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33270         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33271         * sysdeps/gnu/configure: Regenerated.
33272
33273 2012-06-21  Jeff Law  <law@redhat.com>
33274
33275         [BZ #14277]
33276         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33277         free.  Simplify list management for _LIBC case.
33278
33279 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33280
33281         [BZ #14273]
33282         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33283         Clear sign bit of 64-bit integer value before comparing against
33284         overflow value.
33285
33286         * sysdeps/mach/configure: Regenerated.
33287
33288 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33289
33290         [BZ #14278]
33291         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33292
33293 2012-06-21  Jeff Law  <law@redhat.com>
33294
33295         [BZ #13882]
33296         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33297         uint16_t for elements in the "seen" array to avoid char overflows.
33298         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33299         * elf/dl-open.c (dl_open_worker): Likewise.
33300
33301 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33302
33303         * scripts/list-sources.sh: Scan PORTS for translations.
33304         * po/libc.pot: Regenerated.
33305
33306 2012-06-21  Andreas Jaeger  <aj@suse.de>
33307
33308         [BZ #12194]
33309         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33310         warning.
33311         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33312         * bits/byteswap-16.h (__bswap_16): Likewise.
33313         * bits/byteswap.h (__bswap_constant_16): Likewise.
33314
33315 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33316
33317         [BZ #14117]
33318         * sysdeps/i386/fpu_control.h: Removed.
33319         * sysdeps/x86_64/fpu_control.h: Moved to ...
33320         * sysdeps/x86/fpu_control.h: Here.
33321
33322         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33323         (_FPU_SETCW): Likewise.
33324
33325 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33326
33327         [BZ #14117]
33328         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33329         * sysdeps/x86/fpu/bits/mathinline.h: This.
33330         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33331
33332         [BZ #14050]
33333         [BZ #14117]
33334         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33335         functions if __x86_64__ is defined.
33336
33337 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33338
33339         * string/endian.h: Add !__ASSEMBLER__ condition for including
33340         conversion interfaces.
33341
33342 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33343
33344         [BZ #14241]
33345         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33346         of ABS(x) in calculating zero to negative powers other than odd
33347         integers.
33348         * math/libm-test.inc (pow_test): Add more tests.
33349
33350 2012-06-15  Andreas Jaeger  <aj@suse.de>
33351
33352         * manual/contrib.texi (Contributors): Update entry of Liubov
33353         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33354         Machado Filho.
33355
33356 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33357
33358         * string/string.h: Add __wur to GNU version of strerror_r.
33359
33360 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33361
33362         [BZ #14229]
33363         * string/Makefile (tests): Add tst-strtok_r.
33364         * string/tst-strtok_r.c: New file.
33365         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33366         RAX_LP/RDX_LP on SAVE_PTR.
33367
33368 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33369
33370         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33371
33372 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33373
33374         * libm_test.inc (csqrt_test): Allow more spurious underflow
33375         exceptions.
33376         (j0_test): Likewise.
33377         (j1_test): Likewise.
33378         (y0_test): Likewise.
33379         (y1_test): Likewise.
33380
33381 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33382
33383         * po/Makefile (libc.pot): Use UTF-8 charset.
33384
33385 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33386
33387         [BZ #14210]
33388         Suppress sign-conversion warning from FD_SET.
33389         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33390         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33391         not unsigned long int.
33392         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33393
33394 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33395
33396         [BZ #14050]
33397         [BZ #14117]
33398         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33399         __extern_always_inline instead of __extern_inline.
33400         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33401         (__signbit): Likewise.
33402         (__signbitl): Support C++ namespace.
33403         (lrintf): New inline function.
33404         (lrint): Likewise.
33405         (llrintf): Likewise.
33406         (llrint): Likewise.
33407         (fmaxf): Likewise.
33408         (fmax): Likewise.
33409         (fminf): Likewise.
33410         (fmin): Likewise.
33411         (rint): Likewise.
33412         (rintf): Likewise.
33413         (ceil): Likewise.
33414         (ceilf): Likewise.
33415         (floor): Likewise.
33416         (floorf): Likewise.
33417         (nearbyint): Likewise.
33418         (nearbyintf): Likewise.
33419
33420 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33421
33422         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33423         non-default versions.
33424
33425 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33426
33427         [BZ #14218]
33428         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33429
33430 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33431
33432         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33433         (FE_UPWARD, FE_DOWNWARD): Don't define.
33434         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33435         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33436
33437         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33438         reading it.
33439         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33440         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33441
33442 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33443
33444         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33445         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33446         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33447         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33448
33449 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33450
33451         [BZ #14117]
33452         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33453         * sysdeps/i386/fpu/Implies: New file.
33454         * sysdeps/x86_64/fpu/Implies: Likewise.
33455         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33456         * sysdeps/x86/fpu/bits/fenv.h: This.
33457
33458         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33459         __SSE_MATH__.
33460
33461 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33462
33463         [BZ #14134]
33464         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33465         character 0xffff that matches the last element of the
33466         conversion table.
33467
33468 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33469
33470         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33471         fmodl commit.
33472
33473 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33474
33475         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33476         values higher than 25.6283.
33477
33478 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33479
33480         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33481         subnormal exponent extraction and add some __builtin_expect.
33482         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33483         Fix for subnormal mantissa calculation.
33484
33485 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33486
33487         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33488         cpu2 is -1 and errno is not ENOSYS.
33489
33490 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33491
33492         [BZ #14117]
33493         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33494         * sysdeps/x86/bits/string.h: This.
33495         * sysdeps/x86_64/bits/string.h: Removed.
33496
33497         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33498         if not compiling for x86-64, but compiling for >= i486.
33499
33500         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33501         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33502
33503         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33504         New macro from Linux kernel 3.4.0.
33505         (FP_XSTATE_MAGIC2): Likewise.
33506         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33507         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33508         (struct _fpx_sw_bytes): New struct.
33509         (struct _xsave_hdr): Likewise.
33510         (struct _ymmh_state): Likewise.
33511         (struct _xstate): Likewise.
33512
33513         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33514         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33515         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33516         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33517         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33518         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33519
33520         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33521         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33522         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33523         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33524         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33525         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33526
33527 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33528
33529         [BZ #13743]
33530         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33531         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33532         (sysdep_headers): Include sys/platform/ppc.h.
33533         * sysdeps/powerpc/test-gettimebase.c: Test for
33534         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33535         * manual/Makefile (appendices): Include platform.texi.
33536         * manual/contrib.texi (Contributors): Update @node pointers.
33537         * manual/maint.texi (Maintenance): Likewise.
33538         (Platform): New node.
33539         * manual/platform.texi: New file.  Document the new features.
33540
33541 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33542             Jakub Jelinek  <jakub@redhat.com>
33543
33544         [BZ #14188]
33545         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33546         where __builtin_expect is unavailable.
33547
33548 2012-06-03  David S. Miller  <davem@davemloft.net>
33549
33550         * stdlib/longlong.h: Updated from GCC.
33551
33552 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33553
33554         [BZ #14042]
33555         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33556         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33557         __mcount_internal.
33558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33559         (GLIBC_2.16): Likewise.
33560
33561 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33562
33563         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33564
33565 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33566
33567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33568         (default-abi): New variable.
33569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33570         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33571         variable.
33572         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33573         Likewise.
33574         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33575         Likewise.
33576         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33577         Likewise.
33578
33579         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33580         definition.  Document in comment.
33581
33582 2012-06-01  David S. Miller  <davem@davemloft.net>
33583
33584         * stdlib/longlong.h: Updated from GCC.
33585
33586 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33587
33588         [BZ #14117]
33589         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33590         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33591         sys/debugreg.h sys/io.h here.
33592         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33593         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33594         sys/io.h.
33595         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33596         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33597         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33598         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33599         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33600         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33601
33602         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33603         Define only if __x86_64__ is defined.
33604
33605 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33606
33607         [BZ #14048]
33608         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33609         Use int64_t for variable i.
33610         * math/libm-test.inc (fmod_test): Add more tests.
33611
33612         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33613         z computation is not scheduled after fetestexcept.
33614         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33615         Use math_force_eval instead of asm to ensure calculation scheduled
33616         before exception test.
33617         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33618         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33619
33620 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33621
33622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33623         computation is not scheduled after fetestexcept.
33624
33625 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33626
33627         [BZ #14117]
33628         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33629         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33630
33631 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33632
33633         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33634         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33635
33636 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33637
33638         [BZ #14117]
33639         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33640         <bits/wordsize.h>.
33641         (__WCHAR_MIN): Support __WORDSIZE == 64.
33642         (__WCHAR_MAX): Likewise.
33643
33644         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33645         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33646
33647         [BZ #14183]
33648         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33649         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33650
33651         [BZ #14117]
33652         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33653         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33654
33655         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33656         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33657
33658         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33659         Defined to 1 if __x86_64__ isn't defined.
33660         (_STAT_VER_LINUX_OLD): New.
33661         (st_atime): Remove duplicate.
33662         (st_mtime): Likewise.
33663         (st_ctime): Likewise.
33664
33665 2012-05-31  David S. Miller  <davem@davemloft.net>
33666
33667         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33668         entries.
33669
33670 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33671
33672         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33673         gen-libm-test.pl.
33674
33675         [BZ #14132]
33676         * elf/dl-reloc.c: Include <_itoa.h>.
33677         (_dl_reloc_bad_type): Remove use of INTUSE.
33678         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33679         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33680         * stdio-common/psiginfo.c (psiginfo): Likewise.
33681         * stdio-common/psignal.c (psignal): Likewise.
33682         * string/strsignal.c (strsignal): Likewise.
33683         * include/signal.h (_sys_siglist): Declare hidden proto.
33684         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33685         INTVARDEF with libc_hidden_data_def.
33686         * stdio-common/itoa-udigits.c: Likewise.
33687         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33688         (_itoa_lower_digits_internal): Remove declaration.
33689         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33690         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33691         (_sys_sigabbrev_internal): Remove aliases.
33692         (_sys_siglist): Define hidden alias.
33693
33694 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33695
33696         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33697         bits/sysctl.h.
33698
33699 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33700
33701         [BZ #14117]
33702         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33703         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33704
33705         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33706         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33707         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33708         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33709         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33710         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33711
33712         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33713         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33714         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33715
33716         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33717         with __addr.
33718         (insw): Likewise.
33719         (insl): Likewise.
33720         (outsb): Likewise.
33721         (outsw): Likewise.
33722         (outsl): Likewise.
33723
33724         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33725         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33726         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33727
33728         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33729         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33730         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33731         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33732         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33733         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33734
33735         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33736         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33737
33738         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33739         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33740
33741         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33742         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33743         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33744
33745         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33746         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33747         to ...
33748         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33749
33750         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33751         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33752         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33753
33754         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33755         for x86-64.
33756         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33757
33758 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33759
33760         * math/math.h (M_El): Use two more decimal places.
33761         (M_LOG2El): Likewise.
33762         (M_LOG10El): Likewise.
33763         (M_LN2l): Likewise.
33764         (M_LN10l): Likewise.
33765         (M_PIl): Likewise.
33766         (M_PI_2l): Likewise.
33767         (M_PI_4l): Likewise.
33768         (M_1_PIl): Likewise.
33769         (M_2_PIl): Likewise.
33770         (M_2_SQRTPIl): Likewise.
33771         (M_SQRT2l): Likewise.
33772         (M_SQRT1_2l): Likewise.
33773
33774 2012-05-31  David S. Miller  <davem@davemloft.net>
33775
33776         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33777         values between float registers.
33778         * sysdeps/sparc/sparc64/memset.S: Likewise.
33779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33780
33781 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33782
33783         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33784         -D_FORTIFY_SOURCE=1.
33785         (CPPFLAGS-tst-longjmp_chk.c): Define.
33786         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33787         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33788         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33789         CFLAGS-tst-wchar-h.c.
33790
33791 2012-05-31  Marek Polacek  <polacek@redhat.com>
33792
33793         [BZ #14132]
33794         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33795         __endmntent_internal): Remove declaration.
33796         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33797         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33798         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33799
33800 2012-05-30  David S. Miller  <davem@davemloft.net>
33801
33802         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33803         (___Q_simulate_exceptions): Use real FP ops rather than writing
33804         into the %fsr.
33805         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33806         Likewise.
33807
33808 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33809
33810         [BZ #14117]
33811         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33812         * sysdeps/x86/bits/xtitypes.h: This.
33813
33814         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33815         * sysdeps/x86/bits/wordsize.h: This.
33816
33817         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33818         * sysdeps/x86/bits/huge_vall.h: This.
33819
33820         * sysdeps/i386/bits/select.h: Removed.
33821         * sysdeps/x86_64/bits/select.h: Renamed to ...
33822         * sysdeps/x86/bits/select.h: This.
33823
33824         * sysdeps/i386/bits/setjmp.h: Removed.
33825         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33826         * sysdeps/x86/bits/setjmp.h: This.
33827
33828         * sysdeps/i386/bits/mathdef.h: Removed.
33829         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33830         * sysdeps/x86/bits/mathdef.h: This.
33831
33832 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33833
33834         [BZ #14132]
33835         * include/sys/socket.h (__connect_internal)
33836         (__libc_sa_len_internal): Remove declaration.
33837         (__connect, __libc_sa_len): Declare hidden_proto.
33838         (SA_LEN): Remove use of INTUSE.
33839         * socket/connect.c: Add libc_hidden_def.
33840         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33841         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33842         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33843         alias.
33844         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33845         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33846         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33847         of adding _internal alias.
33848
33849 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33850
33851         [BZ #14117]
33852         * sysdeps/i386/bits/link.h: Removed.
33853         * sysdeps/i386/bits/linkmap.h: Likewise.
33854         * sysdeps/x86_64/bits/link.h: Renamed to ...
33855         * sysdeps/x86/bits/link.h: This.
33856         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33857         * sysdeps/x86/bits/linkmap.h: This.
33858
33859         * sysdeps/i386/bits/endian.h: Removed.
33860         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33861         * sysdeps/x86/bits/endian.h: This.
33862
33863         * sysdeps/i386/bits/byteswap.h: Removed.
33864         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33865         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33866         * sysdeps/x86/bits/byteswap.h: This.
33867         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33868         * sysdeps/x86/bits/byteswap-16.h: This.
33869         * sysdeps/i386/Implies: Add x86.
33870         * sysdeps/x86_64/Implies: Likewise.
33871
33872 2012-05-30  David S. Miller  <davem@davemloft.net>
33873
33874         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33875         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33876         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33877         (FP_TRAPPING_EXCEPTIONS): Define.
33878         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33879         (FP_TRAPPING_EXCEPTIONS): Define.
33880         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33881         subnormals only when inexact has been signalled or underflow
33882         exceptions are enabled.
33883         (_FP_PACK_CANONICAL): Likewise.
33884
33885 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33886
33887         [BZ #14183]
33888         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33889         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33890
33891 2012-05-30  Richard Henderson  <rth@twiddle.net>
33892
33893         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33894         with #ifndef NOT_IN_libc.
33895
33896         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33897         marked to avoid plt entry.
33898
33899 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33900
33901         [BZ #14112]
33902         * Makeconfig (default-abi): New macro.
33903         (abi-includes): Likewise.
33904         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33905         $(abi-$(default-abi)-lib-soname) for soname if defined.
33906         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33907         abi-variants.
33908         * Makefile (installed-stubs): Likewise.
33909         * include/stubs-biarch.h: Removed.
33910         * scripts/lib-names.awk: Only handle one library at a time.
33911         * scripts/soversions.awk: Remove WORDSIZE support.
33912         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33913         entries.
33914         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33915         Removed.
33916         (syscall-list-default-condition): Likewise.
33917         (syscall-list-default-condition): Likewise.
33918         (syscall-list-includes): Likewise.
33919         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33920         syscall-list-* with abi-*.  Handle undefined abi-variants.
33921         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33922         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33923         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33924         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33925         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33926         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33927         Removed.
33928         (syscall-list-32-options): Likewise.
33929         (syscall-list-32-condition): Likewise.
33930         (syscall-list-64-options): Likewise.
33931         (syscall-list-64-condition): Likewise.
33932         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33933         macro.
33934         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33935         Renamed to ...
33936         (abi-*): This.
33937         (abi-64-ld-soname): New macro.
33938         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33939         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33940         Renamed to ...
33941         (abi-*): This.
33942         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33943         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33944
33945 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33946
33947         * sysdeps/unix/sysv/linux/kernel-features.h
33948         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33949         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33950         include <kernel-features.h>.
33951         [!__NR_ftruncate64]: Remove conditional code.
33952         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33953         [__NR_ftruncate64]: Make code unconditional.
33954         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33955         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33956         include <kernel-features.h>.
33957         [!__NR_ftruncate64]: Remove conditional code.
33958         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33959         [__NR_ftruncate64]: Make code unconditional.
33960         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33962         include <kernel-features.h>.
33963         [!__NR_ftruncate64]: Remove conditional code.
33964         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33965         [__NR_ftruncate64]: Make code unconditional.
33966         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33968         include <kernel-features.h>.
33969         [!__NR_ftruncate64]: Remove conditional code.
33970         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33971         [__NR_ftruncate64]: Make code unconditional.
33972         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33973
33974         * configure.in (libc_cv_fpie): Weaken to a compile test using
33975         LIBC_TRY_CC_OPTION.
33976         * configure: Regenerated.
33977
33978 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33979
33980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33984         Refreshed.
33985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33991         Refreshed.
33992
33993 2012-05-27  David S. Miller  <davem@davemloft.net>
33994
33995         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33996         (___Q_zero): New.
33997         (__Q_simulate_exceptions): Return void.  Change to simulate
33998         exceptions by writing into the %fsr.
33999         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34000         (__Qp_handle_exceptions): Likewise.
34001         (numbers): Delete.
34002         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34003         __Qp_handle_exceptions.
34004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34005         __Qp_handle_exceptions.
34006         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34007         as unused and give dummy FP_RND_NEAREST initializer.
34008         (FP_INHIBIT_RESULTS): Define.
34009         (___Q_simulate_exceptions): Update declaration.
34010         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34011         formatting.
34012         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34013         as unused and give dummy FP_RND_NEAREST initializer.
34014         (__Qp_handle_exceptions): Update declaration.
34015         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34016         formatting.
34017
34018 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34019
34020         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34021         the temporary FPU control word.
34022         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34023         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34024         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34025         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34026         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34027         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34028         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34029         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34030         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34031         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34032         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34033
34034 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34035
34036         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34037         fields.
34038
34039 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34040
34041         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34042         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34043         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34044         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34045         Likewise.
34046         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34047         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34048         Likewise.
34049
34050 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34051
34052         * po/h.po: Update from translation team.
34053
34054 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34055
34056         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34057
34058         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34059         handling of denormals.
34060         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34061         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34062         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34063         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34064         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34065         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34067         Likewise.
34068
34069 2012-05-26  Marek Polacek  <polacek@redhat.com>
34070
34071         [BZ #14152]
34072         * math/libm-test.inc (fma_test): Don't always expect underflow
34073         exception.
34074
34075 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34076
34077         [BZ #12416]
34078         * elf/tst-execstack.c: Include stackinfo.h.
34079         (do_test): Adjust test case to ensure that pthread_getattr_np
34080         behaviour remains the same after marking stack executable.
34081
34082 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34083
34084         * sysdeps/unix/sysv/linux/kernel-features.h
34085         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34086         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34087         kernel-features.h.
34088         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34089         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34090         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34091         kernel-features.h.
34092         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34093         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34094
34095 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34096
34097         * configure.in: Define the default includes to being none.
34098         * configure: Regenerated.
34099
34100 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34101
34102         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34103         * sysdeps/x86_64/setjmp.S: Likewise.
34104         * sysdeps/i386/bsd-setjmp.S: Likewise.
34105         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34106         * sysdeps/i386/setjmp.S: Likewise.
34107         * sysdeps/i386/__longjmp.S: Likewise.
34108         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34109         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34110
34111         * include/stap-probe.h: New file.
34112         * configure.in: Handle --enable-systemtap.
34113         * configure: Regenerated.
34114         * config.h.in (USE_STAP_PROBE): New #undef.
34115         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34116         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34117         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34118
34119 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34120
34121         [BZ #13717]
34122         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34123         to 2.4.0 where earlier.
34124         * sysdeps/unix/sysv/linux/configure: Regenerated.
34125         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34126         <kernel-features.h>.
34127         [__ASSUME_32BITUIDS]: Make code unconditional.
34128         [!__ASSUME_32BITUIDS]: Remove conditional code.
34129         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34130         <kernel-features.h>.
34131         [__ASSUME_32BITUIDS]: Make code unconditional.
34132         [!__ASSUME_32BITUIDS]: Remove conditional code.
34133         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34134         [__ASSUME_32BITUIDS]: Make code unconditional.
34135         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34136         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34137         <kernel-features.h>.
34138         [__ASSUME_32BITUIDS]: Make code unconditional.
34139         [!__ASSUME_32BITUIDS]: Remove conditional code.
34140         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34141         <kernel-features.h>.
34142         [__ASSUME_32BITUIDS]: Make code unconditional.
34143         [!__ASSUME_32BITUIDS]: Remove conditional code.
34144         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34145         <kernel-features.h>.
34146         [__ASSUME_32BITUIDS]: Make code unconditional.
34147         [!__ASSUME_32BITUIDS]: Remove conditional code.
34148         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34149         <kernel-features.h>.
34150         [__ASSUME_32BITUIDS]: Make code unconditional.
34151         [!__ASSUME_32BITUIDS]: Remove conditional code.
34152         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34153         <kernel-features.h>.
34154         [__ASSUME_32BITUIDS]: Make code unconditional.
34155         [!__ASSUME_32BITUIDS]: Remove conditional code.
34156         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34157         <kernel-features.h>.
34158         [__ASSUME_32BITUIDS]: Make code unconditional.
34159         [!__ASSUME_32BITUIDS]: Remove conditional code.
34160         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34161         <kernel-features.h>.
34162         [__ASSUME_32BITUIDS]: Make code unconditional.
34163         [!__ASSUME_32BITUIDS]: Remove conditional code.
34164         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34165         <kernel-features.h>.
34166         [__ASSUME_32BITUIDS]: Make code unconditional.
34167         [!__ASSUME_32BITUIDS]: Remove conditional code.
34168         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34169         <kernel-features.h>.
34170         [__ASSUME_32BITUIDS]: Make code unconditional.
34171         [!__ASSUME_32BITUIDS]: Remove conditional code.
34172         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34173         <kernel-features.h>.
34174         [__ASSUME_32BITUIDS]: Make code unconditional.
34175         [!__ASSUME_32BITUIDS]: Remove conditional code.
34176         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34177         <kernel-features.h>.
34178         [__NR_setresgid] (__setresgid): Do not declare.
34179         [__ASSUME_32BITUIDS]: Make code unconditional.
34180         [!__ASSUME_32BITUIDS]: Remove conditional code.
34181         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34182         <kernel-features.h>.
34183         [__NR_setresuid] (__setresuid): Do not declare.
34184         [__ASSUME_32BITUIDS]: Make code unconditional.
34185         [!__ASSUME_32BITUIDS]: Remove conditional code.
34186         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
34227         (__ASSUME_SETRESUID_SYSCALL): Remove.
34228         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34229         (__ASSUME_32BITUIDS): Likewise.
34230         (__ASSUME_LDT_WORKS): Likewise.
34231         (__ASSUME_O_DIRECTORY): Likewise.
34232         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34233         architecture but not kernel version.
34234         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34235         (__ASSUME_MMAP2_SYSCALL): Likewise.
34236         (__ASSUME_STAT64_SYSCALL): Likewise.
34237         (__ASSUME_IPC64): Likewise.
34238         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34239         <kernel-features.h>.
34240         [__ASSUME_32BITUIDS]: Make code unconditional.
34241         [!__ASSUME_32BITUIDS]: Remove conditional code.
34242         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34243         <kernel-features.h>.
34244         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34245         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34246         132096]: Remove conditional code.
34247         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34248         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
34257         <kernel-features.h>.
34258         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34259         unconditional.
34260         (__setresgid): Do not declare.
34261         [__ASSUME_32BITUIDS]: Make code unconditional.
34262         [!__ASSUME_32BITUIDS]: Remove conditional code.
34263         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34264         <kernel-features.h>.
34265         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34266         unconditional.
34267         (__setresuid): Do not declare.
34268         [__ASSUME_32BITUIDS]: Make code unconditional.
34269         [!__ASSUME_32BITUIDS]: Remove conditional code.
34270         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34271         <kernel-features.h>.
34272         [__ASSUME_32BITUIDS]: Make code unconditional.
34273         [!__ASSUME_32BITUIDS]: Remove conditional code.
34274         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34275         <kernel-features.h>.
34276         [__ASSUME_32BITUIDS]: Make code unconditional.
34277         [!__ASSUME_32BITUIDS]: Remove conditional code.
34278
34279 2012-05-25  Richard Henderson  <rth@twiddle.net>
34280
34281         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34282         dl_hwcap to ifunc resolver.
34283         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34284         elf_ifunc_invoke.
34285         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34286         dl_hwcap to ifunc resolver.
34287         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34288
34289 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34290
34291         [BZ #14153]
34292         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34293         for |x| <= 2**-26, not 2**-57.
34294         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34295         exception.
34296
34297 2012-05-24  Jeff Law  <law@redhat.com>
34298
34299         * stdio-common/Makefile (tests): Add bug25.
34300         * stdio-common/bug25.c: New test.
34301
34302 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34303
34304         [BZ #13576]
34305         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34306         multiple of MALLOC_ALIGNMENT in size.
34307         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34308
34309 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34310
34311         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34312         Require >= 256.
34313         (FILENAME_MAX): Use macro-int-constant.
34314         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34315         (_IOFBF): Use macro-int-constant.
34316         (_IOLBF): Likewise.
34317         (_IONBF): Likewise.
34318         (SEEK_CUR): Likewise.
34319         (SEEK_END): Likewise.
34320         (SEEK_SET): Likewise.
34321         (TMP_MAX): Likewise.
34322         (EOF): Use macro-int-constant.  Require < 0.
34323         (NULL): Use macro-constant.  Require == 0.
34324         (stdin): Require type to be FILE *.
34325         (stdout): Likewise.
34326         (stderr): Likewise.
34327         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34328         macro-int-constant.
34329         (EXIT_SUCCESS): Likewise.
34330         (NULL): Use macro-constant.  Require == 0.
34331         (RAND_MAX): Use macro-int-constant.
34332         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34333         [C99-based standards] (strtof): Require function.
34334         [C99-based standards] (strtold): Likewise.
34335         [C99-based standards] (strtoll): Likewise.
34336         [C99-based standards] (strtoull): Likewise.
34337         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34338         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34339         [ISO || ISO99 || ISO11] (math.h): Likewise.
34340         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34341         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34342         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34343
34344 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34345
34346         [BZ #14132]
34347         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34348         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34349         * intl/dgettext.c (DCGETTEXT): Likewise.
34350         * intl/gettext.c (DCGETTEXT): Likewise.
34351         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34352         * posix/regex_internal.h (gettext): Likewise.
34353         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34354         Remove declaration.
34355         * include/argz.h (__argz_count_internal)
34356         (__argz_stringify_internal): Remove declaration.
34357         (__argz_count, __argz_stringify): Declare hidden proto.
34358         * intl/dcgettext.c: Remove use of INTDEF.
34359         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34360         * string/argz-stringify.c: Likewise.
34361         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34362         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34363         Declare hidden proto.
34364         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34365         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34366         Declare hidden proto.
34367         * include/stdio.h (__asprintf_internal): Don't declare.
34368         (__asprintf): Don't define as macro.  Declare hidden proto.
34369         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34370         (__fsetlocking): Declare hidden proto.
34371         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34372         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34373         hidden proto.
34374         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34375         (_IO_setlinebuf): Remove use of INTUSE.
34376         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34377         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34378         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34379         Remove declaration.
34380         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34381         (_IO_do_flush): Remove use of INTUSE.
34382         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34383         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34384         (_IO_adjust_column, _IO_least_wmarker)
34385         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34386         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34387         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34388         (_IO_default_doallocate, _IO_wdefault_doallocate)
34389         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34390         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34391         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34392         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34393         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34394         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34395         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34396         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34397         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34398         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34399         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34400         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34401         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34402         proto.
34403         (_IO_flush_all_internal, _IO_adjust_column_internal)
34404         (_IO_default_uflow_internal, _IO_default_finish_internal)
34405         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34406         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34407         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34408         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34409         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34410         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34411         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34412         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34413         (_IO_file_close_internal, _IO_file_close_it_internal)
34414         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34415         (_IO_file_init_internal, _IO_file_attach_internal)
34416         (_IO_file_fopen_internal, _IO_file_read_internal)
34417         (_IO_file_sync_internal, _IO_file_seek_internal)
34418         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34419         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34420         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34421         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34422         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34423         (_IO_list_all_internal, _IO_link_in_internal)
34424         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34425         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34426         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34427         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34428         (_IO_do_write_internal, _IO_padn_internal)
34429         (_IO_getline_info_internal, _IO_getline_internal)
34430         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34431         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34432         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34433         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34434         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34435         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34436         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34437         with libc_hidden_ver, remove use of INTUSE.
34438         * libio/genops.c: Likewise.
34439         * libio/freopen.c: Likewise.
34440         * libio/freopen64.c: Likewise.
34441         * libio/iofclose.c: Likewise.
34442         * libio/iofdopen.c: Likewise.
34443         * libio/iofflush.c: Likewise.
34444         * libio/iofflush_u.c: Likewise.
34445         * libio/iofgets.c: Likewise.
34446         * libio/iofgets_u.c: Likewise.
34447         * libio/iofopen.c: Likewise.
34448         * libio/iofopncook.c: Likewise.
34449         * libio/iofread.c: Likewise.
34450         * libio/iofread_u.c: Likewise.
34451         * libio/ioftell.c: Likewise.
34452         * libio/iofwrite.c: Likewise.
34453         * libio/iogetline.c: Likewise.
34454         * libio/iogets.c: Likewise.
34455         * libio/iogetwline.c: Likewise.
34456         * libio/iopadn.c: Likewise.
34457         * libio/iopopen.c: Likewise.
34458         * libio/ioseekoff.c: Likewise.
34459         * libio/ioseekpos.c: Likewise.
34460         * libio/iosetbuffer.c: Likewise.
34461         * libio/iosetvbuf.c: Likewise.
34462         * libio/ioungetc.c: Likewise.
34463         * libio/ioungetwc.c: Likewise.
34464         * libio/iovdprintf.c: Likewise.
34465         * libio/iovsprintf.c: Likewise.
34466         * libio/iovsscanf.c: Likewise.
34467         * libio/memstream.c: Likewise.
34468         * libio/obprintf.c: Likewise.
34469         * libio/oldfileops.c: Likewise.
34470         * libio/oldiofclose.c: Likewise.
34471         * libio/oldiofdopen.c: Likewise.
34472         * libio/oldiofopen.c: Likewise.
34473         * libio/oldiopopen.c: Likewise.
34474         * libio/oldstdfiles.c: Likewise.
34475         * libio/putc.c: Likewise.
34476         * libio/setbuf.c: Likewise.
34477         * libio/setlinebuf.c: Likewise.
34478         * libio/stdfiles.c: Likewise.
34479         * libio/strops.c: Likewise.
34480         * libio/vasprintf.c: Likewise.
34481         * libio/vscanf.c: Likewise.
34482         * libio/vsnprintf.c: Likewise.
34483         * libio/vswprintf.c: Likewise.
34484         * libio/wfiledoalloc.c: Likewise.
34485         * libio/wfileops.c: Likewise.
34486         * libio/wgenops.c: Likewise.
34487         * libio/wmemstream.c: Likewise.
34488         * libio/wstrops.c: Likewise.
34489         * libio/__fpurge.c: Likewise.
34490         * libio/__fsetlocking.c: Likewise.
34491         * assert/assert.c: Likewise.
34492         * debug/fgets_chk.c: Likewise.
34493         * debug/fgets_u_chk.c: Likewise.
34494         * debug/fread_chk.c: Likewise.
34495         * debug/fread_u_chk.c: Likewise.
34496         * debug/gets_chk.c: Likewise.
34497         * debug/obprintf_chk.c: Likewise.
34498         * debug/vasprintf_chk.c: Likewise.
34499         * debug/vdprintf_chk.c: Likewise.
34500         * debug/vsnprintf_chk.c: Likewise.
34501         * debug/vsprintf_chk.c: Likewise.
34502         * malloc/mtrace.c: Likewise.
34503         * misc/error.c: Likewise.
34504         * misc/syslog.c: Likewise.
34505         * stdio-common/asprintf.c: Likewise.
34506         * stdio-common/fxprintf.c: Likewise.
34507         * stdio-common/getw.c: Likewise.
34508         * stdio-common/isoc99_fscanf.c: Likewise.
34509         * stdio-common/isoc99_scanf.c: Likewise.
34510         * stdio-common/isoc99_vfscanf.c: Likewise.
34511         * stdio-common/isoc99_vscanf.c: Likewise.
34512         * stdio-common/isoc99_vsscanf.c: Likewise.
34513         * stdio-common/printf-prs.c: Likewise.
34514         * stdio-common/printf_fp.c: Likewise.
34515         * stdio-common/printf_fphex.c: Likewise.
34516         * stdio-common/printf_size.c: Likewise.
34517         * stdio-common/putw.c: Likewise.
34518         * stdio-common/scanf.c: Likewise.
34519         * stdio-common/sprintf.c: Likewise.
34520         * stdio-common/tmpfile.c: Likewise.
34521         * stdio-common/vfprintf.c: Likewise.
34522         * stdio-common/vfscanf.c: Likewise.
34523         * stdlib/strfmon_l.c: Likewise.
34524         * sunrpc/openchild.c: Likewise.
34525         * sunrpc/xdr_stdio.c: Likewise.
34526         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34527         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34528
34529 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34530
34531         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34532
34533         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34534         in the third column, to generate for the shared library an IFUNC
34535         that uses _dl_vdso_vsym.
34536         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34537         * Makeconfig (object-suffixes-noshared): New variable.
34538
34539         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34540         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34541         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34542         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34543
34544         [BZ #14132]
34545         * include/sys/time.h (__gettimeofday): Remove macro.
34546         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34547         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34548         Remove INTDEF.
34549         (__gettimeofday): Add libc_hidden_def.
34550         (gettimeofday): Add libc_hidden_weak.
34551         * sysdeps/mach/gettimeofday.c: Likewise.
34552         * sysdeps/posix/gettimeofday.c: Likewise.
34553         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34554         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34555         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34556         (__gettimeofday_internal): Remove strong_alias.
34557         (__gettimeofday): Add libc_hidden_def.
34558         (gettimeofday): Add libc_hidden_weak.
34559         * sysdeps/unix/syscalls.list (gettimeofday):
34560         Remove __gettimeofday_internal alias.
34561
34562 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34563             H.J. Lu  <hongjiu.lu@intel.com>
34564
34565         [BZ #12495]
34566         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34567         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34568         (largebin_index_32_big): New.
34569         (largebin_index): Use it for 16-byte alignment.
34570         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34571         correction with front_misalign.
34572
34573 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34574
34575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34577         Likewise.
34578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34579         Likewise.
34580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34581         Likewise.
34582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34583         Likewise.
34584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34585         Likewise.
34586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34587         Likewise.
34588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34589         Likewise.
34590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34591         Likewise.
34592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34593         Likewise.
34594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34595         Likewise.
34596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34597         Likewise.
34598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34599         Likewise.
34600
34601         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34602         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34603
34604 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34605
34606         [BZ #10846]
34607         [BZ #14036]
34608         * math/libm-test.inc (exp_test): Add test from bug 14036.
34609         (pow_test): Add test from bug 10846.
34610
34611         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34612         and other flags.
34613         (special_function): Do not include flags in test name.
34614         (parse_args): Likewise.
34615         * sysdeps/i386/fpu/libm-test-ulps: Update.
34616         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34617         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34618         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34620
34621         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34622         exceptions.
34623         * math/libm-test.inc ("Philosophy"): Update comment about
34624         exception testing.
34625         (UNDERFLOW_EXCEPTION): New macro.
34626         (UNDERFLOW_EXCEPTION_OK): Likewise.
34627         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34628         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34629         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34630         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34631         (INVALID_EXCEPTION_OK): Update value.
34632         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34633         (OVERFLOW_EXCEPTION_OK): Likewise.
34634         (IGNORE_ZERO_INF_SIGN): Likewise.
34635         (test_exceptions): Handle underflow exceptions.
34636         (acos_test): Update for underflow exception expectations.
34637         (cexp_test): Likewise.
34638         (clog_test): Likewise.
34639         (clog10_test): Likewise.
34640         (csqrt_test): Likewise.
34641         (ctan_test): Likewise.
34642         (ctanh_test): Likewise.
34643         (exp_test): Likewise.
34644         (exp10_test): Likewise.
34645         (exp2_test): Likewise.
34646         (expm1_test): Likewise.
34647         (fma_test): Likewise.
34648         (j0_test): Likewise.
34649         (jn_test): Likewise.
34650         (nexttoward_test): Likewise.
34651         (pow_test): Likewise.
34652         (scalbn_test): Likewise.
34653         (scalbln_test): Likewise.
34654         (tan_test): Likewise.
34655         (y1_test): Likewise.
34656         * sysdeps/i386/fpu/libm-test-ulps: Update.
34657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34658
34659 2012-05-23  David S. Miller  <davem@davemloft.net>
34660
34661         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34662         (__libc_sigaction): Remove unused local variables.
34663
34664 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34665
34666         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34667
34668 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34669
34670         mktime: avoid signed integer overflow
34671         * time/mktime.c (__mktime_internal): Do not mishandle the case
34672         where diff == INT_MIN.
34673
34674         mktime: simplify computation of average
34675         * time/mktime.c (ranged_convert): Use new time_t_avg function
34676         instead of rolling our own (probably-slower) code.
34677
34678         mktime: do not assume signed right shift propagates sign bit
34679         * time/mktime.c (isdst_differ): New static function.
34680         (__mktime_internal): No need to normalize tm_isdst now.
34681         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34682         tm_isdst values.
34683
34684         mktime: merge another wrapv change from gnulib
34685         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34686         from some compilers.
34687
34688         mktime: remove incorrect attempt at unusual arithmetics
34689         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34690         The code didn't really work on such machines anyway.
34691         (TYPE_MINIMUM): Assume two's complement.
34692         (twos_complement_arithmetic): Verify that long_int and time_t
34693         are two's complement (or unsigned, in the latter case).
34694
34695         mktime: check signed shifts on long_int and time_t, too
34696         * time/mktime.c (SHR): Check that shifts work as desired
34697         on the types long_int and time_t too, as SHR is used on
34698         such types.
34699
34700         mktime: do not assume 'long' is wide enough
34701         * time/mktime.c (verify): Move decl up.
34702         (long_int): New type.
34703         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34704         to remove assumption in the code that 'long' is wide enough to
34705         store year values.  This assumption is not true on x32 and on
34706         some non-glibc platforms.
34707
34708         mktime: merge wrapv change from gnulib
34709         * time/mktime.c (WRAPV): New macro.
34710         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34711         (guess_time_tm, __mktime_internal): Do not assume that signed
34712         integer overflow wraps around; modern compilers generate code
34713         where this assumption is no longer valid.
34714
34715 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34716
34717         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34718         Replace "jmp L(pseudo_end)" with "ret".
34719         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34720         Likewise.
34721
34722 2012-05-23  Andreas Jaeger  <aj@suse.de>
34723
34724         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34725         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34726
34727 2012-05-23  Andreas Jaeger  <aj@suse.de>
34728             Maximilian Attems  <max@stro.at>
34729
34730         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34731         New macros.
34732
34733 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34734
34735         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34736         code so that pseudo_end is just ret and the stack pointer is
34737         correct also for static library in error case.
34738
34739 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34740
34741         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34742         move to syscalls.list.
34743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34747
34748         * manual/install.texi (Running make install): Do not mention Linux
34749         kernel version for which pt_chown is not needed.
34750         (Linux): Do not mention problems with nscd with 2.0 kernels.
34751         * INSTALL: Regenerated.
34752
34753 2012-05-23  Andreas Jaeger  <aj@suse.de>
34754
34755         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34756         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34757         macro.
34758         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34759         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34760         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34761         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34762         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34763         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34764         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34765         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34766         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34767         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34768         * sysdeps/unix/sysv/linux/bits/in.h
34769         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34770
34771 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34772
34773         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34774         (PREPARE_VERSION): Just use assert instead, it will be elided
34775         under [NDEBUG] anyway.
34776
34777 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34778
34779         * sysdeps/unix/sysv/linux/Makefile: Include
34780         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34781         (sysdep_routines): Remove sysctl.
34782         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34783         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34784         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34785         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34786         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34787
34788 2012-05-22  Andreas Jaeger  <aj@suse.de>
34789
34790         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34791         that pseudo_end is just ret and the stack pointer is correct also
34792         for static library in error case.
34793
34794 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34795
34796         [BZ #14122]
34797         * nss/nsswitch.c (defconfig_entries): New variable.
34798         (__nss_database_lookup): Don't leak defconfig entries.
34799         (nss_parse_service_list): Don't leak on error paths.
34800         (free_database_entries): New function.
34801         (free_defconfig): New function.
34802         (free_mem): Move common code to free_database_entries.
34803
34804 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34805
34806         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34807         Add arch_prctl.
34808         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34809
34810         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34811         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34813         New macro.
34814         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34815         (INTERNAL_SYSCALL_TYPES): Likewise.
34816         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34817         (LOAD_REGS_TYPES_[1-6]): Likewise.
34818         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34819         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34820
34821 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34822
34823         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34824         copysignl for GLIBC_2_0.
34825         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34826         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34827         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34828         logbl for GLIBC_2_0.
34829         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34830         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34831
34832 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34833
34834         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34835         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34836
34837         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34838         Use "neg %eax".
34839
34840         * time/mktime.c: Update copyright years.
34841
34842 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34843
34844         mktime: merge comment-quoting-style change from gnulib
34845         * time/mktime.c: Quote 'like this' in comments.
34846         The GNU coding standards suggest that we no longer quote `like this',
34847         as "`" and "'" are typically rendered asymmetrically nowadays.
34848         The typical gnulib style is to quote 'like this' when quoting
34849         code, and "like this" when quoting English.
34850
34851         * time/mktime.c (compile-command): Add "-I.".
34852
34853         mktime: merge mktime-internal.h change from gnulib
34854         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34855
34856         mktime: merge time_r change from gnulib
34857         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34858
34859         mktime: merge DEBUG change from gnulib
34860         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34861         case system <time.h> has a #define.
34862
34863         mktime: merge <sys/types.h> change from gnulib
34864         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34865         since <time.t> is now guaranteed to define time_t.
34866
34867         mktime: merge HAVE_CONFIG_H change from gnulib
34868         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34869
34870 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34871
34872         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34873         Use "neg %eax".
34874
34875         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34876         __rlim_t cast.
34877         (struct rusage): Use anonymous union to pad each field to
34878         __syscall_slong_t.
34879
34880 2012-05-21  David S. Miller  <davem@davemloft.net>
34881
34882         * Makefules (o-iterator): Remove .s cases.
34883         (compile-command.s): Delete.
34884         (COMPILE.s): Delete.
34885         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34886
34887 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34888
34889         * configure.in (libc_cv_predef_stack_protector): Only consider
34890         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34891         * configure: Regenerated.
34892
34893 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34894
34895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34896         New macro.  Use R*LP on int and pointer.
34897         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34898         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34899         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34900         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34901
34902         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34903         [__WORDSIZE_TIME64_COMPAT32] instead of
34904         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34905         (struct utmp): Likewise.
34906         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34907         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34908         Renamed to ...
34909         (__WORDSIZE_TIME64_COMPAT32): This.
34910         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34911         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34912         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34913         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34914         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34915         (__WORDSIZE_TIME64_COMPAT32): New macro.
34916
34917 2012-05-21  Andreas Jaeger  <aj@suse.de>
34918
34919         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34920         only if [SHARED]. Add prototype for __wcschr_ia32.
34921
34922 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34923
34924         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34925         of %rbp unmolested in the jmp_buf while mangling the low bits.
34926         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34927         unmolested high bits of %rbp while demangling the low bits.
34928         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34929
34930 2012-05-21  Andreas Jaeger  <aj@suse.de>
34931
34932         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34933         * sunrpc/svc_simple.c: Use it for registerrpc.
34934         * sunrpc/xcrypt.c: Use it for passwd2des.
34935
34936         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34937
34938 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34939
34940         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34941         Don't define if [__SYSCALL_WORDSIZE != 32].
34942         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34943         New macro.
34944
34945 2012-05-21  Bruno Haible  <bruno@clisp.org>
34946             Andreas Jaeger  <aj@suse.de>
34947
34948         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34949         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34950         inptr and inend for must_buffer_ch.
34951         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34952         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34953         * stdio-common/Makefile (tests): Remove bug15.
34954         (bug15-ENV): Remove macro.
34955         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34956         anymore.
34957
34958 2012-05-19  Andreas Jaeger  <aj@suse.de>
34959             Roland McGrath  <roland@hack.frob.com>
34960
34961         * manual/contrib.texi: Completely rewritten. It contains now an
34962         alphabetical list of contributors and their contributions.
34963
34964 2012-05-21  Richard Henderson  <rth@twiddle.net>
34965
34966         * misc/getauxval.c (__getauxval): Use unsigned long int.
34967         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34968         (getauxval): Use unsigned long int.
34969
34970 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34971
34972         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34973
34974 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34975
34976         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34977         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34978         __alignof__ (long double).
34979
34980 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34981
34982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34983
34984 2012-05-20  Richard Henderson  <rth@twiddle.net>
34985
34986         * misc/getauxval.c: New file.
34987         * misc/sys/auxv.h: New file.
34988         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34989         (routines): Add getauxval.
34990         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34991         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34992         * elf/dl-sysdep.c (_dl_auxv): Remove.
34993         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34994         * elf/dl-support.c (_dl_auxv): New variable.
34995         (_dl_aux_init): Initialize it.
34996         * manual/startup.texi (Auxiliary Vector): New node.
34997         * sysdeps/generic/bits/hwcap.h: New file.
34998         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34999         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35000         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35001         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35002         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35003         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35005         Update.
35006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35009         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35014
35015 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35016
35017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35018
35019 2012-05-19  David S. Miller  <davem@davemloft.net>
35020
35021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35022
35023 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35024
35025         [BZ #14123]
35026         * math/s_ccosh.c: Include <float.h>
35027         (__ccosh): Avoid internal overflow calculating sinh and cosh
35028         values before multiplying by sin and cos values.
35029         * math/s_ccoshf.c: Likewise.
35030         * math/s_ccoshl.c: Likewise.
35031         * math/s_csin.c: Likewise.
35032         * math/s_csinf.c: Likewise.
35033         * math/s_csinl.c: Likewise.
35034         * math/s_csinh.c: Likewise.
35035         * math/s_csinhf.c: Likewise.
35036         * math/s_csinhl.c: Likewise.
35037         * math/libm-test.inc (ccos_test): Add more tests.
35038         (ccosh_test): Likewise.
35039         (csin_test): Likewise.
35040         (csinh_test): Likewise.
35041         * sysdeps/i386/fpu/libm-test-ulps: Update.
35042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35043
35044 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35045
35046         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35047         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35048
35049         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35050
35051 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35052
35053         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35054         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35055         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35056         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35057         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35058         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35059         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35060         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35061         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35062         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35063         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35064         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35065         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35066         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35067         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35068         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35069         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35070         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35071         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35072         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35073         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35074         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35075         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35076         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35077         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35078         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35079         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35080         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35081         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35082         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35083         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35084
35085 2012-05-18  Andreas Jaeger  <aj@suse.de>
35086
35087         * csu/.gitignore: Delete.
35088
35089 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35090
35091         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35092         (timex): Use __syscall_slong_t.
35093
35094 2012-05-18  Andreas Jaeger  <aj@suse.de>
35095             Carlos O'Donell  <carlos_odonell@mentor.com>
35096
35097         * manual/install.texi (Configuring and compiling): Update
35098         description about files modified in the source directory.
35099         * INSTALL: Regenerated.
35100
35101 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35102
35103         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35104         value.  Use "or" to set return value to -1.
35105         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35106         negate return value.
35107
35108 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35109
35110         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35111         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35112         failure if the compiler has Graphite support disabled.
35113         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35114         Likewise.
35115         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35116         (CFLAGS-memmove.c): Likewise.
35117         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35118         Likewise.
35119
35120 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35121
35122         * sysdeps/x86_64/x32/_itoa.h: New file.
35123
35124         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35125         getdents system call only if kernel and user dirents have the
35126         same d_ino and d_off.
35127
35128         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35129         LLONG_MAX != LONG_MAX.
35130         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35131         (_fitoa_word): Likewise.
35132
35133         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35134         years.
35135         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35136         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35137         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35138
35139         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35140         include <bits/wordsize.h>.  Check __x86_64__ instead of
35141         __WORDSIZE.
35142         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35143         if __x86_64__ is defined.  Use anonymous union on fpstate.
35144
35145         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35146         anonymous union.
35147
35148 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35149
35150         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35151         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35152         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35153         Refer to _rtld_local_ro instead of _rtld_global_ro.
35154         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35155         Likewise.
35156         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35157         Likewise.
35158         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35159         Likewise.
35160         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35161         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35162         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35163
35164         * sysdeps/powerpc/powerpc32/dl-machine.c
35165         (__elf_machine_runtime_setup) [PROF]: Don't reference
35166         _dl_prof_resolve.
35167
35168 2012-05-18  Andreas Jaeger  <aj@suse.de>
35169
35170         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35171         function only available for GCCs before 3.4 since GCC 3.4
35172         introduced a builtin.
35173         (lrint): Likewise.
35174         (llrintf): Likewise.
35175         (llrint): Likewise.
35176         (fmaxf): Likewise.
35177         (fmax): Likewise.
35178         (fminf): Likewise.
35179         (fmin): Likewise.
35180         (rint): Likewise.
35181         (rintf): Likewise.
35182         (nearbyint): Likewise.
35183         (nearbyintf): Likewise.
35184         (ceil): Likewise.
35185         (ceilf): Likewise.
35186         (floor): Likewise.
35187         (floorf): Likewise.
35188
35189 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35190
35191         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35192         on both fields and cast pointer to __syscall_ulong_t.
35193
35194         * bits/types.h (__fsword_t): New type.
35195         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35196         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35197         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35198         (__FSWORD_T_TYPE): Likewise.
35199         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35200         (__FSWORD_T_TYPE): Likewise.
35201         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35202         (__FSWORD_T_TYPE): Likewise.
35203         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35204         (__FSWORD_T_TYPE): Likewise.
35205         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35206         __SWORD_TYPE with __fsword_t.
35207         (statfs64): Likewise.
35208
35209 2012-05-17  David S. Miller  <davem@davemloft.net>
35210
35211         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35212
35213 2012-05-17  Andreas Jaeger  <aj@suse.de>
35214
35215         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35216         warning.
35217
35218 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35219
35220         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35221
35222 2012-05-17  Andreas Jaeger  <aj@suse.de>
35223
35224         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35225         when it is used.
35226
35227 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35228
35229         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35230
35231 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35232
35233         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35234         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35235
35236 2012-05-17  Andreas Jaeger  <aj@suse.de>
35237             Carlos O'Donell  <carlos_odonell@mentor.com>
35238
35239         [BZ #14059]
35240         * sysdeps/x86_64/multiarch/init-arch.h
35241         (bit_YMM_Usable): Rename to...
35242         (bit_AVX_Usable): ... this.
35243         (bit_FMA4_Usable): New macro.
35244         (bit_XMM_state): New macro.
35245         (bit_YMM_state): New macro.
35246         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35247         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35248         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35249         (CPUID_OSXSAVE): New macro.
35250         (CPUID_AVX): New macro.
35251         (CPUID_FMA4): New macro.
35252         (index_YMM_Usable): Rename to...
35253         (index_AVX_Usable): ... this.
35254         (HAS_AVX): Use HAS_ARCH_FEATURE.
35255         (HAS_FMA4): Likewise.
35256         (HAS_YMM_USABLE): Remove.
35257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35258         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35259         are present.
35260         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35261         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35262         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35263         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35264         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35265
35266 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35267
35268         * math/libm-test.c: Support platforms without multiple rounding modes.
35269         * math/bug-nextafter.c: Support platforms without FP exceptions.
35270         * math/bug-nexttoward.c: Likewise.
35271         * math/test-fenv.c: Likewise.
35272         * math/test-misc.c: Likewise.
35273         * stdlib/bug-getcontext.c: Likewise.
35274
35275 2012-05-17  Andreas Jaeger  <aj@suse.de>
35276
35277         * manual/examples/search.c (critter_cmp): Change signature to
35278         avoid warnings.
35279         * manual/string.texi (Collation Functions): Likewise.
35280
35281 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35282
35283         * bits/types.h: Fold copyright years.
35284         * bits/typesizes.h: Likewise.
35285         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35287         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35288         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35289         * time/time.h: Likewise.
35290
35291 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35292
35293         [BZ #208]
35294         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35295         in instead of returning them.  Return void.
35296         (__libc_mallinfo): Accumulate over all arenas.
35297         (__malloc_stats): Adjust for change in int_mallinfo interface.
35298
35299 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35300
35301         [BZ #10375]
35302         * configure.in (NM): Add AC_CHECK_TOOL for it.
35303         (libc_extra_cflags): New substituted variable.
35304         Check for -fstack-protector being used implicitly.
35305         * configure: Regenerated.
35306         * config.make.in (config-extra-cflags): New variable,
35307         gets @libc_extra_cflags@.
35308         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35309
35310         [BZ #10375]
35311         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35312         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35313         * configure: Regenerated.
35314         * config.make.in (CPPUNDEFS): New substituted variable.
35315         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35316         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35317         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35318
35319 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35320
35321         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35322         (mq_attr): Use __syscall_slong_t.
35323
35324 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35325
35326         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35327         Check __x86_64__ instead of __WORDSIZE.
35328         (_STAT_VER_LINUX): Likewise.
35329         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35330         __syscall_ulong_t and __syscall_slong_t.
35331         (stat64): Likewise.
35332
35333 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35334
35335         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35336
35337 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35338
35339         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35340
35341 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35342
35343         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35344         __syscall_ulong_t.
35345
35346         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35347         include <bits/wordsize.h>.  Check __x86_64__ instead of
35348         __WORDSIZE.
35349         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35350         defined.
35351         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35352
35353         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35354         include <bits/wordsize.h>.  Check __x86_64__ instead of
35355         __WORDSIZE.
35356         (user_regs_struct): Use "__extension__ unsigned long long"
35357         instead of "unsigned long" if __x86_64__ is defined.
35358         (user): Likewise.  Pad after pointer field if __ILP32__ is
35359         defined.
35360
35361 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35362
35363         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35364         versions 5 to 9.
35365         * configure: Regenerated.
35366         * manual/install.texi (texinfo): Increase version requirement to
35367         4.5 or later.
35368         * INSTALL: Regenerated.
35369
35370         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35371
35372 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35373
35374         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35375
35376         * sysdeps/x86_64/x32/ffs.c: New file.
35377
35378         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35379         __syscall_ulong_t.
35380         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35381         defined.  Use __syscall_ulong_t.
35382         (shminfo): Use __syscall_ulong_t.
35383         (shm_info): Likewise.
35384
35385         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35386         __syscall_ulong_t.
35387
35388         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35389         <bits/wordsize.h>.
35390         (msgqnum_t): Use __syscall_ulong_t.
35391         (msglen_t): Likewise.
35392         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35393         __syscall_ulong_t.
35394
35395         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35396         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35397
35398         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35399
35400         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35401         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35402
35403         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35404         __syscall_slong_t.
35405
35406         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35407         include <bits/wordsize.h>.  Check __x86_64__ instead of
35408         __WORDSIZE.
35409
35410         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35411         "unsigned long long int" if __x86_64__ is defined.
35412         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35413
35414         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35415         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35416         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35417
35418         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35419         <stdint.h>.
35420         (GET_PC): Cast to uintptr_t first.
35421         (GET_FRAME): Likewise.
35422         (GET_STACK): Likewise.
35423
35424         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35425         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35426         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35427         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35428         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35429         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35430         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35431         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35432         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35433         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35434         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35435         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35436         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35437         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35438         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35439         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35440         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35441         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35442         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35443         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35444         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35445         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35446         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35447         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35448         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35449         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35450         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35451         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35452         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35453
35454 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35455
35456         * Makerules (+depfiles): Also collect depfiles from .oS in
35457         $(extra-objs).
35458         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35459         .oS, $(libnldbl-routines)).
35460
35461         * Makerules (native-compile-mkdep-flags): Define.
35462         * sunrpc/Makefile (extra-objs): Add $(addprefix
35463         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35464         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35465         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35466         calling $(make-target-directory).
35467
35468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35469
35470         * bits/types.h (__snseconds_t): Removed.
35471         * time/time.h (struct timespec): Replace __snseconds_t with
35472         __syscall_slong_t.
35473         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35474         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35475         Likewise.
35476         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35477         (__SNSECONDS_T_TYPE): Likewise.
35478         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35479         (__SNSECONDS_T_TYPE): Likewise.
35480         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35481         (__SNSECONDS_T_TYPE): Likewise.
35482
35483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35484
35485         * sysdeps/mach/hurd/bits/typesizes.h
35486         (__SYSCALL_SLONG_TYPE): New macro.
35487         (__SYSCALL_ULONG_TYPE): Likewise.
35488
35489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35490
35491         * bits/types.h (__syscall_slong_t): New type.
35492         (__syscall_ulong_t): Likewise.
35493
35494         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35495         (__SYSCALL_ULONG_TYPE): Likewise.
35496         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35497         (__SYSCALL_SLONG_TYPE): Likewise.
35498         (__SYSCALL_ULONG_TYPE): Likewise.
35499         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35500         (__SYSCALL_SLONG_TYPE): Likewise.
35501         (__SYSCALL_ULONG_TYPE): Likewise.
35502         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35503         (__SYSCALL_SLONG_TYPE): Likewise.
35504         (__SYSCALL_ULONG_TYPE): Likewise.
35505
35506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35507
35508         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35509         Add sigaltstack-offsets.sym.
35510         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35511         <sigaltstack-offsets.h>.
35512         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35513         longjmp_msg pointer.
35514         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35515         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35516         signal stack.
35517         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35518
35519 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35520
35521         * elf/stackguard-macros.h: Remove file.
35522         * sysdeps/generic/stackguard-macros.h: New file.
35523         * sysdeps/i386/stackguard-macros.h: Likewise.
35524         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35525         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35526         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35527         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35528         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35529         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35530         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35531         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35532         <elf/stackguard-macros.h>.
35533
35534         [BZ #14109]
35535         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35536         __aligned__ in attribute.
35537         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35538         (gregset_t): Likewise.
35539
35540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35541
35542         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35543         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35544         * sysdeps/x86_64/x32/Implies-after: New file.
35545
35546 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35547
35548         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35549         and access return value for _dl_profile_fixup.  Use R10_LP to
35550         load frame size.
35551
35552 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35553
35554         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35555
35556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35557
35558         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35559         * sysdeps/x86_64/x32/sysdep.h: New file.
35560
35561 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35562
35563         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35564         * sysdeps/x86_64/setjmp.S: Likewise.
35565
35566 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35567
35568         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35569         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35570         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35571         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35572         remove unused global constant.
35573
35574 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35575
35576         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35577         include of <not-cancel.h>.
35578
35579 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35580
35581         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35582
35583 2012-05-15  Jeff Law  <law@redhat.com>
35584             Andreas Jaeger  <aj@suse.de>
35585
35586         [BZ #13594]
35587         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35588         out from...
35589         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35590         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35591         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35592         code changing __hst_map_handle.map.
35593
35594 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35595
35596         * configure.in (sysnames): Look for Implies-before and Implies-after
35597         files.
35598         * configure: Regenerated.
35599
35600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35601
35602         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35603         8-byte data alignment with LP_SIZE alignment.
35604
35605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35606
35607         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35608         into R10_LP.
35609
35610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35611
35612         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35613
35614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35615
35616         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35617         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35618         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35619         Likewise.
35620         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35621
35622 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35623
35624         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35625         (stackinfo_sub_sp): Likewise.
35626
35627 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35628
35629         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35630         RAX_LP.
35631
35632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35633
35634         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35635         into R*_LP.
35636
35637 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35638
35639         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35640         sizes into R*_LP.
35641
35642 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35643
35644         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35645
35646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35647
35648         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35649         into R11_LP and load __x86_64_shared_cache_size_half into
35650         R8_LP.
35651
35652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35653
35654         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35655         R8_LP.
35656
35657 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35658
35659         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35660         logb for POWER7.
35661         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35662         logbf for POWER7.
35663         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35664         logbl for POWER7.
35665         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35666         powerpc32/power7/fpu/s_logb.c via #include.
35667         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35668         powerpc32/power7/fpu/s_logbf.c via #include.
35669         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35670         powerpc32/power7/fpu/s_logbl.c via #include.
35671
35672 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35673
35674         * README.libm: Remove file.
35675
35676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35677
35678         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35679         count for x32.  Use R*_LP and omit operand-size suffix.
35680
35681 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35682
35683         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35684         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35685         * sysdeps/x86_64/x32/shlib-versions: New file.
35686
35687 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35688
35689         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35690         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35691         Use _dl_fatal_printf instead.
35692
35693 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35694
35695         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35696         set if not set by the user.  Do not allow for being unset.
35697         * sysdeps/unix/sysv/linux/configure: Regenerated.
35698
35699 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35700
35701         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35702         the `q' suffix from lea and replace .quad with ASM_ADDR.
35703
35704 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35705
35706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35707         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35708         instead of $17.
35709         (PTR_DEMANGLE): Likewise.
35710
35711 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35712
35713         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35714         (LP_OP): Likewise.
35715         (ASM_ADDR): Likewise.
35716         (RAX_LP): Likewise.
35717         (RBP_LP): Likewise.
35718         (RBX_LP): Likewise.
35719         (RCX_LP): Likewise.
35720         (RDI_LP): Likewise.
35721         (RSI_LP): Likewise.
35722         (RSP_LP): Likewise.
35723         (R8_LP): Likewise.
35724         (R9_LP): Likewise.
35725         (R10_LP): Likewise.
35726         (R10_LP): Likewise.
35727         (R11_LP): Likewise.
35728         (R12_LP): Likewise.
35729         (R13_LP): Likewise.
35730         (R14_LP): Likewise.
35731         (R15_LP): Likewise.
35732
35733 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35734
35735         * sysdeps/x86_64/x32/dl-machine.h: New file.
35736
35737 2012-05-14  Andreas Jaeger  <aj@suse.de>
35738
35739         * manual/Makefile (subdir): Remove export of subdir.
35740         (all): Remove target.
35741         (.PHONY): Remove all from list.
35742         (mkinstalldirs): Remove.
35743         (.PHONY): Remove installdirs from list.
35744         ($(inst_infodir)/libc.info): Use make-target-directory.
35745         (installdirs): Remove.
35746         (subdir_%): Remove.
35747         (glibc-targets): Remove.
35748         (lib): Remove.
35749         (stubs): Remove.
35750         ($(objpfx)stubs ../po/manual.pot): Remove.
35751         ($(objpfx)stamp%): Remove.
35752         (make-target-directory): Remove.
35753         (subdir_install): Remove.
35754         (routines): Remove.
35755         (aux): Remove.
35756         (sources): Remove.
35757         (objects): Remove.
35758         (headers): Remove.
35759
35760         [BZ #13750]
35761         * manual/.gitignore: Remove, it's not needed anymore.
35762         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35763         all files in it.
35764         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35765         directory.
35766         (texis): Renamed to $(objpfx)texis.
35767         (texis-path): New, contains path to generated files.
35768         (chapters.%): Use texis-path for complete path, add extra argument
35769         libc-texinfo.sh.
35770         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35771         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35772         (summary,texi, stamp-summary): Use complete path of
35773         files. Generate files in build dir.
35774         (dir-add.texi): Build in build dir.
35775         (libm-err.texi,stamp-libm-err): Likewise.
35776         (version.texi, stamp-version): Likewise.
35777         (.%c.texi): Likewise.
35778         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35779         (mostlyclean): Remove target.
35780         (realclean): Remove target.
35781         (generated): Add new variable with contents from mostlyclean and
35782         realclean, remove entries duplicated in common-mostlyclean, add
35783         stamp-libm-err and stamp-version.
35784         (generated-dirs): Add libc directory.
35785         ($(inst_infodir)/libc.info): Install files from build dir.
35786
35787         * manual/install.texi (Configuring and compiling): Adjust since
35788         the info files are not part of the tar ball anymore.
35789
35790 2012-05-14  Andreas Jaeger  <aj@suse.de>
35791
35792         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35793         variable.
35794
35795 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35796
35797         [BZ #13717]
35798         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35799         to 2.2.0 where earlier.
35800         * sysdeps/unix/sysv/linux/configure: Regenerated.
35801         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35802         Remove conditional code.
35803         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35804         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35805         Remove conditional code.
35806         [!__NR_lchown]: Likewise.
35807         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35808         [__NR_lchown]: Likewise.
35809         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35810         comment referencing __ASSUME_LCHOWN_SYSCALL.
35811         * sysdeps/unix/sysv/linux/i386/sigaction.c
35812         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35813         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35814         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35815         Remove conditional code.
35816         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35817         (__protocol_available): Remove #if 0 code.
35818         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35819         conditional code.
35820         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35821         * sysdeps/unix/sysv/linux/kernel-features.h
35822         (__ASSUME_GETCWD_SYSCALL): Don't define.
35823         (__ASSUME_REALTIME_SIGNALS): Likewise.
35824         (__ASSUME_PREAD_SYSCALL): Likewise.
35825         (__ASSUME_PWRITE_SYSCALL): Likewise.
35826         (__ASSUME_POLL_SYSCALL): Likewise.
35827         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35828         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35829         non-SPARC.
35830         (__ASSUME_SIOCGIFNAME): Don't define.
35831         (__ASSUME_MSG_NOSIGNAL): Likewise.
35832         (__ASSUME_SENDFILE): Define unconditionally.
35833         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35834         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35835         conditional code.
35836         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35837         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35838         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35839         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35840         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35841         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35842         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35844         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35845         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35847         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35848         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35850         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35851         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35853         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35854         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35856         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35857         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35859         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35860         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35862         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35863         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35865         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35866         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35867         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35868         Remove conditional code.
35869         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35870         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35871         Remove conditional code.
35872         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35873         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35874         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35875         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35876         Remove conditional code.
35877         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35878         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35879         Remove conditional code.
35880         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35881         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35882         Remove conditional code.
35883         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35884         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35885         Remove conditional code.
35886         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35887         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35888         Remove conditional code.
35889         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35890         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35891         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35892         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35893         * sysdeps/unix/sysv/linux/sigaction.c
35894         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35895         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35896         * sysdeps/unix/sysv/linux/sigpending.c
35897         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35898         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35899         * sysdeps/unix/sysv/linux/sigprocmask.c
35900         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35901         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35902         * sysdeps/unix/sysv/linux/sigsuspend.c
35903         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35904         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35905         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35906         (__libc_missing_rt_sigs): Remove.
35907         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35908         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35909         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35910         Remove conditional code.
35911         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35912         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35913         return 1.
35914         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35915         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35916         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35917         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35918
35919 2012-05-14  Andreas Jaeger  <aj@suse.de>
35920
35921         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35922         it's not used in glibc.
35923         (__coshm1): Likewise.
35924         (__acosh1p): Likewise.
35925         (__sgn): Likewise.
35926
35927         * manual/string.texi (Copying and Concatenation): Add missing
35928         variable in concat example.
35929         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35930
35931 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35932
35933         [BZ #14103]
35934         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35935         __builtin_clzl with __builtin_clzll.
35936
35937 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35938
35939         [BZ #14104]
35940         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35941         libc_freeres_ptr.
35942
35943 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35944
35945         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35946         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35947         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35948         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35949
35950 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35951
35952         * NEWS: Update ia64 info.
35953
35954 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35955
35956         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35957         used as bcopy.
35958
35959 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35960
35961         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35962         * sysdeps/unix/syscalls.list (dup3): Likewise.
35963         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35964         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35965
35966 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35967
35968         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35969         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35970
35971 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35972
35973         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35974         thread pointer.
35975         (TLS_IE): Use mov/add instead of movq/addq to load thread
35976         pointer.
35977         (TLS_GD_PREFIX): New.
35978         (TLS_GD): Use it.
35979
35980 2012-05-11  David S. Miller  <davem@davemloft.net>
35981
35982         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35983         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35984         (_FPU_SETCW): Likewise.
35985
35986 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35987
35988         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35989         is 32-byte aligned.
35990
35991 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35992
35993         [BZ #11837]
35994         * iconvdata/gb18030.c: Update tables.
35995         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35996         characters specially.
35997         (BODY for TO_LOOP): Add encoding of missing ranges.
35998
35999 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36000
36001         [BZ #13673]
36002         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36003         * sysdeps/mach/hurd/dup3.c: Likewise.
36004         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36005         * sysdeps/powerpc/memmove.c:: Likewise.
36006
36007 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36008
36009         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36010         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36011
36012 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36013
36014         * elf/elf.h (R_X86_64_RELATIVE64): New.
36015         (R_X86_64_NUM): Updated.
36016         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36017         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36018         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36019         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36020         tst-quad1pie tst-quad2pie
36021         (modules-names): Add tst-quadmod1 tst-quadmod2.
36022         ($(objpfx)tst-quad1): New dependency.
36023         ($(objpfx)tst-quad2): Likewise.
36024         ($(objpfx)tst-quad1pie): Likewise.
36025         ($(objpfx)tst-quad2pie): Likewise.
36026         * sysdeps/x86_64/tst-quad1.c: New file.
36027         * sysdeps/x86_64/tst-quad1pie.c: New file.
36028         * sysdeps/x86_64/tst-quad2.c: Likewise.
36029         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36030         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36031         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36032         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36033         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36034
36035 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36036
36037         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36038         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36039         * streams/stropts.h (t_scalar_t): Define type.
36040
36041         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36042         (_PATH_PRESERVE): Set to "/var/lib".
36043         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36044
36045         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36046         instead of int.
36047
36048         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36049         if __dir_mkfile succeeded.
36050
36051         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36052         checking for _hurd_dtablesize.  Unlock it right after having
36053         finished _hurd_dtable allocation.
36054
36055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36056
36057         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36058         * sysdeps/mach/hurd/configure: Regenerated.
36059         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36060         special-casing to...
36061         * sysdeps/gnu/configure.in: ... this new file.
36062         * sysdeps/unix/sysv/linux/configure: Regenerated.
36063         * sysdeps/gnu/configure: New generated file.
36064
36065         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36066         for Linux: use nsec instead of usec, as well as:
36067         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36068         members of type struct timespec.
36069         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36070         New macros.
36071         (struct stat64): Likewise.
36072         (_STATBUF_ST_NSEC): New macro.
36073         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36074
36075         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36076         __strtoul_internal rather than strtoul.
36077
36078 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36079
36080         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36081         and reject them.
36082
36083 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36084
36085         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36086         which preserves existing values.
36087         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36088
36089 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36090
36091         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36092         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36093         greater than FD_SETSIZE.
36094
36095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36096
36097         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36098         allocated, call __vm_protect to finish enabling the existing space, and
36099         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36100         allocate the remainder.
36101
36102 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36103
36104         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36105         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36106
36107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36108
36109         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36110         sysdeps/mach/hurd/readlink.c.
36111
36112         * posix/tst-sysconf.c (posix_options): Only use
36113         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36114         _POSIX_SYNCHRONIZED_IO when they are defined
36115         * sysdeps/mach/hurd/bits/posix_opt.h:
36116         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36117         (_XOPEN_REALTIME): Undefine macro.
36118         (_XOPEN_REALTIME_THREADS): Undefine macro.
36119         (_XOPEN_SHM): Undefine macro.
36120         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36121         macro to -1.
36122         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36123         macro to -1.
36124         (_POSIX_ASYNC_IO): Undefine macro.
36125         (_POSIX_PRIORITIZED_IO): Undefine macro.
36126         (_POSIX_SPIN_LOCKS): Define macro to -1.
36127
36128         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36129         SA_NODEFER, SA_RESETHAND.
36130         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36131         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36132         F_DUPFD_CLOEXEC.
36133
36134 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36135
36136         * elf/Makefile (pldd-modules): Define unconditionally.
36137
36138 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36139
36140         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36141
36142 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36143
36144         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36145         Return ENOENT when name is empty.
36146         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36147
36148 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36149
36150         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36151
36152         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36153
36154 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36155
36156         Fix mlock in all cases except non-readable pages.
36157         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36158         instead of VM_PROT_ALL as parameter to __vm_wire function.
36159
36160         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36161         (__mkdir): When path is `/', just fail with EEXIST.
36162         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36163
36164 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36165
36166         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36167         <sys/uio.h> (for writev).
36168         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36169         and <sys/param.h> (for MIN).
36170
36171 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36172
36173         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36174         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36175         if interrupted.
36176
36177 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36178
36179         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36180         Depend on against $(link-rpcuserlibs).
36181
36182 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36183
36184         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36185         (__libc_stack_end): Do not use attribute_relro.
36186         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36187         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36188         to libthread-provided value.
36189         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36190         attribute_relro.
36191
36192 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36193
36194         [BZ #3748]
36195         * bits/libc-lock.h (__libc_once_get): New macro.
36196         * sysdeps/mach/bits/libc-lock.h: Likewise.
36197         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36198         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36199         instead of using implementation details.
36200
36201         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36202         * libio/freopen.c: Likewise.
36203         * libio/freopen64.c: Likewise.
36204         * misc/syslog.c: Likewise.
36205         * nscd/connections.c: Likewise.
36206         * nscd/netgroupcache.c: Likewise.
36207         * sysdeps/posix/getcwd.c: Likewise.
36208
36209 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36210
36211         * math/w_ilogbf.c: Add #include <limits.h>.
36212
36213 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36214
36215         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36216         path instead of returning without unlocking.
36217
36218         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36219         immediate-write ioctls.
36220         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36221
36222 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36223
36224         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36225         __builtin_frame_address instead of making assumptions about the
36226         location of the return address relative to DATA.  Force early load of
36227         the return address.
36228         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36229         __builtin_frame_address.
36230
36231         dup3 for GNU Hurd.
36232         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36233         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36234         implement dup3 and do some further code clean-ups.
36235         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36236         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36237
36238 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36239
36240         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36241
36242         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36243         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36244         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36245         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36246         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36247         d->port.lock.
36248
36249         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36250         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36251         when handler == SIG_ERR, not when handler != SIG_ERR.
36252
36253 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36254
36255         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36256         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36257         definitions.
36258
36259         accept4 for GNU Hurd.
36260         * include/sys/socket.h (__libc_accept4): New prototype.
36261         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36262         to implement __libc_accept4.
36263         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36264         __libc_accept4.
36265         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36266
36267         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36268         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36269         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36270         signal-defines.sym.
36271
36272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36273
36274         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36275
36276 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36277
36278         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36279         assertion on O_CLOEXEC flag.
36280         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36281         * hurd/intern-fd.c: Likewise.
36282         * hurd/port2fd.c: Likewise.
36283
36284 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36285
36286         [BZ #3906]
36287         * bits/in.h (IPV6_PKTINFO): Define new macro.
36288         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36289
36290 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36291
36292         [BZ #13954]
36293         [BZ #13955]
36294         [BZ #13956]
36295         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36296         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36297         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36298         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36299         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36300         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36301         * math/libm-test.inc (logb_test) : Additional logb tests.
36302
36303 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36304             Andreas Jaeger  <aj@suse.de>
36305
36306         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36307         * configure: Regenerated.
36308         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36309         * config.make.in (link-obsolete-rpc): New substituted variable.
36310         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36311         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36312         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36313         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36314         so that libc.a contains the symbols.
36315         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36316         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36317         * sunrpc/auth_none.c: Likewise.
36318         * sunrpc/auth_unix.c: Likewise.
36319         * sunrpc/authdes_prot.c: Likewise.
36320         * sunrpc/authuxprot.c: Likewise.
36321         * sunrpc/clnt_gen.c: Likewise.
36322         * sunrpc/clnt_perr.c: Likewise.
36323         * sunrpc/clnt_raw.c: Likewise.
36324         * sunrpc/clnt_simp.c: Likewise.
36325         * sunrpc/clnt_tcp.c: Likewise.
36326         * sunrpc/clnt_udp.c: Likewise.
36327         * sunrpc/clnt_unix.c: Likewise.
36328         * sunrpc/des_crypt.c: Likewise.
36329         * sunrpc/des_soft.c: Likewise.
36330         * sunrpc/get_myaddr.c: Likewise.
36331         * sunrpc/key_call.c: Likewise.
36332         * sunrpc/key_prot.c: Likewise.
36333         * sunrpc/netname.c: Likewise.
36334         * sunrpc/pm_getmaps.c: Likewise.
36335         * sunrpc/pm_getport.c: Likewise.
36336         * sunrpc/pmap_clnt.c: Likewise.
36337         * sunrpc/pmap_prot.c: Likewise.
36338         * sunrpc/pmap_prot2.c: Likewise.
36339         * sunrpc/pmap_rmt.c: Likewise.
36340         * sunrpc/publickey.c: Likewise.
36341         * sunrpc/rpc_cmsg.c: Likewise.
36342         * sunrpc/rpc_common.c: Likewise.
36343         * sunrpc/rpc_dtable.c: Likewise.
36344         * sunrpc/rpc_prot.c: Likewise.
36345         * sunrpc/rpc_thread.c: Likewise.
36346         * sunrpc/rtime.c: Likewise.
36347         * sunrpc/svc.c: Likewise.
36348         * sunrpc/svc_auth.c: Likewise.
36349         * sunrpc/svc_raw.c: Likewise.
36350         * sunrpc/svc_run.c: Likewise.
36351         * sunrpc/svc_tcp.c: Likewise.
36352         * sunrpc/svc_udp.c: Likewise.
36353         * sunrpc/svc_unix.c: Likewise.
36354         * sunrpc/svcauth_des.c: Likewise.
36355         * sunrpc/xcrypt.c: Likewise.
36356         * sunrpc/xdr.c: Likewise.
36357         * sunrpc/xdr_array.c: Likewise.
36358         * sunrpc/xdr_float.c: Likewise.
36359         * sunrpc/xdr_intXX_t.c: Likewise.
36360         * sunrpc/xdr_mem.c: Likewise.
36361         * sunrpc/xdr_rec.c: Likewise.
36362         * sunrpc/xdr_ref.c: Likewise.
36363         * sunrpc/xdr_sizeof.c: Likewise.
36364         * sunrpc/xdr_stdio.c: Likewise.
36365
36366 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36367
36368         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36369         change.  Update copyright years.
36370
36371 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36372
36373         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36374
36375 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36376             Joseph Myers  <joseph@codesourcery.com>
36377             Paul Pluzhnikov  <ppluzhnikov@google.com>
36378
36379         [BZ #14012]
36380         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36381         requiring rpcgen.
36382         [cross-compiling] (extra-libs): Likewise.
36383         [cross-compiling] (extra-libs-others): Likewise.
36384         [cross-compiling] (librpcsvc-routines): Likewise.
36385         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36386         [cross-compiling] (omit-deps): Likewise.
36387         (sunrpc-CPPFLAGS): New variable.
36388         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36389         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36390         (cross-rpcgen-objs): New variable.
36391         (extra-objs): Append $(cross-rpcgen-objs).
36392         ($(cross-rpcgen-objs)): New rule.
36393         ($(objpfx)cross-rpcgen): Likewise.
36394         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36395         comment.
36396         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36397         ($(objpfx)x%.stmp): Likewise.
36398         * sunrpc/proto.h [IS_IN_build] (_): Define.
36399         [IS_IN_build] (_libc_intl_domainname): Likewise.
36400
36401 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36402
36403         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36404         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36405         and R_X86_64_TPOFF64.
36406
36407 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36408
36409         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36410         sysdeps/unix/sysv/syscalls.list.
36411         (stime): Likewise.
36412         (utime): Likewise.
36413         * sysdeps/unix/sysv/syscalls.list: Remove file.
36414
36415 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36416
36417         [BZ #3440]
36418         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36419         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36420         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36421         (__LC_IDENTIFICATION): Make these macros useful in #if
36422         expressions, as required by C99.
36423
36424 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36425
36426         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36427         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36428         after this.
36429
36430 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36431
36432         * stdlib/longlong.h: Updated from GCC.
36433
36434 2012-05-09  Andreas Jaeger  <aj@suse.de>
36435
36436         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36437         default is first entry.
36438         (run_mode): Set type.
36439         (main): Remove informal message about syslog.
36440         (options): Fix typo.
36441
36442         [BZ #14053]
36443         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36444         to asm.
36445         (lrint): Likewise.
36446         (llrintf): Likewise.
36447         (llrint): Likewise.
36448         (rint): Likewise.
36449         (rintf): Likewise.
36450         (nearbyint): Likewise.
36451         (nearbyintf): Likewise.
36452
36453 2012-05-09  Andreas Jaeger  <aj@suse.de>
36454             Pedro Alves  <palves@redhat.com>
36455
36456         * nscd/nscd.c (run_mode): Use enum.
36457         (main): Cleanup coding style issue.
36458
36459 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36460             Andreas Jaeger  <aj@suse.de>
36461
36462         * nscd/nscd.c (go_background): Replaced with...
36463         (run_mode): ... this.
36464         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36465         (options): Add -F --foreground.
36466         (main): Implement it.
36467         (parse_opt): Parse it.
36468
36469 2012-05-09  Andreas Jaeger  <aj@suse.de>
36470
36471         [BZ #14083]
36472         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36473         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36474         -Wconversion warning.
36475         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36476         Likewise.
36477
36478 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36479
36480         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36481         == 0.
36482         (LC_ALL): Use macro-int-constant.
36483         (LC_COLLATE): Likewise.
36484         (LC_CTYPE): Likewise.
36485         (LC_MESSAGES): Likewise.
36486         (LC_MONETARY): Likewise.
36487         (LC_NUMERIC): Likewise.
36488         (LC_TIME): Likewise.
36489         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36490         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36491         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36492         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36493         Specify type.
36494         [C99-based standards] (float_t): Expect type.
36495         [C99-based standards] (double_t): Expect type.
36496         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36497         type.
36498         [C99-based standards] (HUGE_VALL): Likewise.
36499         [C99-based standards] (INFINITY): Likewise.
36500         [C99-based standards] (NAN): Likewise.
36501         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36502         [C99-based standards] (FP_NAN): Likewise.
36503         [C99-based standards] (FP_NORMAL): Likewise.
36504         [C99-based standards] (FP_SUBNORMAL): Likewise.
36505         [C99-based standards] (FP_ZERO): Likewise.
36506         [C99-based standards] (FP_FAST_FMA): Use
36507         optional-macro-int-constant.  Specify type.  Require == 1.
36508         [C99-based standards] (FP_FAST_FMAF): Likewise.
36509         [C99-based standards] (FP_FAST_FMAL): Likewise.
36510         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36511         [C99-based standards] (FP_ILOGBNAN): Likewise.
36512         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36513         Specify type.
36514         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36515         [C99-based standards] (math_errhandling): Specify type.
36516         [ISO99 || ISO11] (signgam): Do not allow.
36517         [non-C99-based standards] (copysignf): Do not allow.
36518         [non-C99-based standards] (exp2f): Likewise.
36519         [non-C99-based standards] (log2f): Likewise.
36520         [non-C99-based standards] (modff): Allow.
36521         [non-C99-based standards] (erff): Do not allow.
36522         [non-C99-based standards] (erfcf): Likewise.
36523         [non-C99-based standards] (gammaf): Likewise.
36524         [non-C99-based standards] (hypotf): Likewise.
36525         [non-C99-based standards] (j0f): Likewise.
36526         [non-C99-based standards] (j1f): Likewise.
36527         [non-C99-based standards] (jnf): Likewise.
36528         [non-C99-based standards] (lgammaf): Likewise.
36529         [non-C99-based standards] (tgammaf): Likewise.
36530         [non-C99-based standards] (y0f): Likewise.
36531         [non-C99-based standards] (y1f): Likewise.
36532         [non-C99-based standards] (ynf): Likewise.
36533         [non-C99-based standards] (isnanf): Likewise.
36534         [non-C99-based standards] (acoshf): Likewise.
36535         [non-C99-based standards] (asinhf): Likewise.
36536         [non-C99-based standards] (atanhf): Likewise.
36537         [non-C99-based standards] (cbrtf): Likewise.
36538         [non-C99-based standards] (expm1f): Likewise.
36539         [non-C99-based standards] (ilogbf): Likewise.
36540         [non-C99-based standards] (log1pf): Likewise.
36541         [non-C99-based standards] (logbf): Likewise.
36542         [non-C99-based standards] (nextafterf): Likewise.
36543         [non-C99-based standards] (remainderf): Likewise.
36544         [non-C99-based standards] (rintf): Likewise.
36545         [non-C99-based standards] (scalbf): Likewise.
36546         [non-C99-based standards] (copysignl): Likewise.
36547         [non-C99-based standards] (exp2l): Likewise.
36548         [non-C99-based standards] (log2l): Likewise.
36549         [non-C99-based standards] (modfl): Allow.
36550         [non-C99-based standards] (erfl): Do not allow.
36551         [non-C99-based standards] (erfcl): Likewise.
36552         [non-C99-based standards] (gammal): Likewise.
36553         [non-C99-based standards] (hypotl): Likewise.
36554         [non-C99-based standards] (j0l): Likewise.
36555         [non-C99-based standards] (j1l): Likewise.
36556         [non-C99-based standards] (jnl): Likewise.
36557         [non-C99-based standards] (lgammal): Likewise.
36558         [non-C99-based standards] (tgammal): Likewise.
36559         [non-C99-based standards] (y0l): Likewise.
36560         [non-C99-based standards] (y1l): Likewise.
36561         [non-C99-based standards] (ynl): Likewise.
36562         [non-C99-based standards] (isnanl): Likewise.
36563         [non-C99-based standards] (acoshl): Likewise.
36564         [non-C99-based standards] (asinhl): Likewise.
36565         [non-C99-based standards] (atanhl): Likewise.
36566         [non-C99-based standards] (cbrtl): Likewise.
36567         [non-C99-based standards] (expm1l): Likewise.
36568         [non-C99-based standards] (ilogbl): Likewise.
36569         [non-C99-based standards] (log1pl): Likewise.
36570         [non-C99-based standards] (logbl): Likewise.
36571         [non-C99-based standards] (nextafterl): Likewise.
36572         [non-C99-based standards] (remainderl): Likewise.
36573         [non-C99-based standards] (rintl): Likewise.
36574         [non-C99-based standards] (scalbl): Likewise.
36575         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36576         [non-C99-based standards] (FP_*): Do not allow.
36577         [C99-based standards] (FP_*): Change to
36578         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36579         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36580         allow.
36581         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36582         (SIG_ERR): Likewise.
36583         [X/Open-based standards] (SIG_HOLD): Likewise.
36584         (SIG_IGN): Likewise.
36585         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36586         positive value.
36587         (SIGFPE): Likewise.
36588         (SIGILL): Likewise.
36589         (SIGINT): Likewise.
36590         (SIGSEGV): Likewise.
36591         (SIGTER): Likewise.
36592         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36593         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36594         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36595         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36596         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36597         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36598         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36599         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36600         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36601         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36602         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36603         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36604         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36605         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36606         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36607         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36608         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36609         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36610         [X/Open-based standards] (SIGTRAP): Likewise.
36611         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36612         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36613         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36614         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36615         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36616         allow.
36617
36618 2012-05-08  Ian Wienand  <ianw@vmware.com>
36619
36620         [BZ #14080]
36621         * time/tzset.c (__tzset_parse_tz): Update default rules for
36622         daylight time changes in the Energy Policy Act of 2005.
36623
36624 2012-05-09  Andreas Jaeger  <aj@suse.de>
36625
36626         [BZ #13983]
36627         * elf/ldconfig.c (parse_conf): Change string to make clear that
36628         ldconfig only issued a warning if ld.so.conf does not exist.
36629
36630 2012-05-08  David S. Miller  <davem@davemloft.net>
36631
36632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36633         movxtod instead of popping the value on the stack.
36634
36635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36636
36637 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36638
36639         * config.h.in: Add HAVE_ARM_PCS_VFP.
36640
36641 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36642
36643         [BZ #13979]
36644         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36645         checking but the checks are disabled for any reason.
36646
36647 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36648
36649         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36650         and ELF64_R_TYPE with ELFW(R_TYPE).
36651
36652 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36653
36654         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36655         (ulimit): Likewise.
36656
36657         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36658         (settimeofday): Likewise.
36659
36660 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36661
36662         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36663         a struct th_u2 inside the union, and move tu_block/tu_code into
36664         a new th_u3 union of tu_block/tu_code inside of that.  Move
36665         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36666         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36667         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36668         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36669         (th_stuff): Change to th_u1.tu_stuff.
36670         (th_data): Define.
36671         (th_msg): Change to th_u1.th_u2.tu_data.
36672
36673 2012-05-07  David S. Miller  <davem@davemloft.net>
36674
36675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36676
36677         [BZ #14074]
36678         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36679         (SETUP_PIC_REG): Use it.
36680         (SETUP_PIC_REG_LEAF): Use it.
36681
36682 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36683
36684         [BZ #13885]
36685         [BZ #13923]
36686         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36687         USE_AS_EXPM1L.
36688         (EXPL_FINITE): Likewise.
36689         (FLDLOG): Likewise.
36690         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36691         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36692         e_expl.S.
36693         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36694         USE_AS_EXPM1L.
36695         (EXPL_FINITE): Likewise.
36696         (FLDLOG): Likewise.
36697         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36698         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36699         e_expl.S.
36700         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36701         test of -max_value argument for long double.
36702         * sysdeps/i386/fpu/libm-test-ulps: Update.
36703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36704
36705 2012-05-06  David S. Miller  <davem@davemloft.net>
36706
36707         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36708         quad soft-float symbols whose references which are compiler
36709         generated.
36710         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36711
36712 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36713
36714         [BZ #13884]
36715         [BZ #13914]
36716         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36717         USE_AS_EXP10L.
36718         (EXPL_FINITE): Likewise.
36719         (FLDLOG): Likewise.
36720         (c0): Likewise.
36721         (c1): Likewise.
36722         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36723         Adjust comments for base varying.
36724         (__expl_finite): Change alias to EXPL_FINITE.
36725         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36726         e_expl.S.
36727         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36728         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36729         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36730         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36731         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36732         USE_AS_EXP10L.
36733         (EXPL_FINITE): Likewise.
36734         (FLDLOG): Likewise.
36735         (c0): Likewise.
36736         (c1): Likewise.
36737         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36738         Adjust comments for base varying.
36739         (__expl_finite): Change alias to EXPL_FINITE.
36740         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36741         tests for bugs.
36742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36743
36744         [BZ #14064]
36745         * math/libm-test.inc (check_float_internal): Correct ulp
36746         calculation for subnormal expected results.
36747
36748 2012-05-06  Andreas Jaeger  <aj@suse.de>
36749
36750         * Makeconfig (+math-flags): New, set to -frounding-math.
36751         (+cflags): Add +math-flags so that all of glibc gets compiled with
36752         it.
36753
36754         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36755
36756 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36757
36758         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36759         Disable one test.
36760
36761         [BZ #13787]
36762         [BZ #13922]
36763         [BZ #14036]
36764         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36765         (__ieee754_expl): Allow for and saturate large arguments.
36766         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36767         (u_threshold): Likewise.
36768         (__exp): Call __ieee754_exp before checking for overflow and
36769         underflow.
36770         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36771         (u_threshold): Likewise.
36772         (__expf): Call __ieee754_expf before checking for overflow and
36773         underflow.
36774         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36775         (u_threshold): Likewise.
36776         (__expl): Call __ieee754_expl before checking for overflow and
36777         underflow.
36778         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36779         (__ieee754_expl): Allow for and saturate large arguments.
36780         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36781         missing overflow exception on overflow.
36782         (expm1_test): Do not allow missing overflow exception on overflow.
36783
36784         * sysdeps/i386/fpu/e_expl.c: Move to ...
36785         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36786         rather than using inline asm.
36787         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36788         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36789         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36790
36791         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36792         (nice): Likewise.
36793         (poll): Likewise.
36794         (signal): Likewise.
36795         (time): Likewise.
36796         (times): Likewise.
36797
36798 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36799
36800         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36801         sysdeps/unix/common/syscalls.list.
36802         (fchmod): Likewise.
36803         (fchown): Likewise.
36804         (ftruncate): Likewise.
36805         (getrusage): Likewise.
36806         (gettimeofday): Likewise.
36807         (setpgid): Likewise.
36808         (setregid): Likewise.
36809         (setreuid): Likewise.
36810         (sigaction): Likewise.
36811         (truncate): Likewise.
36812         (vhangup): Likewise.
36813         * sysdeps/unix/common/syscalls.list: Remove file.
36814         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36815         * sysdeps/unix/sysv/linux/Implies: Likewise.
36816
36817 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36818
36819         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36821         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36822         Moved to ...
36823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36824         Here.
36825         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36826         to ...
36827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36828         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36829         to ...
36830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36831         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36832         to ...
36833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36834         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36835         to ...
36836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36837         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36838         to ...
36839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36840         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36841         to ...
36842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36843         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36844         to ...
36845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36846         Here.
36847         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36848         to ...
36849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36850         Here.
36851         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36852         to ...
36853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36854         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36855         Moved to ...
36856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36857         Here.
36858         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36859         to ...
36860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36861
36862 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36863
36864         * sysdeps/unix/common/bits/dirent.h: Remove file.
36865         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36866
36867         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36868         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36869         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36870         * sysdeps/unix/bsd/isatty.c: Likewise.
36871         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36872         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36873         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36874
36875 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36876
36877         [BZ #13563]
36878         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36879         long double comparison inaccuracies.
36880         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36882
36883 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36884
36885         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36886         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36887
36888 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36889
36890         [BZ #14049]
36891         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36892         nonzero digits before rounding a hex value.
36893         * stdlib/tst-strtod.c (tests): Add another test.
36894
36895 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36896
36897         * sysdeps/s390/fpu/libm-test-ulps: Update.
36898
36899 2012-05-03  Andreas Jaeger  <aj@suse.de>
36900
36901         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36902         does not get optimized out.
36903         (malloc_opt_barrier): New.
36904
36905 2012-05-03  Andreas Jaeger  <aj@suse.de>
36906             Roland McGrath  <roland@hack.frob.com>
36907
36908         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36909         intermediate file deletion.
36910         (generated): Add .symlist files.
36911
36912 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36913
36914         [BZ #13775]
36915         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36916         Redirect under this condition.
36917         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36918         [__USE_GNU] (__dprintf_chk): Not under this condition.
36919         [__USE_GNU] (__vdprintf_chk): Likewise.
36920         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36921         under this condition.
36922         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36923         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36924         [__USE_XOPEN2K8] (vdprintf): Likewise.
36925         [__USE_GNU] (__dprintf_chk): Not under this condition.
36926         [__USE_GNU] (__vdprintf_chk): Likewise.
36927         [__USE_GNU] (dprintf): Likewise.
36928         [__USE_GNU] (vdprintf): Likewise.
36929
36930 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36931
36932         * elf/Makefile (common-generated): Set this instead of generated for
36933         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36934         $(all-built-dso)-derived lists.
36935
36936 2012-05-03  Andreas Jaeger  <aj@suse.de>
36937
36938         * sysdeps/i386/fpu/libm-test-ulps: Update.
36939
36940         * FAQ: Removed.
36941         * FAQ.in: Likewise.
36942         * scripts/gen-FAQ.pl: Likewise.
36943         * manual/install.texi (Installation): Point to online location of
36944         FAQ.
36945         * Makefile (files-for-dist): Remove FAQ.
36946         (FAQ): Remove.
36947
36948 2012-05-02  Allan McRae  <allan@archlinux.org>
36949
36950         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36951         (LDFLAGS-reldepmod5.so): Likewise.
36952         (LDFLAGS-reldep6mod1.so): Likewise.
36953         (LDFLAGS-reldep6mod4.so): Likewise.
36954         (LDFLAGS-reldep8mod3.so): Likewise.
36955         (LDFLAGS-unload4mod1.so): Likewise.
36956         (LDFLAGS-unload4mod2.so): Likewise.
36957         (LDFLAGS-tst-initorder): Likewise.
36958         (LDFLAGS-tst-initordera2.so): Likewise.
36959         (LDFLAGS-tst-initordera3.so): Likewise.
36960         (LDFLAGS-tst-initordera4.so): Likewise.
36961         (LDFLAGS-tst-initorderb2.so): Likewise.
36962         (LDFLAGS-noload): Likewise.
36963         (LDFLAGS-next): Likewise.
36964         (LDFLAGS-order2mod1.so): Likewise.
36965         (LDFLAGS-order2mod2.so): Likewise.
36966         (LDFLAGS-tst-initorder2): Likewise.
36967         (LDFLAGS-tst-initorder2a.so): Likewise.
36968         (LDFLAGS-tst-initorder2b.so): Likewise.
36969         (LDFLAGS-tst-initorder2c.so): Likewise.
36970         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36971
36972 2012-05-02  David S. Miller  <davem@davemloft.net>
36973
36974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36975
36976 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36977
36978         [BZ #14055]
36979         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36980
36981 2012-05-02  Andreas Jaeger  <aj@suse.de>
36982
36983         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36984         since we manipulate rounding mode.
36985         (CPPFLAGS-test-idouble.c): Likewise.
36986         (CPPFLAGS-test-ifloat.c): Likewise.
36987         (CFLAGS-test-ldouble.c): Likewise.
36988         (CFLAGS-test-double.c): Likewise.
36989         (CFLAGS-test-float.c): Likewise.
36990         (CFLAGS-test-misc.c): Likewise.
36991         (CFLAGS-test-test-fenv.c): Likewise.
36992
36993 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36994
36995         [BZ #2550]
36996         [BZ #2570]
36997         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36998         comparisons to determine direction to adjust input.
36999
37000 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37001
37002         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37003         output to the target.
37004
37005         * scripts/localplt.awk: New file.
37006         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37007         (check-localplt-CFLAGS): Variable removed.
37008         ($(all-built-dso:=.jmprel)): New static pattern rule.
37009         (generated): Add those targets.
37010         (localplt-built-dso): New variable.
37011         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37012
37013         * elf/check-localplt.c: File removed.
37014
37015         * scripts/check-execstack.awk: New file.
37016         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37017         (check-execstack-CFLAGS): Variable removed.
37018         ($(objpfx)check-execstack.h): Target removed.
37019         ($(objpfx)execstack-default): New target.
37020         (generated): Add that instead of check-execstack.h.
37021         ($(all-built-dso:=.phdr)): New static pattern rule.
37022         (generated): Add those targets.
37023         * elf/check-execstack.c: File removed.
37024
37025         * scripts/check-textrel.awk: New file.
37026         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37027         (check-textrel-CFLAGS): Variable removed.
37028         (all-built-dso): Use := to define.o
37029         ($(all-built-dso:=.dyn)): New static pattern rule.
37030         (generated): Add those targets.
37031         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37032         * config.make.in (READELF): New substituted variable.
37033         * elf/check-textrel.c: File removed.
37034
37035 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37036
37037         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37038         allow.
37039         * conform/data/ctype.h-data [C99-based standards] (isblank):
37040         Expect function.
37041         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37042         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37043         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37044         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37045         Specify type.  Require positive value.
37046         (EILSEQ): Likewise.
37047         (ERANGE): Likewise.
37048         [ISO || POSIX] (EILSEQ): Do not expect.
37049         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37050         Specify type.  Require positive value.
37051         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37052         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37053         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37054         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37055         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37056         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37057         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37058         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37059         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37060         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37061         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37062         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37063         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37064         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37065         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37066         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37067         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37068         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37069         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37070         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37071         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37072         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37073         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37074         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37075         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37076         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37077         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37078         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37079         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37080         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37081         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37082         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37083         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37084         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37085         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37086         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37087         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37088         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37089         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37090         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37091         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37092         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37093         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37094         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37095         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37096         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37097         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37098         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37099         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37100         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37101         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37102         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37103         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37104         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37105         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37106         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37107         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37108         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37109         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37110         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37111         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37112         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37113         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37114         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37115         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37116         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37117         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37118         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37119         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37120         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37121         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37122         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37123         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37124         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37125         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37126         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37127         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37128         Require >= 2.
37129         (FLT_ROUNDS): Expect as macro, not constant.
37130         (FLT_MANT_DIG): Use macro-int-constant.
37131         (DBL_MANT_DIG): Likewise.
37132         (LDBL_MANT_DIG): Likewise.
37133         (FLT_DIG): Likewise.
37134         (DBL_DIG): Likewise.
37135         (LDBL_DIG): Likewise.
37136         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37137         (DBL_MIN_EXP): Likewise.
37138         (LDBL_MIN_EXP): Likewise.
37139         (FLT_MAX_EXP): Use macro-int-constant.
37140         (DBL_MAX_EXP): Likewise.
37141         (LDBL_MAX_EXP): Likewise.
37142         (FLT_MAX_10_EXP): Likewise.
37143         (DBL_MAX_10_EXP): Likewise.
37144         (LDBL_MAX_10_EXP): Likewise.
37145         (FLT_MAX): Use macro-constant.
37146         (DBL_MAX): Likewise.
37147         (LDBL_MAX): Likewise.
37148         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37149         (DBL_EPSILON): Likewise.
37150         (LDBL_EPSILON): Likewise.
37151         (FLT_MIN): Likewise.
37152         (DBL_MIN): Likewise.
37153         (LDBL_MIN): Likewise.
37154         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37155         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37156         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37157         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37158         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37159         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37160         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37161         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37162         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37163         [ISO11] (FLT_TRUE_MIN): Likewise.
37164         [ISO11] (LDBL_TRUE_MIN): Likewise.
37165         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37166         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37167         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37168         (SCHAR_MAX): Likewise.
37169         (UCHAR_MAX): Likewise.
37170         (CHAR_MIN): Likewise.
37171         (CHAR_MAX): Likewise.
37172         (MB_LEN_MAX): Use macro-int-constant.
37173         (SHRT_MIN): Use macro-int-constant.  Specify type.
37174         (SHRT_MAX): Likewise.
37175         (USHRT_MAX): Likewise.
37176         (INT_MAX): Likewise.
37177         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37178         bound negative.
37179         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37180         bound with "U".
37181         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37182         bound with "L".
37183         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37184         bound negative.  Suffix upper bound with "L".
37185         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37186         bound with "UL".
37187         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37188         Specify type.
37189         [C99-based standards] (LLONG_MAX): Likewise.
37190         [C99-based standards] (ULLONG_MAX): Likewise.
37191         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37192         == 0.
37193         [ISO11] (max_align_t): Require type.
37194         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37195
37196         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37197         from $CFLAGS, without defining away __attribute__ calls.
37198         (checknamespace): Use $CFLAGS_namespace.
37199
37200         * conform/conformtest.pl (@keywords): Only include C99 keywords
37201         for standards based on C99 or C11.
37202
37203         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37204         Disable tests.
37205         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37206         UNIX98]: Likewise.
37207
37208         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37209         usability of symbols in #if.
37210
37211         * conform/conformtest.pl: If macro or constant types start
37212         "promoted:", expect the symbol to be of the following type
37213         promoted by the integer promotions.
37214
37215         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37216         in one place.  Also handle "macro-constant".
37217
37218         * conform/conformtest.pl: Only accept expected macro values with
37219         "==".  Parse all "macro" lines in one place.
37220         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37221
37222         * conform/conformtest.pl: Handle braced types on "constant" lines
37223         instead of handling "typed-constant".
37224         * conform/data/signal.h-data: Use "constant" instead of
37225         "typed-constant".
37226
37227         * conform/conformtest.pl: Handle "optional-" at start of lines in
37228         one place rather than duplicating several cases.  Handle each
37229         format of "macro" line with initial "optional-".
37230
37231         * conform/conformtest.pl: Only accept expected constant or
37232         optional-constant values with "==".  Parse all "constant" lines in
37233         one place.  Parse all "optional-constant" lines in one place.
37234         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37235         * conform/data/fmtmsg.h-data: Likewise.
37236         * conform/data/netinet/in.h-data: Likewise.
37237         * conform/data/tar.h-data: Likewise.
37238         * conform/data/limits.h-data: Use "==" form on "constant" and
37239         "optional-constant" lines.
37240
37241         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37242         Use -std=c99 for XOPEN2K.
37243         (@knownproblems): Remove.
37244         (newtoken): Don't check %isknown.
37245
37246         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37247         Do not expect macro.
37248         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37249         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37250         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37251         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37252         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37253         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37254         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37255         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37256         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37257         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37258         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37259         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37260         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37261         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37262         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37263         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37264         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37265         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37266         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37267         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37268         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37269         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37270         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37271         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37272         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37273         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37274         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37275         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37276         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37277         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37278         [XPG3] (acosh): Likewise.
37279         [XPG3] (asinh): Likewise.
37280         [XPG3] (atanh): Likewise.
37281         [XPG3] (cbrt): Likewise.
37282         [XPG3] (expm1): Likewise.
37283         [XPG3] (ilogb): Likewise.
37284         [XPG3] (log1p): Likewise.
37285         [XPG3] (logb): Likewise.
37286         [XPG3] (nextafter): Likewise.
37287         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37288         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37289         [XPG3] (remainder): Likewise.
37290         [XPG3] (rint): Likewise.
37291         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37292         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37293         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37294         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37295         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37296         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37297         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37298         [UNIX98 || XOPEN2K] (scalb): Expect.
37299         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37300         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37301         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37302         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37303         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37304         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37305         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37306         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37307         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37308         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37309         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37310         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37311         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37312         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37313         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37314         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37315         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37316         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37317         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37318         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37319         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37320         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37321         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37322         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37323         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37324         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37325         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37326         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37327         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37328         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37329         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37330         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37331         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37332         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37333         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37334         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37335         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37336         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37337         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37338         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37339         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37340         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37341         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37342         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37343         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37344         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37345         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37346         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37347         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37348         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37349         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37350         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37351         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37352         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37353         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37354         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37355         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37356         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37357         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37358         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37359         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37360         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37361         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37362         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37363         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37364         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37365         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37366         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37367         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37368         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37369         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37370         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37371         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37372         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37373         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37374         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37375         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37376         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37377         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37378         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37379         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37380         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37381         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37382         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37383         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37384         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37385         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37386         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37387         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37388         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37389         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37390         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37391         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37392         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37393         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37394         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37395         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37396         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37397         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37398         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37399         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37400         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37401         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37402         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37403         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37404         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37405         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37406         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37407         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37408         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37409         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37410         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37411         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37412         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37413         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37414         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37415         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37416         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37417         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37418         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37419         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37420         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37421         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37422         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37423         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37424         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37425         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37426         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37427         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37428         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37429         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37430         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37431         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37432         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37433         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37434         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37435         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37436
37437         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37438         _XOPEN_SOURCE_EXTENDED for XPG4.
37439
37440         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37441
37442         * Makeconfig (localtime): Remove variable.
37443         (inst_localtime-file): Likewise.
37444
37445 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37446
37447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37448         Update.
37449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37450         Update.
37451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37452         Update.
37453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37454         Update.
37455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37456         Update.
37457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37458         Update.
37459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37460         Update.
37461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37462         Update.
37463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37464         Update.
37465
37466 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37467
37468         [BZ #2550]
37469         [BZ #2570]
37470         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37471         comparisons to determine direction to adjust input.
37472         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37473         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37474         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37475         Likewise.
37476         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37477         Likewise.
37478         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37479         Likewise.
37480         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37481         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37482         Likewise.
37483         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37484         Likewise.
37485         * math/libm-test.inc (nexttoward_test): Add more tests.
37486
37487 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37488
37489         [BZ #14040]
37490         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37491         in version GLIBC_2.1, not GLIBC_2.0.
37492         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37493         Likewise.
37494
37495 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37496
37497         [BZ #13942]
37498         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37499         (1 - x) * (1 + x).
37500         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37501         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37502         * math/libm-test.inc (acos_test): Add more tests.
37503         (asin_test): Likewise.
37504         * sysdeps/i386/fpu/libm-test-ulps: Update.
37505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37506
37507         [BZ #14034]
37508         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37509         of square root.
37510         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37511         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37512         * math/libm-test.inc (acos_test_tonearest): New function.
37513         (acos_test_towardzero): Likewise.
37514         (acos_test_downward): Likewise.
37515         (acos_test_upward): Likewise.
37516         (asin_test_tonearest): Likewise.
37517         (asin_test_towardzero): Likewise.
37518         (asin_test_downward): Likewise.
37519         (asin_test_upward): Likewise.
37520         (main): Call the new functions.
37521         * sysdeps/i386/fpu/libm-test-ulps: Update.
37522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37523
37524         [BZ #13884]
37525         [BZ #13924]
37526         * math/e_exp10.c: Include <float.h>.
37527         (__ieee754_exp10): Handle underflow here rather than multiplying
37528         large negative argument by M_LN10.
37529         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37530         of __ieee754_expf.
37531         * math/e_exp10l.c: Include <float.h>.
37532         (__ieee754_exp10l): Handle underflow here rather than multiplying
37533         large negative argument by M_LN10l.
37534         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37535         spurious overflow exception on underflow.
37536
37537 2012-04-29  Marek Polacek  <polacek@redhat.com>
37538
37539         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37540         (__fortify_function): New macro.
37541         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37542         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37543         __extern_always_inline.
37544         * libio/bits/stdio2.h: Likewise.
37545         * libio/bits/stdio.h: Likewise.
37546         * string/string.h: Likewise.
37547         * string/bits/string3.h: Likewise.
37548         * include/stdio.h: Likewise.
37549         * stdlib/bits/stdlib.h: Likewise.
37550         * stdlib/stdlib.h: Likewise.
37551         * rt/bits/mqueue2.h: Likewise.
37552         * rt/mqueue.h: Likewise.
37553         * posix/bits/unistd.h: Likewise.
37554         * posix/unistd.h: Likewise.
37555         * io/bits/poll2.h: Likewise.
37556         * io/bits/fcntl2.h: Likewise.
37557         * io/fcntl.h: Likewise.
37558         * io/sys/poll.h: Likewise.
37559         * misc/bits/syslog.h: Likewise.
37560         * misc/bits/syslog-ldbl.h: Likewise.
37561         * misc/sys/syslog.h: Likewise.
37562         * socket/bits/socket2.h: Likewise.
37563         * socket/sys/socket.h: Likewise.
37564         * debug/tst-chk1.c: Likewise.
37565         * wcsmbs/bits/wchar2.h: Likewise.
37566         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37567         * wcsmbs/wchar.h: Likewise.
37568
37569 2012-04-29  Andreas Jaeger  <aj@suse.de>
37570
37571         * Makerules (tests): Remove enable-check-abi protection.
37572         (check-abi-warn): Remove.
37573         (check-abi-%): Remove check-abi-warn usage.
37574
37575         * configure.in: Remove check-abi configure option.
37576         * configure: Regenerated.
37577         * config.make.in (enable-check-abi): Remove.
37578
37579 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37580
37581         [BZ #14033]
37582         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37583         double functions to double *_finite functions.
37584
37585         [BZ #13941]
37586         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37587         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37588         LDBL_MIN_EXP.
37589         * stdio-common/Makefile (tests): Add tst-sprintf3.
37590         * stdio-common/tst-sprintf3.c: New file.
37591
37592         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37593         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37594
37595 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37596
37597         * conform/conformtest.pl: Remove duplicate typed-constant
37598         handling.
37599
37600 2012-04-28  David S. Miller  <davem@davemloft.net>
37601
37602         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37603         (check-abi-%): Remove AWK script prerequisite and explicit
37604         abilist directory.
37605         (check-abi): Rewrite to just diff the symlist with the abilist.
37606         (config-tls, config-abi-config): Delete, no longer used.
37607         (update-abi-%): Remove AWK script and explicit abilist directory.
37608         (update-abi): Rewrite to simply compare and conditionally copy the
37609         symlist and the sysdep abilist file.  Remove update-abi-config
37610         checks.
37611         * abilist/ld.abilist: Remove.
37612         * abilist/libBrokenLocale.abilist: Remove.
37613         * abilist/libanl.abilist: Remove.
37614         * abilist/libcrypt.abilist: Remove.
37615         * abilist/libdl.abilist: Remove.
37616         * abilist/librt.abilist: Remove.
37617         * abilist/libthread_db.abilist: Remove.
37618         * abilist/libutil.abilist: Remove.
37619         * scripts/extract-abilist.awk: Remove.
37620         * scripts/merge-abilist.awk: Remove.
37621         * sysdeps/generic/libcidn.abilist: New file.
37622         * sysdeps/generic/libnss_compat.abilist: New file.
37623         * sysdeps/generic/libnss_db.abilist: New file.
37624         * sysdeps/generic/libnss_dns.abilist: New file.
37625         * sysdeps/generic/libnss_files.abilist: New file.
37626         * sysdeps/generic/libnss_hesiod.abilist: New file.
37627         * sysdeps/generic/libnss_nis.abilist: New file.
37628         * sysdeps/generic/libnss_nisplus.abilist: New file.
37629         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37630         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37631         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37632         file.
37633         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37634         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37635         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37636         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37637         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37638         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37639         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37640         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37641         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37642         file.
37643         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37644         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37645         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37646         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37647         file.
37648         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37649         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37650         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37651         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37652         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37653         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37654         file.
37655         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37656         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37657         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37658         file.
37659         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37660         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37661         New file.
37662         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37663         New file.
37664         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37665         New file.
37666         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37667         New file.
37668         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37669         New file.
37670         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37671         New file.
37672         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37673         New file.
37674         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37675         New file.
37676         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37677         New file.
37678         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37679         New file.
37680         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37681         New file.
37682         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37683         New file.
37684         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37685         New file.
37686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37687         file.
37688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37689         New file.
37690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37691         New file.
37692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37693         file.
37694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37695         New file.
37696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37697         New file.
37698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37699         file.
37700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37701         New file.
37702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37703         New file.
37704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37705         New file.
37706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37707         New file.
37708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37709         New file.
37710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37711         New file.
37712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37714         file.
37715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37716         New file.
37717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37718         file.
37719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37720         file.
37721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37722         file.
37723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37724         file.
37725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37726         file.
37727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37728         New file.
37729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37730         file.
37731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37732         file.
37733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37734         New file.
37735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37736         file.
37737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37739         file.
37740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37741         New file.
37742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37743         file.
37744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37745         file.
37746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37747         file.
37748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37749         file.
37750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37751         file.
37752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37753         New file.
37754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37755         file.
37756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37757         file.
37758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37759         New file.
37760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37761         file.
37762         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37763         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37764         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37765         file.
37766         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37767         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37768         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37769         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37770         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37771         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37772         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37773         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37774         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37775         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37778         file.
37779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37780         New file.
37781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37782         file.
37783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37784         file.
37785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37786         file.
37787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37788         file.
37789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37790         file.
37791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37792         New file.
37793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37794         New file.
37795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37796         file.
37797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37798         New file.
37799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37800         file.
37801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37803         file.
37804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37805         New file.
37806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37807         file.
37808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37809         file.
37810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37811         file.
37812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37813         file.
37814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37815         file.
37816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37817         New file.
37818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37819         New file.
37820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37821         file.
37822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37823         New file.
37824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37825         file.
37826
37827 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37828
37829         * conform/conformtest.pl: Fix typo in handling typed-constant from
37830         allow-header.
37831
37832 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37833
37834         * README: Cut down references to pre-2.6 Linux kernels and
37835         Linuxthreads.  Update lists of configurations in libc and ports
37836         and sort alphabetically.  Say "or newer" with Linux kernel version
37837         requirements.
37838
37839         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37840
37841 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37842
37843         [BZ #887]
37844         * math/libm-test.inc (logb_test_downward): New test to expose
37845         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37846         rounding mode.
37847
37848 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37849
37850         [BZ #14027]
37851         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37852         to be done.
37853         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37854         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37855
37856 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37857
37858         * sysdeps/unix/i386/brk.S: Remove file.
37859         * sysdeps/unix/i386/dl-brk.S: Likewise.
37860         * sysdeps/unix/i386/pipe.S: Likewise.
37861         * sysdeps/unix/i386/sigreturn.S: Likewise.
37862         * sysdeps/unix/i386/syscall.S: Likewise.
37863         * sysdeps/unix/i386/vfork.S: Likewise.
37864         * sysdeps/unix/i386/wait.S: Likewise.
37865
37866         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37867         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37868
37869         * configure.in (arm*-none*): Do not allow without
37870         --enable-hacker-mode.
37871         (netbsd*): Remove case setting base_os.
37872         (386bsd*): Likewise.
37873         (freebsd*): Likewise.
37874         (bsdi*): Likewise.
37875         (osf*): Likewise.
37876         (sunos*): Likewise.
37877         (ultrix*): Likewise.
37878         (newsos*): Likewise.
37879         (dynix*): Likewise.
37880         (*bsd*): Likewise.
37881         (sysv*): Likewise.
37882         (isc*): Likewise.
37883         (esix*): Likewise.
37884         (sco*): Likewise.
37885         (minix*): Likewise.
37886         (irix4*): Likewise.
37887         (irix6*): Likewise.
37888         (solaris[2-9]*): Likewise.
37889         (none): Likewise.
37890         * configure: Regenerated.
37891
37892 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37893
37894         [BZ #11521]
37895         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37896         overflow or cancellation in calculating denominator.
37897         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37898         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37899         down expression to avoid unexpected rounding in newer GCCs.
37900         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37901
37902 2012-04-26  David S. Miller  <davem@davemloft.net>
37903
37904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37905         long-double compat symbols.
37906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37919
37920 2012-04-25  David S. Miller  <davem@davemloft.net>
37921
37922         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37923         HWCAP_* values only after the memory barriers have been defined.
37924         (atomic_full_barrier): Define.
37925         (atomic_read_barrier): Define.
37926         (atomic_write_barrier): Define.
37927
37928 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37929
37930         * shlib-versions: Add libgcc_s version information.
37931         * sysdeps/generic/libgcc_s.h: Remove.
37932         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37933         libgcc_s.h.
37934         * sysdeps/gnu/unwind-resume.c: Likewise.
37935         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37936
37937 2012-04-25  David S. Miller  <davem@davemloft.net>
37938
37939         * sysdeps/unix/sparc/brk.S: Delete.
37940         * sysdeps/unix/sparc/dl-brk.S: Delete.
37941         * sysdeps/unix/sparc/pipe.S: Delete.
37942         * sysdeps/unix/sparc/sysdep.S: Delete.
37943         * sysdeps/unix/sparc/sysdep.h: Delete.
37944         * sysdeps/unix/sparc/vfork.S: Delete.
37945         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37946         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37947         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37948         (ret_ERRVAL, r0, r1, MOVE): Define.
37949         (JUMPTARGET): Remove.
37950         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37951         sysdeps/unix/sparc/sysdep.h
37952         (ENTRY, END): Remove.
37953         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37954
37955 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37956
37957         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37958         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37959         -DIS_IN_build.
37960
37961         * timezone/README: Update upstream location and email address for
37962         tzcode and tzdata.
37963         * timezone/zdump.c: Update from tzcode 2012b.
37964         * timezone/zic.c: Likewise.
37965
37966         * configure.in (libc_cv_as_needed): Remove test.
37967         * configure: Regenerated.
37968         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37969         conditional definition.
37970         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37971         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37972         * config.make.in (have-as-needed): Remove variable.
37973
37974 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37975             Paul Pluzhnikov  <ppluzhnikov@google.com>
37976
37977         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37978         strings correctly.
37979
37980 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37981
37982         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37983         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37984         * sysdeps/sh/strlen.S: Likewise.
37985
37986 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37987
37988         * sysdeps/unix/fork.S: Remove file.
37989         * sysdeps/unix/i386/fork.S: Likewise.
37990         * sysdeps/unix/sparc/fork.S: Likewise.
37991
37992         * sysdeps/unix/system.c: Remove file.
37993         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37994
37995         * sysdeps/unix/getegid.S: Remove file.
37996         * sysdeps/unix/geteuid.S: Likewise.
37997
37998 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37999
38000         * scripts/check-localplt.awk: New file.
38001         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38002         of diff.
38003         * scripts/data/localplt-generic.data: Add a comment.
38004
38005         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38006         NODE when __dir_mkfile failed.
38007         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38008         Reported by Ludovic Courtès <ludo@gnu.org>.
38009
38010 2012-04-24  Andreas Jaeger  <aj@suse.de>
38011
38012         * Makerules (common-clean): Also remove gen-as-const-headers
38013         files.
38014
38015 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38016
38017         * Makerules (native-compile): Do not change working directory for
38018         build.  Use $(OUTPUT_OPTION) in command.
38019         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38020
38021 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38022
38023         [BZ #13886]
38024         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38025         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38026         * math/libm-test.inc (floor_test): Add more tests.
38027         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38028
38029 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38030
38031         * sysdeps/unix/getdents.c: Remove file.
38032         * sysdeps/unix/sysv/getdents.c: Likewise.
38033         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38034
38035         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38036         sysdeps/unix/mman/syscalls.list.
38037         (mmap): Likewise.
38038         (mprotect): Likewise.
38039         (msync): Likewise.
38040         (munmap): Likewise.
38041         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38042         * sysdeps/unix/mman/syscalls.list: Remove.
38043         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38044
38045         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38046         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38047         * configure: Regenerated.
38048         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38049         $(libgcc_s_suffix).
38050         * config.make.in (libgcc_s_suffix): Remove variable.
38051
38052 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38053
38054         * sysdeps/unix/sysv/gethostname.c: Move to ...
38055         * sysdeps/posix/gethostname.c: ... here.
38056
38057         * sysdeps/unix/execve.S: Remove file.
38058
38059         * sysdeps/unix/_exit.S: Remove file.
38060
38061 2012-04-23  Andreas Jaeger  <aj@suse.de>
38062
38063         [BZ #13739]
38064         * manual/Makefile: Remove make dist support, there's no
38065         need for a stand-alone documentation tar ball.
38066         (TEXI2DVI): Define always, it's not in Makeconfig.
38067         (dist): Removed.
38068         (tar-it): Removed.
38069         (edition): Removed.
38070         (glibc-doc-$(edition).tar): Removed
38071         (%.Z): Removed.
38072         (%.gz): Removed.
38073         (%.uu): Removed.
38074         (ETAGS): Remove, it's in Makeconfig.
38075         (move-if-change): Remove, it's in Makeconfig.
38076
38077 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38078
38079         [BZ #13970]
38080         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38081         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38082         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38083         (strtod_l, strtof_l, strtold_l): Remove __wur.
38084         It is not necessarily an error to ignore strtol's return value.
38085         One can reliably look at the stored endptr to decide whether
38086         the number had valid syntax.
38087
38088 2012-04-21  Andreas Jaeger  <aj@suse.de>
38089
38090         [BZ #13739]
38091         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38092
38093 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38094
38095         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38096         * sysdeps/unix/sysv/Versions: Remove file.
38097
38098 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38099
38100         [BZ #13927]
38101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38102
38103 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38104
38105         [BZ #7064]
38106         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38107         version from __vm86.
38108
38109 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38110
38111         * sysdeps/unix/common/lxstat.c: Remove file.
38112         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38113
38114         * sysdeps/unix/sysv/Makefile: Remove file.
38115
38116         * sysdeps/unix/sysv/direct.h: Remove file.
38117
38118         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38119         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38120         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38121         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38122         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38123         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38124         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38125
38126         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38127
38128         * sysdeps/unix/xmknod.c: Remove file.
38129         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38130
38131         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38132
38133         * sysdeps/unix/sysv/i386/time.S: Remove file.
38134
38135         * sysdeps/unix/fxstat.c: Remove file.
38136         * sysdeps/unix/xstat.c: Likewise.
38137         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38138
38139         * sysdeps/unix/sysv/sigaction.c: Remove file.
38140
38141         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38142         (sysdep_headers): Remove variable.
38143         [termio.h not in sysdep_headers] (generated): Likewise.
38144         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38145         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38146         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38147         * sysdeps/unix/sysv/tcflow.c: Likewise.
38148         * sysdeps/unix/sysv/tcflush.c: Likewise.
38149         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38150         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38151         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38152         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38153         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38154
38155         * sysdeps/unix/siglist.c: Remove file.
38156
38157         * sysdeps/unix/getppid.S: Remove file.
38158
38159         * sysdeps/unix/mkdir.c: Remove file.
38160         * sysdeps/unix/rmdir.c: Likewise.
38161
38162 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38163
38164         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38165         ERR_MAX value.
38166         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38167         errlist-compat value.
38168
38169 2012-04-18  David S. Miller  <davem@davemloft.net>
38170
38171         * sysdeps/generic/memcopy.h (reg_char): Delete.
38172         * debug/strcat_chk.c: Use char, not reg_char.
38173         * debug/strcpy_chk.c: Likewise.
38174         * debug/strncat_chk.c: Likewise.
38175         * debug/strncpy_chk.c: Likewise.
38176         * string/memchr.c: Likewise.
38177         * string/memrchr.c: Likewise.
38178         * string/rawmemchr.c: Likewise.
38179         * string/strcat.c: Likewise.
38180         * string/strchr.c: Likewise.
38181         * string/strchrnul.c: Likewise.
38182         * string/strcmp.c: Likewise.
38183         * string/strcpy.c: Likewise.
38184         * string/strncat.c: Likewise.
38185         * string/strncmp.c: Likewise.
38186         * string/strncpy.c: Likewise.
38187
38188 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38189
38190         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38191         __builtin_memcopy is called when src and dest ranges are known to not
38192         overlap.
38193
38194 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38195
38196         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38197         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38198         fwd_align_merge macro call.
38199         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38200         bwd_align_merge macro call.
38201         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38202
38203 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38204
38205         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38206         bwd_align_merge macros.
38207         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38208         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38209         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38210
38211 2012-04-18  David S. Miller  <davem@davemloft.net>
38212
38213         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38214
38215 2012-04-18  Andreas Jaeger  <aj@suse.de>
38216
38217         [BZ# 6794]
38218         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38219         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38220         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38221
38222         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38223         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38224         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38225
38226         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38227         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38228         Adjust for changed ldbl-128 files.
38229
38230         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38231         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38232         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38233
38234 2012-04-17  David S. Miller  <davem@davemloft.net>
38235
38236         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38237
38238 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38239
38240         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38241         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38242         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38243         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38244         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38245         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38246
38247 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38248
38249         [BZ #6794]
38250         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38251         * math/libm-test.inc: Add ilogb errno and exception tests.
38252         * math/w_ilogb.c: New file: ilogb wrapper.
38253         * math/w_ilogbf.c: New file: ilogbf wrapper.
38254         * math/w_ilogbl.c: New file: ilogbl wrapper.
38255         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38256         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38257         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38258         exception being thrown with 0.0 as argument.
38259         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38260         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38261         exception being thrown with 0.0 as argument.
38262         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38263         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38264         exception being thrown with 0.0 as argument.
38265         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38266         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38267         exception being thrown with 0.0 as argument.
38268         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38269         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38270         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38271         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38272         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38273         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38274         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38275         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38276         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38277
38278 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38279
38280         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38281         with altivec.
38282
38283 2012-04-16  Marek Polacek  <polacek@redhat.com>
38284
38285         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38286
38287 2012-04-16  Marek Polacek  <polacek@redhat.com>
38288
38289         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38290         operands of fdivp instruction.
38291
38292 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38293
38294         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38295         * elf/tst-auditmod3b.c: Likewise.
38296         * elf/tst-auditmod4b.c: Likewise.
38297         * elf/tst-auditmod5b.c: Likewise.
38298         * elf/tst-auditmod6b.c: Likewise.
38299         * elf/tst-auditmod6c.c: Likewise.
38300         * elf/tst-auditmod7b.c: Likewise.
38301         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38302         * sysdeps/x86_64/preconfigure.in: Likewise.
38303         * sysdeps/x86_64/preconfigure: Regenerated.
38304
38305 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38306
38307         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38308         __ILP32__.
38309
38310 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38311
38312         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38313         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38314
38315 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38316
38317         [BZ #13973]
38318         * locale/iso-639.def: Fix gl language name. Spotted by
38319         Yaron Shahrabani.
38320
38321 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38322
38323         [BZ #2074]
38324         * libio/libio.h (__io_write_fn): Update comment.
38325
38326 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38327
38328         [BZ #2074]
38329         * stdio.texi (Hook Functions): The user provided writer function
38330         is not allowed to return -1.
38331
38332 2012-04-11  David S. Miller  <davem@davemloft.net>
38333
38334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38335
38336 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38337
38338         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38339         Add a leading slash to rtkaio.
38340
38341 2012-04-11  Jim Meyering  <meyering@redhat.com>
38342
38343         [BZ #11959]
38344         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38345         It is not necessarily an error to ignore fwrite's return
38346         value.  One can reliably use ferror to test for errors after
38347         the fact.
38348
38349 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38350
38351         * bits/types.h (__snseconds_t): New type.
38352         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38353
38354         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38355         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38356         (__SNSECONDS_T_TYPE): Likewise.
38357         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38358         (__SNSECONDS_T_TYPE): Likewise.
38359         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38360         (__SNSECONDS_T_TYPE): Likewise.
38361
38362 2012-04-10  Andreas Jaeger  <aj@suse.de>
38363
38364         [BZ #2636]
38365         * manual/time.texi (Processor Time): Return type of times is
38366         elapsed real time since an arbitrary point in the past.
38367         (CPU Time): Move CLK_TCK from here...
38368         (Processor Time): ...to here.  Correct description.
38369         * manual/conf.texi (Constants for Sysconf): Correct description of
38370         _SC_CLK_TCK.
38371
38372 2012-04-10  David S. Miller  <davem@davemloft.net>
38373
38374         [BZ #13967]
38375         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38376         where the is a gap between DT_REL(A) and DT_JMPREL.
38377
38378 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38379
38380         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38381         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38382         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38383
38384 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38385
38386         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38387         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38388         (dl_main): Handle --inhibit-cache.
38389         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38390         _dl_inhibit_cache.
38391         * elf/dl-load.c (_dl_map_object): Use it.
38392         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38393
38394 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38395
38396         [BZ #13872]
38397         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38398         (__ieee754_powl): Saturate large exponents rather than testing for
38399         overflow of y*log2(x).
38400         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38401         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38402         exceptions.
38403
38404         [BZ #11521]
38405         * math/s_ctan.c: Include <float.h>.
38406         (__ctan): Avoid internal overflow or cancellation in calculating
38407         denominator.
38408         * math/s_ctanf.c: Likewise.
38409         * math/s_ctanl.c: Likewise.
38410         * math/s_ctanh.c: Likewise.
38411         * math/s_ctanhf.c: Likewise.
38412         * math/s_ctanhl.c: Likewise.
38413         * math/libm-test.inc (ctan_test): Add more tests.
38414         (ctanh_test): Likewise.
38415         * sysdeps/i386/fpu/libm-test-ulps: Update.
38416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38417
38418 2012-04-09  Andreas Jaeger  <aj@suse.de>
38419
38420         [BZ #6894]
38421         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38422         is an optional BSD extension.
38423
38424         [BZ #10254]
38425         * manual/stdio.texi (Opening Streams): Document additional fopen
38426         parameters.
38427
38428 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38429
38430         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38431         %eax without telling the compiler.
38432
38433 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38434
38435         [BZ # 13963]
38436         * manual/install.texi: Use sourceware.org.
38437
38438 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38439
38440         [BZ #13873]
38441         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38442         (__ieee754_pow): Generate overflow and underflow using huge*huge
38443         and tiny*tiny rather than just returning constant infinity or zero
38444         for large exponents.
38445         * math/libm-test.inc (pow_test): Require overflow exceptions for
38446         applicable cases of large exponents.
38447
38448         [BZ #706]
38449         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38450         (__ieee754_pow): Use iterative multiplication algorithm only for
38451         integer exponents with absolute value below 1024.  Check for odd
38452         integer exponents when using algorithm for real exponents.
38453         * math/libm-test.inc (pow_test): Add more tests.
38454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38455
38456 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38457
38458         [BZ #13705]
38459         * math/libm-test.inc (exp_test): Do not allow overflow exception
38460         on underflow test.
38461
38462 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38463
38464         [BZ #13705]
38465         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38466         instead of __kernel_standard_f.
38467
38468 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38469
38470         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38471         * sysdeps/x86_64/memset_chk.S: Likewise.
38472
38473 2012-04-08  Andreas Jaeger  <aj@suse.de>
38474
38475         [BZ #10153]
38476         * manual/startup.texi (Environment Access): Describe return value
38477         for putenv and setenv.
38478
38479         [BZ #6895]
38480         * manual/filesys.texi (Directory Entries): Add description for
38481         DT_LNK.
38482
38483         [BZ #6890]
38484         * manual/filesys.texi (Directory Entries): Clarify that it's file
38485         system not operating system in the description of DT_UNKNOWN.
38486
38487         [BZ #6578]
38488         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38489
38490 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38491
38492         [BZ #6649]
38493         * manual/llio.texi (Opening and Closing Files): Add cross
38494         reference to explain mode argument.
38495
38496 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38497
38498         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38499         * sysdeps/x86_64/memset_chk.S: Likewise.
38500
38501 2012-04-07  David S. Miller  <davem@davemloft.net>
38502
38503         * elf/elf.h (R_SPARC_WDISP10): Define.
38504         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38505         R_SPARC_SIZE32.
38506         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38507         R_SPARC_SIZE64 and R_SPARC_H34.
38508
38509 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38510
38511         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38512         conditions and remove no longer applicable assertion.
38513
38514 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38515
38516         * bits/byteswap.h: Include <features.h>.
38517         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38518         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38519
38520 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38521
38522         * bits/byteswap.h (__bswap_16): Removed.
38523         Include <bits/byteswap-16.h> to get __bswap_16.
38524         * sysdeps/i386/bits/byteswap.h: Likewise.
38525         * sysdeps/s390/bits/byteswap.h: Likewise.
38526         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38527         * bits/byteswap-16.h: New file.
38528         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38529         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38530         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38531         * string/Makefile (headers): Add bits/byteswap-16.h.
38532
38533 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38534
38535         [BZ #13895]
38536         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38537         extra indirection.
38538         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38539         * nss/tst-nss-static.c: New.
38540
38541 2012-04-06  Robert Millan  <rmh@gnu.org>
38542
38543         [BZ #6486]
38544         * manual/llio.texi (File Position Primitive): lseek
38545         refers to WHENCE when it really means OFFSET.
38546
38547 2012-04-06  Andreas Jaeger  <aj@suse.de>
38548
38549         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38550         strncmp declarations.
38551
38552         * abilist/libc.abilist: Add __poll and __ppoll.
38553
38554 2012-04-05  David S. Miller  <davem@davemloft.net>
38555
38556         * scripts/check-local-headers.sh: Accept a host triplet in the
38557         path matched by the exclude regexp.
38558
38559         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38560         definition.
38561         * sysdeps/powerpc/powerpc32/dl-machine.h
38562         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38563         * sysdeps/s390/s390-32/dl-machine.h
38564         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38565         * sysdeps/sparc/sparc32/dl-machine.h
38566         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38567         * sysdeps/sparc/sparc64/dl-machine.h
38568         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38569
38570         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38571         lazy binding.
38572         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38573         undefined symbol errors.
38574
38575         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38576         DT_NEEDED entries.
38577
38578 2012-04-05  Michael Matz  <matz@suse.de>
38579
38580         [BZ #13592]
38581         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38582
38583 2012-04-05  Andreas Jaeger  <aj@suse.de>
38584
38585         [BZ #13908]
38586         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38587         comment.
38588
38589 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38590
38591         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38592         which ROUND is no valid rounding mode.
38593
38594 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38595
38596         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38597         read again.
38598         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38599
38600 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38601
38602         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38603         an exception using FPU order intentionally.
38604
38605 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38606
38607         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38608         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38609         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38610         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38611
38612 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38613
38614         [BZ #12340]
38615         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38616         EINVAL when BUFLEN is too smal.
38617
38618 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38619
38620         [BZ #13553]
38621         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38622         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38623
38624 2012-04-03  Andreas Jaeger  <aj@suse.de>
38625
38626         [BZ #13938]
38627         * manual/setjmp.texi (System V contexts): Fix sentence.
38628
38629         [BZ #13926]
38630         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38631         New macro for this case.
38632         [!__GNUC__] (__bswap_64): New inline function for this case.
38633         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38634         * bits/byteswap.h: Likewise.
38635         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38636         ull, guard with __GLIBC_HAVE_LONG_LONG.
38637
38638         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38639         __GLIBC_HAVE_LONG_LONG.
38640
38641         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38642         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38643
38644 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38645
38646         [BZ #13691]
38647         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38648         inptr and inend, rather than using last_ch.
38649
38650 2012-04-02  David S. Miller  <davem@davemloft.net>
38651
38652         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38653         * stdio-common/printf-parse.h (read_int): Change return type to
38654         'int', return -1 on INT_MAX overflow.
38655         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38656         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38657         overflows INT_MAX.  Check for overflow of in-format-string precision
38658         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38659         SIZE_MAX not INT_MAX for integer overflow test.
38660         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38661         skip the construct in the format string but do not record anything.
38662         * stdio-common/bug22.c: Adjust to test both width/prevision
38663         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38664         explicitly for proper errno values.
38665
38666 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38667
38668         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38669         CHAR_MAX.
38670         * string/test-strcmp.c [! WIDE]: Likewise.
38671         * time/tst-mktime2.c: Likewise for INT_MAX.
38672         * string/test-string.h: #include <sys/param.h> for MIN.
38673
38674         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38675         * sysdeps/i386/init-first.c (init): Likewise.
38676         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38677         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38678         * sysdeps/sh/init-first.c (init): Likewise.
38679
38680 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38681
38682         * po/ru.po: Update from translation team.
38683         * po/vi.po: Likewise.
38684
38685 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38686
38687         * resolv/nss_dns/dns-host.c: Merge copyright years.
38688
38689 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38690
38691         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38692         Optimize memcpy with prefetch if
38693         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38694         src, dst pointers have unequal 16 byte alignments.
38695
38696 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38697
38698         [BZ #13928]
38699         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38700         from a CNAME entry and return the minimum ttl for the query.
38701         (gaih_getanswer_slice): Likewise.
38702
38703 2012-03-30  Jeff Law  <law@redhat.com>
38704
38705         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38706         due to long keys.
38707         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38708         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38709
38710         * resolv/nss_dns/dns-host.c: Update copyright year.
38711
38712 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38713
38714         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38715         requests to save a system call.  Fix check that all bytes are sent.
38716
38717         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38718         comments for sendmmsg.
38719
38720 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38721
38722         [BZ #13691]
38723         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38724         with only 1 character between 0x0041 and 0x01b0.
38725         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38726         * wcsmbs/tst-mbsnrtowcs.c: New file.
38727
38728 2012-03-29  David S. Miller  <davem@davemloft.net>
38729
38730         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38731         small copies by hand.
38732
38733 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38734
38735         [BZ #13761]
38736         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38737         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38738         group memberships.
38739
38740 2012-03-28  David S. Miller  <davem@davemloft.net>
38741
38742         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38743         that branches into memcpy.
38744         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38745         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38746         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38747         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38748         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38749         bits.
38750         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38751         implementation too.
38752         * sysdeps/sparc/mempcpy.S: New file.
38753
38754         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38755         the IFUNC routine in the libc case.
38756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38757
38758         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38759         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38760         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38761         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38762         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38763         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38764         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38765         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38766
38767         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38768         loop to 256 bytes instead of 64 bytes and fix test signedness.
38769
38770         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38771         * sysdeps/sparc/sparc32/Makefile: rather than here...
38772         * sysdeps/sparc/sparc64/Makefile: and here.
38773
38774 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38775
38776         * malloc/mallocbug.c: Avoid warnings about unused variables.
38777
38778 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38779
38780         [BZ #13760]
38781         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38782         in the right place. Discard and retry query if response is
38783         larger than input buffer size.
38784
38785 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38786
38787         [BZ #369]
38788         [BZ #2678]
38789         [BZ #3866]
38790         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38791         x for large integer exponent.
38792         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38793         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38794         sign of result as needed afterwards.
38795         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38796         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38797         result for underflowing pow the same as for overflow.
38798         (__kernel_standard_l): Handle powl overflow and underflow here
38799         rather than calling __kernel_standard.
38800         * math/libm-test.inc (pow_test): Add more tests.
38801
38802         [BZ #3868]
38803         [BZ #13879]
38804         [BZ #13910]
38805         [BZ #13911]
38806         [BZ #13912]
38807         [BZ #13913]
38808         [BZ #13915]
38809         [BZ #13916]
38810         [BZ #13917]
38811         [BZ #13918]
38812         [BZ #13919]
38813         [BZ #13920]
38814         [BZ #13921]
38815         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38816         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38817         (__kernel_standard_l): New function.
38818         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38819         __kernel_standard.
38820         * math/w_acosl.c (__acosl): Likewise.
38821         * math/w_asinl.c (__asinl): Likewise.
38822         * math/w_atan2l.c (__atan2l): Likewise.
38823         * math/w_atanhl.c (__atanhl): Likewise.
38824         * math/w_coshl.c (__coshl): Likewise.
38825         * math/w_exp10l.c (__exp10l): Likewise.
38826         * math/w_exp2l.c (__exp2l): Likewise.
38827         * math/w_fmodl.c (__fmodl): Likewise.
38828         * math/w_hypotl.c (__hypotl): Likewise.
38829         * math/w_j0l.c (__j0l, __y0l): Likewise.
38830         * math/w_j1l.c (__j1l, __y1l): Likewise.
38831         * math/w_jnl.c (__jnl, __ynl): Likewise.
38832         * math/w_lgammal.c (__lgammal): Likewise.
38833         * math/w_log10l.c (__log10l): Likewise.
38834         * math/w_log2l.c (__log2l): Likewise.
38835         * math/w_logl.c (__logl): Likewise.
38836         * math/w_powl.c (__powl): Likewise.
38837         * math/w_remainderl.c (__remainderl): Likewise.
38838         * math/w_scalbl.c (sysv_scalbl): Likewise.
38839         * math/w_sinhl.c (__sinhl): Likewise.
38840         * math/w_sqrtl.c (__sqrtl): Likewise.
38841         * math/w_tgammal.c (__tgammal): Likewise.
38842         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38843         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38844         * math/libm-test.inc (acos_test): Add more tests.
38845         (acosh_test): Likewise.
38846         (asin_test): Likewise.
38847         (atanh_test): Likewise.
38848         (exp_test): Likewise.
38849         (exp10_test): Likewise.
38850         (exp2_test): Likewise.
38851         (expm1_test): Likewise.
38852         (lgamma_test): Likewise.
38853         (log_test): Likewise.
38854         (log10_test): Likewise.
38855         (log1p_test): Likewise.
38856         (log2_test): Likewise.
38857         (pow_test): Do not allow some spurious overflow exceptions.
38858         (sqrt_test): Add more tests.
38859         (tgamma_test): Likewise.
38860         (y0_test): Likewise.
38861         (y1_test): Likewise.
38862         (yn_test): Likewise.
38863
38864 2012-03-27  Anton Blanchard  <anton@samba.org>
38865
38866         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38867         MAP_HUGETLB.
38868         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38869         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38870         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38871
38872 2012-03-27  David S. Miller  <davem@davemloft.net>
38873
38874         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38875
38876         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38877         have-as-vis3 check.
38878
38879 2012-03-27  Andreas Jaeger  <aj@suse.de>
38880
38881         * sysdeps/x86_64/elf/configure.in: Moved to ...
38882         * sysdeps/x86_64/configure.in: ... here.
38883         * sysdeps/x86_64/elf/start.S: Moved to ...
38884         * sysdeps/x86_64/start.S: ... here.
38885         * sysdeps/x86_64/elf/configure: Delete.
38886
38887         * sysdeps/x86_64/configure.in: Merge contents from
38888         sysdeps/i386/configure.in (without i686 check).
38889
38890         * sysdeps/i386/elf/Versions: Merge into ...
38891         * sysdeps/i386/Versions: ... this.
38892         * sysdeps/i386/elf/Versions: Delete file.
38893         * sysdeps/i386/elf/start.S: Moved to ...
38894         * sysdeps/i386/start.S: ...here.
38895         * sysdeps/i386/elf/configure.in: Merge into...
38896         * sysdeps/i386/configure.in: ...here.
38897         * sysdeps/i386/elf/configure.in: Delete file.
38898         * sysdeps/i386/elf/configure: Delete file.
38899
38900         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38901         * debug/backtracesyms.c: ... here.
38902         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38903         * debug/backtracesymsfd.c: ... here.
38904         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38905         * sysdeps/generic/ifunc-sel.h: ... here.
38906
38907         * sysdeps/unix/i386/start.c: Delete file.
38908         * sysdeps/unix/sparc/start.c: Delete file.
38909         * sysdeps/unix/start.c: Delete file.
38910
38911         * sysdeps/sh/elf/configure.in: Moved to ...
38912         * sysdeps/sh/configure.in: ... here.
38913         * sysdeps/sh/elf/start.S: Moved to ...
38914         * sysdeps/sh/start.S: ... here.
38915         * sysdeps/sh/elf/configure: Delete file.
38916
38917         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38918         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38919         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38920         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38921         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38922         * sysdeps/powerpc/powerpc64/start.S: here.
38923         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38924         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38925         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38926         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38927         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38928
38929         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38930         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38931         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38932         * sysdeps/powerpc/powerpc32/start.S: ... here.
38933         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38934         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38935         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38936
38937         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38938         * sysdeps/powerpc/ifunc-sel.h: ... here.
38939         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38940         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38941
38942         * sysdeps/sparc/elf/configure.in: Moved to ...
38943         * sysdeps/sparc/configure.in: ... here.
38944         * sysdeps/sparc/elf/configure: Delete file.
38945         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38946         * sysdeps/sparc/sparc32/start.S: ... here.
38947         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38948         * sysdeps/sparc/sparc64/start.S: ... here.
38949         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38950         * sysdeps/sparc/sparc32/Makefile: ... this.
38951         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38952         * sysdeps/sparc/sparc64/Makefile: ... this.
38953
38954         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38955         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38956         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38957         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38958         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38959         * sysdeps/s390/s390-32/setjmp.S: ... here.
38960         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38961         * sysdeps/s390/s390-32/configure.in: ... here.
38962         * sysdeps/s390/s390-32/elf/configure: Delete file.
38963         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38964         * sysdeps/s390/s390-32/start.S: ... here.
38965
38966         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38967         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38968         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38969         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38970         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38971         * sysdeps/s390/s390-64/setjmp.S: ... here.
38972         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38973         * sysdeps/s390/s390-64/configure.in: ... here
38974         * sysdeps/s390/s390-64/elf/configure: Delete file.
38975         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38976         * sysdeps/s390/s390-64/start.S: ... here.
38977         * sysdeps/s390/s390-64/elf/configure: Delete.
38978
38979         * configure.in: Remove support for elf directories in sysdeps.
38980
38981         * configure: Regenerated.
38982         * sysdeps/i386/configure: Regenerated.
38983         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38984         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38985         * sysdeps/s390/s390-32/configure: Regenerated.
38986         * sysdeps/s390/s390-64/configure: Regenerated.
38987         * sysdeps/sh/configure: Regenerated.
38988         * sysdeps/sparc/configure: Regenerated.
38989         * sysdeps/x86_64/configure: Regenerated.
38990
38991 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38992
38993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38994
38995         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38996         denormal result into account.
38997
38998 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38999
39000         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39001         Reported by Allan McRae <allan@archlinux.org>.
39002
39003 2012-03-23  Jeff Law  <law@redhat.com>
39004
39005         * nss/getnssent.c (__nss_getent): Fix typo.
39006
39007 2012-03-23  David S. Miller  <davem@davemloft.net>
39008
39009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39010
39011 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39012
39013         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39014         to pad to uint64_t for each field.
39015         (dl_tls_index): Replace unsigned long with uint64_t.
39016
39017 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39018         Paul Pluzhnikov  <ppluzhnikov@google.com>
39019
39020         [BZ #6528]
39021         * grp/Makefile (otherlibs): Don't set it.
39022         * inet/Makefile (otherlibs): Likewise.
39023         * login/Makefile (otherlibs): Likewise.
39024         * nscd/Makefile (otherlibs): Likewise.
39025         * posix/Makefile (otherlibs): Likewise.
39026         * pwd/Makefile (otherlibs): Likewise.
39027         * rt/Makefile (otherlibs): Likewise.
39028         * sunrpc/Makefile (otherlibs): Likewise.
39029         * nss/Makefile (otherlibs): Likewise.
39030         Add libnss_files to routines and static-only-routines.
39031         ($(objpfx)getent): Remove rule.
39032         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39033         static-only-routines.
39034
39035 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39036
39037         [BZ #13892]
39038         * math/s_cexp.c: Include <float.h>.
39039         (__cexp): Handle exp result overflowing not necessarily
39040         overflowing both real and imaginary parts of result.
39041         * math/s_cexpf.c: Likewise.
39042         * math/s_cexpl.c: Likewise.
39043         * math/libm-test.inc (cexp_test): Add more tests.
39044         * sysdeps/i386/fpu/libm-test-ulps: Update.
39045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39046
39047 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39048
39049         * include/link.h (ELFW): New macro.
39050         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39051         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39052
39053 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39054
39055         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39056         with uint64_t.
39057
39058 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39059
39060         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39061         declaration.
39062         (struct La_x32_retval): Likewise.
39063
39064 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39065
39066         * sysdeps/x86_64/preconfigure.in: New file.
39067         * sysdeps/x86_64/preconfigure: New generated file.
39068
39069 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39070
39071         [BZ #13824]
39072         * math/e_exp2l.c: Include <float.h>.
39073         (__ieee754_exp2l): Handle overflow and underflow cases
39074         separately.  Only pass fractional part of argument to
39075         __ieee754_expl.
39076         * math/libm-test.inc (exp2_test): Add more tests.
39077
39078         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39079         negating x to take absolute value.
39080         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39081         Likewise.
39082         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39083         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39084         Likewise.
39085         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39086         computing low part if x was negated.
39087         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39088
39089 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39090
39091         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39092         la_x32_gnu_pltexit.
39093         (pltexit): Cast int_retval to ptrdiff_t.
39094         * elf/tst-auditmod3b.c: Likewise.
39095         * elf/tst-auditmod4b.c: Likewise.
39096         * elf/tst-auditmod5b.c: Likewise.
39097         * elf/tst-auditmod6b.c: Likewise.
39098         * elf/tst-auditmod6c.c: Likewise.
39099         * elf/tst-auditmod7b.c: Likewise.
39100
39101         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39102         and x32_gnu_pltexit.
39103
39104         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39105         __ELF_NATIVE_CLASS.
39106         (La_x32_regs): New macro.
39107         (La_x32_retval): Likewise.
39108         (la_x32_gnu_pltenter): New function prototype.
39109         (la_x32_gnu_pltexit): Likewise.
39110
39111 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39112
39113         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39114         exponent.
39115
39116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39117
39118         * configure.in (libc_cv_cc_nofma): Check for option to disable
39119         generation of FMA instructions.
39120         * configure: Regenerate.
39121         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39122         * sysdeps/ieee754/dbl-64/Makefile: New file.
39123         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39124         Remove brandred-fma4.
39125         (CFLAGS-brandred-fma4.c): Remove.
39126         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39127         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39128         define.
39129         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39130         define.
39131
39132 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39133
39134         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39135         LLONG_MAX != LONG_MAX.
39136         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39137         (_fitoa_word): Likewise.
39138         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39139         LLONG_MAX != LONG_MAX.
39140         * stdio-common/_itowa.h: Include <_itoa.h>.
39141         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39142         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39143         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39144         only if not defined.
39145         (_ITOA_WORD_TYPE): Likewise.
39146         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39147         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39148
39149 2012-03-21  David S. Miller  <davem@davemloft.net>
39150
39151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39152
39153 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39154
39155         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39156         of x86_64 when setting libc_cv_slibdir, libdir and
39157         libc_cv_localedir.
39158         * sysdeps/unix/sysv/linux/configure: Regenerated.
39159
39160 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39161
39162         * manual/lang.texi (Old Varargs): Remove section.
39163         (How Variadic): Update menu.
39164         (va_start): Do not mention varargs.h.
39165
39166 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39167             Joseph Myers  <joseph@codesourcery.com>
39168
39169         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39170         link test.
39171         * configure: Regenerated.
39172
39173 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39174
39175         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39176         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39177         conformtest.pl
39178
39179 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39180
39181         * NOTES: Remove.
39182         * Makefile (files-for-dist): Remove NOTES.
39183         (NOTES): Remove rule.
39184         * README: Don't refer to NOTES.
39185         * manual/creature.texi: Don't include macros.texi.
39186         * manual/intro.texi (creature.texi): Remove comment referring to
39187         NOTES.
39188
39189         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39190         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39191         * configure: Regenerated.
39192         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39193         LIBC_TRY_CC_OPTION.
39194         (libc_cv_as_i686): Likewise.
39195         (libc_cv_cc_avx): Likewise.
39196         (libc_cv_cc_sse2avx): Likewise.
39197         (libc_cv_cc_fma4): Likewise.
39198         (libc_cv_cc_novzeroupper): Likewise.
39199         * sysdeps/i386/configure: Regenerated.
39200
39201         [BZ #13883]
39202         * sysdeps/i386/fpu/s_cexp.S: Remove.
39203         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39204         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39205         * math/libm-test.inc (cexp_test): Add more tests.
39206         * sysdeps/i386/fpu/libm-test-ulps: Update.
39207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39208
39209 2012-03-21  Allan McRae  <allan@archlinux.org>
39210
39211         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39212
39213 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39214
39215         [BZ #13871]
39216         * math/w_exp2.c: Do not include <float.h>.
39217         (o_threshold, u_threshold): Remove.
39218         (__exp2): Calculate result before checking finiteness and calling
39219         __kernel_standard.
39220         * math/w_exp2f.c: Likewise.
39221         * math/w_exp2l.c: Likewise.
39222         * math/libm-test.inc (exp2_test): Require overflow exception for
39223         1e6 input.
39224
39225         [BZ #3866]
39226         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39227         range of signed 64-bit integers before using fistpll.  Remove
39228         checks for whether integers fit in mantissa bits.
39229         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39230         the range of signed 32-bit integers before using fistpl.  Remove
39231         checks for whether integers fit in mantissa bits.
39232         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39233         (__ieee754_powl): Test for y outside the range of signed 64-bit
39234         integers before using fistpll.  Reduce 64-bit values to 63-bit
39235         ones as needed.
39236         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39237         divide-by-zero is raised for zero to large negative powers.
39238         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39239         (__ieee754_powl): Test for y outside the range of signed 64-bit
39240         integers before using fistpll.  Reduce 64-bit values to 63-bit
39241         ones as needed.
39242         * math/libm-test.inc (pow_test): Add more tests.
39243
39244 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39245
39246         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39247         <stdio-common/_itoa.h>.
39248         * debug/segfault.c: Likewise.
39249         * elf/dl-cache.c: Likewise.
39250         * elf/dl-minimal.c: Likewise.
39251         * elf/dl-misc.c: Likewise.
39252         * elf/dl-sysdep.c: Likewise.
39253         * elf/dl-version.c: Likewise.
39254         * elf/rtld.c: Likewise.
39255         * hurd/hurdsock.c: Likewise.
39256         * hurd/lookup-retry.c: Likewise.
39257         * malloc/malloc.c: Likewise.
39258         * malloc/mtrace.c: Likewise.
39259         * nscd/nscd_getgr_r.c: Likewise.
39260         * nscd/nscd_getpw_r.c: Likewise.
39261         * nscd/nscd_getserv_r.c: Likewise.
39262         * posix/getopt_init.c: Likewise.
39263         * posix/wordexp.c: Likewise.
39264         * stdio-common/_itoa.c: Likewise.
39265         * stdio-common/printf_fphex.c: Likewise.
39266         * stdio-common/vfprintf.c: Likewise.
39267         * string/_strerror.c: Likewise.
39268         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39269         * sysdeps/i386/i686/hp-timing.h: Likewise.
39270         * sysdeps/mach/_strerror.c: Likewise.
39271         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39272         * sysdeps/mach/hurd/sethostid.c: Likewise.
39273         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39274         * sysdeps/mach/xpg-strerror.c: Likewise.
39275         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39276         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39277         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39278         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39279         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39280         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39281         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39282         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39283         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39284         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39285         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39286         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39287         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39288         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39289         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39290         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39291         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39292         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39293         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39294         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39295         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39296
39297         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39298
39299         * stdio-common/_itoa.h: Moved to ...
39300         * sysdeps/generic/_itoa.h: Here.
39301
39302         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39303
39304         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39305         instead of "_itoa.h" and "_itowa.h".
39306         * stdio-common/vfprintf.: Likewise.
39307
39308 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39309
39310         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39311         <bits/wordsize.h>.
39312         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39313         (__signbit): Likwise.
39314         (llrintf): Likwise.
39315         (llrint): Likwise.
39316
39317 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39318
39319         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39320         __WORDSIZE != 64.
39321
39322 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39323
39324         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39325         OVERFLOW_EXCEPTION_OK.
39326         * math/libm-test.inc ("Philosophy"): Update comment about
39327         exception testing.
39328         (OVERFLOW_EXCEPTION): Define.
39329         (OVERFLOW_EXCEPTION_OK): Likewise.
39330         (INVALID_EXCEPTION_OK): Renumber.
39331         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39332         (IGNORE_ZERO_INF_SIGN): Likewise.
39333         (test_exceptions): Handle FE_OVERFLOW.
39334         (exp10_test): Expect overflow exceptions.
39335         (exp2_test): Likewise.
39336         (expm1_test): Likewise.
39337         (nextafter_test): Likewise.
39338         (pow_test): Likewise.
39339         (scalbn_test): Likewise.
39340         (scalbln_test): Likewise.
39341
39342 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39343
39344         * sysdeps/x86_64/bits/atomic.h
39345         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39346         64bit integer.
39347         (atomic_exchange_acq): Likewise.
39348         (__arch_exchange_and_add_body): Likewise.
39349         (__arch_add_body): Likewise.
39350         (atomic_add_negative): Likewise.
39351         (atomic_add_zero): Likewise.
39352
39353 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39354
39355         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39356         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39357
39358 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39359
39360         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39361         Check __x86_64__ instead of __WORDSIZE.
39362
39363 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39364
39365         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39366
39367 2012-03-19  David S. Miller  <davem@davemloft.net>
39368
39369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39370
39371         * sysdeps/sparc/fpu/fenv_private.h: New file.
39372         * sysdeps/sparc/fpu/math_private.h: Use it.
39373         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39374         Remove.
39375         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39376         (libc_feholdexcept_setroundl): Remove.
39377         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39378         Remove.
39379         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39380         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39381
39382 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39383
39384         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39385         int64_t instead of long int.
39386         (INSERT_WORDS64): Likwise.
39387
39388 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39389
39390         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39391         _Unwind_GetCFA return to _Unwind_Ptr first.
39392
39393 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39394
39395         [BZ #13629]
39396         * math/s_clog.c: Include <float.h>.
39397         (__clog): Scale large or subnormal inputs.
39398         * math/s_clogf.c: Likewise.
39399         * math/s_clogl.c: Likewise.
39400         * math/s_clog10.c: Include <float.h>.
39401         (M_LOG10_2): Define.
39402         (__clog10): Scale large or subnormal inputs.
39403         * math/s_clog10f.c: Likewise.
39404         * math/s_clog10l.c: Likewise.
39405         * math/libm-test.inc (clog_test): Add more tests.
39406         (clog10_test): Likewise.
39407         * sysdeps/i386/fpu/libm-test-ulps: Update.
39408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39409
39410         [BZ #11451]
39411         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39412         x and y.
39413         * math/libm-test.inc (atan2_test): Add another test.
39414
39415         * Makerules (common-objdir-compile): Remove.
39416         * sysdeps/unix/Makefile (config-generated): Do not add
39417         $(unix-generated) to variable.
39418         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39419         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39420         Remove rule.
39421         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39422         Likewise.
39423         [generic bits/local_lim.h] (before-compile): Do not append to
39424         variable.
39425         [generic bits/local_lim.h] (common-generated): Likewise.
39426         [generic sys/param.h] (before-compile): Do not append to variable.
39427         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39428         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39429         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39430         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39431         include.
39432         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39433         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39434         [generic sys/param.h] ($(addprefix
39435         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39436         [generic sys/param.h] (common-generated): Do not append to
39437         variable.
39438         [generic sys/param.h] (sysdep_headers): Likewise.
39439         [generic bits/errno.h] (before-compile): Do not append to
39440         variable.
39441         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39442         rule.
39443         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39444         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39445         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39446         [generic bits/errno.h] (common-generated): Do not append to
39447         variable.
39448         [generic bits/ioctls.h] (before-compile): Do not append to
39449         variable.
39450         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39451         rule.
39452         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39453         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39454         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39455         rule.
39456         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39457         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39458         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39459         [generic bits/ioctls.h] (common-generated): Do not append to
39460         variable.
39461         [generic sys/syscall.h] (syscall.h): Remove variable.
39462         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39463         rule.
39464         [generic sys/syscall.h] (before-compile): Do not append to
39465         variable.
39466         [generic sys/syscall.h] (common-generated): Likewise.
39467         * sysdeps/unix/errnos-tmpl.c: Remove file.
39468         * sysdeps/unix/errnos.awk: Likewise.
39469         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39470         * sysdeps/unix/ioctls.awk: Likewise.
39471         * sysdeps/unix/mk-local_lim.c: Likewise.
39472         * sysdeps/unix/snarf-ioctls: Likewise.
39473
39474 2012-03-19  Richard Henderson  <rth@twiddle.net>
39475
39476         * sysdeps/i386/fpu/fenv_private.h: New file.
39477         * sysdeps/i386/fpu/math_private.h: Use it.
39478         (math_opt_barrier, math_force_eval): Remove.
39479         (libc_feholdexcept_setround_53bit): Remove.
39480         (libc_feupdateenv_53bit): Remove.
39481         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39482         (math_opt_barrier, math_force_eval): Remove.
39483         (libc_feholdexcept): Remove.
39484         (libc_feholdexcept_setround): Remove.
39485         (libc_fetestexcept, libc_fesetenv): Remove.
39486         (libc_feupdateenv_test): Remove.
39487         (libc_feupdateenv, libc_feholdsetround): Remove.
39488         (libc_feresetround): Remove.
39489
39490         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39491         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39492
39493         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39494         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39495         (libc_feupdateenv_testl): New.
39496         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39497         (libc_feupdateenv_testf): New.
39498         (libc_feupdateenv): Use libc_feupdateenv_test.
39499         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39500         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39501
39502         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39503         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39504         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39505         (libc_feresetround_noex): New.
39506         (libc_feresetround_noexf): New.
39507         (libc_feresetround_noexl): New.
39508         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39509         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39510         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39511         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39512         SET_RESTORE_ROUND.
39513         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39514         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39515         (__cos): Likewise.
39516         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39517         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39518         SET_RESTORE_ROUND_NOEX.
39519         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39520         SET_RESTORE_ROUND_NOEXF.
39521         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39522         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39523         (libc_feholdsetroundf): New.
39524         (libc_feresetround, libc_feresetroundf): New.
39525
39526         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39527         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39528         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39529
39530         * sysdeps/generic/math_private.h: Include <fenv.h>.
39531         (default_libc_feholdexcept): New.
39532         (default_libc_feholdexcept_setround): New.
39533         (default_libc_fesetenv, default_libc_feupdateenv): New.
39534         (libc_feholdexcept): Only define if undefined.
39535         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39536         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39537         (libc_feholdexcept_setroundl): Likewise.
39538         (libc_feholdexcept_setround_53bit): Likewise.
39539         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39540         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39541         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39542         (libc_feupdateenv_53bit): Likewise.
39543         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39544         (libc_feholdexcept): Convert from macro to inline function.
39545         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39546         (libc_fesetenv, libc_feupdateenv): Likewise.
39547
39548         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39549         not previously defined.
39550         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39551         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39552         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39553         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39554         * sysdeps/ieee754/flt-32/math_private.h: New file.
39555         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39556         math_private.h below SET_FLOAT_WORD.
39557         (__isnan, __isinf_ns, __finite): Remove.
39558         (__isnanf, __isinf_nsf, __finitef): Remove.
39559
39560 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39561
39562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39563
39564 2012-03-17  David S. Miller  <davem@davemloft.net>
39565
39566         [BZ #6471]
39567         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39568         for 2.16.
39569
39570 2012-03-16  David S. Miller  <davem@davemloft.net>
39571
39572         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39573         warnings.
39574
39575         [BZ #6471]
39576         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39577         properly.
39578         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39579         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39580         sysdep_routines when subdir is sysvipc.
39581         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39582         __getshmlba helper.
39583
39584         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39585
39586 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39587
39588         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39589         [__LP64__].
39590
39591 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39592
39593         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39594         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39595         (__lround): Renamed to ...
39596         (__llround): This.  Replace long int with long long int.
39597         Define lround functions as aliases of llround functions.
39598         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39599
39600 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39601
39602         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39603         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39604         adresses to uintptr_t.  Replace "long int" and "unsigned long
39605         int" with "greg_t" on va_arg.
39606
39607 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39608
39609         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39610         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39611
39612         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39613         Move e_machine check before EI_CLASS check.  Handle x32
39614         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39615         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39616         SKIP_EM_IA_64 and include
39617         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39618
39619         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39620         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39621         (add_system_dir): New macro.
39622
39623         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39624         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39625
39626 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39627
39628         [BZ #2551]
39629         [BZ #2552]
39630         [BZ #2553]
39631         [BZ #2554]
39632         [BZ #2562]
39633         [BZ #2563]
39634         [BZ #2565]
39635         [BZ #2566]
39636         [BZ #2576]
39637         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39638         (y0): Likewise.
39639         * math/w_j0f.c (j0f): Likewise.
39640         (y0f): Likewise.
39641         * math/w_j0l.c (__j0l): Likewise.
39642         (__y0l): Likewise.
39643         * math/w_j1.c (j1): Likewise.
39644         (y1): Likewise.
39645         * math/w_j1f.c (j1f): Likewise.
39646         (y1f): Likewise.
39647         * math/w_j1l.c (__j1l): Likewise.
39648         (__y1l): Likewise.
39649         * math/w_jn.c (jn): Likewise.
39650         (yn): Likewise.
39651         * math/w_jnf.c (jnf): Likewise.
39652         (ynf): Likewise.
39653         * math/w_jnl.c (__jnl): Likewise.
39654         (__ynl): Likewise.
39655         * math/libm-test.inc (j0_test): Add more tests.
39656         (j1_test): Likewise.
39657         (jn_test): Likewise.  Add trailing semicolon to existing test.
39658         (y0_test): Likewise.
39659         (y1_test): Likewise.
39660         * sysdeps/i386/fpu/libm-test-ulps: Update.
39661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39662
39663         [BZ #13851]
39664         [BZ #13854]
39665         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39666         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39667         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39668         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39669         (__tanl): Set errno for infinite argument.
39670         * sysdeps/i386/fpu/mptan.c: Remove.
39671         * sysdeps/i386/fpu/s_tan.S: Likewise.
39672         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39673         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39674         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39675         * math/libm-test.inc (tan_test): Add more tests and enable more
39676         tests for double and long double.
39677         * sysdeps/i386/fpu/libm-test-ulps: Update.
39678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39679
39680 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39681
39682         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39683         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39684
39685 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39686
39687         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39688         * configure.in: Use it for both main tree and add-ons.
39689         * configure: Regenerated.
39690
39691 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39692
39693         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39694
39695 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39696
39697         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39698         in comment.
39699
39700         [BZ #13851]
39701         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39702         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39703         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39704         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39705         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39706         infinite argument.
39707         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39708         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39709         != 0 for prec == 2.
39710         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39711         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39712         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39713         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39714         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39715         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39716         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39717         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39718         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39719         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39720         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39721         * math/libm-test.inc (cos_test): Add more tests and enable more
39722         tests for long double.
39723         (sin_test): Likewise.
39724         (sincos_test): Likewise.
39725         * sysdeps/i386/fpu/libm-test-ulps: Update.
39726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39727
39728 2012-03-16  David S. Miller  <davem@davemloft.net>
39729
39730         * sysdeps/sparc/fpu/math_private.h: New file.
39731
39732 2012-03-15  David S. Miller  <davem@davemloft.net>
39733
39734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39735         file.
39736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39738         file.
39739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39744         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39745         sysdep routines.
39746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39747
39748         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39749         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39750
39751         * sysdeps/sparc/sparc-ifunc.h: New file.
39752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39753         sparc-ifunc.h
39754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39756         Likewise.
39757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39758         Likewise.
39759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39763         Likewise.
39764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39769         Likewise.
39770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39771         Likewise.
39772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39776         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39777         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39778         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39779         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39782         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39783         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39784         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39785         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39790         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39791         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39792         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39793         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39794         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39795         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39796
39797 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39798
39799         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39800         scaling.
39801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39802
39803 2012-03-15  Andreas Jaeger  <aj@suse.de>
39804
39805         [BZ #13852]
39806         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39807         ieee754/flt-32 implementation for sin, cos and sincos.
39808         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39809         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39810         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39811         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39812         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39813         ieee754/flt-32 implementation for tan.
39814
39815         * math/libm-test.inc (cos_test): Enable some large input tests for
39816         float as well
39817         (sin_test): Likewise.
39818         (sincos_test): Likewise.
39819         (tan_test): Add tests for large input.
39820
39821         * sysdeps/i386/fpu/libm-test-ulps: Update.
39822
39823 2012-03-15  Andreas Jaeger  <aj@suse.de>
39824
39825         [BZ #13658]
39826         * math/libm-test.inc (cos_test): Add more test cases.
39827         (sin_test): Likewise.
39828         (sincos_test): Likewise.
39829
39830 2012-03-15  Andreas Jaeger  <aj@suse.de>
39831
39832         [BZ #13837]
39833         * math/libm-test.inc (cos_test): Add a test case for large input
39834         value.
39835         (sin_test): Likewise.
39836         (sincos_test): Likewise.
39837
39838 2012-03-15  Andreas Jaeger  <aj@suse.de>
39839             Joseph Myers  <joseph@codesourcery.com>
39840
39841         [BZ #13658]
39842         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39843         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39844         * sysdeps/i386/fpu/branred.c: Likewise.
39845         * sysdeps/i386/fpu/dosincos.c: Likewise.
39846         * sysdeps/i386/fpu/mpa.c: Likewise.
39847         * sysdeps/i386/fpu/s_cos.S: Likewise.
39848         * sysdeps/i386/fpu/s_sin.S: Likewise.
39849         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39850         * sysdeps/i386/fpu/sincos32.c: Likewise.
39851
39852         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39853         Define.
39854         (libc_feupdateenv_53bit): Define.
39855         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39856         Define.
39857         (libc_feupdateenv_53bit): Define.
39858
39859         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39860         53 bit (without extend i386 double precision).
39861
39862         * math/libm-test.inc (sincos_test): Add tests for large input.
39863         (sin): Likewise.
39864         (cos): Likewise.
39865
39866         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39867
39868 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39869
39870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39871
39872 2012-03-15  David S. Miller  <davem@davemloft.net>
39873
39874         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39875         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39876         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39877         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39890         file.
39891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39893         file.
39894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39896         file.
39897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39899         file.
39900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39901         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39902         fmin/fmax sysdep routines.
39903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39904
39905 2012-03-14  David S. Miller  <davem@davemloft.net>
39906
39907         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39908         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39910         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39911         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39912         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39913         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39914         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39915         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39916         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39917         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39918         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39919         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39920         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39921         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39922         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39923         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39927         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39928         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39929         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39930         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39931         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39932         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39933         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39934         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39935         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39936         routines.
39937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39938         file.
39939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39941         file.
39942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39944         file.
39945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39947         file.
39948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39950         file.
39951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39953         file.
39954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39955         file.
39956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39957         file.
39958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39959         file.
39960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39961         New file.
39962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39963         file.
39964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39965         file.
39966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39968         file.
39969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39971         file.
39972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39974         file.
39975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39977         VIS3 routines.
39978
39979         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39980         New file.
39981
39982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39983
39984         * sysdeps/sparc/configure.in: New file.
39985         * sysdeps/sparc/configure: Generate.
39986         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39987         * configure: Regenerate.
39988         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39989         * config.make.in (have-as-vis3): New.
39990         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39991         available use -Av9d instead of -Av9a.
39992         * sysdeps/sparc/sparc64/Makefile: Likewise.
39993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39995         New file.
39996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39997         file.
39998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39999         New file.
40000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40001         file.
40002         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40003         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40004         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40005         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40006         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40007
40008         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40009         fzeros/fnegs to load 0x80000000 into a float register instead of
40010         using the stack.
40011         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40012
40013 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40014
40015         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40016         bits/syscall.h.
40017         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40018         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40019         ($(inst_includedir)/bits/syscall.h): Remove rule.
40020         ($(objpfx)bits/syscall.d): Include instead of
40021         $(objpfx)syscall-list.d.
40022         (generated): Change syscall-list.h and syscall-list.d to
40023         bits/syscall.h and bits/syscall.d.
40024
40025 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40026
40027         [BZ #13846]
40028         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40029
40030 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40031
40032         [BZ #13841]
40033         * math/s_csqrt.c: Include <float.h>.
40034         (__csqrt): Scale large or subnormal inputs.
40035         * math/s_csqrtf.c: Likewise.
40036         * math/s_csqrtl.c: Likewise.
40037         * math/libm-test.inc (csqrt_test): Add more tests.
40038         * sysdeps/i386/fpu/libm-test-ulps: Update.
40039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40040
40041         [BZ #13840]
40042         * math/libm-test.inc (hypot_test): Add more tests.
40043
40044 2012-03-13  David S. Miller  <davem@davemloft.net>
40045
40046         [BZ #13840]
40047         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40048         double-precision for the calculation instead of scaling.
40049
40050 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40051
40052         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40053         manipulate bits before adding and subtracting TWO52[sx].
40054         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40055         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40056         Likewise.
40057         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40058
40059 2012-03-13  David S. Miller  <davem@davemloft.net>
40060
40061         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40062         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40063         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40064         rtld-global-offsets.h
40065         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40066
40067         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40068         large parameters.
40069
40070         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40071
40072         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40073         'err' in the ifdef scope in which it is actually used.
40074
40075         * nss/nss_db/db-init.c: Include string.h
40076
40077 2012-03-12  David S. Miller  <davem@davemloft.net>
40078
40079         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40080         masking out of the most significant byte of random value used.
40081         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40082         Fix coding style in previous change.
40083
40084         * sysdeps/unix/sysv/linux/kernel-features.h
40085         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40086         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40087         expression.
40088         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40089         later.
40090
40091 2012-03-11  David S. Miller  <davem@davemloft.net>
40092
40093         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40094         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40095         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40096         for 'resultvar' otherwise things get truncated on 64-bit.
40097
40098         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40099         Fix masking out of the most significant byte of random value used.
40100
40101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40102
40103 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40104
40105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40106
40107 2012-03-09  David S. Miller  <davem@davemloft.net>
40108
40109         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40110         variables with appropriate CPP guards.
40111         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40112         from the frame pointer, not the stack pointer.  Correct layout
40113         comments.  Fix test on resulting framesize and the management of
40114         the outregs buffer for pltexit.  Preserve floating point return
40115         values across _dl_call_pltexit call.
40116         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40117         framesize and the management of the outregs buffer for pltexit.
40118         Preserve floating point return values across _dl_call_pltexit
40119         call.
40120         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40121         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40122         (la_sparc64_gnu_pltexit): New functions.
40123         (print_exit): Fix format string for return register value.
40124
40125 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40126
40127         * sunrpc/Makefile (others): Add rpcgen.
40128         ($(objpfx)rpcgen): Remove special build rule and dependency on
40129         libc.
40130         * sunrpc/rpcgen.c: New file.
40131
40132 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40133
40134         [BZ #13673]
40135         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40136         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40137         * sysdeps/i386/crti.S: Likewise.
40138         * sysdeps/i386/crtn.S: Likewise.
40139         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40140         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40141         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40142         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40143         * sysdeps/sh/crti.S: Likewise.
40144         * sysdeps/sh/crtn.S: Likewise.
40145         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40146
40147         [BZ #13673]
40148         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40149         with URL.
40150         * locale/programs/locfile-kw.gperf: Likewise.
40151         * locale/programs/charmap-kw.h: Regenerated.
40152         * locale/programs/locfile-kw.h: Likewise.
40153
40154         [BZ #13673]
40155         * intl/plural.y: Replace FSF snail mail address with URL.
40156         * intl/plural.c: Regenerated.
40157
40158 2012-03-09  Richard Henderson  <rth@twiddle.net>
40159
40160         * include/math_private.h: Remove file.
40161         * math/math_private.h: Move file ...
40162         * sysdeps/generic/math_private.h: ... here.
40163
40164         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40165         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40166         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40167
40168         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40169         and <math_private.h>.
40170         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40171         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40172         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40173         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40174         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40175         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40176         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40177         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40178         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40179         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40180         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40181         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40182         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40183         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40184         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40185         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40186         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40187         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40188         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40189         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40190         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40191         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40192         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40193         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40194         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40195         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40196         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40197         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40198         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40199         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40200         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40201         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40202         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40203         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40204         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40205         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40206         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40207         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40208         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40209         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40210         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40211         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40212         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40213         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40214         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40215         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40216         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40217         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40218         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40219         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40220         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40221         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40222         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40223         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40224         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40225         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40226         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40227         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40228         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40229         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40230         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40231         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40232         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40233         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40234         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40235         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40236         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40237         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40238         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40239         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40240         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40241         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40242         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40243         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40244         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40245         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40246         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40247         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40248         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40249         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40250         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40251         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40252         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40253         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40254         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40255         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40256         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40257         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40258         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40259         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40260         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40261         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40262         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40263         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40264         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40265         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40266         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40267         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40268         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40269         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40270         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40271         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40272         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40273         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40274         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40275         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40276         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40277         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40278         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40279         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40280         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40281         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40282         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40283         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40284         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40285         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40286         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40287         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40288         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40289         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40290         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40291         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40292         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40293         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40294         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40295         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40296         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40297         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40298         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40299         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40300         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40301         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40302         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40303         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40304         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40305         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40306         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40307         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40308         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40309         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40310         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40311         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40312         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40313         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40314         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40315         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40316         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40317         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40318         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40319         * sysdeps/ieee754/k_standard.c: Likewise.
40320         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40321         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40322         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40323         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40324         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40325         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40326         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40327         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40328         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40329         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40330         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40331         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40332         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40333         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40334         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40335         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40336         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40337         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40338         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40339         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40340         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40341         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40342         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40343         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40344         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40345         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40346         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40347         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40348         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40349         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40350         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40351         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40352         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40353         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40354         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40355         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40356         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40357         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40358         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40359         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40360         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40361         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40362         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40363         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40364         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40365         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40366         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40367         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40368         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40369         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40370         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40371         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40372         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40373         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40374         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40375         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40376         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40377         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40378         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40379         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40380         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40381         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40382         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40383         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40384         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40385         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40386         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40387         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40388         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40389         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40390         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40391         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40392         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40393         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40394         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40395         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40396         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40397         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40398         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40399         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40400         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40401         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40402         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40403         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40404         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40405         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40406         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40407         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40408         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40409         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40410         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40411         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40412         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40413         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40414         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40415         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40416         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40417         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40418         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40419         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40420         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40421         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40422         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40423         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40424         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40425         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40426         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40427         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40428         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40429         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40430         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40431         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40432         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40433         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40434         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40435         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40436         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40437         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40438         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40439         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40440         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40441         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40442         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40443         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40444         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40445         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40446         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40447         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40448         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40449         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40450         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40451         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40452         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40453         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40454         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40455         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40456         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40457         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40458         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40459         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40460         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40461         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40462         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40463         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40464         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40465         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40466         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40467         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40468         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40469         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40470         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40471         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40472         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40473         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40474         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40475         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40476         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40477         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40478         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40479         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40480         * sysdeps/ieee754/s_lib_version.c: Likewise.
40481         * sysdeps/ieee754/s_matherr.c: Likewise.
40482         * sysdeps/ieee754/s_signgam.c: Likewise.
40483         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40484         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40485         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40486         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40487         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40488         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40489         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40490         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40491         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40492         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40493         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40494         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40495         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40496         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40497         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40498         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40499         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40500         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40501         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40502         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40503         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40504
40505 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40506
40507         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40508         * sunrpc/rpc_main.c: Likewise.
40509         * sunrpc/rpc_svcout.c: Likewise.
40510
40511 2012-03-09  David S. Miller  <davem@davemloft.net>
40512
40513         * include/math_private.h: New file.
40514
40515 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40516
40517         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40518         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40519         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40520         from <bits/socket_type.h>.
40521         (enum __socket_type): Don't define here.
40522         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40523         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40524         bits/socket_type.h.
40525
40526         [BZ #13566]
40527         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40528         checking __USE_GNU.
40529
40530         * Makerules ($(inst_includedir)/%.h): New rule.
40531         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40532         (install-others): Remove variable setting.
40533         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40534
40535 2012-03-08  Richard Henderson  <rth@twiddle.net>
40536
40537         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40538         from macro to inline function; merge with the
40539         !__LIBC_INTERNAL_MATH_INLINES version.
40540         (__ieee754_sqrtf): Likewise.
40541
40542         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40543         to inline function.
40544         (__rintf, __floor, __floorf): Likewise.
40545
40546         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40547         macro to inline function.
40548         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40549
40550         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40551         not <math/math_private.h>.
40552
40553 2012-03-08  David S. Miller  <davem@davemloft.net>
40554
40555         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40556         copyright year.
40557         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40558
40559 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40560
40561         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40562         normalization.
40563         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40564         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40565
40566 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40567
40568         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40569         be defined individually, they must be defined as a block.  Define
40570         S for printing a string instead of hidint the different by using a
40571         macro for adding the 'l'.
40572         * stdio-common/tst-fphex-wide.c: Adjust.
40573
40574 2012-03-07  Marek Polacek  <polacek@redhat.com>
40575
40576         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40577
40578 2012-03-08  Marek Polacek  <polacek@redhat.com>
40579
40580         [BZ #13806]
40581         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40582         * stdio-common/tst-fphex.c: Define a few macros to make the
40583         test reusable.  Use them.
40584         * stdio-common/tst-fphex-wide.c: New file.
40585
40586 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40587
40588         [BZ #6911]
40589         * manual/macros.texi (gnusystems): New macro.
40590         (nongnusystems): Likewise.
40591         (gnulinuxhurdsystems): Likewise.
40592         (gnuhurdsystems): Likewise..
40593         (gnulinuxsystems): Likewise.
40594         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40595         variants of the GNU system, not "GNU system".
40596         * manual/conf.texi: Likewise.
40597         * manual/errno.texi: Likewise.  Update example of errno macro
40598         expansion.
40599         * manual/filesys.texi: Likewise.
40600         (getumask): Document as specific to GNU/Hurd.
40601         * manual/install.texi: Likewise.  Reword some references to
40602         GNU/Linux.
40603         * manual/intro.texi: Likewise.
40604         * manual/io.texi: Likewise.
40605         (File Name Portability): Detail which constraints are inapplicable
40606         to all GNU systems and which are only inapplicable to GNU/Hurd.
40607         * manual/job.texi: Likewise.
40608         * manual/llio.texi: Likewise.
40609         (O_NOCTTY): Document as present on GNU/Linux.
40610         * manual/maint.texi: Likewise.
40611         * manual/memory.texi: Likewise.
40612         * manual/pattern.texi: Likewise.
40613         * manual/pipe.texi: Likewise.
40614         * manual/process.texi: Likewise.
40615         * manual/resource.texi: Likewise.
40616         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40617         child on GNU/Hurd.
40618         * manual/setjmp.texi: Likewise.
40619         * manual/signal.texi: Likewise.
40620         * manual/startup.texi: Likewise.
40621         * manual/stdio.texi: Likewise.
40622         * manual/terminal.texi: Likewise.
40623         (ONLCR): Document as POSIX.
40624         (OXTABS): Document availability on GNU/Linux as XTABS.
40625         (ONOEOT): Document availability separately from other bits.
40626         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40627         * manual/time.texi: Likewise.
40628         * manual/users.texi: Likewise.
40629         * INSTALL: Regenerated.
40630         * sysdeps/gnu/errlist.c: Regenerated.
40631
40632         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40633         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40634         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40635         puts.
40636         * configure: Regenerated.
40637
40638 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40639
40640         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40641         default includes instead of AC_HEADER_CHECK.
40642         * sysdeps/i386/configure: Regenerated.
40643
40644         [BZ #10716]
40645         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40646         * math/s_cacoshf.c (__cacoshf): Likewise.
40647         * math/s_cacoshl.c (__cacoshl): Likewise.
40648         * math/s_casinh.c (__casinh): Set signs of result from argument.
40649         * math/s_casinhf.c (__casinhf): Likewise.
40650         * math/s_casinhl.c (__casinhl): Likewise.
40651         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40652         (casinh_test): Add more tests.
40653         * sysdeps/i386/fpu/libm-test-ulps: Update.
40654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40655
40656 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40657
40658         * po/zh_TW.po: Update from translation team.
40659
40660         * login/Makefile (distribute): Remove variable.
40661         * catgets/Makefile: Likewise.
40662         * mach/Makefile: Likewise.
40663         * malloc/Makefile: Likewise.
40664         * misc/Makefile: Likewise.
40665         * iconv/Makefile: Likewise.
40666         * nscd/Makefile: Likewise.
40667         * hurd/Makefile: Likewise.
40668         * manual/Makefile: Likewise.
40669         * locale/Makefile: Likewise.
40670         * intl/Makefile: Likewise.
40671         * conform/Makefile: Likewise.
40672         * nss/Makefile: Likewise.
40673         * time/Makefile: Likewise.
40674         * soft-fp/Makefile: Likewise.
40675         * dirent/Makefile: Likewise.
40676         * gmon/Makefile: Likewise.
40677         * po/Makefile: Likewise.
40678         * rt/Makefile: Likewise.
40679         * socket/Makefile: Likewise.
40680         * math/Makefile: Likewise.
40681         * signal/Makefile: Likewise.
40682         * debug/Makefile: Likewise.
40683         * elf/Makefile: Likewise.
40684         * timezone/Makefile: Likewise.
40685         * stdlib/Makefile: Likewise.
40686         * iconvdata/Makefile: Likewise.
40687         * sunrpc/Makefile: Likewise.
40688         * io/Makefile: Likewise.
40689         * argp/Makefile: Likewise.
40690         * inet/Makefile: Likewise.
40691         * hesiod/Makefile: Likewise.
40692         * grp/Makefile: Likewise.
40693         * csu/Makefile: Likewise.
40694         * wctype/Makefile: Likewise.
40695         * crypt/Makefile: Likewise.
40696         * libio/Makefile: Likewise.
40697         * string/Makefile: Likewise.
40698         * nis/Makefile: Likewise.
40699         * resolv/Makefile: Likewise.
40700         * stdio-common/Makefile: Likewise.
40701         * wcsmbs/Makefile: Likewise.
40702         * dlfcn/Makefile: Likewise.
40703         * posix/Makefile: Likewise.
40704
40705         [BZ #6959]
40706         * timezone/Makefile: Don't install timezone files, just the programs
40707         and scripts.
40708
40709 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40710
40711         * nss/databases.def: Add missing gshadow entry.
40712
40713         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40714
40715 2012-03-06  Marek Polacek  <polacek@redhat.com>
40716
40717         [BZ #13726]
40718         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40719         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40720         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40721         * stdio-common/tst-long-dbl-fphex.c: New file.
40722
40723 2012-03-06  David S. Miller  <davem@davemloft.net>
40724
40725         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40726         (set_obp_int): New function.
40727         (get_obp_int): New function.
40728         (__get_clockfreq_via_dev_openprom): Likewise.
40729         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40730         Avoid unused variable warnings on 'val' and use builtin_expect.
40731         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40732         __builtin_expect.
40733         (INLINE_CLONE_SYSCALL): Likewise.
40734
40735 2012-03-05  David S. Miller  <davem@davemloft.net>
40736
40737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40738
40739 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40740
40741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40742
40743         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40744         only for |x| >= 40.
40745         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40746
40747 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40748
40749         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40750         Replace gettimeofday with __vdso_gettimeofday.
40751
40752         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40753         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40754         __vdso_clock_gettime and __vdso_getcpu.
40755
40756         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40757         time with __vdso_time.
40758
40759 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40760
40761         * manual/lang.texi (size_t): Note types to which size_t may be
40762         equivalent with the GNU C Library, but do not describe when
40763         differences between them are significant.
40764
40765 2012-03-05  Andreas Jaeger  <aj@suse.de>
40766
40767         * sysdeps/i386/fpu/libm-test-ulps: Update.
40768
40769 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40770
40771         [BZ #3976]
40772         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40773         (__ieee754_pow): Save and restore rounding mode and use
40774         round-to-nearest for main computations.
40775         * math/libm-test.inc (pow_test_tonearest): New function.
40776         (pow_test_towardzero): Likewise.
40777         (pow_test_downward): Likewise.
40778         (pow_test_upward): Likewise.
40779         (main): Call the new functions.
40780         * sysdeps/i386/fpu/libm-test-ulps: Update.
40781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40782
40783         [BZ #3976]
40784         * math/libm-test.inc (cosh_test_tonearest): New function.
40785         (cosh_test_towardzero): Likewise.
40786         (cosh_test_downward): Likewise.
40787         (cosh_test_upward): Likewise.
40788         (sinh_test_tonearest): Likewise.
40789         (sinh_test_towardzero): Likewise.
40790         (sinh_test_downward): Likewise.
40791         (sinh_test_upward): Likewise.
40792         (main): Call the new functions.
40793         * sysdeps/i386/fpu/libm-test-ulps: Update.
40794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40795
40796 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40797
40798         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40799         default stack guard is set in last bytes.
40800         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40801
40802 2012-03-05  Kees Cook  <keescook@chromium.org>
40803
40804         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40805
40806         [BZ #13656]
40807         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40808         possibly allocate from heap instead of stack.
40809         * stdio-common/bug-vfprintf-nargs.c: New file.
40810         * stdio-common/Makefile (tests): Add nargs overflow test.
40811
40812 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40813
40814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40815
40816 2012-03-03  Marek Polacek  <polacek@redhat.com>
40817
40818         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40819         * math/math_private.h: Likewise.
40820         * stdlib/tst-strtod.c: Likewise.
40821         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40822         * sysdeps/x86_64/bits/atomic.h: Likewise.
40823
40824 2012-03-02  David S. Miller  <davem@davemloft.net>
40825
40826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40830         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40831         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40832         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40833         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40834
40835 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40836
40837         [BZ #13792]
40838         * manual/examples/README: New file, says the example source files
40839         can be used under GPL>=2.
40840         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40841         line containing just "*/".
40842         * manual/examples/add.c: Add copyright header (GPL>=2).
40843         * manual/examples/argp-ex1.c: Likewise.
40844         * manual/examples/argp-ex2.c: Likewise.
40845         * manual/examples/argp-ex3.c: Likewise.
40846         * manual/examples/argp-ex4.c: Likewise.
40847         * manual/examples/atexit.c: Likewise.
40848         * manual/examples/db.c: Likewise.
40849         * manual/examples/dir.c: Likewise.
40850         * manual/examples/dir2.c: Likewise.
40851         * manual/examples/execinfo.c: Likewise.
40852         * manual/examples/filecli.c: Likewise.
40853         * manual/examples/filesrv.c: Likewise.
40854         * manual/examples/fmtmsgexpl.c: Likewise.
40855         * manual/examples/genpass.c: Likewise.
40856         * manual/examples/inetcli.c: Likewise.
40857         * manual/examples/inetsrv.c: Likewise.
40858         * manual/examples/isockad.c: Likewise.
40859         * manual/examples/longopt.c: Likewise.
40860         * manual/examples/memopen.c: Likewise.
40861         * manual/examples/memstrm.c: Likewise.
40862         * manual/examples/mkfsock.c: Likewise.
40863         * manual/examples/mkisock.c: Likewise.
40864         * manual/examples/mygetpass.c: Likewise.
40865         * manual/examples/pipe.c: Likewise.
40866         * manual/examples/popen.c: Likewise.
40867         * manual/examples/rprintf.c: Likewise.
40868         * manual/examples/search.c: Likewise.
40869         * manual/examples/select.c: Likewise.
40870         * manual/examples/setjmp.c: Likewise.
40871         * manual/examples/sigh1.c: Likewise.
40872         * manual/examples/sigusr.c: Likewise.
40873         * manual/examples/stpcpy.c: Likewise.
40874         * manual/examples/strdupa.c: Likewise.
40875         * manual/examples/strftim.c: Likewise.
40876         * manual/examples/strncat.c: Likewise.
40877         * manual/examples/subopt.c: Likewise.
40878         * manual/examples/swapcontext.c: Likewise.
40879         * manual/examples/termios.c: Likewise.
40880         * manual/examples/testopt.c: Likewise.
40881         * manual/examples/testpass.c: Likewise.
40882         * manual/examples/timeval_subtract.c: Likewise.
40883
40884         [BZ #13792]
40885         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40886         function to ...
40887         * manual/timeval_subtract.c.texi: ... here, new file.
40888
40889 2012-03-02  David S. Miller  <davem@davemloft.net>
40890
40891         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40892
40893 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40894
40895         [BZ #3976]
40896         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40897         (__sin): Save and restore rounding mode and use round-to-nearest
40898         for all computations.
40899         (__cos): Save and restore rounding mode and use round-to-nearest
40900         for all computations.
40901         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40902         <fenv.h>.
40903         (tan): Save and restore rounding mode and use round-to-nearest for
40904         all computations.
40905         * math/libm-test.inc (cos_test_tonearest): New function.
40906         (cos_test_towardzero): Likewise.
40907         (cos_test_downward): Likewise.
40908         (cos_test_upward): Likewise.
40909         (sin_test_tonearest): Likewise.
40910         (sin_test_towardzero): Likewise.
40911         (sin_test_downward): Likewise.
40912         (sin_test_upward): Likewise.
40913         (tan_test_tonearest): Likewise.
40914         (tan_test_towardzero): Likewise.
40915         (tan_test_downward): Likewise.
40916         (tan_test_upward): Likewise.
40917         (main): Call the new functions.
40918         * sysdeps/i386/fpu/libm-test-ulps: Update.
40919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40920
40921         [BZ #10135]
40922         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40923         small n, then large n, before computing and testing k+n.
40924         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40925         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40926         Likewise.
40927         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40928         Likewise.
40929         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40930         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40931         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40932         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40933         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40934         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40935         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40936         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40937         * math/libm-test.inc (scalbn_test): Add more tests.
40938         (scalbln_test): Likewise.
40939
40940         * manual/filesys.texi (mode_t): Describe constraints on size and
40941         signedness, not exact equivalence to a particular type.
40942         (ino_t): Likewise.
40943         (ino64_t): Likewise.
40944         (dev_t): Likewise.
40945         (nlink_t): Likewise.
40946         (blkcnt_t): Likewise.
40947         (blkcnt64_t): Likewise.
40948         * manual/llio.texi (off_t): Likewise.
40949
40950         [BZ #3976]
40951         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40952         (__ieee754_exp): Save and restore rounding mode and use
40953         round-to-nearest for all computations.
40954         * math/libm-test.inc (exp_test_tonearest): New function.
40955         (exp_test_towardzero): Likewise.
40956         (exp_test_downward): Likewise.
40957         (exp_test_upward): Likewise.
40958         (main): Call the new functions.
40959         * sysdeps/i386/fpu/libm-test-ulps: Update.
40960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40961
40962 2012-03-01  Chris Demetriou  <cgd@google.com>
40963
40964         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40965         have predictable order.
40966
40967 2012-03-01  David S. Miller  <davem@davemloft.net>
40968
40969         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40970
40971         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40972         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40973         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40974         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40975
40976         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40977         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40978         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40980         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40981         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40982         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40983         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40984         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40985
40986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40987
40988         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40989         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40990         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40991
40992         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40993         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40994         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40995         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40996         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40997         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40998         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40999         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41000         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41001         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41002         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41003         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41004         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41005         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41006         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41007         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41008         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41009         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41010         * sysdeps/sparc/elf/configure: Regenerated.
41011
41012 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41013
41014         * configure.in (AS, LD): Require binutils 2.20 or later.
41015         * configure: Regenerated.
41016         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41017         as required minimum version.
41018         * INSTALL: Regenerated.
41019
41020         [BZ #2541]
41021         [BZ #4108]
41022         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41023         before squaring exponent.
41024         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41025         bottom long double and 27 bits of top long double before squaring
41026         exponent.
41027         * math/libm-test.inc (erfc_test): Add more tests.
41028         * sysdeps/i386/fpu/libm-test-ulps: Update.
41029         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41031
41032 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41033
41034         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41035         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41036         containing bit-fields.
41037         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41038         * soft-fp/single.h (_FP_UNION_S): Likewise.
41039         * soft-fp/double.h (_FP_UNION_D): Likewise.
41040
41041 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41042
41043         [BZ #13786]
41044         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41045         not include ../strcmp.S.
41046         [USE_AS_STRNCASECMP_L]: Likewise.
41047         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41048         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41049         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41050         (__strncasecmp_l_ia32): Define as alias to
41051         __strncasecmp_l_nonascii.
41052
41053         [BZ #5794]
41054         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41055         * sysdeps/i386/fpu/libm-test-ulps: Update.
41056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41057
41058         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41060
41061 2012-02-29  Jeff Law  <law@redhat.com>
41062
41063         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41064         out of bounds read.
41065
41066 2012-02-29  Marek Polacek  <polacek@redhat.com>
41067
41068         [BZ #13706]
41069         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41070         * elf/Makefile: Add rules to run tst-unused-dep.out.
41071
41072 2012-02-28  David S. Miller  <davem@davemloft.net>
41073
41074         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41075         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41076         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41077         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41078         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41079         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41080
41081 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41082
41083         * math/libm-test.inc (llround_test): Move one test from
41084         lround_test.  Use TEST_f_L in moved test.
41085         (lround_test): Move misplaced test to llround_test.  Add testcase
41086         from bug 2561.
41087
41088 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41089
41090         * sysdeps/x86_64/fpu/e_expf.S: New file.
41091         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41092
41093 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41094
41095         [BZ #13637]
41096         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41097         of remain_len that may cause incomplete multi-byte character and
41098         false match.
41099         * posix/bug-regex33.c: New file.
41100         * posix/Makefile (tests): Add bug-regex33.
41101
41102 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41103
41104         * manual/macros.texi: New file.
41105         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41106         * manual/libc.texinfo: Include macros.texi.
41107         * manual/creatute.texi: Likewise.
41108         * manual/install.texi: Likewise.
41109         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41110         @glibcadj{} in references to the GNU C Library.
41111         * manual/charset.texi: Likewise.
41112         * manual/conf.texi: Likewise.
41113         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41114         when not using those macros.
41115         * manual/creature.texi: Likewise.
41116         * manual/crypt.texi: Likewise.
41117         * manual/errno.texi: Likewise.
41118         * manual/filesys.texi: Likewise.
41119         * manual/header.texi: Likewise.
41120         * manual/install.texi: Likewise.
41121         * manual/intro.texi: Likewise.
41122         * manual/io.texi: Likewise.
41123         * manual/job.texi: Likewise.
41124         * manual/lang.texi: Likewise.
41125         * manual/libc.texiinfo: Likewise.
41126         * manual/llio.texi: Likewise.
41127         * manual/locale.texi: Likewise.
41128         * manual/maint.texi: Likewise.
41129         * manual/math.texi: Likewise.
41130         * manual/memory.texi: Likewise.
41131         * manual/message.texi: Likewise.
41132         * manual/nss.texi: Likewise.
41133         * manual/pattern.texi: Likewise.
41134         * manual/process.texi: Likewise.
41135         * manual/resource.texi: Likewise.
41136         * manual/search.texi: Likewise.
41137         * manual/setjmp.texi: Likewise.
41138         * manual/signal.texi: Likewise.
41139         * manual/socket.texi: Likewise.
41140         * manual/startup.texi: Likewise.
41141         * manual/stdio.texi: Likewise.
41142         * manual/string.texi: Likewise.
41143         * manual/sysinfo.texi: Likewise.
41144         * manual/syslog.texi: Likewise.
41145         * manual/terminal.texi: Likewise.
41146         * manual/time.texi: Likewise.
41147         * manual/users.texi: Likewise.
41148         * INSTALL: Regenerated.
41149         * NOTES: Regenerated.
41150         * sysdeps/gnu/errlist.c: Regenerated.
41151
41152 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41153
41154         * include/dirent.h: Include <dirstream.h> before
41155         <dirent/dirent.h>.
41156
41157 2012-02-28  David S. Miller  <davem@davemloft.net>
41158
41159         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41160         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41161         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41162         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41163
41164 2012-02-27  David S. Miller  <davem@davemloft.net>
41165
41166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41168         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41169         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41170
41171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41172         frame pointer instead of stack pointer relative arg slot.
41173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41174         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41175         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41176
41177 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41178
41179         [BZ #3992]
41180         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41181
41182 2012-02-27  David S. Miller  <davem@davemloft.net>
41183
41184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41188         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41189         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41190         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41191         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41192
41193 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41194
41195         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41196         later.  Allow versions 5-9.
41197         * configure: Regenerated.
41198         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41199         required minimum version and 4.6 as recommended version.  Do not
41200         mention bugs in GCC 2.7 and 2.8.
41201         * INSTALL: Regenerated.
41202
41203 2012-02-27  David S. Miller  <davem@davemloft.net>
41204
41205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41209         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41210         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41211         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41212         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41213
41214         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41215         manipulate bits before adding and subtracting TWO112[sx].
41216         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41217
41218 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41219
41220         [BZ #13775]
41221         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41222         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41223         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41224         being in POSIX, because they are in 1003.1-2008.
41225
41226         * rt/tst-aio.c: Include <fcntl.h>.
41227         * rt/tst-aio7.c: Likewise.
41228         * rt/tst-aio64.c: Likewise.
41229
41230         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41231
41232 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41233
41234         * manual/install.texi (--with-headers): Describe headers as
41235         interface headers, not private headers.
41236         (Specific advice for GNU/Linux systems): Describe use of headers
41237         from "make headers_install", not private headers from older
41238         kernels.
41239         * INSTALL: Regenerated.
41240         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41241         Change to 2.6.19.
41242         * sysdeps/unix/sysv/linux/configure: Regenerated.
41243
41244         * manual/llio.texi (fclean): Remove documentation.
41245
41246         * manual/Makefile (libc-texi-generated): New variable.  Include
41247         version.texi.
41248         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41249         $(libc-texi-generated), not duplicated list of files.
41250         (version.texi, stamp-version): New rules.
41251         (realclean): Remove $(libc-texi-generated), not individual files
41252         from that list.  Do not remove dir-add.texinfo.
41253         * manual/libc.texinfo: Comment out uses of edition numbers and
41254         references to printed manual.  Remove last-updated dates.
41255         (EDITION): Comment out.
41256         (ISBN): Likewise.
41257         (VERSION, UPDATED): Remove.
41258         (version.texi): Include.
41259
41260 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41261
41262         * sysdeps/posix/spawni.c: Include <signal.h>.
41263         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41264         * sysdeps/pthread/aio_fsync.c: Likewise.
41265
41266 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41267
41268         * conform/Makefile (tests): Run only when not cross-compiling and
41269         when fast-check is not defined.
41270
41271         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41272         * conform/data/limits.h-data: Fixes for POSIX2008.
41273         * conform/run-conformtest.sh: Run all tests.
41274         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41275         headers.
41276         * include/bits/dlfcn.h: Likewise.
41277         * include/langinfo.h: Likewise.
41278         * include/monetary.h: Likewise.
41279         * include/sys/poll.h: Likewise.
41280
41281         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41282         for __USE_GNU.
41283         * posix/spawn.h: Define __need_sigset_t.
41284         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41285         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41286         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41287         to get sigevent_t only.
41288         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41289         only for __USE_GNU.
41290         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41291         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41292         process_vm_writev only for __USE_GNU.
41293         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41294
41295         * conform/Makefile: For now ignore errors from run-conformtest.
41296         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41297         POSIX to avoid namespace pollution.  Don't prepend headers.
41298         * conform/data/aio.h-data: Fixes for POSIX testing.
41299         * conform/data/fcntl.h-data: Likewise.
41300         * conform/data/glob.h-data: Likewise.
41301         * conform/data/grp.h-data: Likewise.
41302         * conform/data/pthread.h-data: Likewise.
41303         * conform/data/pwd.h-data: Likewise.
41304         * conform/data/signal.h-data: Likewise.
41305         * conform/data/spawn.h-data: Likewise.
41306         * conform/data/stdio.h-data: Likewise.
41307         * conform/data/stdlib.h-data: Likewise.
41308         * conform/data/stropts.h-data: Likewise.
41309         * conform/data/sys/mman.h-data: Likewise.
41310         * conform/data/sys/stat.h-data: Likewise.
41311         * conform/data/sys/types.h-data: Likewise.
41312         * conform/data/sys/wait.h-data: Likewise.
41313         * conform/data/time.h-data: Likewise.
41314         * conform/data/unistd.h-data: Likewise.
41315         * conform/data/utime.h-data: Likewise.
41316
41317         * io/sys/stat.h: fchmod was always in POSIX.
41318         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41319         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41320         * rt/aio.h: Define __need_timespec before including <time.h>.
41321         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41322         struct.  Add forward declaration of pthread_attr_t and use it in
41323         sigevent.
41324         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41325         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41326         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41327         always remove CLK_TCK definition.
41328
41329 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41330
41331         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41332
41333 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41334
41335         * conform/run-conformtest.sh: New file.
41336         * conform/Makefile: Run run-conformtest for tests.
41337         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41338         support.
41339
41340         * conform/data/uchar.h-data: New file.
41341         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41342         * conform/data/arpa/inet.h-data: Likewise.
41343         * conform/data/assert.h-data: Likewise.
41344         * conform/data/complex.h-data: Likewise.
41345         * conform/data/cpio.h-data: Likewise.
41346         * conform/data/ctype.h-data: Likewise.
41347         * conform/data/dirent.h-data: Likewise.
41348         * conform/data/dlfcn.h-data: Likewise.
41349         * conform/data/errno.h-data: Likewise.
41350         * conform/data/fcntl.h-data: Likewise.
41351         * conform/data/float.h-data: Likewise.
41352         * conform/data/fmtmsg.h-data: Likewise.
41353         * conform/data/fnmatch.h-data: Likewise.
41354         * conform/data/ftw.h-data: Likewise.
41355         * conform/data/glob.h-data: Likewise.
41356         * conform/data/grp.h-data: Likewise.
41357         * conform/data/iconv.h-data: Likewise.
41358         * conform/data/inttypes.h-data: Likewise.
41359         * conform/data/langinfo.h-data: Likewise.
41360         * conform/data/libgen.h-data: Likewise.
41361         * conform/data/limits.h-data: Likewise.
41362         * conform/data/locale.h-data: Likewise.
41363         * conform/data/math.h-data: Likewise.
41364         * conform/data/monetary.h-data: Likewise.
41365         * conform/data/mqueue.h-data: Likewise.
41366         * conform/data/ndbm.h-data: Likewise.
41367         * conform/data/net/if.h-data: Likewise.
41368         * conform/data/netdb.h-data: Likewise.
41369         * conform/data/netinet/in.h-data: Likewise.
41370         * conform/data/nl_types.h-data: Likewise.
41371         * conform/data/poll.h-data: Likewise.
41372         * conform/data/pthread.h-data: Likewise.
41373         * conform/data/pwd.h-data: Likewise.
41374         * conform/data/regex.h-data: Likewise.
41375         * conform/data/sched.h-data: Likewise.
41376         * conform/data/search.h-data: Likewise.
41377         * conform/data/semaphore.h-data: Likewise.
41378         * conform/data/setjmp.h-data: Likewise.
41379         * conform/data/signal.h-data: Likewise.
41380         * conform/data/spawn.h-data: Likewise.
41381         * conform/data/stdarg.h-data: Likewise.
41382         * conform/data/stdio.h-data: Likewise.
41383         * conform/data/stdlib.h-data: Likewise.
41384         * conform/data/string.h-data: Likewise.
41385         * conform/data/strings.h-data: Likewise.
41386         * conform/data/stropts.h-data: Likewise.
41387         * conform/data/sys/ipc.h-data: Likewise.
41388         * conform/data/sys/mman.h-data: Likewise.
41389         * conform/data/sys/msg.h-data: Likewise.
41390         * conform/data/sys/resource.h-data: Likewise.
41391         * conform/data/sys/select.h-data: Likewise.
41392         * conform/data/sys/sem.h-data: Likewise.
41393         * conform/data/sys/shm.h-data: Likewise.
41394         * conform/data/sys/socket.h-data: Likewise.
41395         * conform/data/sys/stat.h-data: Likewise.
41396         * conform/data/sys/statvfs.h-data: Likewise.
41397         * conform/data/sys/time.h-data: Likewise.
41398         * conform/data/sys/timeb.h-data: Likewise.
41399         * conform/data/sys/times.h-data: Likewise.
41400         * conform/data/sys/types.h-data: Likewise.
41401         * conform/data/sys/uio.h-data: Likewise.
41402         * conform/data/sys/un.h-data: Likewise.
41403         * conform/data/sys/utsname.h-data: Likewise.
41404         * conform/data/sys/wait.h-data: Likewise.
41405         * conform/data/syslog.h-data: Likewise.
41406         * conform/data/tar.h-data: Likewise.
41407         * conform/data/termios.h-data: Likewise.
41408         * conform/data/utime.h-data: Likewise.
41409         * conform/data/utmpx.h-data: Likewise.
41410         * conform/data/varargs.h-data: Likewise.
41411         * conform/data/wchar.h-data: Likewise.
41412         * conform/data/wctype.h-data: Likewise.
41413         * conform/data/wordexp.h-data: Likewise.
41414
41415         * include/stropts.h: New file.
41416         * include/uchar.h: New file.
41417         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41418         * include/assert.h: Likewise.
41419         * include/ctype.h: Likewise.
41420         * include/dirent.h: Likewise.
41421         * include/dlfcn.h: Likewise.
41422         * include/fcntl.h: Likewise.
41423         * include/fnmatch.h: Likewise.
41424         * include/glob.h: Likewise.
41425         * include/grp.h: Likewise.
41426         * include/libio.h: Likewise.
41427         * include/locale.h: Likewise.
41428         * include/math.h: Likewise.
41429         * include/net/if.h: Likewise.
41430         * include/netdb.h: Likewise.
41431         * include/netinet/in.h: Likewise.
41432         * include/pthread.h: Likewise.
41433         * include/pwd.h: Likewise.
41434         * include/regex.h: Likewise.
41435         * include/sched.h: Likewise.
41436         * include/search.h: Likewise.
41437         * include/setjmp.h: Likewise.
41438         * include/signal.h: Likewise.
41439         * include/stdio.h: Likewise.
41440         * include/stdlib.h: Likewise.
41441         * include/string.h: Likewise.
41442         * include/sys/cdefs.h: Likewise.
41443         * include/sys/mman.h: Likewise.
41444         * include/sys/msg.h: Likewise.
41445         * include/sys/resource.h: Likewise.
41446         * include/sys/select.h: Likewise.
41447         * include/sys/socket.h: Likewise.
41448         * include/sys/stat.h: Likewise.
41449         * include/sys/statvfs.h: Likewise.
41450         * include/sys/time.h: Likewise.
41451         * include/sys/times.h: Likewise.
41452         * include/sys/uio.h: Likewise.
41453         * include/sys/utsname.h: Likewise.
41454         * include/sys/wait.h: Likewise.
41455         * include/termios.h: Likewise.
41456         * include/time.h: Likewise.
41457         * include/ulimit.h: Likewise.
41458         * include/unistd.h: Likewise.
41459         * include/utime.h: Likewise.
41460         * include/wchar.h: Likewise.
41461         * include/wctype.h: Likewise.
41462         * include/wordexp.h: Likewise.
41463
41464         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41465
41466         * time/time.h: TIME_UTC must be a macro.
41467         Make timespec_get available for ISO C11 only as well.
41468
41469 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41470
41471         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41472         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41473
41474 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41475
41476         * configure.in: Use -o not -a in test for unsupported multi-arch.
41477
41478 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41479
41480         * manual/texinfo.tex: Update to version 2012-01-19.16.
41481
41482 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41483
41484         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41485
41486 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41487
41488         [BZ #13738]
41489         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41490         * manual/fdl-1.3.texi: New file.
41491         * manual/fdl-1.1.texi: File removed.
41492
41493         [BZ #13738]
41494         * manual/libc.texinfo (FDL_VERSION): New @set.
41495         Use it for mention of FDL in cover text.
41496         (Documentation License): Use it in @include file name.
41497
41498 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41499             Roland McGrath  <roland@hack.frob.com>
41500
41501         [BZ #5461]
41502         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41503         (not LONG_LONG_MAX and LONG_LONG_MIN.
41504         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41505         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41506         name.
41507         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41508
41509 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41510
41511         [BZ #2547]
41512         [BZ #11365]
41513         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41514         manipulate bits before adding and subtracting TWO23[sx].
41515         * math/libm-test.inc (nearbyint_test): Add more tests.
41516
41517 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41518
41519         [BZ #2548]
41520         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41521         bits before adding and subtracting TWO23[sx].
41522         * math/libm-test.inc (rint_test): Add more tests.
41523         (rint_test_tonearest): Likewise.
41524         (rint_test_towardzero): Likewise.
41525         (rint_test_downward): Likewise.
41526         (rint_test_upward: Likewise.
41527
41528 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41529
41530         [BZ #10110]
41531         * include/stdc-predef.h: New file.  Extracted from features.h.
41532         * include/features.h: Include stdc-predef.h.
41533         * Makefile (headers): Add stdc-predef.h.
41534         * CONFORMANCE (Compiler limitations): Update.
41535
41536 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41537
41538         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41539
41540 2012-02-21  David S. Miller  <davem@davemloft.net>
41541
41542         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41543         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41544
41545 2012-02-20  David S. Miller  <davem@davemloft.net>
41546
41547         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41548         using a normal save/restore sequence, rather than allocating a
41549         dummy stack frame just to store a frame pointer and restore.
41550         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41551
41552 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41553
41554         * manual/install.texi: Fix stray word in line-wrapped comment.
41555
41556 2012-02-20  David S. Miller  <davem@davemloft.net>
41557
41558         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41559         both binutils and gcc support GOTDATA.
41560
41561         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41562         "rd %pc" in the PIC register setup sequences.
41563
41564         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41565         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41566         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41567         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41568         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41569         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41570         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41571         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41572         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41573         (SYSCALL_ERROR_HANDLER): Likewise.
41574         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41575         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41576         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41577         (SYSCALL_ERROR_HANDLER): Likewise.
41578
41579         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41580         (HAVE_GCC_GOTDATA): New.
41581         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41582         relocation support in both binutils and gcc.
41583         * sysdeps/sparc/elf/configure: Regenerate.
41584
41585         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41586         * sysdeps/sparc/sparc32/elf/configure: Delete.
41587         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41588         * sysdeps/sparc/sparc64/elf/configure: Delete.
41589         * sysdeps/sparc/elf/configure.in: New file.
41590         * sysdeps/sparc/elf/configure: Generate.
41591
41592         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41593         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41594         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41595         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41596         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41597
41598 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41599
41600         * manual/install.texi: Do not mention specific glibc version
41601         numbers.
41602         * manual/libc.texinfo (VERSION, UPDATED): Update.
41603         (@copying): Use @copyright{} and range of years.
41604
41605 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41606
41607         [BZ #13695]
41608         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41609         [crti.S not in sysdirs] (generated): Do not append.
41610         [crti.S not in sysdirs] (omit-deps): Likewise.
41611         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41612         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41613         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41614         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41615         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41616         Likewise.
41617         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41618         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41619         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41620         * csu/defs.awk: Remove file.
41621         * sysdeps/generic/initfini.c: Likewise.
41622         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41623         variable.
41624         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41625         Likewise.
41626
41627 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41628
41629         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41630         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41631         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41632         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41633         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41634         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41635         <bits/epoll.h>.
41636         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41637         (__EPOLL_PACKED): Define to empty if not defined by
41638         <bits/epoll.h>.
41639         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41641         bits/epoll.h.
41642
41643 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41644
41645         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41646         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41647         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41648         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41649         <bits/timerfd.h>.
41650         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41652         bits/timerfd.h.
41653
41654 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41655
41656         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41657         in C locale.
41658         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41659         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41660         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41662
41663 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41664
41665         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41666         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41667
41668 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41669
41670         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41671         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41672         defined.
41673         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41674         Likewise.
41675         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41676         entry for 2.16.
41677
41678 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41679
41680         * math/w_acos.c: Use non-signaling floating-point comparisons.
41681         * math/w_acosf.c: Likewise.
41682         * math/w_acosh.c: Likewise.
41683         * math/w_acoshf.c: Likewise.
41684         * math/w_acoshl.c: Likewise.
41685         * math/w_acosl.c: Likewise.
41686         * math/w_asin.c: Likewise.
41687         * math/w_asinf.c: Likewise.
41688         * math/w_asinl.c: Likewise.
41689         * math/w_atanh.c: Likewise.
41690         * math/w_atanhf.c: Likewise.
41691         * math/w_atanhl.c: Likewise.
41692         * math/w_exp2.c: Likewise.
41693         * math/w_exp2f.c: Likewise.
41694         * math/w_exp2l.c: Likewise.
41695         * math/w_j0.c: Likewise.
41696         * math/w_j0f.c: Likewise.
41697         * math/w_j0l.c: Likewise.
41698         * math/w_j1.c: Likewise.
41699         * math/w_j1f.c: Likewise.
41700         * math/w_j1l.c: Likewise.
41701         * math/w_jn.c: Likewise.
41702         * math/w_jnf.c: Likewise.
41703         * math/w_log.c: Likewise.
41704         * math/w_log10.c: Likewise.
41705         * math/w_log10f.c: Likewise.
41706         * math/w_log10l.c: Likewise.
41707         * math/w_log2.c: Likewise.
41708         * math/w_log2f.c: Likewise.
41709         * math/w_log2l.c: Likewise.
41710         * math/w_logf.c: Likewise.
41711         * math/w_logl.c: Likewise.
41712         * math/w_sqrt.c: Likewise.
41713         * math/w_sqrtf.c: Likewise.
41714         * math/w_sqrtl.c: Likewise.
41715         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41716         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41717         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41718         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41719         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41720
41721 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41722
41723         [BZ #9739]
41724         * manual/string.texi (strnlen): Use correct parameter name in
41725         equivalent expression.
41726
41727 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41728
41729         [BZ #11174]
41730         * manual/users.texi (seteuid): Consistently use neweuid for
41731         argument name.
41732
41733 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41734
41735         [BZ #13704]
41736         * manual/nss.texi (Services in the NSS configuration): Correct
41737         list of services in example configuration file.
41738
41739 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41740
41741         [BZ #11322]
41742         * manual/arith.texi: Remove statements about negative zero
41743         behaving identically to zero.
41744
41745 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41746
41747         [BZ #5993]
41748         * manual/install.texi: Do not document upgrading from libc5.
41749
41750 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41751
41752         [BZ #4596]
41753         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41754
41755 2012-02-18  David S. Miller  <davem@davemloft.net>
41756
41757         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41758         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41759         %o7 across the call.
41760         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41761         instead.
41762         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41763         SETUP_PIC_REG_LEAF.
41764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41765         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41766         * sysdeps/sparc/crtn.S: Likewise.
41767
41768 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41769
41770         * aout/Makefile: Remove.
41771
41772 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41773
41774         [BZ #13058]
41775         * manual/examples/argp-ex1.c (main): Format definition in GNU
41776         style.
41777         * manual/examples/argp-ex2.c (main): Likewise.
41778         * manual/examples/argp-ex3.c (main): Likewise.
41779         * manual/examples/argp-ex4.c (main): Likewise.
41780         * manual/examples/longopt.c (main): Use new-style prototype
41781         definition.
41782         * manual/examples/strncat.c (main): Specify return type and use
41783         (void) for arguments.
41784         * manual/examples/subopt.c (main): Use char **argv argument.
41785
41786 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41787
41788         [BZ #5077]
41789         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41790         rounding modes.
41791
41792 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41793
41794         [BZ #6907]
41795         * manual/string.texi (strchr): Change when strchrnul is
41796         recommended.
41797
41798 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41799
41800         [BZ #174]
41801         * manual/locale.texi (setlocale): Document LOCPATH.
41802
41803 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41804
41805         [BZ #10210]
41806         * manual/process.texi (execle): Move @dots{} before last argument.
41807
41808 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41809
41810         [BZ #12047]
41811         * manual/charset.texi (Generic Charset Conversion): Fix typo
41812         (LC_TYPE -> LC_CTYPE).
41813
41814 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41815
41816         [BZ #5805]
41817         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41818         (scalbnf): Likewise.
41819         (scalbnl): Likewise.
41820         (scalbln): Likewise.
41821         (scalblnf): Likewise.
41822         (scalblnl): Likewise.
41823         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41824         (vwarnx): Likewise.
41825         (verr): Likewise.
41826         (verrx): Likewise.
41827         * manual/filesys.texi (telldir): Use braces around return type.
41828         * manual/llio.texi (mmap): Add space after comma.
41829         (mmap64): Likewise.
41830         * manual/math.texi (jn): Use @var{} on parameter names.
41831         (jnf): Likewise.
41832         (jnl): Likewise.
41833         (yn): Likewise.
41834         (ynf): Likewise.
41835         (ynl): Likewise.
41836         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41837         line.
41838         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41839         "...".
41840         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41841         (sched_get_priority_max): Likewise.
41842         * manual/signal.texi (sigvec): Add space after comma.
41843         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41844         names.
41845         (if_indextoname): Likewise.
41846         (if_freenameindex): Likewise.
41847         (sendto): Use ',' instead of '.' in prototype.
41848         * manual/startup.texi (syscall): Use @dots{} instead of literal
41849         "...".
41850         * manual/stdio.texi (__fpending): Separate initial words of
41851         paragraph from @deftypefun line.
41852         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41853         "...".
41854         (vsyslog): Use @var{} on parameter names.
41855         * manual/terminal.texi (stty): Use @var{} on parameter names.
41856         * manual/users.texi (getutmp): Use @var{} on parameter names.
41857         (getutmpx): Likewise.
41858
41859 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41860
41861         [BZ #6884]
41862         * manual/stdio.texi (fopen): Fix typos in description of
41863         ",ccs=STRING".
41864
41865 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41866
41867         [BZ #4026]
41868         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41869         get clock_id definition.
41870
41871 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41872
41873         [BZ #4822]
41874         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41875         (madvise): Cast every argument to void on its own.
41876
41877 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41878
41879         [BZ #9902]
41880         * manual/startup.texi (Exit Status): Fix typo.
41881
41882 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41883
41884         [BZ #10140]
41885         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41886         * manual/examples/argp-ex2.c: Likewise.
41887         * manual/examples/argp-ex3.c: Likewise.
41888
41889 2012-02-16  Richard Henderson  <rth@redhat.com>
41890
41891         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41892         * sysdeps/s390/s390-32/initfini.c: Remove.
41893         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41894         * sysdeps/s390/s390-64/initfini.c: Remove.
41895
41896 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41897
41898         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41899         compiler output for sysdeps/generic/initfini.c.
41900         * sysdeps/sh/elf/initfini.c: Remove file.
41901
41902 2012-02-16  David S. Miller  <davem@davemloft.net>
41903
41904         [BZ #11494]
41905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41906
41907         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41908         * sysdeps/sparc/crti.S: New file.
41909         * sysdeps/sparc/crtn.S: New file.
41910         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41911         * sysdeps/sparc/sparc64/Makefile: Likewise.
41912
41913 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41914
41915         [BZ #3335]
41916         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41917
41918 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41919
41920         [BZ #4822]
41921         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41922
41923         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41924         (write, read, close): Likewise.
41925         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41926
41927 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41928
41929         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41930         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41931         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41932         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41933         <bits/signalfd.h>.
41934         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41935         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41936         bits/signalfd.h.
41937
41938 2012-02-14  Marek Polacek  <polacek@redhat.com>
41939
41940         * sysdeps/x86_64/crti.S: New file.
41941         * sysdeps/x86_64/crtn.S: New file.
41942         * sysdeps/x86_64/elf/initfini.c: Remove file.
41943
41944 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41945
41946         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41947         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41948         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41949         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41950         <bits/inotify.h>.
41951         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41952         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41953         bits/inotify.h.
41954
41955 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41956
41957         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41958         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41959         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41960         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41961         <bits/eventfd.h>.
41962         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41963         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41964         bits/eventfd.h.
41965
41966 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41967
41968         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41969         __feraiseexcept instead of feraiseexcept.
41970
41971         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41972         nanosleep invocations.
41973         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41974         strings, and add error checking for a nanosleep invocations.
41975
41976 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41977
41978         Replace FSF snail mail address with URLs, as per GNU coding standards.
41979         Most of the snail mail addresses were wrong anyway, and omitting
41980         them makes the source code easier to maintain.  Almost all of the
41981         changes are to license notices and to locale LC_IDENTIFICATION
41982         addresses, except for this one:
41983         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41984         not its snail mail address.
41985
41986 2012-02-09  Richard Henderson  <rth@twiddle.net>
41987
41988         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41989         of kernel-features.h.
41990
41991         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41992
41993 2012-02-08  Marek Polacek  <polacek@redhat.com>
41994
41995         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41996         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41997         * sysdeps/gnu/_G_config.h: Likewise.
41998         * sysdeps/generic/_G_config.h: Likewise.
41999
42000 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42001
42002         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42003         tests.
42004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42005
42006         * sysdeps/powerpc/powerpc32/crti.S: New file.
42007         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42008         * sysdeps/powerpc/powerpc64/crti.S: New file.
42009         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42010
42011         * Makeconfig (have-initfini): Don't set.
42012         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42013         * configure.in (nopic_initfini): Don't substitute.
42014         * config.h.in (HAVE_INITFINI): Don't #undef.
42015         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42016         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42017
42018 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42019
42020         Support crti.S and crtn.S provided directly by architectures.
42021         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42022         [crti.S in sysdirs] (omit-deps): Likewise.
42023         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42024         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42025         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42026         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42027         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42028         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42029         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42030         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42031         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42032         compiler output for sysdeps/generic/initfini.c.
42033         * sysdeps/i386/elf/Makefile: Remove file.
42034         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42035
42036 2012-02-07  Marek Polacek  <polacek@redhat.com>
42037
42038         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42039         * sysdeps/gnu/_G_config.h: Likewise.
42040         * sysdeps/mach/hurd/_G_config.h: Likewise.
42041
42042 2012-02-07  Marek Polacek  <polacek@redhat.com>
42043
42044         * math/Makefile (tests): Add tst-CMPLX2.
42045         * math/tst-CMPLX2.c: New file.
42046
42047 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42048
42049         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42050
42051         * math/libm-test.inc (jn_test): Add missing L suffix.
42052
42053 2012-02-06  Marek Polacek  <polacek@redhat.com>
42054
42055         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42056         * sysdeps/i386/fpu/e_powf.S: Likewise.
42057         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42058         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42059         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42060         * sysdeps/i386/fpu/e_pow.S: Likewise.
42061         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42062         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42063         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42064         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42065         * sysdeps/i386/fpu/e_log2.S: Likewise.
42066         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42067         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42068         * sysdeps/i386/fpu/e_powl.S: Likewise.
42069         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42070         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42071         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42072         * sysdeps/i386/fpu/e_logl.S: Likewise.
42073         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42074         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42075         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42076         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42077         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42078         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42079         * sysdeps/i386/fpu/e_log.S: Likewise.
42080         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42081         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42082         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42083         * sysdeps/i386/fpu/e_logf.S: Likewise.
42084         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42085         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42086         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42087         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42088         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42089         * sysdeps/i386/fpu/e_log10.S: Likewise.
42090         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42091         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42092         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42093         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42094         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42095         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42096         * sysdeps/i386/asm-syntax.h: Likewise.
42097         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42098         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42099         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42100         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42101         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42102         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42103         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42104         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42105         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42106         * sysdeps/powerpc/sysdep.h: Likewise.
42107         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42108         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42109
42110 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42111
42112         [BZ #411]
42113         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42114
42115 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42116
42117         * sysdeps/i386/sysdep.h: Include <features.h>.
42118         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42119         version.
42120
42121 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42122
42123         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42124         Define.
42125         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42126         LOAD_PIC_REG_STR.
42127
42128 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42129
42130         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42131         (SETUP_PIC_REG): Use GET_PC_THUNK.
42132         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42133         macro.
42134
42135 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42136
42137         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42138         for non-PIC compilation.
42139         (SETUP_PIC_REG): Add .p2align directive.
42140         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42141         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42142         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42143         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42144         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42145         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42146         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42147         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42148         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42149         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42150         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42151         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42152         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42153         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42154         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42155         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42156         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42157         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42158         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42159         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42160         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42161         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42162         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42163         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42164         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42165         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42166         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42167         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42168         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42169         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42170         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42171         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42172         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42173         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42174         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42175         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42176         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42177         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42178         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42179         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42180         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42181
42182 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42183
42184         * math/tst-CMPLX.c: Include <stdio.h>.
42185
42186 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42187
42188         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42189         float.
42190         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42191         * sysdeps/sparc/bits/mathdef.h: Likewise.
42192
42193 2012-01-31  Marek Polacek  <polacek@redhat.com>
42194
42195         * libio/libio.h: Don't define _PARAMS.
42196         * locale/programs/config.h: Don't define PARAMS.
42197         * stdlib/strtol_l.c: Likewise.
42198         (__strtol_l): Remove PARAMS from the prototype.
42199
42200 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42201
42202         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42203         names.  Just use the correct names.  Remove unnecessary wrapper
42204         functions.
42205         * malloc/arena.c: Likewise.
42206         * malloc/hooks.c: Likewise.
42207
42208         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42209         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42210         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42211
42212 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42213
42214         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42215         into tail calls.
42216         (update_get_addr): New function.
42217         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42218         GET_ADDR_MODULE parameter.
42219
42220 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42221
42222         * crypt/cert.c: Remove __STDC__ conditionals.
42223         * crypt/crypt-entry.c: Likewise.
42224         * crypt/crypt_util.c: Likewise.
42225         * libio/filedoalloc.c: Likewise.
42226         * libio/fileops.c: Likewise.
42227         * libio/genops.c: Likewise.
42228         * libio/iofclose.c: Likewise.
42229         * libio/iofdopen.c: Likewise.
42230         * libio/iofopen.c: Likewise.
42231         * libio/iofopen64.c: Likewise.
42232         * libio/iogetdelim.c: Likewise.
42233         * libio/iopopen.c: Likewise.
42234         * libio/obprintf.c: Likewise.
42235         * libio/oldfileops.c: Likewise.
42236         * libio/oldiofclose.c: Likewise.
42237         * libio/oldiofdopen.c: Likewise.
42238         * libio/oldiofopen.c: Likewise.
42239         * libio/oldiopopen.c: Likewise.
42240         * libio/wfiledoalloc.c: Likewise.
42241         * libio/wgenops.c: Likewise.
42242         * locale/programs/xmalloc.c: Likewise.
42243         * misc/syslog.c: Likewise.
42244         * stdio-common/xbug.c: Likewise.
42245         * string/memchr.c: Likewise.
42246         * string/memcmp.c: Likewise.
42247         * string/memrchr.c: Likewise.
42248         * string/rawmemchr.c: Likewise.
42249         * sysdeps/posix/getcwd.c: Likewise.
42250         * time/strftime_l.c: Likewise.
42251
42252 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42253
42254         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42255         * config.make.in (config-cflags-sse2avx): Define.
42256         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42257         Fix typo.
42258
42259 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42260
42261         * scripts/config.guess: Update from upstream config git repository.
42262         * scripts/config.sub: Likewise.
42263
42264 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42265
42266         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42267         (EM_NUM): Update.
42268         (R_TILEPRO_*, R_TILEGX_*): New macros.
42269
42270         * scripts/firstversions.awk: Fix bug in version range handling.
42271
42272         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42273
42274         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42275
42276         * include/sys/epoll.h: New file.
42277         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42278         libc_hidden_def.
42279
42280 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42281
42282         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42283         Avoid unnecessary __WORDSIZE == 64 test.
42284         (fmaxf): Use VEX format if possible.
42285         (fmax): Likewise.
42286         (fminf): Likewise.
42287         (fmin): Likewise.
42288
42289         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42290         * math/math_private.h: Remove libc_fegetround* and
42291         libc_fesetround*.
42292         * sysdeps/i386/configure.in: Check for -msse2avx.
42293         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42294         also if SSE2AVX is defined.
42295         Remove libc_fegetround* and libc_fesetround*.
42296         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42297         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42298         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42299         of HAS_YMM_USABLE.
42300         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42301         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42302         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42303         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42304         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42305
42306         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42307
42308 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42309
42310         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42311         size is not set.
42312         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42313
42314 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42315
42316         [BZ #13618]
42317         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42318         relocation.
42319         * Makeconfig (libm): Define.
42320         * elf/Makefile: Add rules to build and run tst-relsort1.
42321         * elf/tst-relsort1.c: New file.
42322         * elf/tst-relsort1mod1.c: New file.
42323         * elf/tst-relsort1mod2.c: New file.
42324
42325 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42326
42327         * math/s_ldexp.c: Remove __STDC__ conditionals.
42328         * math/s_ldexpf.c: Likewise.
42329         * math/s_ldexpl.c: Likewise.
42330         * math/s_nextafter.c: Likewise.
42331         * math/s_nexttowardf.c: Likewise.
42332         * math/s_significand.c: Likewise.
42333         * math/s_significandf.c: Likewise.
42334         * math/s_significandl.c: Likewise.
42335         * math/w_jnl.c: Likewise.
42336         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42337         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42338         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42339         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42340         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42341         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42342         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42343         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42344         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42345         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42346         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42347         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42348         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42349         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42350         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42351         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42352         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42353         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42354         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42355         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42356         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42357         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42358         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42359         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42360         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42361         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42362         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42363         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42364         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42365         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42366         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42367         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42368         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42369         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42370         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42371         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42372         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42373         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42374         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42375         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42376         * sysdeps/ieee754/k_standard.c: Likewise.
42377         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42378         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42379         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42380         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42381         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42382         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42383         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42384         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42385         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42386         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42387         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42388         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42389         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42390         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42391         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42392         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42393         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42394         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42395         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42396         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42397         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42398         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42399         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42400         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42401         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42402         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42403         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42404         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42405         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42406         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42407         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42408         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42409         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42410         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42411         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42412         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42413         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42414         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42415         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42416         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42417         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42418         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42419         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42420         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42421         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42422         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42423         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42424         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42425         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42426         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42427         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42428         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42429         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42430         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42431         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42432         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42433         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42434         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42435         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42436         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42437         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42438         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42439         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42440         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42441         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42442         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42443         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42444         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42445         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42446         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42447         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42448         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42449         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42450         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42451         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42452         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42453         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42454         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42455         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42456         * sysdeps/ieee754/s_matherr.c: Likewise.
42457         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42458         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42459         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42460         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42461
42462 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42463
42464         * crypt/md5.h: Remove __STDC__ conditionals.
42465         * libio/libioP.h: Likewise.
42466         * locale/programs/config.h: Likewise.
42467         * sysdeps/generic/sysdep.h: Likewise.
42468         * sysdeps/i386/asm-syntax.h: Likewise.
42469         * sysdeps/s390/asm-syntax.h: Likewise.
42470         * sysdeps/unix/sysdep.h: Likewise.
42471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42473
42474 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42475
42476         * libio/libio.h: Remove __STDC__ conditionals.
42477         * malloc/obstack.h: Likewise.
42478         * math/complex.h: Likewise.
42479         * math/math.h: Likewise.
42480         * sysdeps/generic/_G_config.h: Likewise.
42481         * sysdeps/gnu/_G_config.h: Likewise.
42482         * sysdeps/mach/hurd/_G_config.h: Likewise.
42483         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42484         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42485         * sysdeps/sparc/bits/mathdef.h: Likewise.
42486
42487 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42488
42489         [BZ #13583]
42490         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42491         Clean up HAS_* macros.
42492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42493         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42494         possible.
42495         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42496         HAS_AVX.
42497         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42498         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42499         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42500         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42501         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42502
42503 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42504
42505         * elf/tst-unique3.cc (gets): Remove declaration.
42506         * elf/tst-unique3lib.cc (gets): Likewise.
42507         * elf/tst-unique3lib2.cc (gets): Likewise.
42508         * elf/tst-unique4.cc (gets): Likewise.
42509
42510 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42511
42512         * include/stdio.h: Add C++ protection.  Add gets declarations and
42513         definitions.
42514         * debug/tst-chk1.c: Don't declare gets here.
42515         * stdio-common/tst-gets.c: Likewise.
42516
42517 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42518
42519         * posix/glob: Remove directory.
42520
42521 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42522
42523         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42524
42525 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42526
42527         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42528         of the non-standard EPFNOSUPPORT.
42529
42530 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42531
42532         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42533         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42534         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42535
42536 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42537
42538         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42539
42540 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42541
42542         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42543         transient errors.
42544         * nscd/grpcache.c (cache_addgr): Likewise.
42545         * nscd/hstcache.c (cache_addhst): Likewise.
42546         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42547         * nscd/pwdcache.c (cache_addpw): Likewise.
42548         * nscd/servicescache.c (cache_addserv): Likewise.
42549
42550 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42551
42552         * malloc/malloc.c: Various cleanups.
42553         * malloc/hooks.c: Likewise.
42554
42555         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42556         * stdlib/bug-fmtmsg1.c: New file.
42557
42558         * stdlib/fmtmsg.c (init): Add missing unlock.
42559         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42560
42561 2012-01-12  Marek Polacek  <polacek@redhat.com>
42562
42563         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42564         and _GNU_SOURCE.
42565
42566 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42567
42568         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42569         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42570         macro to ensure uniqueness of label name.
42571         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42572         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42573
42574 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42575
42576         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42577
42578         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42579         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42580         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42581         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42582
42583 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42584
42585         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42586
42587         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42588         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42589         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42590
42591         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42592
42593         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42594         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42595         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42596         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42597
42598         * math/bits/math-finite.h: Add ldexp support.
42599
42600 2012-01-10  Marek Polacek  <polacek@redhat.com>
42601
42602         * locale/programs/localedef.h (show_archive_content): Add noreturn
42603         attribute.
42604
42605 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42606
42607         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42608
42609 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42610
42611         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42612
42613         * io/Makefile (headers): Add bits/poll2.h.
42614
42615 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42616
42617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42618         typo #include statement.
42619
42620 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42621
42622         * include/sys/cdefs.h: Define __attribute_alloc_size.
42623         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42624         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42625         * elf/pldd.c: Likewise.
42626         * iconv/iconv_charmap.c: Likewise.
42627         * iconv/iconvconfig.c: Likewise.
42628         * iconv/strtab.c: Likewise.
42629         * locale/programs/locale.c: Likewise.
42630         * locale/programs/localedef.h: Likewise.
42631         * locale/programs/simple-hash.c: Likewise.
42632         * nscd/nscd.h: Likewise.
42633         * nss/makedb.c: Likewise.
42634         * sysdeps/generic/ldconfig.h: Likewise.
42635         * locale/programs/localedef.c: Remove xmalloc prototype.
42636         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42637
42638 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42639
42640         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42641         appropriate.
42642
42643 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42644
42645         * math/Makefile (tests): Add tst-CMPLX.
42646         * math/tst-CMPLX.c: New file.
42647
42648         * math/complex.h (CMPLXL): Fix typo.
42649
42650         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42651         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42652         GLIBC_2.16.
42653         * debug/tst-chk1.c: Add poll and ppoll tests.
42654         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42655         * include/sys/poll.h: Add hidden proto for ppoll.
42656         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42657         * sysdeps/mach/hurd/ppoll.c: Likewise.
42658         * io/ppoll.c: Likewise.
42659         * debug/poll_chk.c: New file.
42660         * debug/ppoll_chk.c: New file.
42661         * include/bits/poll2.h: New file.
42662         * io/bits/poll2.h: New file.
42663
42664         [BZ #1350]
42665         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42666
42667         * configure.in: static is always set to yes.  Remove.
42668         * config.make.in: Don't set build-static.
42669         * Makeconfig: Remove use of build-static.
42670         * dlfcn/Makefile: Likewise.
42671         * elf/Makefile: Likewise.
42672         * math/Makefile: Likewise.
42673         * misc/Makefile: Likewise.
42674         * nptl/Makefile: Likewise.
42675         * sysdeps/mach/hurd/Makefile: Likewise.
42676
42677         * configure.in: PWD_P is not used anymore.
42678         * config.make.in: Remove PWD_P entry.
42679
42680         * configure.in: Remove last remnants of RANLIB.
42681         No need to check for signed size_t anymore.
42682         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42683         and IA-64.
42684         Remove __builtin_expect test because we require at least gcc 3.4.
42685         * aclocal.m4: Likewise.
42686
42687         * wcsmbs/mbrtoc16.c: Implement using towc function.
42688         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42689         * wcsmbs/wcsmbsload.c: Likewise.
42690         * iconv/gconv_simple.c: Likewise.
42691         * iconv/gconv_int.h: Likewise.
42692         * iconv/gconv_builtin.h: Likewise.
42693         * iconv/iconv_prog.c: Remove CHAR16 handling.
42694
42695         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42696
42697         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42698
42699         * configure.in: Remove --with-elf and --enable-bounded options.
42700         Dont set base_machine for ia64.  More non-ELF conditions removed.
42701         Remove testing and setting of leading underscore information.
42702         * config.make.in (build-bounded): Set to no.
42703         * config.h.in: Remove NO_UNDERSCORES entry.
42704         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42705         them.
42706         * csu/start.c: Remove !NO_UNDERSCORE code.
42707         * locale/localeinfo.h: Likewise.
42708         * sysdeps/generic/machine-gmon.h: Likewise.
42709         * sysdeps/generic/sysdep.h: Likewise.
42710         * sysdeps/i386/sysdep.h: Likewise.
42711         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42712         * sysdeps/mach/sysdep.h: Likewise.
42713         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42714         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42715         * sysdeps/sh/sysdep.h: Likewise.
42716         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42717         * sysdeps/unix/i386/sysdep.S: Likewise.
42718         * sysdeps/unix/sparc/start.c: Likewise.
42719         * sysdeps/unix/sparc/sysdep.S: Likewise.
42720         * sysdeps/unix/sparc/sysdep.h: Likewise.
42721         * sysdeps/unix/start.c: Likewise.
42722         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42723         * sysdeps/x86_64/sysdep.h: Likewise.
42724
42725 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42726
42727         [BZ #13553]
42728         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42729         for non-gcc.
42730         * argp/argp-fmtstream.h: Use const instead __const.
42731         * argp/argp.h: Likewise.
42732         * assert/assert.h: Likewise.
42733         * bits/fenv.h: Likewise.
42734         * bits/sched.h: Likewise.
42735         * bits/sigset.h: Likewise.
42736         * bits/sigthread.h: Likewise.
42737         * catgets/nl_types.h: Likewise.
42738         * conform/data/pthread.h-data: Likewise.
42739         * crypt/crypt-private.h: Likewise.
42740         * crypt/crypt.h: Likewise.
42741         * crypt/crypt_util.c: Likewise.
42742         * ctype/ctype.h: Likewise.
42743         * debug/execinfo.h: Likewise.
42744         * debug/mbsnrtowcs_chk.c: Likewise.
42745         * debug/mbsrtowcs_chk.c: Likewise.
42746         * debug/wcsnrtombs_chk.c: Likewise.
42747         * debug/wcsrtombs_chk.c: Likewise.
42748         * debug/wcstombs_chk.c: Likewise.
42749         * dirent/dirent.h: Likewise.
42750         * dlfcn/dlfcn.h: Likewise.
42751         * elf/neededtest4.c: Likewise.
42752         * grp/grp.h: Likewise.
42753         * gshadow/gshadow.h: Likewise.
42754         * iconv/gconv.h: Likewise.
42755         * iconv/gconv_int.h: Likewise.
42756         * iconv/gconv_simple.c: Likewise.
42757         * iconv/iconv.h: Likewise.
42758         * iconv/loop.c: Likewise.
42759         * iconv/skeleton.c: Likewise.
42760         * include/aio.h: Likewise.
42761         * include/aliases.h: Likewise.
42762         * include/argz.h: Likewise.
42763         * include/arpa/inet.h: Likewise.
42764         * include/assert.h: Likewise.
42765         * include/dirent.h: Likewise.
42766         * include/dlfcn.h: Likewise.
42767         * include/execinfo.h: Likewise.
42768         * include/fcntl.h: Likewise.
42769         * include/fenv.h: Likewise.
42770         * include/glob.h: Likewise.
42771         * include/grp.h: Likewise.
42772         * include/libintl.h: Likewise.
42773         * include/mntent.h: Likewise.
42774         * include/netdb.h: Likewise.
42775         * include/pwd.h: Likewise.
42776         * include/rpc/netdb.h: Likewise.
42777         * include/sched.h: Likewise.
42778         * include/search.h: Likewise.
42779         * include/shadow.h: Likewise.
42780         * include/signal.h: Likewise.
42781         * include/stdio.h: Likewise.
42782         * include/stdlib.h: Likewise.
42783         * include/string.h: Likewise.
42784         * include/sys/socket.h: Likewise.
42785         * include/sys/stat.h: Likewise.
42786         * include/sys/statfs.h: Likewise.
42787         * include/sys/statvfs.h: Likewise.
42788         * include/sys/syslog.h: Likewise.
42789         * include/sys/time.h: Likewise.
42790         * include/sys/uio.h: Likewise.
42791         * include/time.h: Likewise.
42792         * include/unistd.h: Likewise.
42793         * include/utmp.h: Likewise.
42794         * include/wchar.h: Likewise.
42795         * include/wctype.h: Likewise.
42796         * inet/aliases.h: Likewise.
42797         * inet/arpa/inet.h: Likewise.
42798         * inet/netinet/ether.h: Likewise.
42799         * inet/netinet/in.h: Likewise.
42800         * intl/libintl.h: Likewise.
42801         * io/bits/fcntl2.h: Likewise.
42802         * io/fcntl.h: Likewise.
42803         * io/ftw.h: Likewise.
42804         * io/sys/poll.h: Likewise.
42805         * io/sys/stat.h: Likewise.
42806         * io/sys/statfs.h: Likewise.
42807         * io/sys/statvfs.h: Likewise.
42808         * io/utime.h: Likewise.
42809         * libio/bits/stdio.h: Likewise.
42810         * libio/bits/stdio2.h: Likewise.
42811         * libio/libio.h: Likewise.
42812         * libio/libioP.h: Likewise.
42813         * libio/stdio.h: Likewise.
42814         * locale/lc-ctype.c: Likewise.
42815         * locale/locale.h: Likewise.
42816         * login/utmp.h: Likewise.
42817         * malloc/arena.c: Likewise.
42818         * malloc/malloc.c: Likewise.
42819         * malloc/malloc.h: Likewise.
42820         * malloc/mcheck.c: Likewise.
42821         * malloc/mtrace.c: Likewise.
42822         * math/bits/mathcalls.h: Likewise.
42823         * math/fenv.h: Likewise.
42824         * math/math_private.h: Likewise.
42825         * misc/bits/error.h: Likewise.
42826         * misc/bits/syslog.h: Likewise.
42827         * misc/err.h: Likewise.
42828         * misc/error.h: Likewise.
42829         * misc/fstab.h: Likewise.
42830         * misc/mntent.h: Likewise.
42831         * misc/regexp.h: Likewise.
42832         * misc/search.h: Likewise.
42833         * misc/sgtty.h: Likewise.
42834         * misc/sys/mman.h: Likewise.
42835         * misc/sys/syslog.h: Likewise.
42836         * misc/sys/uio.h: Likewise.
42837         * misc/sys/xattr.h: Likewise.
42838         * misc/ttyent.h: Likewise.
42839         * nis/rpcsvc/ypclnt.h: Likewise.
42840         * nss/nss.h: Likewise.
42841         * posix/bits/unistd.h: Likewise.
42842         * posix/fnmatch.h: Likewise.
42843         * posix/glob.h: Likewise.
42844         * posix/sched.h: Likewise.
42845         * posix/spawn.h: Likewise.
42846         * posix/sys/wait.h: Likewise.
42847         * posix/unistd.h: Likewise.
42848         * posix/wordexp.h: Likewise.
42849         * pwd/pwd.h: Likewise.
42850         * resolv/netdb.h: Likewise.
42851         * resource/sys/resource.h: Likewise.
42852         * rt/aio.h: Likewise.
42853         * rt/bits/mqueue2.h: Likewise.
42854         * rt/mqueue.h: Likewise.
42855         * shadow/shadow.h: Likewise.
42856         * signal/signal.h: Likewise.
42857         * socket/send.c: Likewise.
42858         * socket/sendto.c: Likewise.
42859         * socket/sys/socket.h: Likewise.
42860         * stdio-common/printf.h: Likewise.
42861         * stdlib/bits/stdlib.h: Likewise.
42862         * stdlib/fmtmsg.h: Likewise.
42863         * stdlib/monetary.h: Likewise.
42864         * stdlib/stdlib.h: Likewise.
42865         * stdlib/ucontext.h: Likewise.
42866         * streams/stropts.h: Likewise.
42867         * string/argz.h: Likewise.
42868         * string/bits/string2.h: Likewise.
42869         * string/string.h: Likewise.
42870         * string/strings.h: Likewise.
42871         * sunrpc/rpc/auth.h: Likewise.
42872         * sunrpc/rpc/auth_des.h: Likewise.
42873         * sunrpc/rpc/clnt.h: Likewise.
42874         * sunrpc/rpc/netdb.h: Likewise.
42875         * sunrpc/rpc/pmap_clnt.h: Likewise.
42876         * sunrpc/rpc/xdr.h: Likewise.
42877         * sysdeps/generic/inttypes.h: Likewise.
42878         * sysdeps/generic/net/if.h: Likewise.
42879         * sysdeps/generic/sys/swap.h: Likewise.
42880         * sysdeps/gnu/net/if.h: Likewise.
42881         * sysdeps/gnu/utmpx.h: Likewise.
42882         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42883         * sysdeps/i386/i486/bits/string.h: Likewise.
42884         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42885         * sysdeps/s390/bits/string.h: Likewise.
42886         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42887         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42888         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42889         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42890         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42891         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42892         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42893         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42894         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42895         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42896         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42897         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42898         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42899         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42900         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42901         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42902         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42903         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42904         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42905         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42906         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42907         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42908         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42909         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42910         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42911         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42912         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42913         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42914         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42915         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42916         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42917         * sysvipc/sys/ipc.h: Likewise.
42918         * sysvipc/sys/msg.h: Likewise.
42919         * sysvipc/sys/sem.h: Likewise.
42920         * sysvipc/sys/shm.h: Likewise.
42921         * termios/termios.h: Likewise.
42922         * time/sys/time.h: Likewise.
42923         * time/time.h: Likewise.
42924         * wcsmbs/bits/wchar2.h: Likewise.
42925         * wcsmbs/uchar.h: Likewise.
42926         * wcsmbs/wchar.h: Likewise.
42927         * wctype/wctype.h: Likewise.
42928
42929         [BZ #13551]
42930         * Makeconfig: Remove all but ELF support including AIX support.
42931         * Makerules: Likewise.
42932         * config.h.in: Likewise.
42933         * config.make.in: Likewise.
42934         * configure: Likewise.
42935         * configure.in: Likewise.
42936         * csu/Makefile: Likewise.
42937         * csu/version.c: Likewise.
42938         * debug/Makefile: Likewise.
42939         * dlfcn/Makefile: Likewise.
42940         * elf/Makefile: Likewise.
42941         * extra-lib.mk: Likewise.
42942         * iconv/Makefile: Likewise.
42943         * include/libc-symbols.h: Likewise.
42944         * include/shlib-compat.h: Likewise.
42945         * resolv/Makefile: Likewise.
42946         * resolv/res_libc.c: Likewise.
42947         * rt/Makefile: Likewise.
42948         * sysdeps/i386/asm-syntax.h: Likewise.
42949         * sysdeps/i386/sysdep.h: Likewise.
42950         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42951         * sysdeps/mach/sysdep.h: Likewise.
42952         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42953         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42954         * sysdeps/s390/asm-syntax.h: Likewise.
42955         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42956         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42957         * sysdeps/sh/sysdep.h: Likewise.
42958         * sysdeps/unix/sparc/sysdep.h: Likewise.
42959         * sysdeps/wordsize-32/divdi3.c: Likewise.
42960         * sysdeps/x86_64/sysdep.h: Likewise.
42961
42962         * argp/Versions: Remove _argp_unlock_xxx.
42963
42964         [BZ #13559]
42965         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42966         * abilist/libBrokenLocale.abilist: Likewise.
42967         * abilist/libanl.abilist: Likewise.
42968         * abilist/libc.abilist: Likewise.
42969         * abilist/libcrypt.abilist: Likewise.
42970         * abilist/libdl.abilist: Likewise.
42971         * abilist/libm.abilist: Likewise.
42972         * abilist/libnsl.abilist: Likewise.
42973         * abilist/libpthread.abilist: Likewise.
42974         * abilist/libresolv.abilist: Likewise.
42975         * abilist/librt.abilist: Likewise.
42976         * abilist/libthread_db.abilist: Likewise.
42977         * abilist/libutil.abilist: Likewise.
42978         * abilist/libnss_db.abilist: New file.
42979
42980         * scripts/abilist.awk: Add support for indirect functions.
42981
42982         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42983
42984         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42985
42986         * shlib-versions: Remove entries for ports architectures.
42987
42988         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42989         files in ports.
42990         * elf/stackguard-macros.h: Remove support for IA-64.
42991         * elf/tst-auditmod1.c: Likewise.
42992         * sysdeps/generic/ldsodefs.h: Likewise.
42993
42994         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42995         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42996         configure files.
42997
42998         [BZ #13552]
42999         * configure.in: Remove --enable-omitfp support.
43000         * FAQ.in: Adjust.
43001         * config.make.in: Likewise.
43002         * Makeconfig: Likewise.
43003         * manual/install.texi: Likewise.
43004
43005         In case anyone cares, the IA-64 architecture could move to ports.
43006         * sysdeps/ia64/*: Removed.
43007         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43008         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43009
43010         [BZ #13555]
43011         * configure.in: Remove entries for unsupported architectures.
43012
43013         [BZ #13533]
43014         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43015         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43016         routines.
43017         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43018         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43019         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43020         fall back to using wcrtomb.
43021         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43022         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43023         renaming.
43024         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43025         * wcsmbs/tst-c16c32-1.c: New file.
43026
43027         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43028         local variable.
43029
43030         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43031
43032         * elf/tst-unique3.cc: Add explicit declaration of gets.
43033         * elf/tst-unique3lib.cc: Likewise.
43034         * elf/tst-unique3lib2.cc: Likewise.
43035         * elf/tst-unique4.cc: Likewise.
43036
43037         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43038
43039 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43040
43041         [BZ #13566]
43042         * assert/assert.h (static_assert): Don't define for C++.
43043         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43044         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43045
43046 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43047
43048         * iconv/loop.c (single loop): Fix assertion in storing of
43049         remaining bytes.
43050
43051         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43052
43053 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43054
43055         * posix/getconf.c: Update copyright year.
43056         * nss/getent.c: Likewise.
43057         * nss/makedb.c: Likewise.
43058         * iconv/iconvconfig.c: Likewise.
43059         * iconv/iconv_prog.c: Likewise.
43060         * elf/ldconfig.c: Likewise.
43061         * elf/pldd.c: Likewise.
43062         * elf/sotruss.ksh: Likewise.
43063         * catgets/gencat.c: Likewise.
43064         * csu/version.c: Likewise.
43065         * elf/ldd.bash.in: Likewise.
43066         * elf/sprof.c (print_version): Likewise.
43067         * locale/programs/locale.c: Likewise.
43068         * locale/programs/localedef.c: Likewise.
43069         * login/programs/pt_chown.c: Likewise.
43070         * nscd/nscd.c (print_version): Likewise.
43071         * debug/xtrace.sh: Likewise.
43072         * malloc/memusage.sh: Likewise.
43073         * malloc/mtrace.pl: Likewise.
43074         * debug/catchsegv.sh: Likewise.
43075
43076 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43077
43078         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43079         pure attribute.
43080
43081 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43082
43083         [BZ #13533]
43084         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43085         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43086         transformations.
43087         * iconv/gconv_int.h: Likewise.
43088         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43089         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43090         from libc for GLIBC_2.16.
43091         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43092         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43093         * wcsmbs/uchar.h: Really define mbstate_t.
43094         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43095         * wcsmbs/c16rtomb.c: New file.
43096         * wcsmbs/mbrtoc16.c: New file.
43097         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43098         for C/POSIX locale.
43099         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43100         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43101
43102         * wcsmbs/wchar.h: Add missing __restrict.
43103
43104 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43105
43106         [BZ #13532]
43107         * time/Makefile (routines): Add timespec_get.
43108         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43109         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43110         timespec for ISO C11.
43111         * time/timespec_get.c: New file.
43112         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43113         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43114
43115         [BZ #13531]
43116         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43117         * stdlib/stdlib.h: Declare aligned_alloc.
43118         * Versions.def: Add GLIBC_2.16 for libc.
43119         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43120
43121         [BZ 13527]
43122         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43123         ISO C11.
43124
43125         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43126         code.
43127
43128         [BZ #13528]
43129         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43130
43131         [BZ #13529]
43132         * assert/assert.h (static_assert): Define.
43133
43134         * version.h: Update for 2.16 development version.
43135
43136         [BZ #13526]
43137         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43138         _ISOC11_SOURCE.
43139
43140         * version.h (RELEASE): Bump for 2.15 release.
43141         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43142
43143         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43144         Patch by Marek Polacek <mpolacek@redhat.com>.
43145
43146         * bits/byteswap.h: Protect long long constants with __extension__.
43147         * sysdeps/i386/bits/byteswap.h: Likewise.
43148         * sysdeps/ia64/bits/byteswap.h: Likewise.
43149         * sysdeps/s390/bits/byteswap.h: Likewise.
43150         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43151
43152 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43153
43154         [BZ #13540]
43155         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43156         destination buffer.
43157         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43158
43159 2011-12-23  Marek Polacek  <polacek@redhat.com>
43160
43161         * elf/dl-addr.c (determine_info): Add inline keyword.
43162         * elf/tst-auditmod4b.c (check_avx): Likewise.
43163         * elf/tst-auditmod6b.c (check_avx): Likewise.
43164         * elf/tst-auditmod6c.c (check_avx): Likewise.
43165         * elf/tst-auditmod7b.c (check_avx): Likewise.
43166
43167 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43168
43169         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43170         !__SSE_MATH__.
43171
43172 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43173
43174         [BZ #13540]
43175         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43176         processing for last bytes.
43177
43178 2011-08-06  Bruno Haible  <bruno@clisp.org>
43179
43180         [BZ #13061]
43181         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43182         U+0385, not to U+1FEE.
43183
43184         [BZ #13062]
43185         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43186         entry for U+00A5 U+0301.
43187
43188 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43189
43190         [BZ #13166]
43191         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43192         buffer for the output is too small.
43193
43194         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43195         optimization.
43196
43197         [BZ #13185]
43198         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43199         SSE flags if possible.
43200
43201 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43202
43203         [BZ #13540]
43204         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43205         processing for last bytes.
43206
43207 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43208
43209         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43210         (syscall-list-default-options, syscall-list-default-condition)
43211         (syscall-list-includes): Define.
43212         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43213         list of ABIs and options and #if conditions for each ABI.  Do not
43214         handle common syscalls between ABIs specially.
43215         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43216         Remove.
43217         (syscall-list-variants, syscall-list-32bit-options)
43218         (syscall-list-32bit-condition, syscall-list-64bit-options)
43219         (syscall-list-64bit-condition): Define.
43220         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43221         (syscall-list-variants, syscall-list-32bit-options)
43222         (syscall-list-32bit-condition, syscall-list-64bit-options)
43223         (syscall-list-64bit-condition): Define.
43224         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43225         Remove.
43226         (syscall-list-variants, syscall-list-32bit-options)
43227         (syscall-list-32bit-condition, syscall-list-64bit-options)
43228         (syscall-list-64bit-condition): Define.
43229         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43230         Remove.
43231         (syscall-list-variants, syscall-list-32bit-options)
43232         (syscall-list-32bit-condition, syscall-list-64bit-options)
43233         (syscall-list-64bit-condition): Define.
43234
43235 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43236
43237         * locale/iso-639.def: Add brx entry.
43238
43239         [BZ #13328]
43240         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43241         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43242
43243         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43244         __feraiseexcept_renamed.
43245
43246 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43247
43248         [BZ #13538]
43249         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43250         EPOLLET with unsigned values.
43251         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43252         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43253
43254         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43255         to large cancellation.
43256         * math/s_cacoshf.c: Likewise.
43257         * math/s_cacoshl.c: Likewise.
43258
43259 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43260
43261         [BZ #13305]
43262         [BZ #12786]
43263         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43264         * math/s_cacoshf.c: Likewise.
43265         * math/s_cacoshl.c: Likewise.
43266
43267 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43268
43269         [BZ #13439]
43270         * iconv/gconv.h: Define __GCONV_SWAP.
43271         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43272         * iconvdata/utf-16.c: Likewise.
43273         * iconvdata/utf-32.c: Likewise.
43274
43275 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43276
43277         [BZ #13524]
43278         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43279         numerator after shifting it by one limb.
43280
43281 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43282
43283         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43284         under [__USE_EXTERN_INLINES].
43285
43286 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43287
43288         [BZ #13446]
43289         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43290
43291 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43292
43293         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43294         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43295         optimized code.
43296         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43297         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43298         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43299         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43300         for strncasecmp/strncasecmp_l compilation.
43301         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43302         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43303
43304 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43305
43306         [BZ #13484]
43307         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43308         of __asm__.
43309
43310 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43311
43312         [BZ #13506]
43313         * time/tzfile.c (__tzfile_read): Check values from file header.
43314
43315 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43316
43317         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43318         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43319         * powerpc/powerpc32/dl-start.S: Likewise.
43320         * powerpc/powerpc32/elf/start.S: Likewise.
43321         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43322         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43323         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43324         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43325         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43326         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43327         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43328         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43329         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43330         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43331         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43332         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43333         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43334         * powerpc/powerpc32/memset.S: Likewise.
43335         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43336         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43337         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43338         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43339         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43340         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43341         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43342         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43343         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43344         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43345         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43346         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43347         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43348
43349 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43350
43351         * math/libm-test.inc: Added more nearbyint tests.
43352         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43353         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43354         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43355         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43356
43357 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43358
43359         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43360         FD_CLOEXEC.
43361
43362 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43363
43364         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43365         Add wcscpy-ssse3 wcscpy-c.
43366         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43367         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43368         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43369         * sysdeps/x86_64/wcschr.S: New file.
43370         * sysdeps/x86_64/wcsrchr.S: New file.
43371         * string/test-strcmp.c: Remove checking of wcscmp function for
43372         wrong alignments.
43373         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43374         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43375         wcsrchr-sse2 wcsrchr-c.
43376         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43377         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43378         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43379         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43380         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43381         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43382         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43383         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43384         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43385         * wcsmbc/wcschr.c (WCSCHR): New macro.
43386
43387 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43388
43389         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43390         * wcsmbs/test-wcsrchr.c: New file.
43391         * string/test-strrchr.c: Add wcsrchr support.
43392         (WIDE): New macro.
43393         * wcsmbs/test-wcscpy.c: New file.
43394         * string/test-strcpy.c: Add wcscpy support.
43395         (WIDE): New macro.
43396
43397 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43398
43399         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43400         the inner loop.
43401
43402 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43403
43404         [BZ #13472]
43405         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43406
43407 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43408
43409         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43410         Minor optimizations.
43411
43412         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43413         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43414         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43415
43416 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43417
43418         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43419         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43420         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43421         for gcc to avoid warnings.
43422         * inet/Makefile (tests): Add tst-checks.
43423         * inet/tst-checks.c: New file.
43424
43425         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43426         warning.
43427
43428         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43429         __wmemcmp_sse2.
43430
43431         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43432         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43433
43434         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43435
43436 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43437
43438         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43439         problem.
43440
43441         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43442
43443 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43444
43445         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43446         conditional on GCC version.
43447         (__arch_compare_and_exchange_val_8_acq)
43448         (__arch_compare_and_exchange_val_16_acq)
43449         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43450         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43451         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43452
43453 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43454
43455         * sysdeps/sh/backtrace.c: New file.
43456
43457 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43458
43459         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43460         parenthesis.
43461
43462 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43463
43464         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43465         falling back to utime.
43466
43467 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43468
43469         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43470         expectations for float.
43471
43472 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43473
43474         * locale/weight.h (findidx): Add parameter len.
43475         * locale/weightwc.h (findidx): Likewise.
43476         * posix/fnmatch_loop.c (FCT): Adjust caller.
43477         * posix/regcomp.c (build_equiv_class): Likewise.
43478         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43479         * posix/regexec.c (check_node_accept_bytes): Likewise.
43480         * string/strcoll_l.c (STRCOLL): Likewise.
43481         * string/strxfrm_l.c (STRXFRM): Likewise.
43482
43483 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43484
43485         * Makefile.in: Remove CVSOPT handling.
43486         * configure.in: Remove use of AC_REVISION.
43487         * iconvdata/Makefile (distribute): No need to filter out CVS.
43488         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43489         handling.
43490
43491 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43492
43493         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43494         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43495         [USE_AS_STRNCASECMP_L]: Likewise.
43496         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43497         NO_TLS_DIRECT_SEG_REFS.
43498         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43499         Fix argument offsets for non-PIC.
43500         [USE_AS_STRNCASECMP_L]: Likewise.
43501         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43502         NO_TLS_DIRECT_SEG_REFS.
43503
43504 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43505
43506         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43507         O_CLOEXEC.
43508         * locale/loadlocale.c (_nl_load_locale): Likewise.
43509
43510 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43511
43512         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43513         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43514         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43515         (SYSCALL_GETTIME): Set errno on error.
43516
43517         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43518         count references to noai6ai_cached.
43519
43520 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43521
43522         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43523
43524         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43525         FD_CLOEXEC for /proc/self/maps.
43526
43527         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43528         FD_CLOEXEC for /proc/meminfo.
43529
43530         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43531         gai.conf.
43532
43533         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43534         FD_CLOEXEC for given file.
43535
43536         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43537
43538         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43539         FD_CLOEXEC for /etc/hosts.
43540         (_gethtent): Likewise.
43541
43542         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43543
43544         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43545         cancellation and set FD_CLOEXEC for /etc/netgroup.
43546
43547         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43548         reading /etc/publickey.
43549
43550         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43551         allow cancellation when reading /etc/group.
43552
43553         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43554         cancellation.
43555         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43556
43557         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43558         when using data file.
43559
43560         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43561
43562         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43563         (write_nis_obj): Use "c" and "e" in fopen.
43564
43565         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43566
43567         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43568
43569         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43570
43571         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43572
43573         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43574         locale.alias.
43575
43576         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43577
43578         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43579
43580         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43581
43582         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43583         file parsing and set FD_CLOEXEC.
43584
43585 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43586
43587         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43588
43589 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43590
43591         * malloc/arena.c (arena_get2): Don't call reused_arena when
43592         _int_new_arena failed.
43593
43594 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43595
43596         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43597         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43598         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43599         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43600         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43601         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43602         to compile strcasecmp and strncasecmp.
43603         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43604         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43605
43606         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43607
43608 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43609
43610         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43611         locale-defines.sym to gen-as-const-headers.
43612         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43613         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43614         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43615         to compile strcasecmp and strncasecmp.
43616         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43617         strcasecmp_l and strncasecmp_l.
43618         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43619         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43620         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43621         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43622         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43623         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43624         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43625         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43626         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43627         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43628         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43629
43630 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43631
43632         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43633         result of SYSDEP_GETTIME_CPU to retval.
43634         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43635         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43636
43637         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43638         variable.
43639
43640         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43641         mantissa words.
43642         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43643
43644         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43645         from unused variable.
43646
43647         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43648         DWARF definitions.
43649         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43650         for assembling.
43651
43652         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43653         over namespaces.
43654
43655         * sunrpc/rpc_prot.c (rejected): Fix case value.
43656
43657         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43658         unsigned long long int to avoid warnings in shift.
43659
43660         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43661         of use of trans.
43662         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43663         variable tmp.
43664
43665         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43666         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43667         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43668
43669         * nis/nis_table.c (nis_list): Use variable of correct type for
43670         result of __follow_path call.
43671
43672 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43673
43674         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43675         of math functions ceil, trunc, floor, round, and sqrt, when
43676         avaliable on the platform.
43677         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43678         name clash.
43679         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43680         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43681         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43682
43683 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43684
43685         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43686         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43687
43688 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43689
43690         * include/unistd.h: Fix __readlink return type.
43691         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43692
43693 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43694
43695         * stdlib/ucontext.h: Undo last change for makecontext.
43696
43697 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43698
43699         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43700
43701         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43702         * setjmp/setjmp.h: Mark functions as non-leaf.
43703         * setjmp/bits/setjmp2.h: Likewise.
43704         * stdlib/ucontext.h: Likewise.
43705
43706 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43707
43708         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43709         (reused_arena): Don't check arena limit.
43710         (arena_get2): Atomically check arena limit.
43711
43712 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43713
43714         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43715         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43716
43717         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43718         instructions.
43719
43720 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43721
43722         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43723         handler when locking.
43724
43725         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43726         Fix size of allocated buffer.
43727
43728 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43729
43730         [BZ #10103]
43731         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43732         declarations for long double functions.
43733         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43734
43735         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43736
43737 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43738
43739         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43740         installed.
43741
43742         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43743         is disabled.
43744
43745 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43746
43747         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43748
43749 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43750
43751         * include/alloca.h (stackinfo_alloca_round): Define.
43752         (extend_alloca): Use it.
43753         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43754         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43755         here.
43756
43757         * scripts/check-local-headers.sh: Ignore libaudit.h.
43758
43759         * nscd/Makefile (extra-objs): Make recursively expanded.
43760
43761 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43762
43763         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43764         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43765
43766         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43767         * posix/tst-rfc3484-2.c: Likewise.
43768         * posix/tst-rfc3484-3.c: Likewise.
43769
43770         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43771         process_vm_writev.
43772         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43773         process_vm_writev.
43774         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43775         process_vm_writev from libc using GLIBC_2.15 version.
43776
43777         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43778
43779 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43780
43781         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43782         stack usage.
43783
43784 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43785
43786         [BZ #13367]
43787         * nss/getent.c (initgroups_keys): Show error message in case no group
43788         names are given.
43789
43790         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43791         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43792         __bump_nl_timestamp.
43793         * nscd/connections (nscd_init): When host database is served open
43794         netlink socket and request notification about configuration changes.
43795         (main_loop_poll): Track netlink file descriptor and bump timestamp
43796         in case data becomes available.
43797         (main_loop_epoll): Likewise.
43798         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43799         (database_pers_head): Add extra_data fileds.
43800         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43801         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43802         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43803         Adjust caller.
43804         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43805         in6ai data, call __free_in6ai.
43806         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43807         Add -DHAVE_NETLINK.
43808         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43809         interface information.  Reuse previous data if netlink timestamp
43810         is not changed.
43811         (__bump_nl_timestamp): New function.
43812         (__free_in6ai): New function.
43813
43814 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43815
43816         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43817         close_not_cancel_no_status here.
43818         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43819
43820 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43821
43822         [BZ #13276]
43823         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43824         return value.
43825
43826         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43827         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43828         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43829
43830 2011-07-03  Andreas Jaeger  <aj@suse.de>
43831
43832         [BZ #10709]
43833         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43834         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43835         * math/libm-test.inc (sin_test): Add test case.
43836
43837 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43838
43839         [BZ #13337]
43840         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43841         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43842
43843         * elf/chroot_canon.c (chroot_canon): Cleanups.
43844
43845         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43846
43847         [BZ #13335]
43848         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43849         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43850
43851         * string/test-strchr.c: Make usable for strchrnul testing.
43852         * string/test-strchrnul.c: New file.
43853         * string/Makefile (strop-tests): Add strchrnul.
43854
43855         * po/it.po: Update from translation team.
43856         * po/es.po: Likewise.
43857
43858 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43859
43860         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43861         the three constants needed as parameters.  Drop the others.
43862         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43863         __m128i_strloadu_tolower.
43864         Create and initialize variable zero and use it in all the places
43865         where _mm_setzero_si128 was used.
43866
43867         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43868         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43869         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43870         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43871         anymore.
43872         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43873         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43874         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43875         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43876         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43877         __mpranred, __mptan.
43878         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43879         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43880         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43881         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43882         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43883         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43884         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43885         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43886         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43887
43888 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43889
43890         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43891         redefine if SHARED.
43892         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43893
43894         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43895         wide char related routines to wcsmbs subdir.
43896
43897 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43898
43899         [BZ #13344]
43900         * misc/sys/cdefs.h (__THROWNL): Define.
43901         * posix/unistd.h: Use __THREADNL instead of __THREAD
43902         for memory synchronization functions.
43903
43904 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43905
43906         [BZ #13349]
43907         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43908         doesn't exist.
43909         * manual/stdio.texi (Obstack Streams): Node removed.
43910
43911 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43912
43913         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43914         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43915         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43916
43917         * math/math_private.h (math_force_eval): Allow non-addressable
43918         arguments.
43919         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43920
43921 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43922
43923         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43924         file is not needed.
43925
43926         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43927         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43928         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43929         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43930         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43931         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43932         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43933         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43934         Add AVX variants.
43935         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43936         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43937         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43938         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43939         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43940         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43941         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43942         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43943         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43944         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43945         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43946         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43947         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43948         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43949         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43950         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43951         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43952         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43953         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43954
43955         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43956         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43957
43958         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43959         place.  Use VEX encoding when compiling for AVX.
43960
43961 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43962
43963         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43964         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43965
43966         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43967
43968 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43969
43970         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43971         useless if() expression.
43972         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43973         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43974         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43975         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43976         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43977         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43978         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43979         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43980         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43981         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43982         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43983         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43984         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43985         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43986         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43987         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43988         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43989         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43990         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43991
43992         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43993
43994 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43995
43996         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43997         condition.
43998         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43999
44000 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44001
44002         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44003         .text section.  Avoid duplicate constants.
44004         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44005         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44006         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44007         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44008         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44009         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44010         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44011         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44012         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44013         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44014         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44015         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44016         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44017         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44018         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44019         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44020         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44021         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44022         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44023         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44024         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44025         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44026         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44027         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44028         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44029         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44030         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44031         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44032         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44033         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44034         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44035         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44036         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44037         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44038         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44039         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44040         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44041         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44042         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44043         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44044         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44045         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44046         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44047         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44048         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44049
44050 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44051
44052         * sysdeps/x86_64/dla.h: Move to ...
44053         * sysdeps/x86_64/fpu/dla.h: ...here.
44054         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44055         situations.  Use __builtin_fma only for gcc 4.6 and up.
44056
44057         * config.make.in: Add have-mfma4 entry.
44058         * configure.in: Substitute libc_cv_cc_fma4.
44059         * math/Makefile (dbl-only-routines): Add sincostab.
44060         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44061         Use __sincostab not sincos.
44062         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44063         name is a macro.
44064         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44065         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44066         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44067         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44068         using __copysign.
44069         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44070         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44071         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44072         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44073         and __inv.
44074         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44075         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44076         __copysign.
44077         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44078         define aliases when function name is a macro.
44079         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44080         sysdeps/ieee754/dbl-64/sincos.tbl.
44081         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44082         fma4-enabled routines.
44083         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44084         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44085         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44086         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44087         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44088         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44089         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44090         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44091         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44092         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44093         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44094         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44095         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44096         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44097         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44098         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44099         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44100         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44101         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44102         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44103         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44104         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44105         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44106         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44107         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44108         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44109         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44110         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44111         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44112         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44113
44114         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44115         rename.
44116         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44117         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44118         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44119         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44120         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44121         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44122         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44123         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44124
44125 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44126
44127         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44128
44129 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44130
44131         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44132
44133         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44134         prediction.
44135         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44136
44137         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44138         Remove unused variable magic_bits.
44139         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44140
44141         * string/strnlen.c: Define and use STRNLEN macro.
44142         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44143         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44144         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44145         * wcsmbs/wcslen.c: Define and use WCSLEN.
44146         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44147         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44148         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44149         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44150         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44151         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44152         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44153
44154 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44155
44156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44157         strnlen-sse2-no-bsf.
44158         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44159         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44160         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44161         Add strnlen support.
44162         (USE_AS_STRNLEN): New macro.
44163         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44164         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44165         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44166         * sysdeps/x86_64/wcslen.S: New file.
44167
44168 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44169
44170         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44171         XMM-moves are used for copying on small sizes.
44172
44173 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44174
44175         * wcsmbs/Makefile (strop-tests): Add wcschr.
44176         * wcsmbs/test-wcschr.c: New file.
44177         * string/test-strchr.c: Update.
44178         Add wcschr support.
44179         (WIDE): New macro.
44180
44181 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44182
44183         * wcsmbs/Makefile (strop-tests): Add wcslen.
44184         * wcsmbs/test-wcslen.c: New file.
44185         * string/test-strlen.c: Update.
44186         Add wcslen support.
44187         (WIDE): New macro.
44188
44189 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44190
44191         * po/it.po: Update from translation team.
44192
44193 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44194
44195         * sysdeps/x86_64/wcscmp.S: Update.
44196         Fix wrong comparison semantics.
44197         wcscmp shall use signed comparison not unsigned.
44198         Don't use substraction to avoid overflow bug.
44199         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44200         * wcsmbc/wcscmp.c: Likewise.
44201         * string/test-strcmp.c: Likewise.
44202         Add new tests to check cases with negative values.
44203
44204 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44205
44206         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44207         * sysdeps/x86_64/dla.h: ...here.  New file.
44208         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44209         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44210         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44211         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44212         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44213         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44214         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44215         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44216         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44217
44218 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44219
44220         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44221         __ynl_finite aliases.
44222
44223 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44224
44225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44226
44227         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44228         define DLA_FMA.
44229         [DLA_FMA] (EMULV): Use DLA_FMA.
44230         [DLA_FMA] (MUL12): Use EMULV.
44231         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44232         that are not needed.
44233         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44235         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44236         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44237         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44238         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44239         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44240
44241 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44242
44243         * math/s_nan.c: Undef __nan.
44244         * math/s_nanf.c: Undef __nanf.
44245         * math/s_nanl.c: Undef __nanl.
44246         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44247         "math_private.h".
44248
44249 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44250
44251         * math/s_catan.c: Add branch predictions.
44252         * math/s_catanf.c: Likewise.
44253         * math/s_catanh.c: Likewise.
44254         * math/s_catanhf.c: Likewise.
44255         * math/s_catanhl.c: Likewise.
44256         * math/s_catanl.c: Likewise.
44257         * math/s_cexp.c: Likewise.
44258         * math/s_cexpf.c: Likewise.
44259         * math/s_cexpl.c: Likewise.
44260         * math/s_clog.c: Likewise.
44261         * math/s_clog10.c: Likewise.
44262         * math/s_clog10f.c: Likewise.
44263         * math/s_clog10l.c: Likewise.
44264         * math/s_clogf.c: Likewise.
44265         * math/s_clogl.c: Likewise.
44266         * math/s_csqrt.c: Likewise.
44267         * math/s_csqrtf.c: Likewise.
44268         * math/s_csqrtl.c: Likewise.
44269         * math/s_ctanf.c: Likewise.
44270         * math/s_ctanh.c: Likewise.
44271         * math/s_ctanhf.c: Likewise.
44272         * math/s_ctanhl.c: Likewise.
44273         * math/s_ctanl.c: Likewise.
44274
44275         * math/math_private.h: Define __nan, __nanf, __nanl.
44276         * math/s_cacosh.c: Include <math_private.h>.
44277         * math/s_cacoshl.c: Likewise.
44278         * math/s_casinh.c: Likewise.
44279         * math/s_casinhf.c: Likewise.
44280         * math/s_casinhl.c: Likewise.
44281         * math/s_ccos.c: Rely entire on ccosh.
44282         * math/s_ccosf.c: Rely entire on ccoshf.
44283         * math/s_ccosl.c: Rely entirely on ccoshl.
44284         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44285         Remove tests for FE_INVALID.
44286         * math/s_ccoshf.c: Likewise.
44287         * math/s_ccoshl.c: Likewise.
44288         * math/s_csin.c: Likewise.
44289         * math/s_csinf.c: Likewise.
44290         * math/s_csinh.c Likewise.
44291         * math/s_csinhf.c: Likewise.
44292         * math/s_csinhl.c: Likewise.
44293         * math/s_csinl.c: Likewise.
44294         * math/s_ctan.c: Likewise.
44295         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44296         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44297         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44298
44299 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44300
44301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44302         compilation problems.
44303
44304         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44305         __builtin_expect.
44306
44307 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44308
44309         * sysdeps/i386/configure.in: Test for -mfma4 option.
44310         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44311         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44312         COMMON_CPUID_INDEX_80000001.
44313         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44314         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44315         use it if FMA3 is not supported.
44316         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44317
44318         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44319         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44320
44321 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44322
44323         [BZ #12892]
44324         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44325         it would create a cycle with a link time dependency.
44326
44327 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44328
44329         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44330         instruction.
44331         * string/Makefile (strop-tests): Add rawmemchr.
44332         * string/test-rawmemchr.c: New file.
44333
44334         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44335         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44336         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44337         when compiling str{,n}casecmp and when AVX is available.  Hook up
44338         new optimized code in initializers.
44339
44340 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44341
44342         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44343         __feraiseexcept instead of feraiseexcept.
44344
44345 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44346
44347         * math/math_private.h: Define defaults for libc_fetestexcept and
44348         libc_feupdateenv.
44349         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44350         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44351         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44352         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44353         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44354         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44355         libc_fetestexcept and libc_feupdateenv.
44356
44357         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44358         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44359         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44360         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44361         libc_feholdexcept_setround.
44362
44363         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44364         Add s_nearbyint-c and s_nearbyintf-c.
44365         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44366         nearbyintf inlines.
44367         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44368         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44369         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44370         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44371
44372         * math/math_private.h: Define defaults for libc_fegetround,
44373         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44374         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44375         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44376         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44377         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44378         standard functions.
44379         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44380         Remove comments and hacks for old compiler versions.
44381         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44382         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44383         libc_feholdexceptl.
44384
44385 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44386
44387         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44388         (__feraiseexcept_renamed): Add __NTH.
44389         (feraiseexcept): Add __NTH.  Rename local variables to fix
44390         namespace violations.
44391
44392 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44393
44394         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44395
44396         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44397
44398         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44399         recently added interfaces.
44400         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44401
44402         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44403         about macro parameter expansion.
44404
44405         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44406         __NO_MATH_INLINES is defined.  Cleanups.
44407
44408         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44409         and __floorf is target has SSE4.1.
44410         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44411         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44412         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44413         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44414
44415         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44416         name.
44417         (floorf): Likewise.
44418
44419         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44420
44421 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44422
44423         * misc/sys/cdefs.h: Fix last change.
44424
44425         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44426         database lookup.
44427
44428 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44429
44430         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44431
44432         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44433         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44434         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44435         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44436         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44437         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44438         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44439         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44440         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44441         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44442         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44443         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44444         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44445         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44446         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44447         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44448         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44449         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44450         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44451         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44452         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44453         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44454
44455         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44456         ceil, ceilf, floor, floorf.
44457
44458         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44459         Perform IRELATIVE relocations last.
44460
44461         * elf/do-rel.h: Add another parameter nrelative, replacing the
44462         local variable with the same name.  Change name of the function
44463         to end in Rel or Rela (uppercase).
44464         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44465         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44466         elf_dynamic_do_##reloc function.
44467
44468 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44469
44470         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44471         is sufficient, at least on modern CPUs.
44472
44473         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44474
44475         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44476         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44477
44478         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44479         __expl_finite.
44480         * math/bits/math-finite.h: Add entries for exp.
44481         * math/e_expl.c: Add __*_finite alias.
44482         * sysdeps/i386/fpu/e_exp.S: Likewise.
44483         * sysdeps/i386/fpu/e_expf.S: Likewise.
44484         * sysdeps/i386/fpu/e_expl.c: Likewise.
44485         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44486         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44487         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44488         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44489         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44490         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44491         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44492
44493         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44494         is sufficient, at least on modern CPUs.
44495
44496         * ctype/ctype-info.c (__ctype_init): Define.
44497         * include/ctype.h (__ctype_init): Declare.
44498         (__ctype_b_loc): The variable is always initialized.
44499         (__ctype_toupper_loc): Likewise.
44500         (__ctype_tolower_loc): Likewise.
44501         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44502         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44503
44504 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44505
44506         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44507
44508         * configure.in: Also look in $cxxmachine/include for C++ system
44509         headers.
44510
44511 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44512
44513         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44514         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44515         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44516         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44517         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44518         (USE_AS_WMEMCMP): New macro.
44519         Fixing indents.
44520         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44521         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44522         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44523         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44524         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44525         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44526         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44527         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44528         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44529         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44530         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44531         (USE_AS_WMEMCMP): New macro.
44532         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44533         * sysdeps/string/test-memcmp.c: Update.
44534         Fix simple_wmemcmp.
44535         Add new tests.
44536         * wcsmbs/wmemcmp.c: Update.
44537         (WMEMCMP): New macro.
44538         Fix overflow bug.
44539
44540 2011-10-12  Andreas Jaeger  <aj@suse.de>
44541
44542         [BZ #13268]
44543         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44544
44545 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44546
44547         * libio/iofwide.c (do_length): Avoid warning.
44548
44549         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44550
44551 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44552
44553         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44554
44555         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44556         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44557         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44558         * sysdeps/i386/i686/fpu/e_log.S: New file.
44559         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44560         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44561
44562         * ctype/ctype.h: Add support for inlined isXXX functions when
44563         compiling C++ code.
44564
44565 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44566
44567         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44568
44569         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44570
44571 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44572
44573         [BZ #13291]
44574         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44575
44576 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44577
44578         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44579         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44580         feraiseexcept.
44581
44582         * sysdeps/x86_64/memrchr.S: Check for zero size.
44583
44584         * string/stratcliff.c: Add memrchr tests.
44585
44586 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44587
44588         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44589         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44590         rawmemchr-sse2 rawmemchr-sse2-bsf.
44591         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44592         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44593         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44594         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44595         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44596         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44597         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44598         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44599         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44600         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44601         * string/memrchr.c (MEMRCHR): New macro.
44602
44603 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44604
44605         Add integration with gcc's -ffinite-math-only and optimize wrapper
44606         functions in libm.
44607         * Versions.def: Define GLIBC_2.15 version for libm.
44608         * math/Makefile (headers): Add bits/math-finite.h.
44609         * math/bits/math-finite.h: New file.
44610         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44611         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44612         * math/e_acoshl.c: Add __*_finite alias.
44613         * math/e_acosl.c: Likewise.
44614         * math/e_asinl.c: Likewise.
44615         * math/e_atan2l.c: Likewise.
44616         * math/e_atanhl.c: Likewise.
44617         * math/e_coshl.c: Likewise.
44618         * math/e_exp10.c: Likewise.
44619         * math/e_exp10f.c: Likewise.
44620         * math/e_exp10l.c: Likewise.
44621         * math/e_exp2l.c: Likewise.
44622         * math/e_fmodl.c: Likewise.
44623         * math/e_gammal_r.c: Likewise.
44624         * math/e_hypotl.c: Likewise.
44625         * math/e_j0l.c: Likewise.
44626         * math/e_j1l.c: Likewise.
44627         * math/e_jnl.c: Likewise.
44628         * math/e_lgammal_r.c: Likewise.
44629         * math/e_log10l.c: Likewise.
44630         * math/e_log2l.c: Likewise.
44631         * math/e_logl.c: Likewise.
44632         * math/e_powl.c: Likewise.
44633         * math/e_sinhl.c: Likewise.
44634         * math/e_sqrtl.c: Likewise.
44635         * math/e_scalb.c: Completely rewritten and optimized.
44636         * math/e_scalbf.c: Likewise.
44637         * math/e_scalbl.c: Likewise.
44638         * math/w_acos.c: Likewise.
44639         * math/w_acosf.c: Likewise.
44640         * math/w_acosl.c: Likewise.
44641         * math/w_acosh.c: Likewise.
44642         * math/w_acoshf.c: Likewise.
44643         * math/w_acoshl.c: Likewise.
44644         * math/w_asin.c: Likewise.
44645         * math/w_asinf.c: Likewise.
44646         * math/w_asinl.c: Likewise.
44647         * math/w_atan2.c: Likewise.
44648         * math/w_atan2f.c: Likewise.
44649         * math/w_atan2l.c: Likewise.
44650         * math/w_atanh.c: Likewise.
44651         * math/w_atanhf.c: Likewise.
44652         * math/w_atanhl.c: Likewise.
44653         * math/w_exp10.c: Likewise.
44654         * math/w_exp10f.c: Likewise.
44655         * math/w_exp10l.c: Likewise.
44656         * math/w_fmod.c: Likewise.
44657         * math/w_fmodf.c: Likewise.
44658         * math/w_fmodl.c: Likewise.
44659         * math/w_j0.c: Likewise.
44660         * math/w_j0f.c: Likewise.
44661         * math/w_j0l.c: Likewise.
44662         * math/w_j1.c: Likewise.
44663         * math/w_j1f.c: Likewise.
44664         * math/w_j1l.c: Likewise.
44665         * math/w_jn.c: Likewise.
44666         * math/w_jnf.c: Likewise.
44667         * math/w_log.c: Likewise.
44668         * math/w_logf.c: Likewise.
44669         * math/w_logl.c: Likewise.
44670         * math/w_log10.c: Likewise.
44671         * math/w_log10f.c: Likewise.
44672         * math/w_log10l.c: Likewise.
44673         * math/w_log2.c: Likewise.
44674         * math/w_log2f.c: Likewise.
44675         * math/w_log2l.c: Likewise.
44676         * math/w_pow.c: Likewise.
44677         * math/w_powf.c: Likewise.
44678         * math/w_powl.c: Likewise.
44679         * math/w_remainder.c: Likewise.
44680         * math/w_remainderf.c: Likewise.
44681         * math/w_remainderl.c: Likewise.
44682         * math/w_scalb.c: Likewise.
44683         * math/w_scalbf.c: Likewise.
44684         * math/w_scalbl.c: Likewise.
44685         * math/w_sqrt.c: Likewise.
44686         * math/w_sqrtf.c: Likewise.
44687         * math/w_sqrtl.c: Likewise.
44688         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44689         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44690         used.
44691         * math/math_private.h: Declare __kernel_standard_f.
44692         * math/w_cosh.c: Remove cruft and optimize a bit.
44693         * math/w_coshf.c: Likewise.
44694         * math/w_coshl.c: Likewise.
44695         * math/w_exp2.c: Likewise.
44696         * math/w_exp2f.c: Likewise.
44697         * math/w_exp2l.c: Likewise.
44698         * math/w_hypot.c: Likewise.
44699         * math/w_hypotf.c: Likewise.
44700         * math/w_hypotl.c: Likewise.
44701         * math/w_lgamma.c: Likewise.
44702         * math/w_lgamma_r.c: Likewise.
44703         * math/w_lgammaf.c: Likewise.
44704         * math/w_lgammaf_r.c: Likewise.
44705         * math/w_lgammal.c: Likewise.
44706         * math/w_lgammal_r.c: Likewise.
44707         * math/w_sinh.c: Likewise.
44708         * math/w_sinhf.c: Likewise.
44709         * math/w_sinhl.c: Likewise.
44710         * math/w_tgamma.c: Likewise.
44711         * math/w_tgammaf.c: Likewise.
44712         * math/w_tgammal.c: Likewise.
44713         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44714         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44715         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44716         Minor optimizations.  Pretty printing.  Remove cruft.
44717         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44718         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44719         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44720         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44721         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44722         * sysdeps/i386/fpu/e_asin.S: Likewise.
44723         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44724         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44725         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44726         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44727         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44728         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44729         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44730         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44731         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44732         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44733         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44734         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44735         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44736         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44737         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44738         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44739         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44740         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44741         * sysdeps/i386/fpu/e_log.S: Likewise.
44742         * sysdeps/i386/fpu/e_log10.S: Likewise.
44743         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44744         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44745         * sysdeps/i386/fpu/e_log2.S: Likewise.
44746         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44747         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44748         * sysdeps/i386/fpu/e_logf.S: Likewise.
44749         * sysdeps/i386/fpu/e_logl.S: Likewise.
44750         * sysdeps/i386/fpu/e_pow.S: Likewise.
44751         * sysdeps/i386/fpu/e_powf.S: Likewise.
44752         * sysdeps/i386/fpu/e_powl.S: Likewise.
44753         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44754         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44755         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44756         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44757         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44758         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44759         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44760         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44761         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44762         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44763         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44764         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44765         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44766         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44767         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44768         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44769         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44770         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44771         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44772         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44773         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44774         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44775         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44776         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44777         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44778         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44779         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44780         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44781         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44782         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44783         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44784         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44785         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44786         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44787         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44788         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44789         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44790         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44791         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44792         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44793         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44794         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44795         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44796         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44797         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44798         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44799         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44800         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44801         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44802         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44803         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44804         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44805         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44806         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44807         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44808         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44809         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44810         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44811         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44812         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44813         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44814         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44815         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44816         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44817         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44818         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44819         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44820         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44821         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44822         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44823         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44824         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44825         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44826         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44827         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44828         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44829         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44830         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44831         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44832         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44833         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44834         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44835         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44836         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44837         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44838         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44839         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44840         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44841         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44842         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44843         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44844         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44845         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44846         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44847         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44848         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44849         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44850         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44851         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44852         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44853         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44854         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44855         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44856         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44857         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44858         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44859         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44860         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44861         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44862         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44863         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44864         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44865         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44866         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44867         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44868         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44869         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44870         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44871         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44872         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44873         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44874         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44875         (__isnanf): Likewise.
44876         (__isinf_ns): Likewise.
44877         (__isinf_nsf): Likewise.
44878         (__finite): Likewise.
44879         (__finitef): Likewise.
44880         (__ieee754_sqrt): Define as macro.
44881         (__ieee754_sqrtf): Define as macro.
44882         (__ieee754_sqrtl): Define as macro.
44883         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44884         inlined copy.
44885         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44886         __FINITE_MATH_ONLY__ consistent.
44887         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44888
44889 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44890
44891         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44892         of rawmemchr.
44893
44894         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44895
44896 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44897
44898         * po/ja.po: Update from translation team.
44899
44900 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44901
44902         * locale/programs/locarchive.c (prepare_address_space): New function.
44903         (create_archive, enlarge_archive, open_archive): Use it.
44904
44905         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44906         inside [SHARED], where it is used.
44907
44908         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44909
44910         * nss/getent.c (netgroup_keys): Remove unused variable.
44911         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44912
44913 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44914
44915         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44916         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44917         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44918         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44919         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44920         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44921         * math/Makefile (libm-calls): Add s_isinf_ns.
44922         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44923         * math/multc3.c: Likewise.
44924         * math/s_casin.c: Likewise.
44925         * math/s_casinf.c: Likewise.
44926         * math/s_casinl.c: Likewise.
44927         * math/s_ccos.c: Likewise.
44928         * math/s_ccosf.c: Likewise.
44929         * math/s_ccosl.c: Likewise.
44930         * math/s_ctan.c: Likewise.
44931         * math/s_ctanf.c: Likewise.
44932         * math/s_ctanh.c: Likewise.
44933         * math/s_ctanhf.c: Likewise.
44934         * math/s_ctanhl.c: Likewise.
44935         * math/s_ctanl.c: Likewise.
44936         * math/w_fmod.c: Likewise.
44937         * math/w_fmodf.c: Likewise.
44938         * math/w_fmodl.c: Likewise.
44939         * math/w_remainder.c: Likewise.
44940         * math/w_remainderf.c: Likewise.
44941         * math/w_remainderl.c: Likewise.
44942         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44943         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44944         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44946         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44947         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44948         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44949         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44950
44951         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44952         of the number.
44953         * stdio-common/printf_fphex.c: Likewise.
44954         * stdio-common/printf_size.c: Likewise.
44955
44956         * math/e_exp10.c: Include math_private.h using <...> not "...".
44957         * math/e_exp10f.c: Likewise.
44958         * math/e_exp10l.c: Likewise.
44959         * math/e_exp2l.c: Likewise.
44960         * math/e_j0l.c: Likewise.
44961         * math/e_j1l.c: Likewise.
44962         * math/e_jnl.c: Likewise.
44963         * math/e_lgammal_r.c: Likewise.
44964         * math/e_rem_pio2l.c: Likewise.
44965         * math/e_scalb.c: Likewise.
44966         * math/e_scalbf.c: Likewise.
44967         * math/e_scalbl.c: Likewise.
44968         * math/k_cosl.c: Likewise.
44969         * math/k_sinl.c: Likewise.
44970         * math/k_tanl.c: Likewise.
44971         * math/s_cacoshf.c: Likewise.
44972         * math/s_catan.c: Likewise.
44973         * math/s_catanf.c: Likewise.
44974         * math/s_catanh.c: Likewise.
44975         * math/s_catanhf.c: Likewise.
44976         * math/s_catanhl.c: Likewise.
44977         * math/s_catanl.c: Likewise.
44978         * math/s_ccosh.c: Likewise.
44979         * math/s_ccoshf.c: Likewise.
44980         * math/s_ccoshl.c: Likewise.
44981         * math/s_cexp.c: Likewise.
44982         * math/s_cexpf.c: Likewise.
44983         * math/s_cexpl.c: Likewise.
44984         * math/s_clog.c: Likewise.
44985         * math/s_clog10.c: Likewise.
44986         * math/s_clog10f.c: Likewise.
44987         * math/s_clog10l.c: Likewise.
44988         * math/s_clogf.c: Likewise.
44989         * math/s_clogl.c: Likewise.
44990         * math/s_csin.c: Likewise.
44991         * math/s_csinf.c: Likewise.
44992         * math/s_csinh.c: Likewise.
44993         * math/s_csinhf.c: Likewise.
44994         * math/s_csinhl.c: Likewise.
44995         * math/s_csinl.c: Likewise.
44996         * math/s_csqrt.c: Likewise.
44997         * math/s_csqrtf.c: Likewise.
44998         * math/s_csqrtl.c: Likewise.
44999         * math/s_ctan.c: Likewise.
45000         * math/s_ctanf.c: Likewise.
45001         * math/s_ctanh.c: Likewise.
45002         * math/s_ctanhf.c: Likewise.
45003         * math/s_ctanhl.c: Likewise.
45004         * math/s_ctanl.c: Likewise.
45005         * math/s_ldexp.c: Likewise.
45006         * math/s_ldexpf.c: Likewise.
45007         * math/s_ldexpl.c: Likewise.
45008         * math/s_significand.c: Likewise.
45009         * math/s_significandf.c: Likewise.
45010         * math/s_significandl.c: Likewise.
45011         * math/w_acos.c: Likewise.
45012         * math/w_acosf.c: Likewise.
45013         * math/w_acosh.c: Likewise.
45014         * math/w_acoshf.c: Likewise.
45015         * math/w_acoshl.c: Likewise.
45016         * math/w_acosl.c: Likewise.
45017         * math/w_asin.c: Likewise.
45018         * math/w_asinf.c: Likewise.
45019         * math/w_asinl.c: Likewise.
45020         * math/w_atan2.c: Likewise.
45021         * math/w_atan2f.c: Likewise.
45022         * math/w_atan2l.c: Likewise.
45023         * math/w_atanh.c: Likewise.
45024         * math/w_atanhf.c: Likewise.
45025         * math/w_atanhl.c: Likewise.
45026         * math/w_cosh.c: Likewise.
45027         * math/w_coshf.c: Likewise.
45028         * math/w_coshl.c: Likewise.
45029         * math/w_dremf.c: Likewise.
45030         * math/w_exp10.c: Likewise.
45031         * math/w_exp10f.c: Likewise.
45032         * math/w_exp10l.c: Likewise.
45033         * math/w_exp2.c: Likewise.
45034         * math/w_exp2f.c: Likewise.
45035         * math/w_fmod.c: Likewise.
45036         * math/w_fmodf.c: Likewise.
45037         * math/w_fmodl.c: Likewise.
45038         * math/w_hypot.c: Likewise.
45039         * math/w_hypotf.c: Likewise.
45040         * math/w_hypotl.c: Likewise.
45041         * math/w_j0.c: Likewise.
45042         * math/w_j0f.c: Likewise.
45043         * math/w_j0l.c: Likewise.
45044         * math/w_j1.c: Likewise.
45045         * math/w_j1f.c: Likewise.
45046         * math/w_j1l.c: Likewise.
45047         * math/w_jn.c: Likewise.
45048         * math/w_jnf.c: Likewise.
45049         * math/w_jnl.c: Likewise.
45050         * math/w_lgamma.c: Likewise.
45051         * math/w_lgamma_r.c: Likewise.
45052         * math/w_lgammaf.c: Likewise.
45053         * math/w_lgammaf_r.c: Likewise.
45054         * math/w_lgammal.c: Likewise.
45055         * math/w_lgammal_r.c: Likewise.
45056         * math/w_log.c: Likewise.
45057         * math/w_log10.c: Likewise.
45058         * math/w_log10f.c: Likewise.
45059         * math/w_log10l.c: Likewise.
45060         * math/w_log2.c: Likewise.
45061         * math/w_log2f.c: Likewise.
45062         * math/w_log2l.c: Likewise.
45063         * math/w_logf.c: Likewise.
45064         * math/w_logl.c: Likewise.
45065         * math/w_pow.c: Likewise.
45066         * math/w_powf.c: Likewise.
45067         * math/w_powl.c: Likewise.
45068         * math/w_remainder.c: Likewise.
45069         * math/w_remainderf.c: Likewise.
45070         * math/w_remainderl.c: Likewise.
45071         * math/w_scalb.c: Likewise.
45072         * math/w_scalbf.c: Likewise.
45073         * math/w_scalbl.c: Likewise.
45074         * math/w_sinh.c: Likewise.
45075         * math/w_sinhf.c: Likewise.
45076         * math/w_sinhl.c: Likewise.
45077         * math/w_sqrt.c: Likewise.
45078         * math/w_sqrtf.c: Likewise.
45079         * math/w_sqrtl.c: Likewise.
45080         * math/w_tgamma.c: Likewise.
45081         * math/w_tgammaf.c: Likewise.
45082         * math/w_tgammal.c: Likewise.
45083
45084         * po/ja.po: Update from translation team.
45085
45086 2011-09-29  Andreas Jaeger  <aj@suse.de>
45087
45088         [BZ #13179]
45089         * sunrpc/netname.c (netname2host): Fix logic.
45090
45091         [BZ #6779]
45092         [BZ #6783]
45093         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45094         correctly.
45095         * math/w_remainder.c (__remainder): Likewise.
45096         * math/w_remainderf.c (__remainderf): Likewise.
45097         * math/libm-test.inc (remainder_test): Add test cases.
45098
45099 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45100
45101         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45102         sdiv_qrnnd.
45103
45104 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45105
45106         * string/test-memcmp.c: Avoid unncessary #defines.
45107         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45108
45109 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45110
45111         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45112         Use new sse2 version for core i3 - i7 as it's faster
45113         than sse42 version.
45114         (bit_Prefer_PMINUB_for_stringop): New.
45115         * sysdeps/x86_64/rawmemchr.S: Update.
45116         Replace with faster SSE2 version.
45117         * sysdeps/x86_64/memrchr.S: New file.
45118         * sysdeps/x86_64/memchr.S: Update.
45119         Replace with faster SSE2 version.
45120
45121 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45122
45123         * elf/dl-load.c (lose): Add cast to avoid warning.
45124
45125 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45126
45127         * po/ca.po: Update from translation team.
45128
45129         * inet/getnetgrent_r.c: Hook up nscd.
45130         * nscd/Makefile (routines): Add nscd_netgroup.
45131         (nscd-modules): Add netgroupcache.
45132         (CFLAGS-netgroupcache.c): Define.
45133         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45134         (cache_search): Add const to second parameter.
45135         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45136         INNETGR.
45137         (dbs): Add netgrdb entry.
45138         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45139         (verify_persistent_db): Handle netgrdb.
45140         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45141         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45142         GETFDNETGR.
45143         (netgroup_response_header): Define.
45144         (innetgroup_response_header): Define.
45145         (datahead): Add netgroup_response_header and innetgroup_response_header
45146         elements.
45147         * nscd/nscd.conf: Add entries for netgroup cache.
45148         * nscd/nscd.h (dbtype): Add netgrdb.
45149         (_PATH_NSCD_NETGROUP_DB): Define.
45150         (netgroup_iov_disabled): Declare.
45151         (xmalloc, xcalloc, xrealloc): Move declarations here.
45152         (cache_search): Adjust prototype.
45153         Add netgroup-related prototypes.
45154         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45155         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45156         (__nscd_innetgr): Declare.
45157         * nscd/selinux.c (perms): Use access_vector_t as element type and
45158         add netgroup-related initializers.
45159         * nscd/netgroupcache.c: New file.
45160         * nscd/nscd_netgroup.c: New file.
45161         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45162         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45163         For four parameters use innetgr.
45164         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45165         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45166         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45167         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45168
45169         * nscd/connections.c (register_traced_file): Don't register file
45170         for disabled databases.
45171
45172 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45173
45174         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45175
45176         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45177         from tree and freeing node.
45178
45179 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45180
45181         * nss/nsswitch.c (__nss_database_lookup): Handle
45182         nss_parse_service_list out of memory case.
45183
45184 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45185
45186         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45187         out of memory case.
45188
45189 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45190
45191         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45192         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45193         pass it down.
45194         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45195         elf_machine_rela, elf_machine_lazy_rel.
45196         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45197         (ELF_DYNAMIC_DO_REL): Likewise.
45198         (ELF_DYNAMIC_DO_RELA): Likewise.
45199         (ELF_DYNAMIC_RELOCATE): Likewise.
45200         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45201         to ELF_DYNAMIC_DO_REL.
45202         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45203         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45204         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45205         elf_machine_rela.
45206         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45207         skip_ifunc, don't call ifunc function if non-zero.
45208         (elf_machine_rela): Likewise.
45209         (elf_machine_lazy_rel): Likewise.
45210         (elf_machine_lazy_rela): Likewise.
45211         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45212         (elf_machine_lazy_rel): Likewise.
45213         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45214         Likewise.
45215         (elf_machine_lazy_rel): Likewise.
45216         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45217         Likewise.
45218         (elf_machine_lazy_rel): Likewise.
45219         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45220         (elf_machine_lazy_rel): Likewise.
45221         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45222         (elf_machine_lazy_rel): Likewise.
45223         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45224         (elf_machine_lazy_rel): Likewise.
45225         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45226         (elf_machine_lazy_rel): Likewise.
45227         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45228         (elf_machine_lazy_rel): Likewise.
45229         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45230         (elf_machine_lazy_rel): Likewise.
45231
45232 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45233
45234         * nss/nss_files/files-init.c (_nss_files_init): Use static
45235         initialization for all the *_traced_file variables.
45236
45237 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45238
45239         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45240
45241 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45242
45243         [BZ #13226]
45244         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45245
45246 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45247
45248         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45249         Reread the line before reparsing it.
45250
45251 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45252
45253         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45254
45255 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45256             Maxim Kuvyrkov  <maxim@codesourcery.com>
45257             Joseph Myers  <joseph@codesourcery.com>
45258
45259         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45260         if needed for __stack_chk_guard.
45261
45262 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45263
45264         * sysdeps/posix/spawni.c (script_execute): Always define it.
45265         It will be optimized away if unused.
45266         (maybe_script_execute): New function.
45267         (__spawni): Call it.
45268
45269         * Makerules: Don't include tls.make.
45270         (config-tls): Always set to thread.
45271         * tls.make.c: File removed.
45272
45273 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45274
45275         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45276         * config.make.in (CPPFLAGS-config): New substituted variable.
45277
45278 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45279
45280         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45281
45282         [BZ #13192]
45283         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45284         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45285
45286 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45287
45288         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45289         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45290         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45291         (CALL_FAIL): Likewise.
45292         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45293         (CALL_FAIL): Macro removed.
45294         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45295
45296 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45297
45298         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45299         for __FINITE_MATH_ONLY__ == 1.
45300
45301 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45302
45303         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45304         __ieee754_sqrt instead of sqrt.
45305         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45306         __ieee754_sqrtf instead of sqrtf.
45307         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45308         __floorf instead of floorf.
45309         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45310         __floorf, __truncf instead of floorf, truncf.
45311
45312 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45313
45314         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45315
45316         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45317         __extern_always_inline.
45318         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45319         32-bit.
45320
45321 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45322
45323         * elf/rtld.c (dl_main): Also relocate in dependency order when
45324         doing symbol dependency testing.
45325
45326 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45327
45328         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45329         Always define `refsym'.
45330
45331 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45332
45333         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45334         (__FD_ELT): Renamed from __FDELT.
45335         * misc/bits/select2.h (__FD_ELT): Likewise.
45336         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45337         __FD_MASK instead of __FDELT, __FDMASK.
45338         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45339         Likewise.
45340         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45341         Likewise.
45342
45343         * elf/Makefile (gen-ldd): Fix pattern.
45344
45345         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45346         (init_tls): Likewise.
45347
45348 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45349
45350         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45351
45352 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45353
45354         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45355         `struct cmsghdr *' instead of `void *'.
45356         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45357         Likewise.
45358
45359 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45360
45361         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45362         if non-absolute.
45363         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45364         ldd_rewrite_script.
45365
45366 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45367
45368         * configure.in: Remove --with-tls option.
45369         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45370         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45371         out in case it is missing.
45372         * sysdeps/ia64/elf/configure.in: Likewise.
45373         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45374         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45375         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45376         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45377         * sysdeps/sh/elf/configure.in: Likewise.
45378         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45379         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45380         * sysdeps/x86_64/elf/configure.in: Likewise.
45381         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45382         * sysdeps/mach/hurd/tls.h: Likewise.
45383
45384         [BZ #13067]
45385         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45386
45387         [BZ #13090]
45388         * configure.in: Fix use of AC_INIT.
45389
45390         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45391
45392 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45393
45394         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45395         __set_errno.
45396         * malloc/hooks.c: Likewise.
45397
45398         [BZ #11929]
45399         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45400         variables statically.
45401         (narenas): Initialize.
45402         (list_lock): Initialize.
45403         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45404         initializtion of main_arena and list_lock.  Small cleanups.
45405         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45406         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45407         Add initializers to main_arena and mp_.
45408         (malloc_state): Remove pagesize member.  Change all users to use
45409         GLRO(dl_pagesize).
45410
45411         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45412         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45413         is always initialized.
45414
45415         * malloc/malloc.c: Removed unused configurations and dead code.
45416         * malloc/arena.c: Likewise.
45417         * malloc/hooks.c: Likewise.
45418         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45419
45420         * include/tls.h: Removed.  USE___THREAD must always be defined.
45421         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45422         * elf/dl-libc.c: Likewise.
45423         * elf/dl-tsd.c: Likewise.
45424         * include/errno.h: Likewise.
45425         * include/netdb.h: Likewise.
45426         * include/resolv.h: Likewise.
45427         * inet/herrno-loc.c: Likewise.
45428         * inet/herrno.c: Likewise.
45429         * malloc/arena.c: Likewise.
45430         * malloc/hooks.c: Likewise.
45431         * malloc/malloc.c: Likewise.
45432         * resolv/res-state.c: Likewise.
45433         * resolv/res_libc.c: Likewise.
45434         * sysdeps/i386/dl-machine.h: Likewise.
45435         * sysdeps/ia64/dl-machine.h: Likewise.
45436         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45437         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45438         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45439         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45440         * sysdeps/sh/dl-machine.h: Likewise.
45441         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45442         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45443         * sysdeps/unix/i386/sysdep.S: Likewise.
45444         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45445         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45446         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45447         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45448         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45449         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45450         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45451         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45453         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45454         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45455         * sysdeps/x86_64/dl-machine.h: Likewise.
45456         * tls.make.c: Likewise.
45457
45458         * configure.in: Remove --with-__thread option.  Make tests for
45459         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45460         tls_model attribute fail if no support is available.  Remove
45461         USE_IN_LIBIO.
45462         * Makeconfig: Adjust for dropped configure option.  All features are
45463         now mandatory.
45464         * Makerules: Likewise.
45465         * Versions.def: Likewise.
45466         * argp/argp-fmtstream.c: Likewise.
45467         * argp/argp-fmtstream.h: Likewise.
45468         * argp/argp-help.c: Likewise.
45469         * assert/assert.c: Likewise.
45470         * config.h.in: Likewise.
45471         * config.make.in: Likewise.
45472         * configure: Likewise.
45473         * configure.in: Likewise.
45474         * csu/Versions: Likewise.
45475         * csu/init.c: Likewise.
45476         * elf/tst-audit2.c: Likewise.
45477         * elf/tst-tls10.c: Likewise.
45478         * elf/tst-tls10.h: Likewise.
45479         * elf/tst-tls11.c: Likewise.
45480         * elf/tst-tls12.c: Likewise.
45481         * elf/tst-tls14.c: Likewise.
45482         * elf/tst-tlsmod11.c: Likewise.
45483         * elf/tst-tlsmod12.c: Likewise.
45484         * elf/tst-tlsmod13.c: Likewise.
45485         * elf/tst-tlsmod13a.c: Likewise.
45486         * elf/tst-tlsmod14a.c: Likewise.
45487         * elf/tst-tlsmod15b.c: Likewise.
45488         * elf/tst-tlsmod16a.c: Likewise.
45489         * elf/tst-tlsmod16b.c: Likewise.
45490         * elf/tst-tlsmod7.c: Likewise.
45491         * elf/tst-tlsmod8.c: Likewise.
45492         * elf/tst-tlsmod9.c: Likewise.
45493         * gmon/gmon.c: Likewise.
45494         * grp/fgetgrent_r.c: Likewise.
45495         * grp/putgrent.c: Likewise.
45496         * hurd/fopenport.c: Likewise.
45497         * include/libc-symbols.h: Likewise.
45498         * include/tls.h: Likewise.
45499         * intl/gettextP.h: Likewise.
45500         * intl/loadinfo.h: Likewise.
45501         * locale/global-locale.c: Likewise.
45502         * locale/localeinfo.h: Likewise.
45503         * mach/devstream.c: Likewise.
45504         * malloc/arena.c: Likewise.
45505         * malloc/set-freeres.c: Likewise.
45506         * misc/err.c: Likewise.
45507         * misc/getttyent.c: Likewise.
45508         * misc/mntent_r.c: Likewise.
45509         * posix/getopt.c: Likewise.
45510         * posix/wordexp.c: Likewise.
45511         * pwd/fgetpwent_r.c: Likewise.
45512         * resolv/Versions: Likewise.
45513         * resolv/res_hconf.c: Likewise.
45514         * shadow/fgetspent_r.c: Likewise.
45515         * shadow/putspent.c: Likewise.
45516         * stdio-common/printf_fphex.c: Likewise.
45517         * stdio-common/tmpfile.c: Likewise.
45518         * stdlib/abort.c: Likewise.
45519         * stdlib/fmtmsg.c: Likewise.
45520         * sunrpc/auth_unix.c: Likewise.
45521         * sunrpc/clnt_perr.c: Likewise.
45522         * sunrpc/clnt_tcp.c: Likewise.
45523         * sunrpc/clnt_udp.c: Likewise.
45524         * sunrpc/clnt_unix.c: Likewise.
45525         * sunrpc/openchild.c: Likewise.
45526         * sunrpc/svc_simple.c: Likewise.
45527         * sunrpc/svc_tcp.c: Likewise.
45528         * sunrpc/svc_udp.c: Likewise.
45529         * sunrpc/svc_unix.c: Likewise.
45530         * sunrpc/xdr.c: Likewise.
45531         * sunrpc/xdr_array.c: Likewise.
45532         * sunrpc/xdr_rec.c: Likewise.
45533         * sunrpc/xdr_ref.c: Likewise.
45534         * sunrpc/xdr_stdio.c: Likewise.
45535
45536 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45537
45538         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45539
45540 2011-07-03  Andreas Jaeger  <aj@suse.de>
45541
45542         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45543         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45544         regenerate with gen-libm-tests.pl.
45545
45546 2010-05-12  Petr Baudis  <pasky@suse.cz>
45547
45548         [BZ #11589]
45549         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45550         around j0() zero points by switching to j1().
45551         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45552         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45553         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45554         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45555
45556 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45557
45558         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45559         instead of 0.
45560         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45561         instead of 0.
45562         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45563         Patch in part by Pavel Roskin <proski@gnu.org>.
45564
45565         [BZ #13138]
45566         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45567         realloc.
45568         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45569         Free memory block if necessary.
45570
45571         [BZ #12847]
45572         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45573         be NULL.  Don't lock in this case.
45574
45575 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45576
45577         * elf/elf.h (ELFOSABI_GNU): New macro.
45578         (ELFOSABI_LINUX): Define to that.
45579
45580 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45581
45582         * string/strncat.c (strncat): Undef the symbol in case it has been
45583         defined in bits/string.h.
45584
45585 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45586
45587         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45588
45589         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45590         link map.
45591
45592 2011-08-17  Andreas Jaeger  <aj@suse.de>
45593
45594         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45595
45596 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45597             Ian Lance Taylor  <iant@google.com>
45598
45599         * math/libm-test.inc (lround_test): New testcase.
45600         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45601
45602 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45603
45604         * Makefile: Remove support for automatic cvs check-ins.
45605         * Makerules: Likewise.
45606         * config.make.in: Likewise.
45607         * configure.in: Likewise.
45608         * intl/Makefile: Likewise.
45609         * locale/Makefile: Likewise.
45610         * po/Makefile: Likewise.
45611         * posix/Makefile: Likewise.
45612         * sysdeps/gnu/Makefile: Likewise.
45613         * sysdeps/mach/hurd/Makefile: Likewise.
45614         * sysdeps/sparc/sparc32/Makefile: Likewise.
45615
45616         [BZ #13118]
45617         * posix/Makefile (bug-regex32-ENV): Define.
45618         Patch by John Stanley <jpsinthemix@verizon.net>.
45619
45620         * misc/Makefile (headers): Add bits/select2.h.
45621         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45622         * misc/bits/select2.h: New file.
45623         * include/bits/select2.h: New file.
45624         * debug/Makefile (routines): Add fdelt_chk.
45625         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45626         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45627         FD_ISSET.
45628         * debug/fdelt_chk.c: New file.
45629
45630         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45631         * wcsmbs/test-wmemcmp.c: Likewise.
45632         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45633         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45634
45635 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45636
45637         * string/Makefile (strop-tests): Add memcmp.
45638         * string/test-wmemcmp.c: New file.
45639         * string/test-memcmp.c: Add wmemcmp support.
45640
45641 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45642
45643         [BZ #13153]
45644         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45645         2011-07-19 change.
45646
45647         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45648         garbage value in a __mach_port_mod_refs call in the cases of the
45649         task-self and thread-self ports.
45650
45651 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45652
45653         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45654
45655 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45656
45657         * elf/dl-load.c (lose): Check for non-null L.
45658
45659 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45660
45661         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45662
45663         * elf/dl-libc.c (dlerror_run): Pass back error code from
45664         dl_catch_error.
45665
45666         [BZ #13123]
45667         * elf/dl-load.c (lose): Free l_origin if it is valid.
45668
45669         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45670         names.
45671         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45672         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45673         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45674         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45675         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45676         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45677
45678 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45679
45680         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45681         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45682         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45683         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45684         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45685         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45686         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45687         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45688         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45689         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45690
45691 2011-08-15  Alan Modra  <amodra@gmail.com>
45692
45693         [BZ #13092]
45694         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45695         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45696         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45697         ppc_mcount to static-only-routines.
45698         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45699         __mcount_internal.
45700         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45701         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45702
45703 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45704
45705         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45706         for finite and infinity parameters.
45707
45708 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45709
45710         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45711         and add nop instructions for throughput optimization.
45712         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45713
45714 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45715
45716         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45717         aligned copy for power7 with vector-scalar instructions.
45718         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45719
45720 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45721
45722         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45723         AVX check.
45724
45725 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45726
45727         [BZ #13144]
45728         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45729         last change.
45730
45731 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45732
45733         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45734         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45735         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45736         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45737         clock_gettime.
45738
45739 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45740
45741         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45742         Forgot to demangle the pointer.
45743
45744         * sysdeps/i386/sysdep.h: Define atom_text_section.
45745         * sysdeps/x86_64/sysdep.h: Likewise.
45746         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45747         section with atom_text_section.
45748         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45749         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45750         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45751         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45752         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45753
45754         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45755         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45756         already be defined.  Change to take two parameters and don't assign
45757         result to variable.  Adjust all users.
45758         Define INTERNAL_GETTIME if not already defined.
45759         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45760         call.
45761         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45762         HAVE_CLOCK_GETTIME_VSYSCALL.
45763         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45764
45765         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45766         gettimeofday vsyscall, just use time.
45767
45768 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45769
45770         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45771         <errno.h>.
45772
45773 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45774
45775         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45776         syscall on x86-64.
45777         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45778         syscall.
45779         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45780         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45781         syscall if possible.
45782
45783 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45784
45785         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45786         e_ident.  Don't pass to find_mapsXX.
45787         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45788
45789 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45790
45791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45792         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45793         * sysdeps/x86_64/multiarch/strchr.S: Update.
45794         Check bit_slow_BSF bit.
45795         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45796         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45797         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45798
45799 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45800
45801         [BZ #13134]
45802         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45803         before glibc 2.15.
45804         (tryshell): Define.
45805         (__spawni): Change last parameter to be flag.  Test
45806         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45807         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45808         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45809         * posix/spawni.c: Likewise.
45810         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45811         * posix/spawnp.c: Likewise.  Change normal version to use
45812         SPAWN_XFLAGS_USE_PATH.
45813         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45814         SPAWN_XFLAGS_TRY_SHELL.
45815
45816         [BZ #13150]
45817         * posix/glob.h: Remove gcc 1.x support.
45818
45819         [BZ #13068]
45820         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45821
45822 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45823
45824         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45825         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45826         strrchr-sse2-bsf
45827         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45828         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45829         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45830         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45831         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45832         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45833
45834 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45835
45836         * sysdeps/x86_64/wcscmp.S: New file.
45837
45838         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45839         wcscmp-c wcscmp-sse2
45840         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45841         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45842         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45843         * wcsmbs/wcscmp.c: Allow renaming.
45844
45845 2011-09-05  David S. Miller  <davem@davemloft.net>
45846
45847         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45848         stack slot, rather than the struct return pointer slot.
45849         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45850         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45852         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45853
45854 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45855
45856         * po/ja.po: Update from translation team.
45857
45858         [BZ #13144]
45859         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45860         kernel in 64-bit binaries.
45861
45862 2011-09-01  David S. Miller  <davem@davemloft.net>
45863
45864         * elf/elf.h (HWCAP_SPARC_*): Move to..
45865         * sysdeps/sparc/sysdep.h: this new file and add new values.
45866         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45867         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45868         _DL_HWCAP_COUNT to 24.
45869         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45870         entries.
45871         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45872         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45873         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45875         instead of magic constants.
45876         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45877
45878 2011-08-31  David S. Miller  <davem@davemloft.net>
45879
45880         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45881         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45882         Reimplement to do errno handling inline.
45883         (SYSCALL_ERROR_HANDLER): New macro.
45884         (__SYSCALL_STRING): Do not do errno handling in asm.
45885         (__CLONE_SYSCALL_STRING): Delete.
45886         (__INTERNAL_SYSCALL_STRING): Delete.
45887         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45888         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45889         (PSEUDO): Reimplement to do errno handling inline.
45890         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45891         (SYSCALL_ERROR_HANDLER): New macro.
45892         (__SYSCALL_STRING): Do not do errno handling in asm.
45893         (__CLONE_SYSCALL_STRING): Delete.
45894         (__INTERNAL_SYSCALL_STRING): Delete.
45895         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45896         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45897         i386.
45898         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45899         (inline_syscall*): Add 'err' argument.
45900         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45901         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45902         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45903         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45904
45905         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45906         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45907
45908 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45909
45910         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45911
45912 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45913
45914         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45915         directive.
45916
45917 2011-08-24  David S. Miller  <davem@davemloft.net>
45918
45919         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45920
45921 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45922
45923         * elf/Makefile: Add rules to build and run unload8 test.
45924         * elf/unload8.c: New file.
45925         * elf/unload8mod1.c: New file.
45926         * elf/unload8mod1x.c: New file.
45927         * elf/unload8mod2.c: New file.
45928         * elf/unload8mod3.c: New file.
45929
45930         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45931         it wasn't used.
45932
45933 2011-08-23  David S. Miller  <davem@davemloft.net>
45934
45935         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45936         subtract stack bias.
45937         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45938         %sp not %fp in calculations.
45939         (_JMPBUF_UNWINDS_ADJ): Likewise.
45940
45941         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45942         (aio_suspend): Call it to force an exception region around the
45943         AIO_MISC_WAIT() invocation.
45944
45945 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45946
45947         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45948         backslash.
45949
45950 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45951
45952         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45953         protection macro.
45954         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45955         and <dl-machine.h>.
45956         (Elf64_FuncDesc): Remove.
45957
45958 2011-08-22  David S. Miller  <davem@davemloft.net>
45959
45960         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45961         sigaltstack check, add missing cfi directives.
45962         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45963         missing cfi directives, and sigaltstack handling.
45964
45965 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45966
45967         [BZ #11724]
45968         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45969         object is seen twice.
45970         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45971
45972         * elf/Makefile (distribute): Add tst-initorder2.c.
45973         (tests): Add tst-initorder2.
45974         (modules-names): Add tst-initorder2a tst-initorder2b
45975         tst-initorder2c tst-initorder2d.  Add rules to build them.
45976         ($(objpfx)tst-initorder2.out): New rule.
45977         * elf/tst-initorder2.c: New file.
45978         * elf/tst-initorder2.exp: New file.
45979
45980 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45981
45982         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45983
45984         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45985         dependencies back to end of function.
45986
45987         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45988         $(elfobjdir)/ld.so.
45989
45990 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45991
45992         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45993         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45994         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45995         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45996         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45997         of __vdso_gettimeofday.
45998         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45999         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46000         attribute_hidden.
46001         (_libc_vdso_platform_setup): Remove initialization of
46002         __vdso_gettimeofday and __vdso_time.
46003
46004 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46005
46006         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46007         and fgetc_unlocked.
46008         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46009         getc_unlocked.
46010
46011         * elf/dl-open.c (add_to_global): Report additions to the global scope
46012         for LD_DEBUG=scopes.
46013         (dl_open_worker): Also print scope of newly loaded dependencies.
46014         (_dl_show_scope): Indicate if there is no scope.
46015
46016         [BZ #13114]
46017         * stdio-common/Makefile (tests): Add bug24.
46018         * stdio-common/bug24.c: New file.
46019
46020 2011-08-19  Andreas Jaeger  <aj@suse.de>
46021
46022         [BZ #13114]
46023         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46024         non-existant file when using close-on-exec mode.
46025
46026 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46027
46028         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46029         the very first instruction.
46030
46031         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46032         the CFI state in the end.
46033         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46034         inclusion of dl-trampoline.h.
46035         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46036
46037 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46038
46039         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46040         expectations for long double.
46041
46042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46043         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46044
46045 2011-08-14  David S. Miller  <davem@davemloft.net>
46046
46047         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46048         artificual limit depends upon the system page size.
46049
46050 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46051
46052         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46053         * resolv/Makefile: Define CFLAGS-libresolv.
46054
46055 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46056
46057         * nss/makedb.c (compute_tables): Make variables used in nested
46058         function static.
46059
46060 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46061
46062         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46063         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46064         if buffer was too small.
46065
46066         * elf/pldd.c (main): Attach to all threads in the process.
46067         Rewrite /proc handling to use *at functions.
46068
46069 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46070
46071         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46072         specifies first scope to show.
46073         (dl_open_worker): Update callers.  Move printing scope of new
46074         object to before the relocation.
46075         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46076         * sysdeps/generic/ldsodefs.h: Update declaration.
46077
46078         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46079         string for the scope number.
46080
46081 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46082
46083         * nscd/servicescache.c (cache_addserv): Make sure written is always
46084         initialized.
46085
46086 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46087
46088         * sysdeps/i386/i486/bits/atomic.h
46089         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46090         statement expression, so as to suppress "set but not used" warning.
46091         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46092
46093         * string/strncat.c (STRNCAT): Use prototype definition.
46094
46095         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46096         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46097         -Iprograms here.
46098         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46099         (localedef-modules): Add localedef.
46100         (locale-modules): Add locale.
46101
46102         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46103         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46104         to avoid a warning.
46105
46106 2011-08-14  David S. Miller  <davem@davemloft.net>
46107
46108         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46109         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46110
46111 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46112
46113         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46114         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46115         * elf/rtld.c (dl_main): Set l_name of vDSO.
46116         Call _dl_show_scope when DL_DEBUG_SCOPES.
46117         (process_dl_debug): Recognize scopes flag and also set it for all.
46118         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46119         Declare _dl_show_scope.
46120
46121         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46122         (do_dlopen): Pass caller_dlopen to dl_open.
46123         (__libc_dlopen_mode): Initialize caller_dlopen.
46124
46125         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46126         of libc.  Make tolower call locale-independent.  Optimize a bit by
46127         using isdigit instead of isalnum.
46128         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46129
46130 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46131
46132         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46133         was a dependency or dynamically loaded.
46134
46135 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46136
46137         * intl/l10nflist.c: Allow architecture-specific pop function.
46138         * sysdeps/x86_64/l10nflist.c: New file.
46139
46140         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46141         classification.
46142
46143 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46144
46145         * include/dirent.h: Add libc_hidden_proto for scandirat and
46146         scandirat64.  Don't declare __scandirat64.
46147         * dirent/scandirat.c: Add libc_hidden_def.
46148         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46149         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46150
46151 2011-08-10  David S. Miller  <davem@davemloft.net>
46152
46153         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46154         enum.
46155         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46156         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46157         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46158
46159 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46160
46161         * Versions.def [libc]: Add GLIBC_2.15.
46162         * dirent/Makefile (routines): Add scandirat and scandirat64.
46163         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46164         GLIBC_2.15.
46165         * dirent/dirent.h: Declare scandirat and scandirat64.
46166         * dirent/scandirat.c: New file.
46167         * dirent/scandirat64.c: New file.
46168         * sysdeps/wordsize-64/scandirat.c: New file.
46169         * sysdeps/wordsize-64/scandirat64.c: New file.
46170         * dirent/opendir.c: Define opendirat.
46171         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46172         using scandirat.
46173         * dirent/scandir64.c: Adjust for scandir.c change.
46174         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46175         __scandirat64, and __scandir_cancel_handler.
46176         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46177         additional parameter and use openat instead of open (outside of ld.so).
46178         Add new __opendir as wrapper around __opendirat.
46179         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46180         here without requiring old scandirat implementation.
46181
46182 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46183
46184         * dirent/scandir.c (cancel_handler): Renamed to
46185         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46186         defined.  Adjust users.
46187         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46188         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46189
46190 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46191
46192         * string/test-string.h (IMPL): Use __STRING to expand name and then
46193         stringify it.
46194
46195         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46196         of cleanups.
46197
46198 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46199
46200         * string/Makefile: Update.
46201         (strop-tests): Append strncat.
46202         * string/test-wcscmp.c: New file.
46203         New comprehensive test for wcscmp.
46204         * string/test-strcmp.c: Update.
46205         (WIDE): New define.
46206
46207 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46208
46209         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46210         line.
46211
46212 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46213
46214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46215         encoding to ACE if AI_IDN.
46216
46217 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46218
46219         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46220         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46221
46222 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46223
46224         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46225         Fix overflow bug in strncat.
46226         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46227
46228         * string/test-strncat.c: Update.
46229         Add new tests for checking overflow bugs.
46230
46231 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46232
46233         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46234         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46235         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46236         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46237         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46238         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46239         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46240         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46241         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46242
46243         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46244         (USE_AS_STRCAT): Define.
46245         Add strcat and strncat support.
46246         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46247
46248 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46249
46250         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46251         __n bigger than INT_MAX+1.
46252         (__strncmp_g): Likewise.
46253
46254 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46255
46256         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46257         * libio/stido.h: Likewise.
46258
46259         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46260         (AF_NFC): Define.
46261         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46262         (AF_NFC): Define.
46263
46264         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46265         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46266         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46267         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46268         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46269
46270         [BZ #13021]
46271         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46272         installed.
46273
46274         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46275         typo.
46276         (_dl_x86_64_save_sse): Likewise.
46277
46278 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46279
46280         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46281         OSXSAVE.
46282         (_dl_x86_64_save_sse): Likewise.
46283
46284         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46285
46286         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46287
46288 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46289
46290         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46291         change.
46292         (_dl_x86_64_save_sse): Use correct AVX check.
46293
46294 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46295
46296         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46297         bug in strncpy/strncat.
46298         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46299
46300 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46301
46302         * string/tester.c (test_strcat): Add tests for different alignments
46303         of source and destination.
46304         (test_strncat): Likewise.
46305
46306 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46307
46308         [BZ #12852]
46309         * posix/glob.c (glob): Check passed in values before using them in
46310         expressions to avoid some overflows.
46311         (glob_in_dir): Likewise.
46312
46313         [BZ #13007]
46314         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46315         check for AVX enablement so that we don't crash with old kernels and
46316         new hardware.
46317         * elf/tst-audit4.c: Add same checks here.
46318         * elf/tst-audit6.c: Likewise.
46319
46320         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46321
46322 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46323
46324         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46325
46326 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46327
46328         * po/cs.po: Update from translation team.
46329         * po/bg.po: Likewise.
46330
46331 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46332
46333         * misc/sys/cdefs.h: Add support for const attribute.
46334         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46335         to gnu_dev_{major,minor,makedev} functions.
46336
46337 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46338
46339         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46340
46341 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46342
46343         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46344         strlen results.
46345
46346 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46347
46348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46349         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46350         register in order to avoid conflicts with the soft frame pointer
46351         being held in r11 when necessary.
46352         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46353         (INTERNAL_VSYSCALL_NCS): Likewise.
46354
46355 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46356
46357         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46358         * elf/dl-fini.c (_dl_fini): Adjust caller.
46359         * elf/dl-close.c (_dl_close_worker): Likewise.
46360         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46361
46362 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46363
46364         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46365         "aux_cache->nlibs < 0".
46366
46367         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46368         in the reload-count case.
46369
46370 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46371
46372         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46373         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46374         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46375         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46376         * sysdeps/x86_64/multiarch/strcat.S: New file.
46377         * sysdeps/x86_64/multiarch/strncat.S: New file.
46378         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46379         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46380         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46381         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46382         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46383         (USE_AS_STRCAT): Define.
46384         Add strcat and strncat support.
46385         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46386         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46387         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46388         * string/strncat.c: Update.
46389         (USE_AS_STRNCAT): Define.
46390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46391         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46392         and i7.
46393         * sysdeps/x86_64/multiarch/init-arch.h
46394         (bit_Prefer_PMINUB_for_stringop): New.
46395         (index_Prefer_PMINUB_for_stringop): Likewise.
46396         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46397         bit_Prefer_PMINUB_for_stringop.
46398
46399 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46400
46401         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46402         buffer64.
46403         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46404         of casting of buffer.
46405         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46406         buffer32 and buffer64.
46407         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46408         writes instead of casting of buffer.
46409         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46410         buffer32.
46411         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46412         casting of buffer.
46413
46414 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46415
46416         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46417
46418 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46419
46420         * nscd/nscd.c (termination_handler): Don't do anything for a database
46421         if it has not yet been initialized.
46422
46423 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46424
46425         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46426
46427 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46428
46429         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46430
46431 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46432
46433         * po/nl.po: Update from translation team.
46434         * po/sv.po: Likewise.
46435
46436 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46437
46438         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46439         now disallowed by GCC.
46440
46441         * configure.in (use-default-link): Default to yes if a test -shared
46442         link meets our qualifications.
46443         * configure: Regenerated.
46444
46445         * config.make.in (output-format): New variable.
46446         * configure.in: Check for ld --print-output-format support.
46447         * configure: Regenerated.
46448         * Makerules ($(common-objpfx)format.lds)
46449         [$(output-format) != unknown]: Just use $(output-format),
46450         instead of the linker-script munging.
46451
46452 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46453
46454         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46455         of $(common-objpfx)shlib.lds.
46456         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46457
46458         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46459         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46460
46461         * configure.in (-z relro check): Adjust test code to add a large
46462         writable data section after it.
46463         * configure: Regenerated.
46464
46465 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46466
46467         * configure.in (-z relro check): Fix test code to make the variable
46468         truly const.
46469         * configure: Regenerated.
46470
46471 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46472
46473         * nscd/nscd.h (struct traced_file): Define.
46474         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46475         elements.  Add traced_files.
46476         (inotify_fd): Declare.
46477         (register_traced_file): Declare.
46478         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46479         (inotify_fd): Export.
46480         (resolv_conf_descr): Remove.
46481         (nscd_init): Move inotify descriptor creation to main.
46482         Don't register files for notification here.
46483         (register_traced_file): New function.
46484         (invalidate_cache): Don't use reset_res to determine whether to call
46485         res_init, go through the list of registered files.
46486         (main_loop_poll): The inotify descriptors are now stored in the
46487         structures for the traced files.
46488         (main_loop_epoll): Likewise
46489         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46490         to __nss_disable_nscd.
46491         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46492         for a database anymore.  Check the records for all the registered
46493         files instead.
46494         * nss/Makefile (libnss_files-routines): Add files-init.
46495         (libnss_db-routines): Add db-init.
46496         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46497         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46498         * nss/nss_db/db-init.c: New file.
46499         * nss/nss_files/files-init.c: New file.
46500         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46501         __nss_lookup_function.
46502         (__nss_lookup_function): Call nss_load_library.
46503         (nss_load_all_libraries): New function.
46504         (__nss_disable_nscd): Take parameter with callback function for files
46505         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46506         used for the cached services.
46507         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46508         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46509         options for features to all the files in nscd.
46510
46511         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46512
46513 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46514
46515         * csu/elf-init.c (__libc_csu_init): Comment typo.
46516
46517 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46518
46519         * po/pl.po: Update from translation team.
46520         * po/ja.po: Likewise.
46521         * po/ru.po: Likewise.
46522         * po/ko.po: Likewise.
46523         * po/fr.po: Likewise.
46524
46525 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46526
46527         * configure.in (.ctors/.dtors header and trailer check):
46528         Use an empirical test on a built program.
46529         * configure: Regenerated.
46530
46531         * configure.in (-z relro check): Use an empirical test on a built DSO.
46532         Detect, but do not require, on ia64.
46533         * configure: Regenerated.
46534
46535         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46536         Update tests that use readelf to use $READELF instead.
46537         * configure: Regenerated.
46538
46539 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46540
46541         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46542         if the result is not used.
46543
46544 2011-07-05  Andreas Jaeger  <aj@suse.de>
46545
46546         [BZ#9696]
46547         * stdlib/tst-strtod.c: Add testcase.
46548
46549 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46550
46551         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46552         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46553         The latter has a higher limit.  Take additional parameter to pass to
46554         the new function.
46555         (__pathconf): Pass file to __statfs_link_max.
46556         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46557         __statfs_link_max.
46558         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46559         __statfs_link_max.
46560
46561         [BZ #12868]
46562         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46563         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46564         Handle Lustre.
46565         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46566         (__statfs_filesize_max): Likewise.
46567         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46568
46569 2011-07-05  Andreas Jaeger  <aj@suse.de>
46570
46571         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46572
46573 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46574
46575         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46576         `status' variable.
46577         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46578         Likewise.
46579
46580 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46581
46582         * Makefile (strop-tests): Add strncat.
46583         * string/test-strncat.c: New file.
46584
46585 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46586
46587         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46588
46589 2011-06-21  Andreas Jaeger  <aj@suse.de>
46590
46591         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46592         Copy rule from iconvdata/Makefile.
46593
46594 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46595
46596         [BZ #12922]
46597         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46598         but no long options are defined, just return 'W'.
46599
46600 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46601
46602         [BZ #9696]
46603         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46604
46605 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46606
46607         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46608         netgroups to read.
46609         (innetgr): Likewise.
46610
46611 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46612
46613         * config.make.in (install_root): Default to $(DESTDIR).
46614
46615 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46616
46617         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46618
46619 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46620
46621         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46622
46623         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46624         containing directory rather than embedding absolute directory names.
46625
46626         * scripts/check-local-headers.sh: Rewritten using awk.
46627         Match by word, not by line.  Print error messages for matches.
46628         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46629
46630         * Makerules [shlib-lds-flags empty]:
46631         ($(common-objpfx)libc_pic.opts): New target.
46632         ($(common-objpfx)libc_pic.os.clean): New target.
46633         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46634
46635         * config.make.in (OBJCOPY): New variable.
46636         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46637         * configure: Regenerated.
46638
46639         * config.make.in (use-default-link): New variable.
46640         * configure.in (use_default_link): Grok --with-default-link to set it.
46641         * configure: Regenerated.
46642         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46643         (shlib-lds, shlib-lds-flags): Define to empty.
46644
46645         * Makerules (shlib-lds): New variable.
46646         (shlib-lds-flags): New variable.
46647         (build-shlib, build-moduile, build-module-asneeded): Use it.
46648         ($(common-objpfx)libc.so): Use $(shlib-lds).
46649         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46650         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46651
46652         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46653         DT_FLAGS/DT_FLAGS_1 with zero flags.
46654
46655         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46656         linker script munging.
46657
46658 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46659
46660         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46661         as 128-bit value.
46662         * crypt/sha512.c (sha512_process_block): Perform total addition using
46663         128-bit if possible.
46664         (__sha512_finish_ctx): Likewise.
46665         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46666         as 64-bit value.
46667         * crypt/sha256.c (SWAP64): Define.
46668         (sha256_process_block): Perform total addition using 64-bit if
46669         possible.
46670         (__sha256_finish_ctx): Likewise.
46671
46672 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46673
46674         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46675         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46676         * nscd/hstcache.c (cache_addhst): Likewise.
46677         * nscd/grpcache.c (cache_addgr): Likewise.
46678         * nscd/aicache.c (addhstaiX): Likewise
46679         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46680
46681 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46682
46683         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46684         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46685         * nscd/hstcache.c (cache_addhst): Likewise.
46686         * nscd/grpcache.c (cache_addgr): Likewise.
46687         * nscd/aicache.c (addhstaiX): Likewise
46688
46689 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46690
46691         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46692         domain only when needed.
46693
46694 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46695
46696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46697         is always restored.
46698
46699 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46700
46701         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46702         are re-adding the entry.
46703         * nscd/servicescache.c (cache_addserv): Likewise.
46704
46705 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46706
46707         * sysdeps/generic/dl-irel.h: fix protection against multiple
46708         inclusions.
46709         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46710
46711 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46712
46713         [BZ #12935]
46714         * malloc/memusage.sh: Fix quoting in message.
46715         * debug/xtrace.sh: Likewise.
46716
46717         * configure.in: Remove support for --experimental-malloc option, make
46718         it the default.
46719         * config.make.in: Likewise.
46720         * malloc/Makefile: Likewise.
46721
46722 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46723
46724         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46725         two-byte characters.
46726
46727 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46728
46729         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46730         AC_CACHE_CHECK invocation.
46731         * configure: Regenerated.
46732
46733         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46734
46735 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46736
46737         [BZ #12350]
46738         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46739         bit from old_res_options.
46740
46741         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46742
46743         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46744         value type for setfct.
46745
46746 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46747
46748         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46749         __gettimeofday instead of gettimeofday.
46750
46751 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46752
46753         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46754
46755 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46756
46757         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46758
46759         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46760         info.
46761
46762 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46763
46764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46765         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46766         strcpy-sse2-unaligned strncpy-sse2-unaligned
46767         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46768         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46769         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46770         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46771         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46772         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46773         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46774         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46775         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46776         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46777         (STRCPY): Support SSE2 and SSSE3 versions.
46778
46779 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46780
46781         [BZ #12874]
46782         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46783         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46784         kernels which artificially limit size of requests.
46785
46786 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46787
46788         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46789         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46790         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46791         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46792         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46793         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46794         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46795         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46796         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46797         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46798         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46799         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46800         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46801         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46802         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46804         Enable unaligned load optimization for Intel Core i3, i5 and i7
46805         processors.
46806         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46807         Define.
46808         (index_Fast_Unaligned_Load): Define.
46809         (HAS_FAST_UNALIGNED_LOAD): Define.
46810
46811 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46812
46813         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46814
46815 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46816
46817         [BZ #12907]
46818         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46819         until it is clear that the information is realy needed.
46820         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46821
46822 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46823
46824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46825
46826 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46827
46828         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46829         /sys/devices/system/cpu/online if it is usable.
46830
46831         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46832         reading the information from the /proc filesystem to once a second.
46833
46834 2011-06-21  Andreas Jaeger  <aj@suse.de>
46835
46836         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46837         NULL after inclusion of kernel headers.
46838
46839 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46840
46841         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46842         calls to internal_setent.
46843
46844         [BZ #12885]
46845         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46846         addresses using gethostbyname4_r ignore IPv4 addresses.
46847
46848         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46849         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46850
46851         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46852
46853 2011-06-20  David S. Miller  <davem@davemloft.net>
46854
46855         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46856         inclusions.
46857         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46858
46859         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46860         (elf_irel): Use it.
46861         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46862         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46863         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46864         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46865         * sysdeps/x86_64/dl-irel.h: Likewise.
46866
46867         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46868         * elf/dl-sym.c: Likewise.
46869
46870 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46871
46872         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46873         need to dereference resplen2.
46874
46875 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46876
46877         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46878
46879 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46880
46881         * Makeconfig: Define vardbdir and inst_vardbdir.
46882         * nss/Makefile: Add rules to install db-Makefile.
46883
46884         * nss/nss_db/db-XXX.c: Cleanup.
46885
46886         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46887         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46888         GLIBC_PRIVATE.
46889         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46890         * nss/makedb.c: Implement -g option to specify that value strings
46891         are generated and should not be added to table iterated over for
46892         get*ent calls.
46893         * nss/nss_db/db-initgroups.c: New file.
46894
46895         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46896         interface.
46897
46898         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46899         (internal_getgrouplist): Adjust to name change.
46900         Update use_initgroups_entry if this is not the first call.
46901         * nss/databases.def: Add initgroups entry.
46902
46903         * nss/makedb.c (compute_tables): Check result of multiple hash table
46904         sizes to minimize maximum chain length.
46905
46906 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46907
46908         * Versions.def: Add entry for libnss_db.
46909         * shlib-versions: Likewise.
46910         * nss/Makefile: Add rules to build libnss_db.
46911         * nss/Versions: Add libnss_db information.  Organize libnss_files
46912         entries better.
46913         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46914         makedb progra.  Some minor improvements to generate smaller files.
46915         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46916         here from...
46917         * nss/makedb.c: ...here.
46918         Improve database format to be smaller and require less memory at
46919         runtime.
46920         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46921         db anymore.
46922         * nss/nss_db/db-netgrp.c: Likewise.
46923         * nss/nss_db/db-open.c: Likewise.
46924         * nss/nss_files/flies-XXX.x: Adjust comments.
46925         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46926         * nss/nss_files/files-grp.c: Likewise.
46927         * nss/nss_files/files-hosts.c: Likewise.
46928         * nss/nss_files/files-network.c: Likewise.
46929         * nss/nss_files/files-proto.c: Likewise.
46930         * nss/nss_files/files-pwd.c: Likewise.
46931         * nss/nss_files/files-rpc.c: Likewise.
46932         * nss/nss_files/files-service.c: Likewise.
46933         * nss/nss_files/files-sgrp.c: Likewise.
46934         * nss/nss_files/files-spwd.c: Likewise.
46935         * nss/nss_db/db-alias.c: Removed.
46936         * nss/nss_db/dummy-db.h: Removed.
46937
46938 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46939
46940         * nss/makedb.c: Rewritten to not use database library.
46941         * nss/Makefile: Update to build new makedb program.
46942
46943 2011-06-14  Andreas Jaeger  <aj@suse.de>
46944
46945         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46946         memset declaration.
46947
46948 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46949
46950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46951         tmpbuf.
46952
46953 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46954
46955         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46956         * elf/Makefile ($(objpfx)ld.so): Likewise.
46957
46958         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46959         Don't list ld.so twice in dependencies.
46960
46961         * posix/bug-regex31.c: Include <stdlib.h>.
46962
46963         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46964
46965         * nis/nss_compat/compat-spwd.c
46966         (getspent_next_nss_netgr): Remove unused variable.
46967         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46968
46969         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46970         nonmembers" output to use the right array.
46971
46972         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46973
46974         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46975
46976         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46977         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46978         * catgets/gencat.c (read_input_file): Likewise.
46979         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46980
46981         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46982         variable definition inside #if's controlling its use.
46983
46984         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46985
46986         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46987
46988         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46989
46990         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46991         unreachable code.
46992
46993         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46994
46995         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46996         * configure: Regenerated.
46997
46998         * Makerules: Revert last change.
46999         * elf/Makefile: Likewise.
47000
47001 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47002
47003         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47004         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47005         (reloc-link): Likewise.
47006
47007 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47008
47009         * elf/Makefile: Add rules to build pldd.
47010         * elf/pldd.c: New file.
47011         * elf/pldd-xx.c: New file.
47012
47013 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47014
47015         * version.h: Update for 2.15 development version.
47016
47017 2011-06-07  David S. Miller  <davem@davemloft.net>
47018
47019         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47020         ifuncs.
47021         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47022         elf_machine_lazy_rel): Likewise.
47023         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47024         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47025         elf_machine_lazy_rel): Likewise.
47026         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47027         dl_hwcap via passed in argument.
47028         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47029         Likewise.
47030
47031 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47032
47033         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47034
47035 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47036
47037         [BZ #12849]
47038         * manual/fdl-1.1.texi: New file, verbatim from:
47039         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47040         * manual/lgpl-2.1.texi: New file, verbatim from:
47041         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47042         * manual/Makefile (licenses): New variable, list those new file names.
47043         (texis): Use it.
47044         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47045
47046         * manual/fdl.texi: File removed.
47047         * manual/lesser.texi: File removed.
47048         * manual/libc.texinfo (Copying, Documentation License):
47049         Use new @include file names, put @appendix directive before @include.
47050
47051 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47052
47053         [BZ #12841]
47054         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47055         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47056         (mq_open): Add __NTH.
47057
47058 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47059
47060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47061         Assume Intel Core i3/i5/i7 processor if AVX is available.
47062
47063 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47064
47065         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47066         typo.
47067
47068 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47069
47070         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47071         memory.  Use alloca_account.  Fix memory leak when retrying.
47072
47073 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47074
47075         * version.h (RELEASE): Bump for 2.14 release.
47076         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47077
47078         * config.make.in (RANLIB): Remove entry.
47079
47080 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47081
47082         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47083         (libc.pot): Work around missing support for .ksh extension in xgettext.
47084
47085         [BZ #12684]
47086         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47087         if both request failed.
47088         (send_dg): In case of server errors clear resplen or *resplen2.
47089
47090         [BZ #12454]
47091         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47092         when there are multiple maps.
47093         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47094         (_dl_fini): Remove test here.
47095
47096         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47097
47098 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47099
47100         [BZ #12350]
47101         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47102         bit from old_res_options.
47103         (gaih_inet): Likewise.
47104
47105         [BZ #11099]
47106         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47107         as signed.
47108
47109         * resolv/res_init.c (res_setoptions): Make the code more compact.
47110
47111         [BZ #11558]
47112         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47113         set RES_USEVC.
47114
47115         [BZ #11634]
47116         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47117
47118         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47119
47120         [BZ #11781]
47121         * malloc/malloc.h: Declare malloc hook variables as volatile.
47122
47123         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47124         in last patch.
47125
47126         [BZ #11799]
47127         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47128         raise in the comment.
47129         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47130         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47131         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47132
47133 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47134
47135         [BZ #12811]
47136         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47137         grow the buffers more if it already has to be sufficient.
47138         (build_wcs_upper_buffer): Likewise.
47139         * posix/regexec.c (check_matching): Likewise.
47140         (clean_state_log_if_needed): Likewise.
47141         (extend_buffers): Don't enlarge buffers beyond size of the input
47142         buffer.
47143         Patches mostly by Emil Wojak <emil@wojak.eu>.
47144         * posix/bug-regex32.c: New file.
47145         * posix/Makefile (tests): Add bug-regex32.
47146
47147         * locale/findlocale.c (_nl_find_locale): Return right away if
47148         _nl_explode_name failed.
47149         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47150
47151         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47152
47153         * debug/xtrace.sh: Unify messages.
47154         * malloc/memusage.sh: Likewise.
47155
47156         [BZ #12813]
47157         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47158         time symbol from vDSO.  Substitute with vsyscall if not available.
47159         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47160         __vdso_time.
47161
47162         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47163         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47164         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47165         Add sendmmsg and internal_sendmmsg.
47166         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47167         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47168         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47169
47170         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47171         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47172         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47173
47174 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47175
47176         [BZ #12813]
47177         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47178         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47179         available.
47180         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47181         __vdso_getcpu.
47182
47183         [BZ #12814]
47184         * iconvdata/Makefile (tests): Add bug-iconv9.
47185         * iconvdata/bug-iconv9.c: New file.
47186
47187 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47188
47189         [BZ #12814]
47190         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47191
47192 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47193
47194         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47195         (struct user_regs_struct): Change intcs field back to cs.
47196
47197 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47198
47199         * po/ja.po: Update from translation team.
47200
47201 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47202
47203         [BZ #12795]
47204         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47205         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47206
47207 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47208
47209         * stdlib/longlong.h: Update from GCC.
47210
47211 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47212
47213         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47214         parameter name.
47215         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47216         Add parameter name.
47217         (__sysconf): Pass it down.
47218
47219 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47220
47221         [BZ #12671]
47222         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47223         some situations.
47224         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47225         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47226         add in in __libc_use_alloca calls.  Adjust callers.
47227         (glob): Use malloc in some situations.
47228
47229         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47230         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47231         pltexit.
47232
47233 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47234
47235         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47236         and CLOCK_BOOTTIME_ALARM.
47237
47238         [BZ #12782]
47239         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47240         is returned.
47241
47242         * string/_strerror.c (__strerror_r): Print negative errors as signed
47243         numbers.
47244
47245         [BZ #12777]
47246         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47247         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47248         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47249
47250         * configure.in: Fix typo in redirection and correct removal of test
47251         files in two cases.
47252
47253         [BZ #12788]
47254         * locale/setlocale.c (new_composite_name): Fix test to check for
47255         identical name of all categories.
47256
47257         [BZ #12792]
47258         * libio/filedoalloc.c (local_isatty): New function.
47259         (_IO_file_doallocate): Use local_isatty.
47260         * stdio-common/perror.c (perror): In case a new stream is used
47261         forward the stream error.
47262         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47263         error flag.
47264
47265 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47266
47267         [BZ #11869]
47268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47269         alloca.
47270         * include/alloca.h (extend_alloca_account): Define.
47271
47272         [BZ #11857]
47273         * posix/regex.h: Fix comments with documentation of user-accessible
47274         fields after compilation and describe correct free'ing of pattern
47275         after re_compile_pattern.
47276         Patch by Reuben Thomas <rrt@sc3d.org>.
47277
47278 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47279
47280         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47281         and -mno-altivec to prevent the compiler from using Altivec and/or
47282         VSX instructions when the corresponding registers are not available.
47283
47284 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47285
47286         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47287
47288 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47289
47290         * libio/freopen.c (freopen): Use __dup2, not dup2.
47291         * libio/freopen64.c (freopen64): Likewise.
47292
47293 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47294
47295         [BZ #12775]
47296         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47297         * math/Makefile (tests): Add test-powl.
47298         (CFLAGS-test-powl.c): Define.
47299         * math/test-powl.c: New file.
47300
47301 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47302
47303         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47304
47305 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47306
47307         [BZ #11837]
47308         * iconvdata/gb18030.c: Update to GB18020-2005.
47309
47310 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47311
47312         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47313         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47314         Patch by Aharon Robbins <arnold@skeeve.com>.
47315
47316         [BZ #11892]
47317         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47318         on the stack.
47319
47320         [BZ #11895]
47321         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47322         through underflows.
47323
47324         [BZ #12766]
47325         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47326         point to strings before performing equality test for error_one_per_line
47327         mode.
47328
47329         [BZ #11697]
47330         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47331
47332         [BZ #11820]
47333         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47334         (struct user_fpregs_struct): Avoid __uint*_t types.
47335
47336         [BZ #6420]
47337         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47338         symbol info.  Use it instead of calling _dl_addr locally.
47339         (lock_and_info): New function.
47340         (tr_freehook): Call lock_and_info and pass symbol info as additional
47341         parameter to tr_where.
47342         (tr_mallochook): Likewise.
47343         (tr_reallochook): Likewise.
47344         (tr_memalignhook): Likewise.
47345
47346         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47347         used and couldn't be at all thread-safe.
47348
47349 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47350
47351         * libio/freopen.c (freopen): Don't close old file descriptor
47352         before the new one is opened.  Instead dup the new file descriptor
47353         to the old one after the new stream is created.
47354         * libio/freopen64.c (freopen64): Likewise.
47355         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47356         * libio/fileops.c (_IO_new_file_close_it): Handle new
47357         _IO_FLAGS2_NOCLOSE flag.
47358         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47359         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47360         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47361         _IO_FLAGS2_NOCLOSE flag.
47362         * include/unistd.h: Add hidden_proto for dup3.
47363         Define __have_dup3.
47364         * io/dup3.c: Define hidden symbol.
47365         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47366
47367         [BZ #7101]
47368         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47369         when an incomplete long option is used.
47370         * posix/tst-getopt_long1.c: New file.
47371         * posix/Makefile (tests): Add tst-getopt_long1.
47372
47373         [BZ #10138]
47374         * scripts/config.guess: Update from autoconf-2.68.
47375         * scripts/config.sub: Likewise.
47376
47377         [BZ #10157]
47378         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47379         tests into ...
47380         (has_cpuclock): ...this.  New function.
47381         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47382         macro here based on has_cpuclock code.
47383
47384         [BZ #10149]
47385         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47386         First byte (not low byte) is now always NUL.
47387         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47388
47389         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47390         Use non-cancelable interfaces.
47391
47392         [BZ #9809]
47393         * locale/iso-639.def: Add entry for Sorani.
47394
47395         [BZ #11901]
47396         * include/stdlib.h: Move include protection to the right place.
47397         Define abort_msg_s.  Declare __abort_msg with it.
47398         * stdlib/abort.c (__abort_msg): Adjust type.
47399         * assert/assert.c (__assert_fail_base): New function.  Majority
47400         of code from __assert_fail.  Allocate memory for __abort_msg with
47401         mmap.
47402         (__assert_fail): Now call __assert_fail_base.
47403         * assert/assert-perr.c: Remove bulk of implementation.  Use
47404         __assert_fail_base.
47405         * include/assert.hL Declare __assert_fail_base.
47406         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47407         mmap.
47408         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47409
47410 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47411
47412         [BZ #11952]
47413         [BZ #12453]
47414         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47415         until all modules are registered in the DTV.
47416         * elf/Makefile: Add rules to build and run tst-tls19.
47417         * elf/tst-tls19.c: New file.
47418         * elf/tst-tls19mod1.c: New file.
47419         * elf/tst-tls19mod2.c: New file.
47420         * elf/tst-tls19mod3.c: New file.
47421         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47422
47423         [BZ #12083]
47424         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47425         correctly.
47426
47427         [BZ #12601]
47428         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47429         two-byte sequence errors.
47430         * iconvdata/Makefile (tests): Add bug-iconv8.
47431         * iconvdata/bug-iconv8.c: New file.
47432
47433         [BZ #12626]
47434         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47435         buf2 definition.
47436
47437         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47438
47439         [BZ #12432]
47440         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47441         (dummy_getcfa): New function.
47442         (init): Get _Unwind_GetCFA address, use dummy if not found.
47443         (backtrace_helper): In recursion check, also check whether CFA changes.
47444         (__backtrace): Completely initialize arg.
47445
47446         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47447         storing incomplete byte sequence in state object.  Avoid testing for
47448         guaranteed too small input if we know there is enough data available.
47449
47450 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47451
47452         * Makeconfig (+link-pie): Indent.
47453         * Rules (binaries-pie): Define if $(have-fpie) and
47454         $(build-shared).
47455         (binaries-shared): Also filter out $(binaries-pie).
47456         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47457         * nscd/Makefile (others-pie): Add nscd.
47458         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47459         ($(objpfx)nscd): Remove command override.
47460         * login/Makefile (others-pie): Add pt_chown.
47461         ($(objpfx)pt_chown): Remove command override.
47462         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47463         remove command overrides.
47464
47465 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47466
47467         * libio/tst_putwc.c: Fix error messages.
47468
47469         [BZ #12724]
47470         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47471         currently writing and seek to current position when not.
47472         * libio/Makefile (tests): Add bug-fclose1.
47473         * libio/bug-fclose1.c: New file.
47474
47475 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47476
47477         [BZ #12511]
47478         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47479         don't set DF_1_NODELETE here.
47480         (do_lookup_x): When entering new entry test for copy relocation
47481         and if necessary set DF_1_NODELETE flag.
47482         * elf/tst-unique4.cc: New file.
47483         * elf/tst-unique4.h: New file.
47484         * elf/tst-unique4lib.cc: New file.
47485         * elf/Makefile: Add rules to build and run tst-unique4.
47486         Patch by Piotr Bury <pbury@goahead.com>.
47487
47488 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47489
47490         [BZ #12052]
47491         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47492
47493         [BZ #12625]
47494         * misc/mntent_r.c (addmntent): Flush the stream after the output
47495
47496         [BZ #12393]
47497         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47498         (is_trusted_path_normalize): Skip initial colon.  Append slash
47499         to empty buffer.  Duplicate is_trusted_path code but allow
47500         constructed patch to be prefix.
47501         (is_dst): Allow $ORIGIN followed by /.
47502         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47503         Correct testing of result of is_trusted_path_normalize
47504         (decompose_rpath): Fix warning.
47505
47506 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47507
47508         [BZ #11257]
47509         * grp/initgroups.c (internal_getgrouplist): When we found the service
47510         list through the initgroups entry in nsswitch.conf do not always
47511         continue on a successful lookup.  Don't always use the
47512         __nss_group_database value if it is set.
47513         * nss/nsswitch.conf (initgroups): Change action for successful db
47514         lookup to continue for compatibility.
47515
47516 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47517
47518         [BZ #11532]
47519         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47520         and CP774 modules.
47521         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47522         and CP774 modules.
47523         * iconvdata/tst-tables.sh: Likewise.
47524         * iconvdata/cp770.c: New file.
47525         * iconvdata/cp771.c: New file.
47526         * iconvdata/cp772.c: New file.
47527         * iconvdata/cp773.c: New file.
47528         * iconvdata/cp774.c: New file.
47529         * iconvdata/testdata/CP770: New file.
47530         * iconvdata/testdata/CP770..UTF8: New file.
47531         * iconvdata/testdata/CP771: New file.
47532         * iconvdata/testdata/CP771..UTF8: New file.
47533         * iconvdata/testdata/CP772: New file.
47534         * iconvdata/testdata/CP772..UTF8: New file.
47535         * iconvdata/testdata/CP773: New file.
47536         * iconvdata/testdata/CP773..UTF8: New file.
47537         * iconvdata/testdata/CP774: New file.
47538         * iconvdata/testdata/CP774..UTF8: New file.
47539
47540         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47541         END CHARMAP line.
47542         * iconvdata/gen-8bit-gap.sh: Likewise.
47543         * iconvdata/gen-8bit.sh: Likewise.
47544
47545         * locale/iso-639.def: Add ary entry.
47546
47547         [BZ #11258]
47548         * locale/C-translit.h.in: Add U20A1 transliteration.
47549
47550         [BZ #12178]
47551         * locale/iso-639.def: Add wae entry.
47552         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47553
47554         [BZ #12545]
47555         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47556         for n.
47557
47558         [BZ #12711]
47559         * locale/C-translit.h.in: Add entry for U20B9.
47560         Patch by pravin.d.s@gmail.com.
47561
47562 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47563
47564         [BZ #12713]
47565         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47566         ENAMETOOLONG use generic getcwd.
47567         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47568         in rtld.  Use *stat64.
47569         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47570         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47571         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47572         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47573         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47574         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47575         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47576         __fstatat64 macros.
47577         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47578         * dirent/rewinddir.c: Add libc_hidden_def.
47579         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47580         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47581
47582         * include/dirent.h (__alloc_dir): Add flags parameter.
47583         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47584         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47585         __alloc_dir.
47586         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47587         from fdopendir if O_CLOEXEC is already set.
47588
47589 2011-03-15  Alan Modra  <amodra@gmail.com>
47590
47591         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47592         l_tls_firstbyte_offset non-zero.  Save padding offset in
47593         l_tls_firstbyte_offset for later use.
47594         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47595         freeing static tls block.
47596
47597 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47598
47599         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47600         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47601         being defined by the kernel headers.
47602
47603 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47604
47605         [BZ #12734]
47606         * resolv/resolv.h: Define RES_NOTLDQUERY.
47607         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47608         no-tld-query and set RES_NOTLDQUERY.
47609         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47610         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47611         modern BIND to search name as TLD unless forbidden.
47612
47613 2011-05-07  Petr Baudis  <pasky@suse.cz>
47614             Ulrich Drepper  <drepper@gmail.com>
47615
47616         [BZ #12393]
47617         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47618         (is_trusted_path): ...to here.
47619         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47620         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47621         using is_trusted_path_normalize() in setuid scripts.
47622
47623 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47624
47625         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47626         __BEGIN/__END_DECLS.
47627
47628 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47629
47630         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47631         NSS_STATUS_NOTFOUND if no record was found.
47632
47633 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47634
47635         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47636         (headers-not-in-tirpc): Remove rpc/netdb.h
47637         * resolv/netdb.h: Revert last change.
47638
47639 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47640
47641         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47642         circular dependency between libgcc.a and libc.a.
47643
47644 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47645
47646         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47647         * nis/Makefile: Don't install rpcsvc/*.
47648         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47649         instead of <rpc/types.h>.
47650         (MAXHOSTNAMELEN): Define.
47651
47652 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47653
47654         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47655
47656 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47657
47658         [BZ #12714]
47659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47660         gethostbyname4_r when IPv6 results are possible.
47661
47662 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47663
47664         [BZ #12723]
47665         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47666         _PC_PIPE_BUF handling.
47667
47668 2011-04-30  Bruno Haible  <bruno@clisp.org>
47669
47670         [BZ #12717]
47671         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47672         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47673         to 'int'.
47674         * inet/getnameinfo.c (getnameinfo): Likewise.
47675
47676 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47677
47678         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47679         to groups setting in database lookup.
47680         * nss/nsswitch.conf: Add initgroups entry.
47681
47682 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47683
47684         [BZ #12685]
47685         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47686         mode string.
47687         Patch by Eric Blake <eblake@redhat.com>.
47688
47689 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47690
47691         * sunrpc/Makefile (need-export-routines): Add svc_run.
47692         (routines): Remove svc_run.
47693         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47694         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47695         * sunrpc/svc_run.c (svc_run): Likewise.
47696         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47697
47698 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47699
47700         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47701         problem in reallocation in last patch.
47702
47703 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47704
47705         * sunrpc/Makefile: Move inclusion of Rules.
47706
47707 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47708
47709         * nss/nss_files/files-initgroups.c: New file.
47710         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47711         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47712         _nss_files_initgroups_dyn.
47713
47714 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47715
47716         * elf/elf.h (R_ARM_IRELATIVE): Define.
47717
47718 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47719
47720         * po/ru.po: Update from translation team.
47721
47722 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47723
47724         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47725         dependencies.
47726
47727 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47728
47729         [BZ #12653]
47730         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47731         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47732         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47733         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47734         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47735
47736 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47737
47738         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47739         differing bytes.
47740         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47741         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47742         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47743
47744 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47745
47746         [BZ #12420]
47747         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47748         storing it.
47749         * stdlib/bug-getcontext.c: New file.
47750         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47751
47752 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47753
47754         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47755         instructions into .machine "z9-109".
47756         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47757         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47758
47759 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47760
47761         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47762         between environment variables and auxiliary vector.
47763
47764 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47765
47766         * Makefile: Add rules to build linkobj/libc.so.
47767         * include/libc-symbols.h: Define libc_hidden_nolink.
47768         * include/rpc/auth.h: Mark functions which are to be hidden.
47769         * include/rpc/auth_des.h: Likewise.
47770         * include/rpc/auth_unix.h: Likewise.
47771         * include/rpc/clnt.h: Likewise.
47772         * include/rpc/des_crypt.h: Likewise.
47773         * include/rpc/key_prot.h: Likewise.
47774         * include/rpc/pmap_clnt.h: Likewise.
47775         * include/rpc/pmap_prot.h: Likewise.
47776         * include/rpc/pmap_rmt.h: Likewise.
47777         * include/rpc/rpc_msg.h: Likewise.
47778         * include/rpc/svc.h: Likewise.
47779         * include/rpc/svc_auth.h: Likewise.
47780         * include/rpc/xdr.h: Likewise.
47781         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47782         * nss/Makefile: Likewise.
47783         * sunrpc/Makefile: Don't install headers.  Build library with normal
47784         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47785         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47786         for the compat linking library.  Remove use of INTDEF/INTUSE.
47787         * sunrpc/auth_none.c: Likewise.
47788         * sunrpc/auth_unix.c: Likewise.
47789         * sunrpc/authdes_prot.c: Likewise.
47790         * sunrpc/authuxprot.c: Likewise.
47791         * sunrpc/clnt_gen.c: Likewise.
47792         * sunrpc/clnt_perr.c: Likewise.
47793         * sunrpc/clnt_raw.c: Likewise.
47794         * sunrpc/clnt_simp.c: Likewise.
47795         * sunrpc/clnt_tcp.c: Likewise.
47796         * sunrpc/clnt_udp.c: Likewise.
47797         * sunrpc/clnt_unix.c: Likewise.
47798         * sunrpc/des_crypt.c: Likewise.
47799         * sunrpc/des_soft.c: Likewise.
47800         * sunrpc/get_myaddr.c: Likewise.
47801         * sunrpc/key_call.c: Likewise.
47802         * sunrpc/key_prot.c: Likewise.
47803         * sunrpc/netname.c: Likewise.
47804         * sunrpc/pm_getmaps.c: Likewise.
47805         * sunrpc/pm_getport.c: Likewise.
47806         * sunrpc/pmap_clnt.c: Likewise.
47807         * sunrpc/pmap_prot.c: Likewise.
47808         * sunrpc/pmap_prot2.c: Likewise.
47809         * sunrpc/pmap_rmt.c: Likewise.
47810         * sunrpc/publickey.c: Likewise.
47811         * sunrpc/rpc_cmsg.c: Likewise.
47812         * sunrpc/rpc_common.c: Likewise.
47813         * sunrpc/rpc_dtable.c: Likewise.
47814         * sunrpc/rpc_prot.c: Likewise.
47815         * sunrpc/rpc_thread.c: Likewise.
47816         * sunrpc/rtime.c: Likewise.
47817         * sunrpc/svc.c: Likewise.
47818         * sunrpc/svc_auth.c: Likewise.
47819         * sunrpc/svc_authux.c: Likewise.
47820         * sunrpc/svc_raw.c: Likewise.
47821         * sunrpc/svc_run.c: Likewise.
47822         * sunrpc/svc_simple.c: Likewise.
47823         * sunrpc/svc_tcp.c: Likewise.
47824         * sunrpc/svc_udp.c: Likewise.
47825         * sunrpc/svc_unix.c: Likewise.
47826         * sunrpc/svcauth_des.c: Likewise.
47827         * sunrpc/xcrypt.c: Likewise.
47828         * sunrpc/xdr.c: Likewise.
47829         * sunrpc/xdr_array.c: Likewise.
47830         * sunrpc/xdr_float.c: Likewise.
47831         * sunrpc/xdr_intXX_t.c: Likewise.
47832         * sunrpc/xdr_mem.c: Likewise.
47833         * sunrpc/xdr_rec.c: Likewise.
47834         * sunrpc/xdr_ref.c: Likewise.
47835         * sunrpc/xdr_sizeof.c: Likewise.
47836         * sunrpc/xdr_stdio.c: Likewise.
47837
47838 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47839
47840         [BZ #12650]
47841         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47842         * sysdeps/ia64/dl-tls.h: Likewise.
47843         * sysdeps/powerpc/dl-tls.h: Likewise.
47844         * sysdeps/s390/dl-tls.h: Likewise.
47845         * sysdeps/sh/dl-tls.h: Likewise.
47846         * sysdeps/sparc/dl-tls.h: Likewise.
47847         * sysdeps/x86_64/dl-tls.h: Likewise.
47848         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47849
47850 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47851
47852         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47853         rpath element also skip the following colon.
47854         (expand_dynamic_string_token): Add is_path parameter and pass
47855         down to DL_DST_REQUIRED and _dl_dst_substitute.
47856         (decompose_rpath): Call expand_dynamic_string_token with
47857         non-zero is_path.  Ignore empty rpaths.
47858         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47859         with zero is_path.
47860
47861 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47862
47863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47864         Make cancelable.
47865
47866 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47867
47868         [BZ #12655]
47869         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47870         Patch by Filipe David Manana <fdmanana@apache.org>.
47871
47872 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47873
47874         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47875         Maintain aligned stack.
47876         (CHECK_RSP): Remove unused macro.
47877
47878 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47879
47880         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47881         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47882
47883 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47884
47885         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47886
47887         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47888
47889 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47890
47891         [BZ #12518]
47892         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47893         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47894         * sysdeps/x86_64/memmove.c: New file.
47895         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47896         (memcpy): Renamed to ...
47897         (__new_memcpy): This.
47898         (memcpy): Provide GLIBC_2_14 memcpy.
47899         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47900         (memcpy): Provide GLIBC_2_2_5 memcpy.
47901
47902 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47903
47904         [BZ #12631]
47905         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47906
47907 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47908
47909         * misc/syncfs.c: New file.
47910         * misc/Makefile (routines): Add syncfs.
47911         * posix/unistd.h: Declare syncfs.
47912         * sysdeps/unix/syscalls.list: Add syncfs.
47913
47914 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47915
47916         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47917         open_by_handle_at.
47918         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47919         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47920         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47921         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47922         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47923         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47924         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47925
47926 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47927
47928         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47929         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47930         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47931         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47932         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47933         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47934         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47935
47936         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47937         sync_file_range.c with -fexceptions.
47938         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47939         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47940         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47941         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47942         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47943         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47944         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47945         sync_file_range as cancellation point
47946         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47947         now a wrapper around __call_sync_file_range with cancellation handling.
47948         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47949         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47950         function name to __call_sync_file_range.
47951         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47952         Add call_sync_file_range.
47953
47954 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47955
47956         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47957         bits/timex.h.
47958
47959 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47960
47961         * iconv/iconv.h: Fix typo in comment.
47962         * io/fcntl.h: Likewise.
47963         * libio/stdio.h: Likewise.
47964         * posix/spawn.h: Likewise.
47965         * posix/unistd.h: Likewise.
47966         * stdlib/stdlib.h: Likewise.
47967         * time/time.h: Likewise.
47968         * wcsmbs/wchar.h: Likewise.
47969
47970         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47971         open_by_handle): Add.
47972         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47973         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47974         Augment a few comments.
47975         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47976         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47977         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47978         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47979         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47980         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47981         open_by_handle.
47982
47983         * io/fcntl.h (AT_EMPTY_PATH): Define.
47984
47985 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47986
47987         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47988         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47989         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47990         to...
47991         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47992         * Versions.def: Add GLIBC_2.14.
47993         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47994         Export.
47995
47996 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47997
47998         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47999         round counter.
48000         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48001
48002 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48003
48004         [BZ #12597]
48005         * string/test-strncmp.c (do_page_test): New function.
48006         (check2): Likewise.
48007         (test_main): Call check2.
48008         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48009
48010 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48011
48012         [BZ #12587]
48013         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48014         Handle cache information in CPU leaf 4.
48015         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48016
48017 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48018
48019         [BZ #12583]
48020         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48021         character representation.
48022         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48023
48024 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48025
48026         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48027         END(__isnan) to END(__isnanf) to match function entry point/label
48028         EALIGN(__isnanf,...).
48029
48030 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48031
48032         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48033
48034 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48035
48036         [BZ #12510]
48037         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48038         copy from the symbol referenced in the relocation to initialize the
48039         used variable.
48040         Patch by Piotr Bury <pbury@goahead.com>.
48041         * elf/Makefile: Add rules to build and tst-unique3.
48042         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48043         * elf/tst-unique3.cc: New file.
48044         * elf/tst-unique3.h: New file.
48045         * elf/tst-unique3lib.cc: New file.
48046         * elf/tst-unique3lib2.cc: New file.
48047
48048         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48049
48050 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48051
48052         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48053         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48054         to _start.
48055
48056 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48057
48058         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48059         to-be-loaded object along a path to loader is ld.so.
48060
48061 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48062             Ulrich Drepper  <drepper@gmail.com>
48063
48064         * sysdeps/x86_64/memset.S: After aligning destination, code
48065         branches to different locations depending on the value of
48066         misalignment, when multiarch is enabled. Fix this.
48067
48068 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48069
48070         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48071         Set _x86_64_preferred_memory_instruction for AMD processsors.
48072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48073         Set bit_Prefer_SSE_for_memop for AMD processors.
48074
48075 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48076
48077         * libio/fmemopen.c (fmemopen): Optimize a bit.
48078
48079 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48080
48081         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48082
48083 2011-03-03  Roland McGrath  <roland@redhat.com>
48084
48085         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48086
48087 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48088
48089         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48090         __bzero_ultra1 instead of __memset_ultra1.
48091
48092 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48093             Ulrich Drepper  <drepper@gmail.com>
48094
48095         [BZ #12509]
48096         * include/link.h (struct link_map): Add l_orig_initfini.
48097         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48098         returning unsuccessfully.
48099         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48100         close of a file loaded at startup, restore the original l_initfini
48101         list.
48102         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48103         list, store the pointer.
48104         * elf/Makefile ($(objpfx)noload-mem): New rule.
48105         (noload-ENV): Define.
48106         (tests): Add $(objpfx)noload-mem.
48107         * elf/noload.c: Include <memcheck.h>.
48108         (main): Call mtrace.  Close all opened handles.
48109
48110 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48111
48112         [BZ #12454]
48113         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48114         dependencies are missing.
48115
48116 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48117
48118         Fix __if_freereq crash: Unlike the generic version which uses free,
48119         Hurd needs munmap.
48120         * sysdeps/mach/hurd/ifreq.h: New file.
48121
48122 2011-01-27  Petr Baudis  <pasky@suse.cz>
48123             Ulrich Drepper  <drepper@gmail.com>
48124
48125         [BZ 12445]#
48126         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48127         to extend_alloca().
48128         * stdio-common/bug23.c: New file.
48129         * stdio-common/Makefile (tests): Add bug23.
48130
48131 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48132             Ulrich Drepper  <drepper@gmail.com>
48133
48134         [BZ #12489]
48135         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48136         before performing relro protection.  At old place add assertion
48137         to make sure nothing changed.
48138
48139 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48140             Glauber de Oliveira Costa  <glommer@gmail.com>
48141
48142         * elf/elf.h: Add new ARM TLS relocs.
48143
48144 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48145
48146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48147         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48148         cast from r3.
48149         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48150         'tests' variable.
48151         * sysdeps/wordsize-64/tst-writev.c: New file.
48152
48153 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48154
48155         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48156         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48157         insns in _dl_start to prevent a TOC reference before relocs are
48158         resolved.
48159
48160 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48161
48162         [BZ #12469]
48163         * Makeconfig: Remove RANLIB definition.
48164         * Makerules: Don't use RANLIB.
48165         * aclocal.m4: Remove ranlib test.
48166         * configure.in: No need to check for ranlib.
48167         * elf/rtld-Rules: Don't use RANLIB.
48168
48169 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48170
48171         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48172         protection macro.
48173         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48174         inclusion protection macro.
48175
48176         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48177         SIGRTMIN and SIGRTMAX and print information in that case only when
48178         SIGRTMIN is defined.
48179
48180 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48181
48182         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48183         arginfo fn returning -1.
48184
48185         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48186         and thousands string is zero terminated.
48187
48188 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48189
48190         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48191         sysdeps/unix/sysv/linux/bits/socket.h.
48192
48193 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48194
48195         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48196         (__CPU_COUNT): Remove old macros.
48197         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48198         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48199         (__CPU_ALLOC, __CPU_FREE): Add macros.
48200         (__sched_cpualloc, __sched_cpufree): Add declarations.
48201
48202 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48203
48204         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48205         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48206         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48207         (readdhstai): Return value of addhstaiX call.
48208         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48209         (addgrbyX): Return value returned by cache_addgr.
48210         (readdgrbyname): Return value returned by addgrbyX.
48211         (readdgrbygid): Likewise.
48212         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48213         (addpwbyX): Return value returned by cache_addpw.
48214         (readdpwbyname): Return value returned by addhstbyX.
48215         (readdpwbyuid): Likewise.
48216         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48217         (addservbyX): Return value returned by cache_addserv.
48218         (readdservbyname): Return value returned by addservbyX:
48219         (readdservbyport): Likewise.
48220         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48221         (addhstbyX): Return value returned by cache_addhst.
48222         (readdhstbyname): Return value returned by addhstbyX.
48223         (readdhstbyaddr): Likewise.
48224         (readdhstbynamev6): Likewise.
48225         (readdhstbyaddrv6): Likewise.
48226         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48227         (readdinitgroups): Return value returned by addinitgroupsX.
48228         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48229         (prune_cache): Keep track of timeout value of re-added entries.
48230         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48231         * nscd/nscd.h: Adjust prototypes of readd* functions.
48232
48233 2011-02-04  Roland McGrath  <roland@redhat.com>
48234
48235         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48236         (nis_stats): Likewise.
48237         * nis/nis_modify.c (nis_modify): Likewise.
48238         * nis/nis_remove.c (nis_remove): Likewise.
48239         * nis/nis_add.c (nis_add): Likewise.
48240
48241         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48242
48243         * posix/fnmatch_loop.c: Add some consts.
48244
48245         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48246
48247 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48248
48249         [BZ #12460]
48250         * config.make.in (config-cflags-novzeroupper): Define.
48251         * configure.in: Substitute libc_cv_cc_novzeroupper.
48252         * elf/Makefile (AVX-CFLAGS): Define.
48253         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48254         (CFLAGS-tst-auditmod4a.c): Likewise.
48255         (CFLAGS-tst-auditmod4b.c): Likewise.
48256         (CFLAGS-tst-auditmod6b.c): Likewise.
48257         (CFLAGS-tst-auditmod6c.c): Likewise.
48258         (CFLAGS-tst-auditmod7b.c): Likewise.
48259         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48260
48261 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48262
48263         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48264         function to the callback.
48265         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48266
48267 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48268
48269         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48270         of errno.
48271
48272 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48273
48274         [BZ #11724]
48275         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48276         of constructors.
48277         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48278         of destructors.
48279         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48280
48281         [BZ #11724]
48282         * elf/Makefile: Add rules to build and run new test.
48283         * elf/tst-initorder.c: New file.
48284         * elf/tst-initorder.exp: New file.
48285         * elf/tst-initordera1.c: New file.
48286         * elf/tst-initordera2.c: New file.
48287         * elf/tst-initordera3.c: New file.
48288         * elf/tst-initordera4.c: New file.
48289         * elf/tst-initorderb1.c: New file.
48290         * elf/tst-initorderb2.c: New file.
48291         * elf/tst-order-a1.c: New file.
48292         * elf/tst-order-a2.c: New file.
48293         * elf/tst-order-a3.c: New file.
48294         * elf/tst-order-a4.c: New file.
48295         * elf/tst-order-b1.c: New file.
48296         * elf/tst-order-b2.c: New file.
48297         * elf/tst-order-main.c: New file.
48298         New test case by George Gensure <werkt0@gmail.com>.
48299
48300 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48301
48302         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48303         decoding ACE if AI_CANONIDN.
48304
48305 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48306
48307         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48308
48309 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48310
48311         * version.h (RELEASE): Bump for 2.13 release.
48312         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48313
48314         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48315
48316         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48317         MADV_NOHUGEPAGE.
48318         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48319         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48320         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48321         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48322         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48323         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48324
48325         * posix/getconf.c: Update copyright year.
48326         * catgets/gencat.c: Likewise.
48327         * csu/version.c: Likewise.
48328         * debug/catchsegv.sh: Likewise.
48329         * debug/xtrace.sh: Likewise.
48330         * elf/ldconfig.c: Likewise.
48331         * elf/ldd.bash.in: Likewise.
48332         * elf/sprof.c (print_version): Likewise.
48333         * iconv/iconv_prog.c: Likewise.
48334         * iconv/iconvconfig.c: Likewise.
48335         * locale/programs/locale.c: Likewise.
48336         * locale/programs/localedef.c: Likewise.
48337         * malloc/memusage.sh: Likewise.
48338         * malloc/mtrace.pl: Likewise.
48339         * nscd/nscd.c (print_version): Likewise.
48340         * nss/getent.c: Likewise.
48341
48342         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48343         PF_CAIF, and PF_ALG.
48344         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48345
48346 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48347
48348         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48349         (modules-names): Use them.
48350         (ifunc-test-modules, ifunc-pie-tests): Define.
48351         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48352         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48353         (test-extras): Likewise.
48354         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48355         $(compile-command.c).
48356         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48357         (all-built-dso): Define.
48358         (check-textrel.out, check-execstack.out): Depend on it.
48359
48360         * configure.in: Don't override --enable-multi-arch.
48361
48362 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48363
48364         [BZ #6812]
48365         * nscd/hstcache.c (tryagain): Define.
48366         (cache_addhst): Return tryagain not notfound for temporary errors.
48367         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48368         failed.
48369
48370 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48371
48372         [BZ #10563]
48373         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48374         to make the syscall.
48375         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48376
48377         [BZ #12378]
48378         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48379         and fall back to matching as normal character if the string ends before
48380         the matching ']' is found.  This is what POSIX requires.
48381         * posix/testfnm.c: Adjust test result.
48382         * posix/globtest.sh: Adjust test result.  Add new test.
48383         * posix/tst-fnmatch.input: Likewise.
48384         * posix/tst-fnmatch2.c: Add new test.
48385
48386 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48387
48388         * elf/Makefile (check-execstack): Revert last change.  Depend on
48389         check-execstack.h.
48390         (check-execstack.h): New target.
48391         (generated): Add check-execstack.h.
48392         * elf/check-execstack.c: Include "check-execstack.h".
48393         (main): Revert last change.
48394         (handle_file): Return zero if GNU_STACK is absent and
48395         DEFAULT_STACK_PERMS doesn't include PF_X.
48396
48397 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48398
48399         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48400         in child fails because the descriptor is already closed.
48401         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48402         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48403         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48404
48405         [BZ #12397]
48406         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48407         syscall.
48408
48409         [BZ #10484]
48410         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48411         temporary buffer used to handle multi lookups locally.
48412         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48413
48414 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48415
48416         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48417         loader is ld.so.
48418
48419 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48420
48421         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48422         alignment for SSE2.
48423
48424 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48425
48426         [BZ #12394]
48427         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48428         characters.  When rounding increased number of integer digits recompute
48429         number of groups.
48430         * stdio-common/tst-grouping.c: New file.
48431         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48432
48433 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48434
48435         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48436         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48437
48438         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48439         void.
48440         * bits/select.h: Likewise.
48441
48442 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48443
48444         * po/ja.po: Update from translation team.
48445
48446 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48447
48448         [BZ #11155]
48449         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48450         implementation just like for lxstat, fxstatat, et al.
48451
48452 2010-12-27  Jim Meyering  <meyering@redhat.com>
48453
48454         [BZ #12348]
48455         * posix/regexec.c (build_trtable): Return failure indication upon
48456         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48457
48458 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48459
48460         [BZ #12201]
48461         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48462         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48463         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48464         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48465
48466         [BZ #12207]
48467         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48468
48469         [BZ #12204]
48470         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48471         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48472
48473 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48474
48475         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48476         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48477         script has SORT_BY_INIT_PRIORITY.
48478         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48479         NO_CTORS_DTORS_SECTIONS is defined.
48480         * elf/soinit.c: Likewise.
48481         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48482         NO_CTORS_DTORS_SECTIONS is defined.
48483         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48484         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48485         * sysdeps/sh/init-first.c: Likewise.
48486         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48487
48488 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48489
48490         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48491         always use the slow path.
48492
48493 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48494
48495         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48496         similar rule which adds the sysdep directories to the header search in
48497         order to pick up the correct platform stackinfo.h.
48498         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48499         perform test if it is, otherwise return successfully without testing.
48500         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48501         DEFAULT_STACK_PERMS define in stackinfo.h.
48502         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48503         defined in stackinfo.h.
48504         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48505         DEFAULT_STACK_PERMS defined in stackinfo.h.
48506         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48507         * sysdeps/ia64/stackinfo.h: Likewise.
48508         * sysdeps/s390/stackinfo.h: Likewise.
48509         * sysdeps/sh/stackinfo.h: Likewise.
48510         * sysdeps/sparc/stackinfo.h: Likewise.
48511         * sysdeps/x86_64/stackinfo.h: Likewise.
48512         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48513         PF_X for powerpc64.  Retain PF_X for powerpc32.
48514
48515 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48516
48517         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48518         accurately.
48519         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48520         GETDENTS_64BIT_ALIGNED.
48521
48522 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48523
48524         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48525
48526 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48527
48528         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48529         _GNU_SOURCE.
48530
48531         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48532         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48533         Remove __restrict.
48534         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48535         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48536
48537 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48538
48539         [BZ #11655]
48540         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48541         are initialized.
48542
48543 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48544
48545         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48546
48547 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48548
48549         * po/it.po: Update from translation team.
48550
48551 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48552
48553         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48554         unused codes.
48555
48556 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48557
48558         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48559
48560 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48561
48562         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48563         specially.
48564         (gaih_getanswer_slice): Likewise.
48565
48566 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48567
48568         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48569
48570 2010-05-31  Petr Baudis  <pasky@suse.cz>
48571
48572         [BZ #11149]
48573         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48574         silently even in the chroot mode.
48575
48576 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48577
48578         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48579         last patch a bit.  Pretty printing
48580
48581 2010-05-31  Petr Baudis <pasky@suse.cz>
48582
48583         [BZ #10085]
48584         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48585         initialization of skip_initgroups_dyn.
48586
48587 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48588
48589         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48590         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48591
48592 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48593
48594         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48595
48596 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48597
48598         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48599         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48600         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48601         ($(objpfx)tst-fnmatch-mem): New rule.
48602         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48603         * posix/tst-fnmatch.c (main): Call mtrace.
48604
48605 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48606
48607         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48608         Support Intel processor model 6 and model 0x2c.
48609
48610 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48611
48612         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48613           signed comparison.
48614
48615 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48616
48617         [BZ #12205]
48618         * string/test-strncasecmp.c (check_result): New function.
48619         (do_one_test): Use it.
48620         (check1): New function.
48621         (test_main): Use it.
48622         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48623         Support strcasecmp and strncasecmp.
48624
48625 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48626
48627         [BZ #12194]
48628         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48629         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48630
48631 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48632
48633         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48634         IFUNC support.
48635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48636         memset-x86-64.
48637         * sysdeps/x86_64/multiarch/bzero.S: New file.
48638         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48639         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48640         * sysdeps/x86_64/multiarch/memset.S: New file.
48641         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48643         Set bit_Prefer_SSE_for_memop for Intel processors.
48644         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48645         Define.
48646         (index_Prefer_SSE_for_memop): Define.
48647         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48648
48649 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48650
48651         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48652         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48653
48654 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48655
48656         [BZ #12191]
48657         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48658         (__x86_64_raw_data_cache_size_half): Likewise.
48659         (__x86_64_raw_shared_cache_size): Likewise.
48660         (__x86_64_raw_shared_cache_size_half): Likewise.
48661
48662         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48663         (__x86_64_raw_data_cache_size_half): Likewise.
48664         (__x86_64_raw_shared_cache_size): Likewise.
48665         (__x86_64_raw_shared_cache_size_half): Likewise.
48666         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48667         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48668         and __x86_64_raw_shared_cache_size_half.  Round
48669         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48670         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48671         to multiple of 256 bytes.
48672
48673 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48674
48675         [BZ #12167]
48676         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48677         of inacessible symlinks.  Verify result of symlink before returning it.
48678         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48679         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48680
48681 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48682
48683         * math/math.h (isinf): Fix typo in comment.
48684
48685 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48686
48687         * po/da.po: Update from translation team.
48688
48689 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48690
48691         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48692         is added to the list.
48693
48694 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48695             Ulrich Drepper  <drepper@gmail.com>
48696
48697         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48698         the global list here.  Move code to...
48699         (_dl_add_to_namespace_list): ...here.  New function.
48700         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48701         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48702         * elf/dl-load.c (lose): Don't remove the element from the list.
48703         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48704         (_dl_map_object): Likewise.
48705
48706 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48707
48708         [BZ #12159]
48709         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48710         into all bytes of SSE register.
48711         Patch by Richard Li <richardpku@gmail.com>.
48712
48713 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48714
48715         [BZ #12140]
48716         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48717         perturbing.
48718
48719 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48720
48721         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48722         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48723         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48724         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48726         submachine.
48727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48728
48729 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48730
48731         * include/dlfcn.h (__RTLD_SECURE): Define.
48732         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48733         mode & __RTLD_SECURE instead.
48734         (open_path): Rename preloaded parameter to secure.
48735         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48736         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48737         * elf/dl-deps.c (openaux): Likewise.
48738         * elf/rtld.c (struct map_args): Remove is_preloaded.
48739         (map_doit): Don't use it.
48740         (dl_main): Likewise.
48741         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48742         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48743
48744 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48745
48746         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48747         (sysd-rules-targets): Remove duplicates.
48748         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48749         rtld-%.$o dependency.
48750
48751 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48752
48753         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48754         _dl_map_object do it.
48755
48756 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48757
48758         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48759         fast fma builtins, define the macros in the C99 standard.
48760         (FP_FAST_FMAF): Likewise.
48761         (FP_FAST_FMAL): Likewise.
48762         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48763
48764         * bits/mathdef.h: Update copyright year.
48765         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48766
48767 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48768
48769         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48770         builtins, define the macros in the C99 standard.
48771         (FP_FAST_FMAF): Likewise.
48772         (FP_FAST_FMAL): Likewise.
48773         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48774         multiply/add.
48775         (FP_FAST_FMAF): Likewise.
48776
48777 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48778
48779         [BZ #3268]
48780         * math/libm-test.inc (fma_test): Some new testcases.
48781         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48782         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48783         y and infinite z.  Do multiplication by C already in long double.
48784         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48786         y and infinite z.  Do bitwise or of inexact bit into u.d.
48787         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48788         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48789         * sysdeps/i386/fpu/s_fma.S: Removed.
48790         * sysdeps/i386/fpu/s_fmal.S: Removed.
48791
48792 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48793
48794         [BZ #3268]
48795         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48796         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48797         computation is not scheduled after fetestexcept.  Fix value
48798         of minimum denormal long double.
48799
48800 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48801
48802         [BZ #3268]
48803         * math/libm-test.inc (fma_test): Add some more tests.
48804         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48805         correctly.
48806
48807 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48808
48809         * scripts/data/localplt-s390-linux-gnu.data: New file.
48810         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48811
48812 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48813
48814         [BZ #3268]
48815         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48816         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48817         instead of dbl-64.
48818         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48819         inlines.
48820         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48821         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48822         if one of x and y is very large and the other is subnormal.
48823         * sysdeps/s390/fpu/s_fmaf.c: New file.
48824         * sysdeps/s390/fpu/s_fma.c: New file.
48825         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48826         * sysdeps/powerpc/fpu/s_fma.S: New file.
48827         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48828         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48829         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48830
48831 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48832
48833         [BZ #3268]
48834         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48835         fma tests.
48836         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48837         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48838         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48839         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48840         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48841         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48842         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48843
48844 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48845
48846         [BZ #12078]
48847         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48848         * posix/bug-regex31.input: Add test case.
48849
48850 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48851
48852         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48853         * posix/bug-regex31.input: New file.
48854
48855         [BZ #12078]
48856         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48857         (parse_sub_exp): Fix last change, use postorder.
48858
48859         * posix/bug-regex31.c: New file.
48860         * posix/Makefile: Add rules to build and run bug-regex31.
48861
48862         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48863
48864         [BZ #12078]
48865         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48866
48867         [BZ #12108]
48868         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48869         to have entries in sys_siglist.
48870
48871         [BZ #12093]
48872         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48873         be NULL.
48874
48875 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48876
48877         [BZ #3268]
48878         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48879         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48880         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48881         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48882         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48883         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48884         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48885         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48886         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48887         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48888         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48889         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48890         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48891         * math/ftestexcept.c (fetestexcept): Likewise.
48892         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48893         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48894         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48895         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48896         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48897         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48898         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48899
48900 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48901
48902         [BZ #12107]
48903         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48904         newline.
48905
48906 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48907
48908         * string/bug-strstr1.c: New file.
48909         * string/Makefile: Add rules to build and run bug-strstr1.
48910
48911 2010-10-05  Eric Blake  <eblake@redhat.com>
48912
48913         [BZ #12092]
48914         * string/str-two-way.h (two_way_long_needle): Always clear memory
48915         when skipping input due to the shift table.
48916
48917 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48918
48919         [BZ #12005]
48920         * malloc/mcheck.c: Handle large requests.
48921
48922         [BZ #12077]
48923         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48924         for strncmp and strncasecmp.
48925         * string/stratcliff.c: Add tests for strcmp and strncmp.
48926         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48927
48928 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48929
48930         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48931         __set_fpscr.
48932
48933 2010-09-30  Andreas Jaeger  <aj@suse.de>
48934
48935         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48936         (CGROUP_SUPER_MAGIC): Define.
48937         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48938         Handle btrfs and cgroup file systems.
48939         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48940         Likewise.
48941
48942 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48943
48944         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48945         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48946
48947 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48948
48949         [BZ #12067]
48950         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48951         trying to locate the ELF header.
48952
48953 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48954
48955         [BZ #11611]
48956         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48957         Mask out sign-bit copies when constructing f_fsid.
48958
48959 2010-09-24  Petr Baudis <pasky@suse.cz>
48960
48961         * debug/stack_chk_fail_local.c: Add missing licence exception.
48962         * debug/warning-nop.c: Likewise.
48963
48964 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48965
48966         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48967         implementing getdents64 using getdents syscall, set d_type if
48968         __ASSUME_GETDENTS32_D_TYPE.
48969
48970 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48971
48972         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48973         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48974
48975 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48976
48977         [BZ #12037]
48978         * posix/unistd.h: Undo change of feature selection for ftruncate from
48979         2010-01-11.
48980
48981 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48982
48983         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48984         detection.
48985
48986 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48987
48988         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48989         fanotify_mark.
48990         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48991
48992 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48993
48994         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48995         variables after CHECK_SP call.
48996         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48997
48998 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48999             Ulrich Drepper  <drepper@redhat.com>
49000
49001         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49002         re-relocationg ld.so.
49003         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49004         _dl_init_paths call.
49005         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49006         here anymore.
49007
49008 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49009
49010         * resolv/res_init.c (__res_vinit): Count the default server we added.
49011
49012 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49013             Ulrich Drepper  <drepper@redhat.com>
49014
49015         [BZ #11968]
49016         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49017         (____longjmp_chk): Use %ebx for saving value across system call.
49018         Add unwind info.
49019
49020 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49021
49022         * manual/Makefile: Don't mix pattern rules with normal rules.
49023
49024 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49025
49026         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49027         operation.
49028         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49029         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49030         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49031         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49032         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49033         Likewise.
49034
49035 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49036
49037         [BZ #11979]
49038         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49039         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49040
49041 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49042
49043         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49044         * sysdeps/x86_64/addmul_1.S: Likewise.
49045         * sysdeps/x86_64/lshift.S: Likewise.
49046         * sysdeps/x86_64/mul_1.S: Likewise.
49047         * sysdeps/x86_64/rshift.S: Likewise.
49048         * sysdeps/x86_64/sub_n.S: Likewise.
49049         * sysdeps/x86_64/submul_1.S: Likewise.
49050
49051 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49052
49053         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49054         Define __sched_param instead of SCHED_* and sched_param when
49055         <bits/sched.h> is included with __need_schedparam defined.
49056         * bits/sched.h [__need_schedparam]
49057         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49058         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49059         (__defined_schedparam): Define to 1.
49060         (__sched_param): New structure, identical to sched_param.
49061         (__need_schedparam): Undefine.
49062
49063 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49064
49065         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49066         (epoll_create1): Declare.
49067
49068         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49069
49070 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49071
49072         [BZ #7066]
49073         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49074         shifting retval into place.
49075
49076 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49077
49078         * nis/rpcsvc/nis.h: Update copyright notice.
49079         * nis/rpcsvc/nis.x: Likewise.
49080         * nis/rpcsvc/nis_callback.h: Likewise.
49081         * nis/rpcsvc/nis_callback.x: Likewise.
49082         * nis/rpcsvc/nis_object.x: Likewise.
49083         * nis/rpcsvc/nis_tags.h: Likewise.
49084         * nis/rpcsvc/yp.h: Likewise.
49085         * nis/rpcsvc/yp.x: Likewise.
49086         * nis/rpcsvc/ypupd.h: Likewise.
49087         * nis/yp_xdr.c: Likewise.
49088         * nis/ypupdate_xdr.c: Likewise.
49089
49090         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49091         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49092         (pmap_getport): Use __libc_rpc_getport.
49093         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49094         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49095         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49096
49097 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49098
49099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49100         fanotify_mark.
49101
49102 2010-08-27  Roland McGrath  <roland@redhat.com>
49103
49104         * sysdeps/i386/i686/multiarch/Makefile
49105         (CFLAGS-varshift.c): New variable.
49106
49107 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49108
49109         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49110         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49111
49112         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49113
49114         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49115
49116 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49117
49118         * sysdeps/x86_64/strlen.S: Unroll the loop.
49119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49120         strlen-sse2 strlen-sse2-bsf.
49121         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49122         __strlen_no_bsf if bit_Slow_BSF is set.
49123         (__strlen_sse42): Removed.
49124         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49125         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49126
49127 2010-08-25  Roland McGrath  <roland@redhat.com>
49128
49129         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49130         * sysdeps/x86_64/multiarch/varshift.c: New file.
49131         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49132         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49133         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49134         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49135
49136 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49137
49138         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49139         strlen-sse2 strlen-sse2-bsf.
49140         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49141         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49142         (__strlen_sse2): Removed.
49143         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49144         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49146         bit_Slow_BSF for Atom.
49147         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49148         (index_Slow_BSF): Define.
49149         (HAS_SLOW_BSF): Define.
49150
49151 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49152
49153         [BZ #10851]
49154         * resolv/res_init.c (__res_vinit): When no server address at all
49155         is given default to loopback.
49156
49157 2010-08-24  Roland McGrath  <roland@redhat.com>
49158
49159         * configure.in: Remove config-name.h generation.
49160         * configure: Regenerated.
49161         * config-name.in: File removed.
49162         * scripts/config-uname.sh: New file.
49163         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49164         ($(objdir)config-name.h): New target.
49165
49166         * sunrpc/rpc_parse.h: Avoid nested comment.
49167
49168 2010-08-24  Richard Henderson  <rth@redhat.com>
49169             Ulrich Drepper  <drepper@redhat.com>
49170             H.J. Lu  <hongjiu.lu@intel.com>
49171
49172         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49174         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49175         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49176         _mm_alignr_epi8 with _mm_loadu_si128.
49177         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49178         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49179         (__m128i_shift_right): Removed.
49180         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49181         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49182         * sysdeps/x86_64/multiarch/varshift.h: New file.
49183         * sysdeps/x86_64/multiarch/varshift.S: New file.
49184
49185 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49186
49187         * configure.in: Move assembler checks to before sysdep dir checking.
49188
49189 2010-08-20  Petr Baudis  <pasky@suse.cz>
49190
49191         * LICENSES: Sync the sunrpc license.
49192
49193 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49194
49195         * sunrpc/auth_des.c: Update copyright notice once again.
49196         * sunrpc/auth_none.c: Likewise.
49197         * sunrpc/auth_unix.c: Likewise.
49198         * sunrpc/authdes_prot.c: Likewise.
49199         * sunrpc/authuxprot.c: Likewise.
49200         * sunrpc/bindrsvprt.c: Likewise.
49201         * sunrpc/clnt_gen.c: Likewise.
49202         * sunrpc/clnt_perr.c: Likewise.
49203         * sunrpc/clnt_raw.c: Likewise.
49204         * sunrpc/clnt_simp.c: Likewise.
49205         * sunrpc/clnt_tcp.c: Likewise.
49206         * sunrpc/clnt_udp.c: Likewise.
49207         * sunrpc/clnt_unix.c: Likewise.
49208         * sunrpc/des_crypt.c: Likewise.
49209         * sunrpc/des_soft.c: Likewise.
49210         * sunrpc/get_myaddr.c: Likewise.
49211         * sunrpc/getrpcport.c: Likewise.
49212         * sunrpc/key_call.c: Likewise.
49213         * sunrpc/key_prot.c: Likewise.
49214         * sunrpc/openchild.c: Likewise.
49215         * sunrpc/pm_getmaps.c: Likewise.
49216         * sunrpc/pm_getport.c: Likewise.
49217         * sunrpc/pmap_clnt.c: Likewise.
49218         * sunrpc/pmap_prot.c: Likewise.
49219         * sunrpc/pmap_prot2.c: Likewise.
49220         * sunrpc/pmap_rmt.c: Likewise.
49221         * sunrpc/rpc/auth.h: Likewise.
49222         * sunrpc/rpc/auth_unix.h: Likewise.
49223         * sunrpc/rpc/clnt.h: Likewise.
49224         * sunrpc/rpc/des_crypt.h: Likewise.
49225         * sunrpc/rpc/key_prot.h: Likewise.
49226         * sunrpc/rpc/netdb.h: Likewise.
49227         * sunrpc/rpc/pmap_clnt.h: Likewise.
49228         * sunrpc/rpc/pmap_prot.h: Likewise.
49229         * sunrpc/rpc/pmap_rmt.h: Likewise.
49230         * sunrpc/rpc/rpc.h: Likewise.
49231         * sunrpc/rpc/rpc_des.h: Likewise.
49232         * sunrpc/rpc/rpc_msg.h: Likewise.
49233         * sunrpc/rpc/svc.h: Likewise.
49234         * sunrpc/rpc/svc_auth.h: Likewise.
49235         * sunrpc/rpc/types.h: Likewise.
49236         * sunrpc/rpc/xdr.h: Likewise.
49237         * sunrpc/rpc_clntout.c: Likewise.
49238         * sunrpc/rpc_cmsg.c: Likewise.
49239         * sunrpc/rpc_common.c: Likewise.
49240         * sunrpc/rpc_cout.c: Likewise.
49241         * sunrpc/rpc_dtable.c: Likewise.
49242         * sunrpc/rpc_hout.c: Likewise.
49243         * sunrpc/rpc_main.c: Likewise.
49244         * sunrpc/rpc_parse.c: Likewise.
49245         * sunrpc/rpc_parse.h: Likewise.
49246         * sunrpc/rpc_prot.c: Likewise.
49247         * sunrpc/rpc_sample.c: Likewise.
49248         * sunrpc/rpc_scan.c: Likewise.
49249         * sunrpc/rpc_scan.h: Likewise.
49250         * sunrpc/rpc_svcout.c: Likewise.
49251         * sunrpc/rpc_tblout.c: Likewise.
49252         * sunrpc/rpc_util.c: Likewise.
49253         * sunrpc/rpc_util.h: Likewise.
49254         * sunrpc/rpcinfo.c: Likewise.
49255         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49256         * sunrpc/rpcsvc/key_prot.x: Likewise.
49257         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49258         * sunrpc/rpcsvc/mount.x: Likewise.
49259         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49260         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49261         * sunrpc/rpcsvc/rex.x: Likewise.
49262         * sunrpc/rpcsvc/rstat.x: Likewise.
49263         * sunrpc/rpcsvc/rusers.x: Likewise.
49264         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49265         * sunrpc/rpcsvc/spray.x: Likewise.
49266         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49267         * sunrpc/rtime.c: Likewise.
49268         * sunrpc/svc.c: Likewise.
49269         * sunrpc/svc_auth.c: Likewise.
49270         * sunrpc/svc_authux.c: Likewise.
49271         * sunrpc/svc_raw.c: Likewise.
49272         * sunrpc/svc_run.c: Likewise.
49273         * sunrpc/svc_simple.c: Likewise.
49274         * sunrpc/svc_tcp.c: Likewise.
49275         * sunrpc/svc_udp.c: Likewise.
49276         * sunrpc/svc_unix.c: Likewise.
49277         * sunrpc/svcauth_des.c: Likewise.
49278         * sunrpc/xcrypt.c: Likewise.
49279         * sunrpc/xdr.c: Likewise.
49280         * sunrpc/xdr_array.c: Likewise.
49281         * sunrpc/xdr_float.c: Likewise.
49282         * sunrpc/xdr_mem.c: Likewise.
49283         * sunrpc/xdr_rec.c: Likewise.
49284         * sunrpc/xdr_ref.c: Likewise.
49285         * sunrpc/xdr_sizeof.c: Likewise.
49286         * sunrpc/xdr_stdio.c: Likewise.
49287
49288         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49289         handling.
49290
49291 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49292
49293         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49294
49295 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49296
49297         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49298         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49299         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49300         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49301         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49302         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49303         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49304         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49305         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49306         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49307         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49308         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49309         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49310         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49311
49312 2010-07-26  Anton Blanchard  <anton@samba.org>
49313
49314         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49315         * malloc/arena.c (heap_trim): Likewise.
49316
49317 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49318
49319         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49320         here.  Not...
49321         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49322         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49323
49324 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49325
49326         * sysdeps/i386/elf/Makefile: New file.
49327
49328 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49329
49330         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49331         from fanotify_init.
49332         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49333         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49334
49335 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49336
49337         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49338         of strncasecmp_l.
49339         * sysdeps/multiarch/strcmp.S: Likewise.
49340
49341 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49342
49343         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49344         strncase_l-nonascii.
49345         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49346         Add strncase_l-ssse3.
49347         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49348         * sysdeps/x86_64/strcmp.S: Likewise.
49349         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49350         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49351         * sysdeps/x86_64/strncase.S: New file.
49352         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49353         * sysdeps/x86_64/strncase_l.S: New file.
49354         * string/Makefile (strop-tests): Add strncasecmp.
49355         * string/test-strncasecmp.c: New file.
49356
49357         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49358         warning.
49359
49360         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49361         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49362
49363 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49364
49365         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49366
49367 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49368
49369         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49370         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49371         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49372
49373 2010-05-01  Alan Modra  <amodra@gmail.com>
49374
49375         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49376         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49377         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49378         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49379         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49380         tidying.  Don't tail-call __sigjmp_save for static lib.
49381         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49382         save location.
49383         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49384         (CALL_MCOUNT): Add eh info, and nop after bl.
49385         (TAIL_CALL_SYSCALL_ERROR): New macro.
49386         (PSEUDO_RET): Use it.
49387         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49388         Correct save location of integer regs and cr.
49389         (_dl_profile_resolve): Correct cr save location.  Delete nops
49390         after bl when SHARED.  Reduce cfi size a little by better
49391         placement of cfi directives.
49392         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49393         make a stack frame.  Instead use parm save area as a temp.
49394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49395         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49397         Don't make a stack frame for parent, use parm save area.
49398         Increase child stack frame to 112 bytes.  Don't save unused reg,
49399         and adjust reg usage.  Set up cfi on error recovery and
49400         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49402         (__makecontext): Add dummy nop after jump to exit.
49403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49404         Use correct parm save area and cr save, reduce stack frame.
49405         Correct cfi for possible PSEUDO_RET frame setup.
49406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49407         Branch to local label emitted by PSEUDO_RET rather than
49408         __syscall_error.
49409
49410 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49411
49412         [BZ #11904]
49413         * locale/programs/locale.c (print_assignment): New function.
49414         (show_locale_vars): Use it.
49415
49416 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49417
49418         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49419         field.
49420         (struct statfs64): Likewise.
49421         (_STATFS_F_FLAGS): Define.
49422         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49423         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49424         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49425         (ST_VALID): Define locally.
49426         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49427         __statvfs_getflags, use the provided value.
49428         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49429         __ASSUME_STATFS_F_FLAGS.
49430
49431         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49432
49433         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49434         Add sys/fanotify.h.
49435         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49436         fanotify_mask for GLIBC_2.13.
49437         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49438         fanotify_init and fanotify_mark.
49439         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49440         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49441
49442         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49443         Add prlimit.
49444         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49445         prlimit64 for GLIBC_2.13.
49446         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49447         prlimit64.
49448         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49449         syscall.
49450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49451         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49452         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49453         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49454         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49455         add prlimit alias.
49456         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49457
49458         [BZ #11903]
49459         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49460         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49461
49462         * nss/Makefile: Add rules to build and run tst-nss-test1.
49463         * shlib-versions: Add entry for libnss_test1.
49464         * nss/nss_test1.c: New file.
49465         * nss/tst-nss-test1.c: New file.
49466
49467         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49468         (__nss_configure_lookup): Set appropriate entry in
49469         __nss_configure_lookup to true.
49470         * nss/nsswitch.h: Define enum with indeces of databases in
49471         databases and __nss_database_custom arrays.  Declare
49472         __nss_database_custom.
49473         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49474         to avoid using nscd when custom rules are installed.
49475         * nss/getXXbyYY_r.c: Likewise.
49476         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49477
49478         * nss/nss_files/files-parse.c: Whitespace fixes.
49479
49480 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49481
49482         [BZ #11883]
49483         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49484         * posix/fnmatch_loop.c: Likewise.
49485
49486 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49487
49488         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49489         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49490         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49491         * Versions.def [GLIBC_2.13]: Add.
49492
49493 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49494
49495         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49496         Also fail if tpwd after pwuid call is NULL.
49497
49498 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49499
49500         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49501         when converting to ms.
49502
49503 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49504
49505         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49506         EOPNOTSUPP errors with ENOTTY.
49507         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49508         EOPNOTSUPP errors with ENOTTY.
49509
49510 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49511
49512         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49513         Add strcasecmp_l-ssse3.
49514         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49515         strcasecmp.
49516         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49517         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49518         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49519
49520 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49521
49522         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49523
49524         * string/Makefile (strop-tests): Add strcasecmp.
49525         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49526         strcasecmp_l-nonascii.
49527         (gen-as-const-headers): Add locale-defines.sym.
49528         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49529         * sysdeps/x86_64/strcasecmp.S: New file.
49530         * sysdeps/x86_64/strcasecmp_l.S: New file.
49531         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49532         * sysdeps/x86_64/locale-defines.sym: New file.
49533         * string/test-strcasecmp.c: New file.
49534
49535         * string/test-strcasestr.c: Test both ends of the range of characters.
49536         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49537
49538 2010-07-29  Roland McGrath  <roland@redhat.com>
49539
49540         [BZ #11856]
49541         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49542
49543 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49544
49545         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49546         for ld.so.
49547
49548 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49549
49550         * manual/memory.texi (Malloc Tunable Parameters): Document
49551         M_PERTURB.
49552
49553 2010-07-26  Roland McGrath  <roland@redhat.com>
49554
49555         [BZ #11840]
49556         * configure.in (-fgnu89-inline check): Set and substitute
49557         gnu89_inline, not libc_cv_gnu89_inline.
49558         * configure: Regenerated.
49559         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49560
49561 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49562
49563         * string/test-strnlen.c: New file.
49564         * string/Makefile (strop-tests): Add strnlen.
49565         * string/tester.c (test_strnlen): Add a few more test cases.
49566         * string/tst-strlen.c: Better error reporting.
49567
49568         * sysdeps/x86_64/strnlen.S: New file.
49569
49570 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49571
49572         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49573         lower-latency instructions.
49574
49575 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49576
49577         * string/test-strcasestr.c: New file.
49578         * string/test-strstr.c: New file.
49579         * string/Makefile (strop-tests): Add strstr and strcasestr.
49580         * string/str-two-way.h: Don't undefine MAX.
49581         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49582
49583 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49584
49585         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49586         strcasestr-nonascii.
49587         (CFLAGS-strcasestr-nonascii.c): Define.
49588         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49589         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49590         Remove unused attribute.
49591
49592 2010-07-20  Roland McGrath  <roland@redhat.com>
49593
49594         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49595         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49596         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49597         like LD_HWCAP_MASK can disable hwcaps.
49598
49599 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49600
49601         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49602
49603 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49604
49605         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49606         call in strcasestr.
49607         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49608         __strcasestr_sse42_nonascii.
49609         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49610         strcasestr-nonascii.c.
49611         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49612
49613 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49614
49615         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49616         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49617         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49618         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49619
49620 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49621
49622         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49623         fcntl.
49624
49625 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49626
49627         [BZ #11577]
49628         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49629         dl_signal_cerror.
49630
49631 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49632
49633         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49634         _PC_PIPE_BUF using F_GETPIPE_SZ.
49635
49636 2010-07-05  Roland McGrath  <roland@redhat.com>
49637
49638         * manual/arith.texi (Rounding Functions): Fix rint description
49639         implicit in round description.
49640
49641 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49642
49643         * elf/Makefile: Fix linking for a few tests to make recent linker
49644         happy.
49645
49646 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49647
49648         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49649         $(common-objpfx)libc_nonshared.a.
49650
49651 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49652
49653         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49654         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49655         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49656         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49657         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49658         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49659         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49660         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49675         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49676         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49677         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49678         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49679         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49680         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49681         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49682         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49683         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49684         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49685         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49686         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49701
49702 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49703
49704         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49705         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49706         * string/memmove.c (memmove): Renamed to ...
49707         (MEMMOVE): ...this.  Default to memmove.
49708         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49709         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49710         (END_CHK): Define.
49711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49712         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49713         mempcpy-ssse3-back memmove-ssse3-back.
49714         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49715         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49716         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49717         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49718         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49719         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49720         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49721         * sysdeps/x86_64/multiarch/memmove.c: New file.
49722         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49723         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49724         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49725         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49726         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49727         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49728         Define.
49729         (index_Fast_Copy_Backward): Define.
49730         (HAS_ARCH_FEATURE): Define.
49731         (HAS_FAST_REP_STRING): Define.
49732         (HAS_FAST_COPY_BACKWARD): Define.
49733
49734 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49735
49736         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49737         Restore proper fallback handling.
49738
49739 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49740
49741         [BZ #11701]
49742         * posix/group_member.c (__group_member): Correct checking loop.
49743
49744         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49745         OOM in getpwuid_r correctly.  Return error number when the caller
49746         should return, otherwise -1.
49747         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49748         call returning > 0 value.
49749         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49750
49751 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49752
49753         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49754         libc_nonshared.a from targets in modules-names.
49755
49756 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49757
49758         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49759         requires it.
49760
49761 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49762
49763         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49764         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49765         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49766         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49767
49768 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49769
49770         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49771
49772 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49773
49774         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49775         and F_GETPIPE_SZ.
49776         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49777         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49778         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49779         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49780         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49781         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49782
49783 2010-06-14  Roland McGrath  <roland@redhat.com>
49784
49785         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49786
49787 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49788
49789         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49790         __REDIRECT followed by __THROW.
49791         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49792         * posix/getopt.h (getopt): Likewise.
49793
49794 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49795
49796         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49797         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49798         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49799         in AT_FLAGS.
49800         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49801         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49802
49803 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49804
49805         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49806
49807 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49808
49809         [BZ #11640]
49810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49811         Properly check family and model.
49812
49813 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49814
49815         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49816
49817 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49818
49819         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49820
49821 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49822
49823         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49824         symbol reference.
49825
49826 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49827
49828         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49829         symbol reference.
49830
49831 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49832
49833         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49834         and internal_recvmmsg.
49835         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49836         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49837         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49838         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49839
49840         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49841         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49842         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49843
49844 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49845
49846         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49847
49848 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49849
49850         POWER7 optimizations.
49851         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49852         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49853
49854 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49855
49856         * version.h: Update for 2.13 development version.
49857
49858 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49859
49860         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49861         exceptions.  Return 0.
49862
49863 2010-05-07  Roland McGrath  <roland@redhat.com>
49864
49865         * elf/ldconfig.c (main): Add a const.
49866
49867 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49868
49869         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49870         (args_options): Add no-idn option.
49871         (ahosts_keys_int): Add idn_flags to ai_flags.
49872         (parse_option): Handle 'i' option to clear idn_flags.
49873
49874         * malloc/malloc.c (_int_free): Possible race in the most recently
49875         added check.  Only act on the data if no current modification
49876         happened.
49877
49878 See ChangeLog.17 for earlier changes.