Move architecture-specific shlib-versions entries to sysdeps files.
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2
3         * nptl/shlib-versions: Remove architecture-specific entries.
4         Moved to files in sysdeps.
5         * shlib-versions: Likewise.
6         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7         file.
8         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12
13         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14         (UDP_NO_CHECK6_RX): Likewise.
15
16 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17
18         * sysdeps/posix/sysconf.c (__sysconf): Spell
19         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20
21 2014-08-12  Florian Weimer  <fweimer@redhat.com>
22
23         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
24         loading.
25         * iconv/Versions (__gconv_transliterate): Export for use from
26         gconv modules.
27         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28         (struct __gconv_trans_data, __gconv_trans_fct,
29         __gconv_trans_context_fct, __gconv_trans_query_fct,
30         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31         definitions.
32         (struct __gconv_step_data): Remove __trans member.
33         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
34         longer hidden.  Remove unused trans_data argument.
35         * iconv/gconv_int.h (struct trans_struct): Remove definition.
36         (__gconv_translit_find): Remove declaration.
37         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
38         prototype.
39         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
41         trans_data argument.  Add hidden definition.
42         (__gconv_translit_find): Remove.
43         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
45         * iconv/skeleton.c: Remove transliteration initialization.
46         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
47         __gconv_step_data initialization.
48         * libio/iofwide.c (__libio_translit_): Remove.
49         (_IO_fwide): Adjust struct __gconv_step_data initialization.
50         * wcsmbs/btowc.c (__btowc): Likewise.
51         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
52         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
53         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
54         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
55         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
56         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
57         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
58         * wcsmbs/wctob.c (wctob): Likewise.
59
60 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61
62         [BZ #16194]
63         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
64         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
65         register usage.
66         * sysdeps/x86/Makefile: Adjust.
67
68 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
69             Roland McGrath  <roland@hack.frob.com>
70
71         * locale/weight.h: Add include guard.
72         (findidx): Make static rather than auto; take new parameters
73         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
74         * locale/weightwc.h: Likewise.
75         * posix/fnmatch_loop.c
76         (FCT): Change type of EXTRA from int32_t to wint_t.
77         Don't include either header inside the function.
78         Call FINDIDX rather than findidx, and pass new arguments.
79         #undef FINDIDX at the end of the file.
80         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
81         FINDIDX before including fnmatch_loop.c for the non-wide version.
82         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
83         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
84         for the wide version.
85         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
86         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
87         Pass new arguments to findidx.
88         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
89         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
90         Don't #include it inside the function.  Pass new arguments to findidx.
91         * posix/regex_internal.h
92         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
93         (re_string_elem_size_at): Don't #include it inside the function.
94         Pass new arguments to findidx.
95         * string/strcoll_l.c: #include WEIGHT_H at top level.
96         (get_next_seq): Don't #include it inside the function.
97         Pass new arguments to findidx.
98         (get_next_seq_nocache): Likewise.
99         * string/strxfrm_l.c: #include WEIGHT_H at top level.
100         (STRXFRM): Don't #include it inside the function.
101         Pass new arguments to findidx.
102
103 2014-09-11  Florian Weimer  <fweimer@redhat.com>
104
105         [BZ #17344]
106         * malloc/malloc.c (unlink): Turn asserts into a call to
107         malloc_printerr.
108
109 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
110
111         [BZ #17370]
112         * libio/wfileops (do_ftell_wide): Free OUT.
113
114 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
115
116         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
117
118 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
119
120         [BZ #17363]
121         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
122         group if the current group is empty.
123
124 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
125
126         * benchtests/bench-memset.c (test_main): Add more test from size
127         from 32 to 512 bytes.
128         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
129         Add POWER8 memset object.
130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
131         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
132         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
133         implementation.
134         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
135         Likewise.
136         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
137         multiarch POWER8 memset optimization.
138         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
139         POWER8 memset optimization.
140
141         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
142         Remove bzero multiarch objects.
143         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
144         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
145         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
146         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
147         Remove define.
148         [__bzero]: Redefine to specific name.
149         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
150         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
151         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
152         define.
153         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
154         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
155
156 2014-09-10  Florian Weimer  <fweimer@redhat.com>
157
158         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
159         warnings into errors.
160
161         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
162         __cxa_thread_atexit_impl prototype.
163
164 2014-09-09  Steve Ellcey  <sellcey@mips.com>
165
166         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
167         Fix capitalization of error message.
168
169 2014-09-09  Steve Ellcey  <sellcey@mips.com>
170
171         * sysdeps/mips/preconfigure: Modify ABI tests.
172
173 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
174
175         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
176
177 2014-09-07  Roland McGrath  <roland@hack.frob.com>
178             Carlos O'Donell  <carlos@systemhalted.org>
179
180         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
181         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
182         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
183         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
184         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
185         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
186         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
187         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
188         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
189         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
191         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
192         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
193         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
194         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
195         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
196         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
197         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
198         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
199         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
200         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
201         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
202         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
203         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
204         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
205         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
206         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
207         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
208         Deconditionalize the code that was previously under [RESET_PID].
209         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
210         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
211         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
212         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
213         include sysdep.h.
214
215 2014-09-08  Allan McRae  <allan@archlinux.org>
216
217         * version.h (RELEASE): Set to "development".
218         (VERSION): Set to "2.20.90"
219
220 2014-09-07  Allan McRae  <allan@archlinux.org
221
222         * version.h (RELEASE): Set to "stable".
223         (VERSION): Set to "2.20"
224         * include/features.h (__GLIBC_MINOR__): Set to 20.
225
226         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
227         Liebler.
228
229         * po/ko.po: Update Korean translation from translation project.
230
231 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
232
233         [BZ #17354]
234         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
235         macro for handling signed relocations.
236
237 2014-09-03  Florian Weimer  <fweimer@redhat.com>
238
239         [BZ #17325]
240         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
241         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
242         assert.
243         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
244         * iconvdata/ibm935.c (BODY): Likewise.
245         * iconvdata/ibm937.c (BODY): Likewise.
246         * iconvdata/ibm939.c (BODY): Likewise.
247         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
248         assert.
249         * iconvdata/Makefile (iconv-test.out): Pass module list to test
250         script.
251         * iconvdata/run-iconv-test.sh: New test loop for checking for
252         decoder crashers.
253
254 2014-09-02  Khem Raj  <raj.khem@gmail.com>
255
256         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
257         libm_hidden_ver.
258
259 2014-09-01  Allan McRae  <allan@archlinux.org>
260
261         * po/eo.po: Update Esperanto translation from translation project.
262
263         * po/ca.po: Update Catalan translation from translation project.
264
265 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
266
267         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
268         __proc_dostop call.
269
270 2014-08-27  Mark Wielaard  <mjw@redhat.com>
271
272         [BZ #17319]
273         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
274         to call set_thread_area instead of hand written asm.
275         (__NR_set_thread_area): Removed define.
276         (TLS_FLAG_WRITABLE): Likewise.
277         (__ASSUME_SET_THREAD_AREA): Remove check.
278         (TLS_EBX_ARG): Remove define.
279         (TLS_LOAD_EBX): Likewise.
280
281 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
282
283         Simplify atomicity of socket creation in bind.
284
285         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
286         looking up the name after linking the file.
287
288 2014-08-27  Allan McRae  <allan@archlinux.org>
289
290         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
291
292 2014-08-26  Florian Weimer  <fweimer@redhat.com>
293
294         [BZ #17187]
295         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
296         trans_compare, open_translit, __gconv_translit_find):
297         Remove module loading code.
298
299 2014-08-26  Allan McRae  <allan@archlinux.org>
300
301         * po/vi.po: Update Vietnamese translation from translation project.
302
303         * po/uk.po: Update Ukrainian translation from translation project.
304
305         * po/fr.po: Update French translation from translation project.
306
307         * po/ru.po: Update Russian translation from translation project.
308
309         * po/pl.po: Update Polish translation from translation project.
310
311         * po/cs.po: Update Czech translation from translation project.
312
313         * po/de.po: Update German translation from translation project.
314
315         * po/bg.po: Update Bulgarian translation from translation project.
316
317         * po/sv.po: Update Sweedish translation from translation project.
318
319         * po/nl.po: Update Dutch translation from translation project.
320
321         * po/es.po: Update Spanish translation from translation project.
322
323 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
324
325         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
326
327         * catgets/Makefile (CPPFLAGS-gencat): Remove.
328         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
329         (CPPFLAGS-iconvconfig): Likewise.
330         * timezone/Makefile (CPPFLAGS-zic): Likewise.
331
332         * include/libc-symbols.h: Remove unnecessary check for
333         NOT_IN_libc.
334         * nptl/pthreadP.h: Likewise.
335         * sysdeps/aarch64/setjmp.S: Likewise.
336         * sysdeps/alpha/setjmp.S: Likewise.
337         * sysdeps/arm/sysdep.h: Likewise.
338         * sysdeps/i386/setjmp.S: Likewise.
339         * sysdeps/m68k/setjmp.c: Likewise.
340         * sysdeps/posix/getcwd.c: Likewise.
341         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
342         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
343         * sysdeps/s390/s390-32/setjmp.S: Likewise.
344         * sysdeps/s390/s390-64/setjmp.S: Likewise.
345         * sysdeps/sh/sh3/setjmp.S: Likewise.
346         * sysdeps/sh/sh4/setjmp.S: Likewise.
347         * sysdeps/unix/alpha/sysdep.h: Likewise.
348         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
349         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
350         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
351         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
354         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
355         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
356         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
359         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
360         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
361         * sysdeps/x86_64/setjmp.S: Likewise.
362
363 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
364
365         [BZ #17263]
366         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
367         <stdint.h>.
368         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
369         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
370
371 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
372
373         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
374
375         [BZ #17262]
376         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
377         and __x86_64__ when disabling x87 inline functions.
378
379 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
380
381         [BZ #17259]
382         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
383         asm statement with __cpuid_count.
384
385 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
386
387         * configure.ac: Change __ehdr_start code to dereference the struct.
388         Run readelf on the output to look for relocations.
389         * configure: Regenerated.
390
391 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
392
393         [BZ #17261]
394         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
395         value to 0.
396         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
397
398 2014-08-12  Roland McGrath  <roland@hack.frob.com>
399
400         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
401
402 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
403
404         [BZ #16892]
405         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
406         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
407
408 2014-08-12  Sean Anderson  <seanga2@gmail.com>
409
410         * malloc/malloc.c: Fix typo in comment.
411
412 2014-08-09  Allan McRae  <allan@archlinux.org>
413
414         * Regenerate libc.po.
415
416 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
417
418         * intl/tst-gettext2.sh: Check every lang file for creation.
419
420 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
421
422         * sysdeps/aarch64/fpu/math_private.h
423         (libc_feholdsetround_noex_aarch64_ctx): New function.
424
425 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
426
427         * sysdeps/arm/armv6/strcpy.S (strcpy):
428         Fix performance issue in misaligned cases.
429
430 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
431
432         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
433         Move definition from termios.h.
434         (struct termio): Likewise.
435         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
436         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
437         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
438         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
439         Likewise.
440         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
441         Move definition to ioctl-types.h
442         (struct termio): Likewise.
443         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
444         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
445         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
446         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
447         Likewise.
448
449 2014-08-05  Richard Henderson  <rth@redhat.com>
450
451         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
452         exceptions.
453         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
454         Add fraiseexcpt.
455         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
456         Use __feraiseexcept.
457         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
458         Protect libm symbols with IS_IN_libm.
459
460         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
461
462 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
463
464         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
465
466 2014-08-04  Will Newton  <will.newton@linaro.org>
467
468         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
469         file.
470
471 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
472
473         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
474         variants for each function.
475
476 2014-08-04  Roland McGrath  <roland@hack.frob.com>
477
478         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
479         appended ...
480         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
481         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
482         appended ...
483         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
484         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
485         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
486         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
487         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
488         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
489         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
490         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
491         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
492         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
493         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
494         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
495         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
496         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
497         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
498         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
499         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
500         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
501         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
502         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
503         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
504         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
505         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
506         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
507         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
508         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
509         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
510         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
511         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
512         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
513         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
514         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
515         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
516         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
517         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
518         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
519         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
520         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
521         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
522         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
523         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
524         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
525         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
526         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
527         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
528         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
529         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
530         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
531         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
532         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
533         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
534         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
535         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
536         Update #include.
537         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
538         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
539
540 2014-08-04  Roland McGrath  <roland@hack.frob.com>
541
542         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
543         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
544         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
545         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
546         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
547         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
548
549 2014-08-04  Roland McGrath  <roland@hack.frob.com>
550
551         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
552         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
553         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
554         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
555
556 2014-08-04  Roland McGrath  <roland@hack.frob.com>
557
558         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
559         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
560         (__libc_vfork): Define function under this name.
561         (__vfork): Define as an alias.
562         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
563         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
564
565 2014-08-04  Roland McGrath  <roland@hack.frob.com>
566
567         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
568         that was previously under [RESET_PID].
569         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
570
571 2014-08-04  Andreas Schwab  <schwab@suse.de>
572
573         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
574
575 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
576
577         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
578         (main): Likewise.
579
580 2014-08-01  Roland McGrath  <roland@hack.frob.com>
581
582         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
583
584 2014-08-01  Richard Henderon  <rth@redhat.com>
585
586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
587         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
588         typo in exact zero test.
589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
590         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
591         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
592
593 2014-08-01  Roland McGrath  <roland@hack.frob.com>
594
595         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
596         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
597         * sysdeps/arm/sysdep.h: ... here.
598         [!__ASSEMBLER__]: Include <stdint.h>.
599
600 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
601
602         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
603         (HAVE_WCTYPE_H): Likewise.
604         (HAVE_ISWCTYPE): Likewise.
605         (ENABLE_NLS): Likewise.
606         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
607         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
608
609         * posix/regex_internal.c: Check if DEBUG is defined and is
610         set.
611
612         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
613         (HAVE_MBSRTOWCS): Likewise.
614         * posix/fnmatch.c: Include string.h unconditionally.
615
616 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
617
618         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
619         reversal.
620
621 2014-07-31  Roland McGrath  <roland@hack.frob.com>
622
623         * sysdeps/generic/safe-fatal.h: New file.
624         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
625         * nptl/forward.c: Include it.
626         (__pthread_unwind): Use __safe_fatal as default action, rather
627         than a bogus use of INTERNAL_SYSCALL that could never work.
628
629         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
630         * configure.ac (libc_cv_builtin_trap): New test.
631         * configure: Regenerated.
632         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
633         (ABORT_INSTRUCTION): Define using __builtin_trap.
634
635         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
636         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
637         * sysdeps/nptl/nptl-signals.h: New file.
638         * nptl/pthreadP.h: Include <nptl-signals.h>.
639
640 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
641
642         * sysdeps/s390/s390-64/utf16-utf32-z9.c
643         (ONE_DIRECTION): Define.
644         * sysdeps/s390/s390-64/utf8-utf16-z9.c
645         (ONE_DIRECTION): Define.
646         * sysdeps/s390/s390-64/utf8-utf32-z9.c
647         (ONE_DIRECTION): Define.
648
649 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
650
651         * sysdeps/s390/Makefile: Delete file.
652         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
653         * sysdeps/s390/__longjmp.c: Delete file.
654         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
655         Remove fields __flags and __reserved.
656         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
657         and add versioning.
658         * sysdeps/s390/rtld-__longjmp.c: Delete file.
659         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
660         * sysdeps/s390/rtld-setjmp.S: Likewise.
661         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
662         * sysdeps/s390/s390-32/__longjmp.c: ... here.
663         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
664         * sysdeps/s390/s390-32/setjmp.S: ... here.
665         Add versioning.
666         (__sigsetjmp): Remove setting __flags field.
667         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
668         * sysdeps/s390/s390-64/__longjmp.c: ... here.
669         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
670         * sysdeps/s390/s390-64/setjmp.S: ... here.
671         Add versioning.
672         (__sigsetjmp): Remove setting __flags field.
673         * sysdeps/s390/setjmp.S: Delete file.
674         * sysdeps/s390/sigjmp.c: Likewise.
675         * sysdeps/s390/v1-longjmp.c: Likewise.
676         * sysdeps/s390/v1-setjmp.h: Likewise.
677         * sysdeps/s390/v1-sigjmp.c: Likewise.
678         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
679         Remove v1-longjmp_chk.
680         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
681         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
682         Include debug/longjmp_chk.c and add versioning.
683         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
684         Include nptl/pt-longjmp.c and add versioning.
685         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
686         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
687         Include __longjmp.c.
688         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
689         Move to ...
690         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
691         (__getcontext): Remove setting __flags field.
692         Add versioning.
693         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
694         Don't restore upper high grps.
695         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
696         Likewise.
697         (__swapcontext): Remove setting uc_flags field.
698         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
699         Delete file.
700         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
701         Include __longjmp.c.
702         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
703         Move to ...
704         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
705         (__getcontext): Remove setting __flags field.
706         Add versioning.
707         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
708         (__swapcontext): Remove setting uc_flags field.
709         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
710         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
711         Remove fields uc_high_gprs and __reserved.
712         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
713         New file with reverted content.
714         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
715         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
716         Regenerated.
717         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
718         Regenerated.
719
720 2014-07-31  Andreas Schwab  <schwab@suse.de>
721
722         * config.h.in (HAVE_IFUNC): Define to 0.
723         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
724         definedness.
725
726 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
727
728         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
729         memmove-avx-unaligned, memcpy-avx-unaligned and
730         mempcpy-avx-unaligned.
731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
732         Add tests for AVX memcpy functions.
733         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
734         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
735         memcpy_chk.
736         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
737         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
738         memmove_chk.
739         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
740         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
741         mempcpy_chk.
742         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
743         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
744         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
745
746 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
747
748         [BZ #17213]
749         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
750         powerpc64le.
751
752 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
753
754         [BZ #16839]
755         * manual/llio.texi: Add section about open file description locks.
756         * manual/examples/ofdlocks.c: Example of open file description
757         lock usage.
758         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
759         F_OFD_SETLK, and F_OFD_SETLKW.
760
761 2014-07-23  Allan McRae  <allan@archlinux.org>
762
763         * po/es.po: Update Spanish translation from translation project.
764
765 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
766
767         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
768
769 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
770
771         [BZ #17078]
772         * sysdeps/arm/dl-machine.h (elf_machine_rela)
773         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
774         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
775
776 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
777
778         [BZ #17088]
779         * math/fesetenv.c (__fesetenv)
780         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
781         * math/feupdateenv.c (__feupdateenv)
782         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
783
784         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
785         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
786         (__ASSUME_SOCKETCALL): Do not define.
787
788         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
789         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
790         (__ASSUME_SOCKETCALL): Do not define.
791         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
792         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
793         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
794         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
795         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
796         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
797         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
798         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
799
800         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
801         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
802         (__ASSUME_SOCKETCALL): Do not define.
803         (__ASSUME_IPC64): Define unconditionally.
804         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
805         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
806         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
807         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
808         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
809         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
810         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
811         Likewise.
812
813         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
814         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
815         (__ASSUME_SOCKETCALL): Do not define.
816         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
817         (__ASSUME_FUTEX_LOCK_PI): Likewise.
818         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
819         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
820         (__ASSUME_REQUEUE_PI): Define unconditionally.
821         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
822         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
823         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
824         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
826         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
827
828         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
829         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
830         (__ASSUME_SOCKETCALL): Do not define.
831         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
832         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
833         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
834         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
835         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
836         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
837
838         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
839         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
840         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
841         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
842         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
843         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
844         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
845         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
846         (__ASSUME_GETCPU_SYSCALL): Likewise.
847
848         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
849         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
850         cases for individual architectures.
851         * sysdeps/gnu/configure: Regenerated.
852         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
853         LIBC_SLIBDIR_RTLDDIR.
854         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
855         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
856         LIBC_SLIBDIR_RTLDDIR.
857         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
859         LIBC_SLIBDIR_RTLDDIR.
860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
861         Regenerated.
862         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
863         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
864         file.
865         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
866         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
867         file.
868         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
869         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
870         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
871         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
872
873         * sysdeps/aarch64/shlib-versions: Move to ...
874         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
875         * sysdeps/alpha/shlib-versions: Move to ...
876         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
877         * sysdeps/arm/shlib-versions: Move to ...
878         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
879         * sysdeps/hppa/shlib-versions: Move all contents except for
880         libgcc_s entry to ...
881         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
882         entry from ...
883         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
884         * sysdeps/ia64/shlib-versions: Move to ...
885         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
886         entry from ...
887         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
888         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
889         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
890         * sysdeps/microblaze/shlib-versions: Move to ...
891         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
892         * sysdeps/mips/shlib-versions: Move to ...
893         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
894         entry from ...
895         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
896         * sysdeps/tile/shlib-versions: Move to ...
897         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
898         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
899         from ...
900         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
901         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
902         entry from ...
903         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
904
905 2014-07-17  Will Newton  <will.newton@linaro.org>
906
907         * sysdeps/arm/bits/atomic.h
908         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
909         (__arch_compare_and_exchange_bool_16_int): Likewise.
910         (__arch_compare_and_exchange_bool_64_int): Likewise.
911
912         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
913         into an #else block.
914
915 2014-07-16  Roland McGrath  <roland@hack.frob.com>
916
917         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
918         just Linux configurations.  Test empirically that the compiler sets
919         __ARM_EABI__, rather than using the tuple to decide.
920         * sysdeps/arm/preconfigure: Regenerated.
921         * sysdeps/unix/sysv/linux/arm/configure: File removed.
922         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
923         contents appended ...
924         * sysdeps/arm/configure.ac: ... here.
925         * sysdeps/arm/configure: Regenerated.
926
927 2014-07-15  Roland McGrath  <roland@hack.frob.com>
928
929         * nptl/pthread_kill.c: New file.
930         * nptl/pthread_sigmask.c: New file.
931         * nptl/pthread_sigqueue.c: New file.
932
933         * sysdeps/nptl/lowlevellock.h: New file.
934         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
935         * sysdeps/nptl/lowlevellock-futex.h: New file.
936
937         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
938         Remove dead declarations.
939
940 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
941
942         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
943         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
944         config-cflags-avx2.
945         * sysdeps/x86_64/configure.ac: Likewise.
946         * sysdeps/i386/configure: Regenerated.
947         * sysdeps/x86_64/configure: Likewise.
948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
949         memset-avx2 only if config-cflags-avx2 is yes.
950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
951         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
952         defined.
953         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
954         only if HAVE_AVX2_SUPPORT is defined.
955         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
956
957 2014-07-14  Alan Modra  <amodra@gmail.com>
958
959         [BZ #17153]
960         * elf/elf.h (DT_PPC64_NUM): Correct value.
961         * NEWS: Add to fixed bug list.
962
963 2014-07-13  Jim Meyering  <meyering@fb.com>
964
965         [BZ 17150]
966         regex: don't deref NULL upon heap allocation failure
967         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
968         failure in one more place.
969         To trigger the segfault, configure grep -with-included-regex,
970         build it, and run these commands:
971         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
972
973 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
974
975         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
976
977 2014-07-11  Richard Henderson  <rth@redhat.com>
978
979         * sysdeps/aarch64/libm-test-ulps: Update.
980
981 2014-07-10  Florian Weimer  <fweimer@redhat.com>
982
983         [BZ #17135]
984         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
985         * nptl/allocatestack.c (__nptl_setxid_error): New function.
986         (__nptl_setxid): Initialize error member.  Call
987         __nptl_setxid_error.
988         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
989         * nptl/descr.h (struct xid_command): Add error member.
990         * nptl/tst-setuid3.c: New file.
991         * nptl/Makefile (tests): Add it.
992
993 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
994
995         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
996         New define.
997         (__lll_trylock): Use __lll_base_trylock.
998         (__lll_cond_trylock): Likewise.
999
1000 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1001
1002         * nptl/pthread_create.c (start_thread): Use atomic_or and
1003         lll_futex_wake directly rather than lll_robust_dead.
1004         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1005         (lll_robust_dead): Macro removed.
1006         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1007         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1008         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1009         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1010         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1011         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1012         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1013         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1014         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1015         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1016         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1017         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1018         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1019         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1020         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1021
1022         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1023         Use atomic_compare_and_exchange_val_acq directly rather than
1024         lll_robust_trylock.
1025         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1026         (__lll_robust_trylock, lll_robust_trylock): Removed.
1027         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1028         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1029         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1030         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1031         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1032         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1033         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1034         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1035         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1036         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1037         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1038         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1039         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1040         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1041
1042 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1043
1044         * manual/locale.texi (Locale Names): New section documenting
1045         locale name syntax.  Adjust menu and node chaining accordingly.
1046         (Choosing Locale): Reference Locale Names, Locale Categories.
1047         Mention setting LC_ALL=C.  Reflect that name syntax is now
1048         documented.
1049         (Locale Categories): New section title.  Reference Locale Names.
1050         LC_ALL is an environment variable, but not a category.
1051         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1052         description, now in Locale Name.  Reference that section.  Locale
1053         name syntax is now documented.
1054
1055 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1056
1057         [BZ #17137]
1058         * locale/findlocale.c (name_present, valid_locale_name): New
1059         functions.
1060         (_nl_find_locale): Use the loc_name variable to store name
1061         candidates.  Call name_present and valid_locale_name to check and
1062         validate locale names.  Return an error if the locale is invalid.
1063
1064 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1065
1066         * locale/setlocale.c (setlocale): Use strdup for allocating
1067         composite name copy.
1068
1069 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1070
1071         Sync up with gnulib.
1072         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1073         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1074         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1075         and _GL_ARG_NONNULL.
1076         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1077         [!_LIBC]: Include code for Windows and Cygwin.
1078         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1079         Include prototype for int strerror_r.
1080         [!_LIBC] (is_open): New function.
1081         (flush_stdout): New function.
1082         (print_errno_message): Use it.
1083         (error): Likewise.
1084         (error_at_line): Likewise.
1085         (error_tail) Add function attribute macros.  Use
1086         __builtin_expect.
1087
1088         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1089
1090         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1091
1092         * io/ftw.c: Include sys/param.h unconditionally.
1093
1094         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1095
1096         [BZ #17125]
1097         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1098         libc_freeres_ptr.
1099         (freecache): New function to free CACHE on exit.
1100
1101         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1102         initialization.
1103
1104 2014-07-09  David S. Miller  <davem@davemloft.net>
1105
1106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1107
1108         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1109         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1110         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1111         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1112         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1113         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1114         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1115         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1116         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1117         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1118         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1119         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1120         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1121
1122 2014-07-09  Andreas Schwab  <schwab@suse.de>
1123
1124         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1125         output.
1126         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1127         (do_test): Likewise.
1128
1129         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1130
1131 2014-07-09  Will Newton  <will.newton@linaro.org>
1132
1133         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1134         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1135         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1136         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1137         * sysdeps/hppa/start.S (_start): Likewise.
1138
1139 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1140
1141         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1142
1143         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1144         defined.
1145
1146 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1147
1148         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1149         after checking that it is non-NULL.
1150
1151         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1152
1153 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1154
1155         * sysdeps/powerpc/memmove.c: Remove file.
1156         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1157         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1158         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1159         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1160         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1161         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1162         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1163         string memmove instead of removed powerpc one.
1164
1165         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1166         [weak_alias]: Fix compiler warning due trailing data.
1167         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1168         [weak_alias]: Likewise.
1169         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1170         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1171
1172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1173         (__libc_ifunc_impl_list): Add memmove functions.
1174
1175 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1176
1177         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1178         Remove code.
1179         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1180         Likewise
1181         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1182         Likewise
1183         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1184         Likewise
1185         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1186         Likewise
1187         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1188         Likewise
1189         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1190         Likewise
1191         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1192         Likewise
1193         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1194         Likewise
1195         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1196         Likewise
1197         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1198         Likewise
1199         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1200         Likewise
1201         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1202         Likewise
1203         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1204         Likewise
1205         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1206         Likewise
1207         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1208         Likewise
1209         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1210         Likewise
1211
1212 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1213
1214         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1215         to avoid alignment traps in non-cacheable memory.
1216         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1217
1218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1219         multiarch objects.
1220         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1221         file: multiarch power7 memmove.
1222         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1223         multiarch default memmove.
1224         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1225         multiarch memove for powerpc32/power4.
1226
1227         * string/bcopy.c: Use full path to include memmove.c.
1228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1229         multiarch objects.
1230         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1231         bcopy for powerpc64.
1232         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1233         bcopy for powerpc64.
1234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1235         and memmove implementations.
1236         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1237         optimized multiarch memmove for POWER7/powerpc64.
1238         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1239         default multiarch memmove for powerpc64.
1240         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1241         multiarch for powerpc64.
1242         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1243         for POWER7/powerpc64.
1244         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1245         memmove for POWER7/powerpc64.
1246
1247         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1248         glibc default one.
1249
1250         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1251         __ELF_NATIVE_CLASS equal to 64.
1252
1253 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1254
1255         * sysdeps/nptl/lowlevellock.h: File removed.
1256
1257         * NEWS: NPTL is no longer an add-on!
1258         * nptl/internaltypes.h: Moved ...
1259         * sysdeps/nptl/internaltypes.h: ... here.
1260         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1261         * sysdeps/nptl/fork.c: Likewise.
1262         * sysdeps/nptl/gai_misc.h: Likewise.
1263         * sysdeps/nptl/librt-cancellation.c: Likewise.
1264         * sysdeps/nptl/jmp-unwind.c: Likewise.
1265         * sysdeps/nptl/setxid.h: Likewise.
1266         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1267         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1268         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1269         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1270         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1271         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1272         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1273         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1274         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1275         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1276         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1277         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1278         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1279         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1280         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1281         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1282         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1283         * nptl/Makeconfig: Moved ...
1284         * sysdeps/nptl/Makeconfig: ... here.
1285         * nptl/configure: File removed.
1286         * nptl/ANNOUNCE: File removed.
1287         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1288         * sysdeps/unix/sysv/linux/configure: Regenerated.
1289
1290         * nptl/Makefile (routines): Add libc_pthread_init,
1291         libc_multiple_threads, register-atfork and unregister-atfork.
1292         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1293         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1294         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1295         pthread-pi-defines.sym, structsem.sym.
1296         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1297         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1298         [$(subdir) = nptl] (tests): Add tst-setgetname.
1299         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1300         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1301         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1302         [!LIBC_SIGACTION]: Remove aliases.
1303         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1304         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1305         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1306         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1307         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1308         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1309         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1310         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1311         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1312         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1313         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1314         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1315         __libc_allocate_rtsig_private.
1316         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1317         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1318         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1319         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1320         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1321         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1322         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1323         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1324         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1325         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1326         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1327         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1328         * nptl/internaltypes.h: ... here.
1329         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1330         * sysdeps/nptl/jmp-unwind.c: ... here.
1331         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1332         * nptl/libc-lowlevellock.c: ... here.
1333         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1334         * nptl/libc_multiple_threads.c: ... here.
1335         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1336         * nptl/libc_pthread_init.c: ... here.
1337         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1338         * nptl/lowlevelbarrier.sym: ... here.
1339         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1340         * nptl/lowlevelcond.sym: ... here.
1341         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1342         * nptl/lowlevellock.c: ... here.
1343         * nptl/lowlevellock.h: Moved ...
1344         * sysdeps/nptl/lowlevellock.h: ... here.
1345         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1346         * nptl/lowlevelrobustlock.c: ... here.
1347         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1348         * nptl/lowlevelrobustlock.sym: ... here.
1349         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1350         * nptl/lowlevelrwlock.sym: ... here.
1351         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1352         * nptl/pt-fork.c: ... here.
1353         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1354         * nptl/pthread-pi-defines.sym: ... here.
1355         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1356         * nptl/pthread_attr_getaffinity.c: ... here.
1357         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1358         * nptl/pthread_attr_setaffinity.c: ... here.
1359         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1360         * nptl/pthread_mutex_cond_lock.c: ... here.
1361         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1362         Update #include.
1363         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1364         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1365         * nptl/pthread_once.c: ... here, replacing old file.
1366         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1367         * nptl/pthread_yield.c: ... here.
1368         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1369         * nptl/register-atfork.c: ... here.
1370         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1371         * nptl/sem_post.c: ... here.
1372         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1373         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1374         * nptl/sem_timedwait.c: ... here.
1375         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1376         * nptl/sem_trywait.c: ... here.
1377         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1378         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1379         * nptl/sem_wait.c: ... here.
1380         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1381         * nptl/structsem.sym: ... here.
1382         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1383         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1384         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1385         * nptl/unregister-atfork.c: ... here.
1386         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1387         * nptl/unwindbuf.sym: ... here.
1388         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1389         * sysdeps/nptl/fork.c: ... here.
1390         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1391         * sysdeps/nptl/fork.h: ... here.
1392         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1393         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1394         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1395         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1396         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1397         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1398         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1399         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1400         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1401         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1402         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1403         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1404         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1405         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1406         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1407         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1408         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1409         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1410         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1411         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1412         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1413         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1414         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1415         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1416         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1417         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1418         * sysdeps/unix/sysv/linux/raise.c: ... here.
1419         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1420         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1421         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1422         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1423         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1424         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1425         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1426         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1427         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1428         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1429         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1430         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1431         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1432         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1433         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1434
1435 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1436
1437         * sysdeps/generic/memcopy.h: Add comment for
1438         MEMCPY_OK_FOR_FWD_MEMMOVE.
1439
1440 2014-07-04  Will Newton  <will.newton@linaro.org>
1441
1442         * string/memchr.c: Merge from gnulib.
1443         [_LIBC]: Remove conditionals.
1444         (__ptr_t): Remove define.
1445         (LONG_MAX_32_BITS): Likewise.
1446         (LONG_MAX): Likewise.
1447         (MEMCHR): Use ANSI prototype and optimize algorithm.
1448
1449         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1450
1451 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1452
1453         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1454         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1455
1456         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1457         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1458         in a bare environment with no <stdlib.h> installed.
1459         * sysdeps/nptl/configure: Regenerated.
1460
1461         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1462
1463         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1464         AC_EGREP_CPP for kernel header checks, so they only succeed if
1465         including <linux/version.h> actually works right.
1466         * sysdeps/unix/sysv/linux/configure: Regenerated.
1467
1468         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1469         value so it's not diagnosed as unused.
1470
1471         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1472         thing) with "ifeq ($(subdir),rt)".
1473
1474 2014-07-03  Richard Henderson  <rth@redhat.com>
1475
1476         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1477         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1478         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1479
1480         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1481         (math_force_eval): New.
1482
1483         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1484         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1485
1486         * sysdeps/alpha/fpu/s_round.c: Remove file.
1487         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1488
1489         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1490         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1491         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1492         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1493         (_dl_start, print_statistics): Likewise.
1494         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1495         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1496
1497         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1498         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1499         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1500         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1501         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1502         (HP_SMALL_TIMING_AVAIL): Define.
1503         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1504         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1505         (HP_SMALL_TIMING_AVAIL): Define.
1506         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1507         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1508
1509         * sysdeps/aarch64/hp-timing.h: New file.
1510
1511         * sysdeps/generic/hp-timing.h: Remove dead comment.
1512         * sysdeps/generic/hp-timing-common.h: New file.
1513         * sysdeps/alpha/hp-timing.h: Include it.
1514         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1515         * sysdeps/i386/i686/hp-timing.h: Likewise.
1516         * sysdeps/ia64/hp-timing.h: Likewise.
1517         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1518         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1519         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1520         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1521         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1522         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1523         (hp_timing_t): New.
1524
1525         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1526         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1527         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1528         * elf/rtld.c (_dl_start_final): Likewise.
1529         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1530         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1531         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1532         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1533         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1534         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1535         (HP_TIMING_DIFF_INIT): Remove.
1536         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1537         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1538         (HP_TIMING_DIFF_INIT): Remove.
1539         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1540         * sysdeps/i386/i686/hp-timing.c: Remove file.
1541         * sysdeps/x86_64/hp-timing.c: Remove file.
1542         * sysdeps/ia64/hp-timing.c: Remove file.
1543         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1544         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1545         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1546         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1547
1548         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1549         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1550         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1551         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1552         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1553         (HP_TIMING_ACCUM): Remove.
1554         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1555         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1556         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1557
1558         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1559         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1560         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1561         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1562         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1563         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1564         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1565         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1566
1567         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1568
1569 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1570
1571         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1572
1573 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1574
1575         Sync up with gettext.
1576         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1577         [_MSC_VER]: Include malloc.h
1578         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1579         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1580         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1581         TEMP_FAILURE_RETRY.  Cast return of alloca.
1582         [!_LIBC] Call gl_rwlock_init.
1583         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1584
1585 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1586
1587         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1588         before checking its value.
1589
1590 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1591
1592         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1593
1594         * debug/memcpy_chk.c: Don't include pagecopy.h.
1595         * debug/mempcpy_chk.c: Likewise.
1596         * string/memcpy.c: Likewise.
1597         * string/memmove.c: Likewise.
1598         * sysdeps/powerpc/memmove.c: Likewise.
1599         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1600         definition of PAGE_COPY_FWD_MAYBE here...
1601         * sysdeps/generic/pagecopy.h: ... from here.
1602         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1603
1604 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1605             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1606
1607         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1609         optimizations.
1610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1611         (__libc_ifunc_impl_list): Likewise.
1612         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1613         multiarch strcat for PPC64.
1614         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1615         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1616
1617 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1618
1619         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1620
1621 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1622
1623         * intl/loadmsgcat.c: Remove declaration of
1624         get_sysdep_segment_value.
1625         (get_sysdep_segment_value): Use ISO C style.
1626         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1627         semicolon.  Fix typo and formatting in comment.
1628         (_nl_unload_domain): Use ISO C style.
1629
1630         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1631
1632 2014-07-02  Will Newton  <will.newton@linaro.org>
1633
1634         * malloc/obstack.c: Merge from gnulib master.
1635         [HAVE_CONFIG_H]: Remove conditional code.
1636         [!_LIBC]: Include config.h.
1637         [!ELIDE_CODE]: Don't include inttypes.h, include
1638         stdint.h unconditionally.
1639         (print_and_abort): Mark as _Noreturn.
1640         (_obstack_allocated_p): Mark as __attribute_pure__.
1641         (obstack_free): Rename to __obstack_free.
1642         [!__attribute__]: Remove conditional code.
1643         * malloc/obstack.h: Merge from gnulib master.
1644         [__cplusplus]: Move conditional down.
1645         [!__attribute_pure__]: Define __attribute_pure__ here
1646         if it is not already defined.
1647         (_obstack_memory_used): Mark as __attribute_pure__.
1648         [!__obstack_free]: Define as obstack_free.
1649         [__GNUC__]: Remove check for ancient NeXT gcc.
1650
1651 2014-07-02  Will Newton  <will.newton@linaro.org>
1652             Paul Eggert  <eggert@cs.ucla.edu>
1653
1654         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1655
1656 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1657
1658         * resolv/gethnamaddr.c: Add comment warning that the file is
1659         not maintained.
1660
1661 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1662
1663         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1664         entries.
1665
1666         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1667         entry for aio_cancel and aio_cancel64.
1668         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1669         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1670         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1671         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1672         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1673         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1674         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1675         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1676         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1677         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1678         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1679         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1680         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1681
1682 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1683
1684         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1685         * nptl/pthread_mutex_lock.c: Likewise.
1686         * nptl/pthread_mutex_timedlock.c: Likewise.
1687         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1688
1689 2014-07-01  Richard henderson  <rth@redhat.com>
1690
1691         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1692         (__isnan, __isnanl): Remove.
1693         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1694
1695         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1696
1697 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1698
1699         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1700
1701 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1702
1703         * resolv/nss_dns/dns-host.c (getanswer_r)
1704         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1705
1706 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1707
1708         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1709         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1710         undefine.
1711         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1712         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1713
1714 2014-07-01  Roland McGrath <roland@hack.frob.com>
1715
1716         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1717         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1718
1719         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1720         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1721
1722         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1723         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1724         ... here.
1725         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1726         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1727
1728         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1729         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1730         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1731         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1732
1733         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1734         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1735         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1736         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1737         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1738         Moved ...
1739         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1740         ... here.
1741         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1742         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1743         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1744         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1745         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1746         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1747         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1748         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1749         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1750         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1751         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1752         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1753         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1754         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1755         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1756         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1757         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1758         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1759         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1760         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1761         ... here.
1762         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1763         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1764         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1765         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1766         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1767         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1768         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1769         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1770
1771 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1772
1773         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1774         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1775         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1776         Add sysdep.
1777
1778 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1779
1780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1781
1782 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1783
1784         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1785         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1786
1787         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1788
1789         * sysdeps/arm/libm-test-ulps: Regenerated.
1790
1791 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1792             Roland McGrath <roland@hack.frob.com>
1793
1794         * test-skeleton.c (signal_handler): Kill the whole process group
1795         before killing the child individually.
1796         (main): Report any failure on `setpgid'.
1797
1798 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1799
1800         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1801         from _TLS_H to _ARM_NPTL_TLS_H.
1802         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1803         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1804
1805 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1806
1807         [BZ #16539]
1808         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1809         (__expm1l): Return argument unchanged when small but not
1810         subnormal.
1811
1812         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1813         include macro name.
1814         (_FP_UNPACK_RAW_1_P): Likewise.
1815         (_FP_PACK_RAW_1): Likewise.
1816         (_FP_PACK_RAW_1_P): Likewise.
1817         (_FP_MUL_MEAT_1_wide): Likewise.
1818         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1819         (_FP_MUL_MEAT_1_hard): Likewise.
1820         (_FP_DIV_MEAT_1_imm): Likewise.
1821         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1822         (_FP_DIV_MEAT_1_udiv): Likewise.
1823         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1824         (_FP_UNPACK_RAW_2): Likewise.
1825         (_FP_UNPACK_RAW_2_P): Likewise.
1826         (_FP_PACK_RAW_2): Likewise.
1827         (_FP_PACK_RAW_2_P): Likewise.
1828         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1829         (_FP_MUL_MEAT_2_wide): Likewise.
1830         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1831         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1832         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1833         (_FP_MUL_MEAT_2_gmp): Likewise.
1834         (_FP_DIV_MEAT_2_udiv): Likewise.
1835         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1836         (_FP_FRAC_SRL_4): Likewise.
1837         (_FP_FRAC_SRST_4): Likewise.
1838         (_FP_FRAC_SRS_4): Likewise.
1839         (_FP_UNPACK_RAW_4): Likewise.
1840         (_FP_UNPACK_RAW_4_P): Likewise.
1841         (_FP_PACK_RAW_4): Likewise.
1842         (_FP_PACK_RAW_4_P): Likewise.
1843         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1844         (_FP_MUL_MEAT_4_wide): Likewise.
1845         (_FP_MUL_MEAT_4_gmp): Likewise.
1846         (umul_ppppmnnn): Likewise.
1847         (_FP_DIV_MEAT_4_udiv): Likewise.
1848         (__FP_FRAC_ADD_4): Likewise.
1849         (__FP_FRAC_SUB_3): Likewise.
1850         (__FP_FRAC_SUB_4): Likewise.
1851         (__FP_FRAC_DEC_3): Likewise.
1852         (__FP_FRAC_DEC_4): Likewise.
1853         (__FP_FRAC_ADDI_4): Likewise.
1854         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1855         (_FP_FRAC_SRL_8): Likewise.
1856         (_FP_FRAC_SRS_8): Likewise.
1857
1858         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1859         include macro name.
1860         (FP_UNPACK_RAW_EP): Likewise.
1861         (FP_PACK_RAW_E): Likewise.
1862         (FP_PACK_RAW_EP): Likewise.
1863         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1864         (_FP_ISSIGNAN): Likewise.
1865         (_FP_ADD_INTERNAL): Likewise.
1866         (_FP_FMA): Likewise.
1867         (_FP_CMP): Likewise.
1868         (_FP_SQRT): Likewise.
1869         (_FP_TO_INT): Likewise.
1870         (_FP_FROM_INT): Likewise.
1871         (FP_EXTEND): Likewise.
1872         (_FP_DIV_MEAT_N_loop): Likewise.
1873
1874 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1875
1876         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1877         throughout.
1878
1879 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1880
1881         [BZ #17097]
1882         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1883         result with correct sign in case of exponents that produce
1884         overflow except for X very close to 1.
1885
1886 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1887
1888         mktime: merge #if/#ifdef usage from glibc
1889         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1890         as that works with both Glibc's and Gnulib's style.
1891         See thread starting at Siddhesh Poyarekar's bug report at:
1892         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1893
1894 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1895
1896         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1897         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1898         * sysdeps/tile/tilegx/memmove.c: Remove file.
1899
1900 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1901
1902         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1903         abi-name definition.
1904         * scripts/soversions.awk: Do not handle or generate ABI lines.
1905         * shlib-versions: Remove ABI entries.
1906         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1907         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1908
1909 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1910
1911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1912         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1913         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1914         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1916         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1918         Moved ...
1919         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1920         ... here.
1921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1922         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1924         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1926         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1927         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1928         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1929         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1930         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1932         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1934         Moved ...
1935         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1937         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1939         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1941         Moved ...
1942         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1944         Moved ...
1945         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1946         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1947         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1948         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1949         Moved ...
1950         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1952         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1954         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1956         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1957         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1958         Moved ...
1959         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1961         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1962         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1963         Moved ...
1964         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1965         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1966         Moved ...
1967         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1968         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1969         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1970         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1971         Moved ...
1972         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1973         ... here.
1974         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1975         Identical file removed.
1976         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1977         Moved ...
1978         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1979         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1980         Identical file removed.
1981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1982         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1983         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1984         Moved ...
1985         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1986         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1987         Identical file removed.
1988         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1989         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1990         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1991         Identical file removed.
1992         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1993         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1994         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1995         Identical file removed.
1996         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1997         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1998         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1999         Identical file removed.
2000         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2001         Moved ...
2002         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2003         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2004         Identical file removed.
2005         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2006         Moved ...
2007         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2009         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2010         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2011         Identical file removed.
2012         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2013         Moved ...
2014         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2015         ... here.
2016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2017         Identical file removed.
2018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2019         Moved ...
2020         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2021         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2022         Identical file removed.
2023         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2024         Moved ...
2025         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2026         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2027         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2028         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2029         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2030         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2031         Moved ...
2032         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2033         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2034         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2035
2036         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2037         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2038         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2039         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2040         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2041
2042 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2043
2044         [BZ #17092]
2045         * nscd/nscd.c (monitor_child): Return exit status of child
2046         instead of return value from wait syscall.
2047
2048 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2049
2050         * configure.ac (libc_commonpagesize): Remove variable.
2051         (libc_relro_required): Likewise.
2052         (libc_cv_z_relro): Remove configure test.
2053         * configure: Regenerated.
2054         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2055         variable.
2056         (libc_relro_required): Likewise.
2057         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2058         (libc_relro_required): Likewise.
2059         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2060         (libc_relro_required): Likewise.
2061         * sysdeps/arm/preconfigure: Regenerated.
2062         * sysdeps/ia64/preconfigure: Remove file.
2063         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2064         variable.
2065         (libc_relro_required): Likewise.
2066
2067         [BZ #16561]
2068         [BZ #16562]
2069         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2070         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2071         recompute overflowing results in original rounding mode.
2072         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2073         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2074         recompute overflowing results in original rounding mode.
2075         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2076         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2077         recompute overflowing results in original rounding mode.
2078         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2079         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2080         recompute overflowing results in original rounding mode.
2081         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2082         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2083         recompute overflowing results in original rounding mode.
2084         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2085         (libc_feholdsetround_ctx): New macro.
2086         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2087         * sysdeps/i386/fpu/libm-test-ulps: Update.
2088         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2089
2090 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2091
2092         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2093         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2094         corresponding .cpsetup call.
2095
2096 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2097
2098         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2099         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2100         * sysdeps/arm/Makefile [$(subdir) = csu]
2101         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2102         (static-only-routines): Add aeabi_read_tp here.
2103         (shared-only-routines): Add libc-aeabi_read_tp here.
2104         (CFLAGS-libc-start.c): Add -fexceptions here.
2105         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2106         (sysdep_routines, static-only-routines, shared-only-routines):
2107         Don't add to these here.
2108         (CFLAGS-libc-start.c): Likewise.
2109
2110         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2111         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2112         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2113         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2114         * sysdeps/arm/Makefile [$(subdir) = rt]
2115         (librt-sysdep_routines, librt-shared-only-routines):
2116         Append rt-aeabi_unwind_cpp_pr1 here.
2117         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2118         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2119         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2120         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2121         Append nptl-aeabi_unwind_cpp_pr1 here.
2122         (tests): Filter out tst-cleanupx4 here.
2123         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2124         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2125         Don't do those here.
2126
2127 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2128
2129         * scripts/list-sources.sh: Do not handle ports specially.
2130
2131 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2132
2133         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2134         * sysdeps/arm/feupdateenv.c: Likewise.
2135
2136         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2137
2138 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2139
2140         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2141         trailing whitespace removed.
2142         * scripts/config.guess: Update to version 2014-03-23.
2143         * scripts/config.sub: Update to version 2014-05-01
2144         * scripts/install-sh: Update to version 2013-12-25.23.
2145         * scripts/move-if-change: Update from gnulib.
2146
2147 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2148
2149         * debug/memmove_chk.c: Remove pagecopy.h include.
2150
2151 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2152
2153         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2154         identical to gnulib mktime.
2155
2156 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2157
2158         * configure.ac: Do not test for machine being rs6000.  Do not test
2159         for powerpc*-*soft.
2160         * configure: Regenerated.
2161
2162         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2163         test.
2164         * configure: Regenerated.
2165         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2166         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2167         Remove configure test.
2168         * sysdeps/arm/configure: Regenerated.
2169         * sysdeps/nptl/configure.ac: Do not check
2170         libc_cv_asm_cfi_directives.
2171         * sysdeps/nptl/configure: Regenerated.
2172         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2173         * sysdeps/x86_64/nptl/configure: Remove generated file.
2174         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2175         unconditional.
2176         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2177
2178 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2179
2180         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2181         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2182         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2183         it is defined.
2184
2185         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2186         instead of whether it is defined.
2187         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2188         * sysdeps/hppa/dl-machine.h: Likewise.
2189         * sysdeps/ia64/dl-machine.h: Likewise.
2190         * sysdeps/m68k/dl-machine.h: Likewise.
2191         * sysdeps/microblaze/dl-machine.h: Likewise.
2192         * sysdeps/mips/dl-machine.: Likewise.
2193         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2194         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2195         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2196         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2197         * sysdeps/sh/dl-machine.h: Likewise.
2198         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2199         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2200         * sysdeps/tile/dl-machine.h: Likewise.
2201         * sysdeps/x86_64/dl-machine.h: Likewise.
2202
2203         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2204         code.
2205         (verify_persistent_db): Likewise.
2206
2207 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2208
2209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2210         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2212         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2214         Moved ...
2215         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2216         ... here.
2217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2218         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2220         Identical file removed.
2221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2222         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2224         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2226         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2228         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2230         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2232         Moved ...
2233         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2235         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2237         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2239         Moved ...
2240         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2242         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2244         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2246         Identical file removed.
2247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2248         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2250         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2252         Moved ...
2253         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2254         ... here.
2255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2256         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2258         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2260         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2262         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2264         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2266         Moved ...
2267         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2269         Moved ...
2270         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2272         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2274         Moved ...
2275         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2277         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2278
2279         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2280         folded into ...
2281         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2282         * sysdeps/unix/sysv/linux/s390/Versions
2283         (libpthread: GLIBC_2.19): New version set.
2284         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2285         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2286         (librt: GLIBC_2.3.3): New version set.
2287         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2288         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2289         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2290         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2291         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2292         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2293         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2294         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2295         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2296         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2297         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2298         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2299         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2300         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2301         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2302         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2303         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2304         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2305         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2306         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2307         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2308         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2309         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2310         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2311         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2312         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2313         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2314         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2315         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2316         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2317         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2318         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2319         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2320         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2321         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2322         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2323         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2324         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2325         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2326         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2327         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2328         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2329         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2330         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2331         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2332
2333         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2334         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2335         (__libc_vfork): Define the function under this name.
2336         [!NOT_IN_libc] (__vfork): Make this an alias.
2337         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2338         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2339         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2340         (__libc_vfork): Define the function under this name.
2341         [!NOT_IN_libc] (__vfork): Make this an alias.
2342         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2343         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2344         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2346         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2347         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2348
2349         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2350         code that was previously under [RESET_PID].
2351         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2352         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2353         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2354
2355         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2356         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2357         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2358         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2359         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2360         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2361         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2362         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2363         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2364         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2365         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2366         Moved ...
2367         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2368         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2369         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2370         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2371         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2372         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2373         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2374         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2375         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2376         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2377         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2378         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2379         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2380         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2381         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2382         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2383         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2384         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2385         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2386         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2387         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2388         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2389         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2390         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2391         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2392         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2393         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2394         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2395         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2396
2397 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2398
2399         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2400         that was previously under [RESET_PID].
2401         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2402
2403 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2404
2405         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2406         not undefine and redefine.
2407         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2408         [O_CLOEXEC]: Make code unconditional.
2409         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2410         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2411         <kernel-features.h>.
2412         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2413         conditional variable definition.
2414         (shm_open) [O_CLOEXEC]: Make code unconditional.
2415         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2416         code.
2417
2418         * configure.ac (USE_REGPARMS): Don't define here.
2419         * configure: Regenerated.
2420         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2421         * sysdeps/i386/configure: Regenerated.
2422
2423         * nptl/createthread.c: Don't include kernel-features.h.
2424         * nptl/pthread_cancel.c: Likewise.
2425         * nptl/pthread_condattr_setclock.c: Likewise.
2426         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2427         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2428         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2429         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2430         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2431         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2432         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2433         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2435         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2436         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2437         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2438         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2439         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2440         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2441         * nscd/gai.c: Likewise.
2442         * nss/nss_db/db-open.c: Likewise.
2443         * sysdeps/generic/ldsodefs.h: Likewise.
2444         * sysdeps/sh/nptl/tls.h: Likewise.
2445         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2446         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2447         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2448         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2449         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2450         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2451         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2452         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2453         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2454         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2455         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2456         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2457         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2458         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2459         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2460         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2461         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2462         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2463         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2464         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2465         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2466         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2467         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2468         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2469         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2470         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2471         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2472         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2473         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2474         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2475         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2476         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2477         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2478         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2479         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2480         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2481         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2482         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2483         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2484         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2485         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2486         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2487         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2488         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2489         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2490         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2491         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2492         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2493         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2494         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2495         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2496         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2497         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2498         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2499         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2500         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2501         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2502         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2525         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2526         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2527         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2528         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2529         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2530         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2531         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2532         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2533         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2534         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2535         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2536         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2537         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2538         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2539         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2540         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2541         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2542         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2543         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2544         * sysdeps/unix/sysv/linux/system.c: Likewise.
2545         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2546         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2547         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2548         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2549         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2550         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2551         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2552
2553         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2554         * configure: Regenerated.
2555         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2556
2557         * configure.ac (base_machine): Do not set specially for particular
2558         machines here.
2559         * configure: Regenerated.
2560         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2561         settings from configure.ac.
2562         * sysdeps/i386/preconfigure: New file.
2563         * sysdeps/s390/preconfigure: Likewise.
2564         * sysdeps/sh/preconfigure: Likewise.
2565         * sysdeps/sparc/preconfigure: Likewise.
2566
2567 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2568
2569         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2570         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2571         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2572         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2573         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2574         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2575         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2576         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2577         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2578         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2579         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2580         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2581         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2582         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2583         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2584         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2585         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2586         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2587         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2588
2589         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2590         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2591         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2592         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2593         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2594         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2595         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2596         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2597         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2598         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2599         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2600         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2601         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2602         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2603         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2604         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2605         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2606         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2607         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2608         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2609         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2610         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2611         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2612         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2613         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2614         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2615         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2616         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2617         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2618         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2619         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2620         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2621         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2622         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2623         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2624         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2625         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2626         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2627
2628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2629         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2631         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2633         Moved ...
2634         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2635         ... here.
2636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2637         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2639         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2641         Moved ...
2642         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2644         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2646         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2648         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2650         Moved ...
2651         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2653         Moved ...
2654         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2656         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2658         Moved ...
2659         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2661         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2663         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2665         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2667         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2669         Moved ...
2670         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2671         ... here.
2672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2673         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2675         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2677         Moved ...
2678         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2680         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2682         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2684         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2686         Moved ...
2687         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2689         Moved ...
2690         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2692         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2694         Moved ...
2695         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2697         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2699         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2700
2701 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2702
2703         * timezone/checktab.awk: Update from tzcode 2014e.
2704         * timezone/private.h: Likewise.
2705         * timezone/tzfile.h: Likewise.
2706         * timezone/zdump.c: Likewise.
2707         * timezone/zic.c: Likewise.
2708
2709         * sysdeps/unix/sysv/linux/kernel-features.h
2710         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2711         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2712         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2713         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2714         Remove conditional code.
2715
2716 2014-06-25  Will Newton  <will.newton@linaro.org>
2717
2718         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2719         (_dl_arm_cap_flags): Add HWCAP2 values.
2720         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2721         (_DL_HWCAP_COUNT): Increase to 37.
2722         (_DL_HWCAP_LAST): New define.
2723         (_DL_HWCAP2_LAST): New define.
2724         (_dl_procinfo): Add support for printing
2725         AT_HWCAP2 entries.
2726         (_dl_string_hwcap): Use _dl_hwcap_string.
2727
2728 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2729
2730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2731
2732 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2733
2734         * README: Do not mention ports directory.
2735
2736         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2737         Remove macro.
2738         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2739         <kernel-features.h>.
2740         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2741         conditional variable definition.
2742         (__futimes): Update comment.
2743         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2744         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2745
2746         [BZ #16560]
2747         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2748         arguments close to 0.
2749         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2750         Likewise.
2751         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2752         Likewise.
2753         * math/auto-libm-test-in: Add more tests of exp10.
2754         * math/auto-libm-test-out: Regenerated.
2755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2756
2757         * sysdeps/unix/sysv/linux/kernel-features.h
2758         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2759         * sysdeps/unix/sysv/linux/readv.c: Do not include
2760         <kernel-features.h>.
2761         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2762         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2763         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2764         unconditional.
2765         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2766         conditional code.
2767         * sysdeps/unix/sysv/linux/writev.c: Do not include
2768         <kernel-features.h>.
2769         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2770         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2771         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2772         unconditional.
2773         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2774         conditional code.
2775
2776 2014-06-25  Will Newton  <will.newton@linaro.org>
2777
2778         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2779         comment changes throughout the file.  Remove checks
2780         for HAVE_*_H definitions that are not required.
2781         (__gen_tempname): Call abort if an unknown kind value is
2782         passed.
2783
2784 2014-06-25  Andreas Schwab  <schwab@suse.de>
2785
2786         [BZ #17086]
2787         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2788         scalbln, scalblnf, scalblnl in libc.
2789
2790 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2791
2792         [BZ #17086]
2793         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2794         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2795         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2796
2797 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2798
2799         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2800         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2801         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2802         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2803         Update #include.
2804         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2805         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2806         Update #include.
2807         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2808         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2809         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2810         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2811         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2812         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2813         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2814         * sysdeps/x86/bits/semaphore.h: ... here.
2815         * sysdeps/x86/nptl/elide.h: Moved ...
2816         * sysdeps/x86/elide.h: ... here.
2817         * sysdeps/x86_64/nptl/Implies: File removed.
2818         * sysdeps/i386/nptl/Implies: File removed.
2819
2820 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2821
2822         [BZ #16539]
2823         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2824         return the argument for normal arguments with exponent below -64.
2825         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2826         Likewise.
2827         * math/auto-libm-test-in: Add another test of expm1.
2828         * math/auto-libm-test-out: Regenerated.
2829
2830         [BZ #16287]
2831         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2832         calling __erfcl for arguments at least 16.
2833         * math/auto-libm-test-in: Add more tests of erf.
2834         * math/auto-libm-test-out: Regenerated.
2835
2836         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2837         individual architectures.
2838         * sysdeps/unix/sysv/linux/configure: Regenerated.
2839         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2840         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2841         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2842         (ldd_rewrite_script): Define variable.
2843         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2845         file.
2846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2847         generated file.
2848         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2849         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2850         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2851         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2852         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2853         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2854         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2855         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2856
2857 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2858
2859         [BZ #17084]
2860         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2861         Rename member __data.d to __data.__elision_data.
2862
2863 2014-06-24  Wilco  <wdijkstr@arm.com>
2864
2865         * NEWS: Add 16918 to fixed bug list.
2866
2867 2014-06-24  Wilco  <wdijkstr@arm.com>
2868
2869         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2870
2871 2014-06-24  Wilco  <wdijkstr@arm.com>
2872
2873         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2874         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2875         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2876         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2877         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2878         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2879         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2880         Use _FPU_MASK_RM.
2881
2882 2014-06-24  Wilco  <wdijkstr@arm.com>
2883
2884         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2885
2886 2014-06-24  Wilco  <wdijkstr@arm.com>
2887
2888         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2889         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2890         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2891         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2892
2893 2014-06-24  Wilco  <wdijkstr@arm.com>
2894
2895         [BZ #16918]
2896         * sysdeps/arm/feupdateenv.c (feupdateenv):
2897         Rewrite to reduce FPSCR accesses and fix return value.
2898
2899 2014-06-24  Wilco  <wdijkstr@arm.com>
2900
2901         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2902         Optimize to avoid unnecessary FPSCR writes.
2903         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2904         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2905         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2906         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2907
2908 2014-06-24  Wilco  <wdijkstr@arm.com>
2909
2910         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2911         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2912         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2913         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2914         Call libc_fetestexcept_vfp.
2915         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2916         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2917         __SOFTFP__ ifdef so that they can be built for softfp.
2918
2919 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2920
2921         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2922         argument type signed char.
2923
2924         * Makerules (check-abi): Dump diff of symlist if the test
2925         fails.
2926
2927 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2928
2929         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2930         using abort.
2931
2932         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2933         Remove unused variable ST.
2934
2935 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2936
2937         [BZ #16354]
2938         [BZ #17061]
2939         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2940         small arguments before calling __expm1.
2941         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2942         small arguments before calling __expm1f.
2943         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2944         small arguments before calling __expm1l.
2945         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2946         Likewise.
2947         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2948         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2949         spurious underflow for some cosh tests.
2950         * math/auto-libm-test-out: Regenerated.
2951         * sysdeps/i386/fpu/libm-test-ulps: Update.
2952
2953         [BZ #17050]
2954         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2955         (__ieee754_y1): Set errno if return value overflows.
2956         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2957         (__ieee754_y1f): Set errno if return value overflows.
2958         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2959         (__ieee754_y1l): Set errno if return value overflows.
2960         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2961         (__ieee754_y1l): Set errno if return value overflows.
2962         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2963         * math/auto-libm-test-out: Regenerated.
2964
2965         * math/gen-auto-libm-tests.c: Document use of
2966         ignore-zero-inf-sign.
2967         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2968         (input_flags): Add ignore-zero-inf-sign.
2969         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2970         * math/gen-libm-test.pl (generate_testfile): Handle
2971         ignore-zero-inf-sign.
2972         * math/auto-libm-test-in: Mark some cpow tests with
2973         ignore-zero-inf-sign and some with xfail-rounding.
2974         * math/auto-libm-test-out: Regenerated.
2975         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2976         * sysdeps/i386/fpu/libm-test-ulps: Update.
2977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2978
2979         [BZ #16315]
2980         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2981         overflowing or underflowing operations take place with sign of
2982         result.
2983         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2984         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2985         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2986         (__ieee754_pow): Recompute overflowing and underflowing results in
2987         original rounding mode.
2988         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2989         (__powl_helper): Allow negative argument X and scale negated value
2990         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2991         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2992         overflowing or underflowing operations take place with sign of
2993         result.
2994         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2995         Include <math.h>.
2996         * math/auto-libm-test-in: Add more tests of pow.
2997         * math/auto-libm-test-out: Regenerated.
2998         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2999         (pow_tonearest_test_data): Remove.
3000         (pow_test_tonearest): Likewise.
3001         (pow_towardzero_test_data): Likewise.
3002         (pow_test_towardzero): Likewise.
3003         (pow_downward_test_data): Likewise.
3004         (pow_test_downward): Likewise.
3005         (pow_upward_test_data): Likewise.
3006         (pow_test_upward): Likewise.
3007         (main): Don't call removed functions.
3008         * sysdeps/i386/fpu/libm-test-ulps: Update.
3009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3010
3011 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3012
3013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3014         Moved ...
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3017         Moved ...
3018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3020         Moved ...
3021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3023         Moved ...
3024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3026         File removed.
3027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3028         File removed.
3029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3030         File removed.
3031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3032         File removed.
3033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3034         File removed.
3035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3036         File removed.
3037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3038         File removed.
3039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3040         File removed.
3041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3042         File removed.
3043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3044         File removed.
3045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3046         File removed.
3047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3048         File removed.
3049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3050         Moved ...
3051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3053         Moved ...
3054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3055         ... here.
3056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3057         Moved ...
3058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3060         Moved ...
3061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3063         Moved ...
3064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3066         Moved ...
3067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3069         Moved ...
3070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3072         Moved ...
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3075         Moved ...
3076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3079         ... here.
3080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3081         Moved ...
3082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3084         Moved ...
3085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3086         ... here.
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3088         Moved ...
3089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3090         ... here.
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3092         Moved ...
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3094         ... here.
3095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3096         Moved ...
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3099         Moved ...
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3104         Moved ...
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3106         ... here.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3108         Moved ...
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3110         ... here.
3111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3112         Moved ...
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3115         Moved ...
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3118         Moved ...
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3121         Moved ...
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3124         Moved ...
3125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3126         ... here.
3127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3128         Moved ...
3129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3131         Moved ...
3132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3134         Moved ...
3135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3137         Moved ...
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3142         Moved ...
3143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3145         Moved ...
3146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3148         Moved ...
3149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3150         ... here.
3151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3152         Moved ...
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3154         ... here.
3155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3156         Moved ...
3157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3158         ... here.
3159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3160         Moved ...
3161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3163         Moved ...
3164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3166         Moved ...
3167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3169         Moved ...
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3171         ... here.
3172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3173         Moved ...
3174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3175         ... here.
3176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3177         Moved ...
3178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3179         ... here.
3180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3181         Moved ...
3182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3184         Moved ...
3185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3186
3187 2014-06-23  Will Newton  <will.newton@linaro.org>
3188             Wilco  <wdijkstr@arm.com>
3189
3190         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3191         implementation.  Include get-rounding-mode.h.
3192         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3193         [!libc_feholdsetround_noex_ctx]: Define
3194         libc_feholdsetround_noex_ctx.
3195         [!libc_feholdsetround_noexf_ctx]: Define
3196         libc_feholdsetround_noexf_ctx.
3197         [!libc_feholdsetround_noexl_ctx]: Define
3198         libc_feholdsetround_noexl_ctx.
3199         (libc_feholdsetround_ctx): New function.
3200         (libc_feresetround_ctx): New function.
3201         (libc_feholdsetround_noex_ctx): New function.
3202         (libc_feresetround_noex_ctx): New function.
3203
3204 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3205
3206         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3207         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3208         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3209         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3210         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3211         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3212
3213         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3214         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3215         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3216         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3217         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3218         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3219         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3220         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3221         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3222         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3223         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3224         Moved ...
3225         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3226         ... here.
3227         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3228         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3229         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3230         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3231         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3232         Moved ...
3233         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3234         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3235         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3236         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3237         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3238         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3239         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3240         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3241         Moved ...
3242         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3243         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3244         Moved ...
3245         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3246         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3247         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3248         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3249         Moved ...
3250         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3251         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3252         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3253         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3254         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3255         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3256         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3257         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3258         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3259         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3260         Moved ...
3261         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3262         ... here.
3263         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3264         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3265         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3266         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3267         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3268         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3269         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3270         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3271         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3272         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3273         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3274         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3275         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3276         Moved ...
3277         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3278         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3279         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3280         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3281         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3282         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3283         Moved ...
3284         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3285         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3286         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3287         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3288         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3289
3290         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3291         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3292         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3293         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3294         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3295         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3296         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3297         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3298         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3299         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3300         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3301         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3302         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3303         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3304         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3305         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3306         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3307         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3308         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3309         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3310         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3311         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3312         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3313         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3314         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3315         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3316         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3317         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3318
3319 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3320
3321         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3322         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3323         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3324         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3325         (IPV6_PMTUDISC_INTERFACE): Likewise.
3326         (IPV6_PMTUDISC_OMIT): Likewise.
3327
3328 2014-06-23  Andreas Schwab  <schwab@suse.de>
3329
3330         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3331         Remove unused errout label.
3332
3333 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3334
3335         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3336         macro: hardware supports Vector Crypto instructions.
3337
3338 2014-06-23  Will Newton  <will.newton@linaro.org>
3339
3340         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3341         rather than __builtin_expect.
3342
3343         * elf/dl-lookup.c (undefined_msg): Remove variable.
3344         (_dl_lookup_symbol_x): Replace undefined_msg with string
3345         literal.
3346
3347         * elf/dl-lookup.c (do_lookup_unique): New function.
3348         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3349         to a separate function.
3350
3351 2014-06-23  Andreas Schwab  <schwab@suse.de>
3352
3353         [BZ #17079]
3354         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3355         before reading the next line.
3356
3357 2014-06-23  Will Newton  <will.newton@linaro.org>
3358
3359         * test-skeleton.c (signal_handler): Use printf and %m
3360         rather than perror.  Use printf rather than fprintf to
3361         stderr.  Use puts rather than fputs to stderr.
3362         (main): Likewise.
3363
3364 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3365
3366         * nscd/nscd.c (thread_info_t): Remove typedef.
3367         (thread_info): Remove variable.
3368
3369 2014-06-21  Allan McRae  <allan@archlinux.org>
3370
3371         * NEWS: Mention CVE-2014-4043.
3372
3373 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3374
3375         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3376         * nptl/smp.h: ... here.
3377
3378         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3379
3380         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3381         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3382         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3383         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3384
3385         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3386         * nptl/stack-aliasing.h: New file.
3387         * sysdeps/i386/i686/stack-aliasing.h: New file.
3388         * sysdeps/i386/i686/nptl/Makefile: File removed.
3389         * sysdeps/x86_64/stack-aliasing.h: New file.
3390         * sysdeps/x86_64/nptl/Makefile
3391         (CFLAGS-pthread_create.c): Variable removed.
3392
3393         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3394         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3395         old file.
3396         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3397         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3398         old file.
3399
3400 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3401
3402         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3403         (__ASSUME_SIGFRAME_V2): Remove macro.
3404         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3405         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3406         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3407         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3408         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3409         Declare as function.  Remove conditional macro definitions.
3410         (__default_rt_sa_restorer): Likewise.
3411         (__default_sa_restorer_v1): Remove declaration.
3412         (__default_sa_restorer_v2): Likewise.
3413         (__default_rt_sa_restorer_v1): Likewise.
3414         (__default_rt_sa_restorer_v2): Likewise.
3415         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3416         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3417         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3418
3419 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3420
3421         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3422         (libpthread-routines): Add sysdep.
3423         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3424         * sysdeps/unix/sysv/linux/sparc/Versions
3425         (libpthread: GLIBC_2.3.3): New version set.
3426         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3427         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3428         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3429         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3430         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3431         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3432         Moved ...
3433         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3434         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3435         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3436         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3437         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3438         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3439         * sysdeps/sparc/nptl/sem_init.c: ... here.
3440         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3441         * sysdeps/sparc/nptl/sem_post.c: ... here.
3442         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3443         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3444         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3445         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3446         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3447         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3448         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3449         (libpthread-routines): Add cpu_relax.
3450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3451         File removed.
3452         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3453         (librt: GLIBC_2.3.3): New version set.
3454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3455         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3456         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3457         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3460         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3462         Moved ...
3463         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3465         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3467         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3469         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3471         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3473         Moved ...
3474         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3475         Update #include.
3476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3477         Moved ...
3478         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3479         Update #include.
3480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3481         Moved ...
3482         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3483         Update #include.
3484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3485         Moved ...
3486         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3487         Update #include.
3488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3489         Moved ...
3490         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3491         Update #include.
3492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3493         Moved ...
3494         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3495         Update #include.
3496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3497         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3499         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3501         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3503         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3505         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3507         Moved ...
3508         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3510         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3512         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3513
3514 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3515
3516         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3517         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3518         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3519         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3520         * nscd/nscd.c: Likewise.
3521         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3522         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3523         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3524         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3525
3526         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3527         <kernel-features.h>.
3528         (init_mq_netlink): Remove conditional have_sock_cloexec
3529         definitions.  Remove code conditional on have_sock_cloexec < 0.
3530         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3531         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3532         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3533         <kernel-features.h>.
3534         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3535         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3536
3537 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3538
3539         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3540         Add tests for memset_chk and memset.
3541
3542         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3543         with AVX2_Usable.
3544
3545 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3546
3547         [BZ #16046]
3548         * elf/tst-dl-iter-static.c: New file.
3549         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3550
3551         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3552         error.
3553
3554 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3555
3556         * sysdeps/unix/sysv/linux/kernel-features.h
3557         (__ASSUME_F_GETOWN_EX): Remove macro.
3558         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3559         <kernel-features.h>.
3560         (miss_F_GETOWN_EX): Remove variable or macro.
3561         (do_fcntl): Do not check miss_F_GETOWN_EX.
3562         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3563
3564         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3565         Remove macro.
3566         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3567         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3568         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3569
3570         * sysdeps/unix/sysv/linux/kernel-features.h
3571         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3572         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3573         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3574         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3575
3576 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3577
3578         [BZ #17075]
3579         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3580         Fix calculation of the symbol's value.
3581         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3582         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3583         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3584         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3585         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3586         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3587         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3588         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3589         (modules-names): Add `tst-armtlsdescmod',
3590         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3591         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3592         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3593         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3594         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3595         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3596         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3597         ($(objpfx)tst-armtlsdescloc): New dependency.
3598         ($(objpfx)tst-armtlsdescextnow): Likewise.
3599         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3600         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3601         TLS scheme support.
3602         * sysdeps/arm/configure: Regenerate.
3603
3604 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3605
3606         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3607         (__atfct_seterrno_2): Likewise.
3608         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3609         <kernel-features.h>.
3610         (__ASSUME_ATFCTS): Do not undefine and redefine.
3611         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3612         (__have_atfcts): Remove conditional definition.
3613         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3614         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3615         unreachable if [__ASSUME_ATFCTS].
3616         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3617         not undefine and redefine.
3618         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3619         <kernel-features.h>.
3620         (faccessat) [__NR_faccessat]: Make code unconditional.
3621         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3622         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3623         <kernel-features.h>.
3624         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3625         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3626         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3627         <kernel-features.h>.
3628         (fchownat) [__NR_fchownat]: Make code unconditional.
3629         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3630         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3631         <kernel-features.h>.
3632         (futimesat) [__NR_futimesat]: Make code unconditional.
3633         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3634         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3635         <kernel-features.h>.
3636         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3637         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3638         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3639         <kernel-features.h>.
3640         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3641         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3642         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3643         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3644         <kernel-features.h>.
3645         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3646         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3647         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3648         <kernel-features.h>.
3649         (linkat) [__NR_linkat]: Make code unconditional.
3650         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3651         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3652         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3653         <kernel-features.h>.
3654         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3655         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3656         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3657         <kernel-features.h>.
3658         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3659         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3660         * sysdeps/unix/sysv/linux/openat.c: Do not include
3661         <kernel-features.h>.
3662         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3663         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3664         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3665         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3666         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3667         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3668         <kernel-features.h>.
3669         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3670         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3671         result of INLINE_SYSCALL directly, not via int variable.
3672         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3673         <kernel-features.h>.
3674         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3675         (renameat) [__NR_renameat]: Make code unconditional.
3676         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3677         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3678         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3679         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3680         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3681         (__ASSUME_ATFCTS): Do not undefine and redefine.
3682         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3683         <kernel-features.h>.
3684         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3685         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3686         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3687         <kernel-features.h>.
3688         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3689         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3690         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3691         (__ASSUME_ATFCTS): Do not undefine and redefine.
3692         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3693         <kernel-features.h>.
3694         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3695         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3696         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3697         <kernel-features.h>.
3698         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3699         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3700
3701 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3702
3703         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3704
3705 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3706
3707         [BZ #17069]
3708         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3709         constructed tree before returning error.
3710         * posix/bug-regexp36.c: Expand test case.
3711
3712 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3713
3714         [BZ #6803]
3715         * math/libm-test.inc (scalbln_test_date):
3716         Add errno expectations.
3717         * math/w_scalblnf.c: New File.
3718         Add wrapper which checks for setting errno to ERANGE.
3719         Add weak_alias for corresponding scalbln function.
3720         * math/w_scalbln.c: Likewise.
3721         * math/w_scalblnl.c: Likewise.
3722         * math/Makefile (libm-calls): Add w_scalbln.
3723         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3724         Remove weak_alias for corresponding scalbln function.
3725         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3726         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3727         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3728         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3729         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3730         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3731         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3732         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3733         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3734         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3735         Remove long_double_symbol for scalblnl function in libm, libc.
3736         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3737         Add wrapper which checks for setting errno to ERANGE.
3738         Add long_double_symbol for scalblnl function in libm, libc.
3739         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3740         Remove long_double_symbol for scalblnl in libm.
3741         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3742         Add wrapper which checks for setting errno to ERANGE.
3743         Add long_double_symbol for scalblnl function in libm.
3744         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3745         Do not use wrapper because of own implementation.
3746
3747 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3748
3749         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3750         3 bytes for __pad1 for x32.
3751         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3752
3753 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3754             H.J. Lu  <hongjiu.lu@intel.com>
3755
3756         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3757         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3758         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3759         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3760         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3761
3762 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3763
3764         [BZ #17069]
3765         * posix/regcomp.c (parse_expression): Deallocate partially
3766         constructed tree before returning error.
3767         * posix/Makefile.c (tests): Add bug-regex36.
3768         (generated): Add bug-regex36.mtrace.
3769         (tests-special): Add $(objpfx)bug-regex36-mem.out
3770         (bug-regex36-ENV): New variable.
3771         ($(objpfx)bug-regex36-mem.out): New rule.
3772         * posix/bug-regex36.c: New file.
3773
3774 2014-06-19  Will Newton  <will.newton@linaro.org>
3775
3776         * malloc/malloc.c (systrim): If extra is zero then return
3777         early.
3778
3779 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3780
3781         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3782
3783 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3784
3785         * sysdeps/aarch64/strchr.S: New file.
3786
3787 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3788
3789         [BZ #17022]
3790         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3791         from arguments -2 or below.
3792         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3793         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3794
3795 2014-06-18  Andreas Schwab  <schwab@suse.de>
3796
3797         [BZ #17062]
3798         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3799         of a bracket expr not to run off the end of the string.
3800         * posix/Makefile (tests): Add tst-fnmatch3.
3801         * posix/tst-fnmatch3.c: New file.
3802
3803 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3804
3805         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3806         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3807         [$(cross-compiling) = no]: Likewise.
3808         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3809         [$(cross-compiling) = no]: Likewise.
3810
3811 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3812
3813         [BZ #17031]
3814         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3815         double, adjusted for any remainder from the high double.
3816         * math/libm-test.inc (nearbyint): Add tests.
3817         (rint): Likewise.
3818
3819 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3820
3821         * nptl/sysdeps/powerpc/Makefile: Moved ...
3822         * sysdeps/powerpc/nptl/Makefile: ... here.
3823         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3824         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3825         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3826         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3827         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3828         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3829         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3830         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3831         * nptl/sysdeps/powerpc/tls.h: Moved ...
3832         * sysdeps/powerpc/nptl/tls.h: ... here.
3833
3834 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3835
3836         [BZ #16681]
3837         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3838         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3839         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3840         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3841         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3842         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3843         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3844         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3845         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3846
3847 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3848
3849         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3850
3851 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3852
3853         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3854         defined operator.
3855
3856         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3857         $TIMEOUTFACTOR.
3858
3859 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3860
3861         [BZ #17058]
3862         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3863         non-executed part of the test.
3864
3865 2014-06-16  Andreas Schwab  <schwab@suse.de>
3866
3867         * string/bits/string2.h (strdup, strndup): Update feature guard.
3868
3869 2014-06-14  David S. Miller  <davem@davemloft.net>
3870
3871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3872
3873 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3874
3875         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3876         that was previously under [RESET_PID].
3877         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3878
3879         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3880         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3881         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3882         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3883         (__libc_vfork): New strong alias.
3884         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3885
3886 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3887
3888         * sysdeps/generic/elide.h: New file.
3889
3890 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3891
3892         * Makefile (installed-headers): Adjust path of pthread.h header.
3893
3894 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3895
3896         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3897         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3898         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3899         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3900
3901         * nptl/sysdeps/s390/Makefile: Moved ...
3902         * sysdeps/s390/nptl/Makefile: ... here.
3903         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3904         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3905         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3906         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3907         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3908         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3909         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3910         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3911         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3912         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3913         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3914         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3915         * nptl/sysdeps/s390/tls.h: Moved ...
3916         * sysdeps/s390/nptl/tls.h: ... here.
3917
3918         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3919         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3920
3921 2014-06-13  David S. Miller  <davem@davemloft.net>
3922
3923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3926         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3930         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3931         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3932         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3933         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3934         Remove RESET_PID cpp guards.
3935         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3936         Remove RESET_PID cpp guards.
3937         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3938
3939 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3940
3941         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3942         __sp to uintptr_t.
3943
3944 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3945
3946         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3947         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3948         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3949         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3950         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3951         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3952         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3953         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3954         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3955         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3956         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3957         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3958         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3959         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3960         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3961         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3962         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3963         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3964         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3965         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3966
3967         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3968         (pthread_rwlock_rdlock): Add elision.
3969         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3970         (pthread_rwlock_wrlock): Add elision.
3971         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3972         (pthread_rwlock_trywrlock): Add elision.
3973         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3974         (pthread_rwlock_tryrdlock): Add elision.
3975         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3976         (pthread_rwlock_tryrdlock): Add elision unlock.
3977         * nptl/sysdeps/pthread/pthread.h:
3978         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3979         (PTHREAD_RWLOCK_INITIALIZER,
3980         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3981         Handle new elision field.
3982         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3983         * sysdeps/arm/nptl/bits/pthreadtypes.h
3984         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3985         * sysdeps/sh/nptl/bits/pthreadtypes.h
3986         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3987         * sysdeps/tile/nptl/bits/pthreadtypes.h
3988         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3989         * sysdeps/a/nptl/bits/pthreadtypes.h
3990         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3991         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3992         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3993         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3994         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3995         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3996         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3997         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3998         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3999         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4000         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4001         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4002         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4003         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4004         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4005         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4006         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4007         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4008         (elision_init): Set try_xbegin to zero when no RTM.
4009         * sysdeps/x86/nptl/bits/pthreadtypes.h
4010         (pthread_rwlock_t): Change __pad1 to __rwelision.
4011         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4012
4013 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4014
4015         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4016         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4017         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4018         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4019
4020 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4021
4022         [BZ #16996]
4023         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4024         that the cached result has been set before returning it.
4025
4026 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4027
4028         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4029         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4030         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4031         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4032         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4033         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4034
4035         * nptl/sysdeps/sparc/Makefile: Moved ...
4036         * sysdeps/sparc/nptl/Makefile: ... here.
4037         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4038         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4039         * nptl/sysdeps/sparc/tls.h: Moved ...
4040         * sysdeps/sparc/nptl/tls.h: ... here.
4041         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4042         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4043         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4044         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4045         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4046         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4047         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4048         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4049         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4050         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4051         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4052         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4053         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4054         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4055         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4056         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4057         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4058         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4059         Update #include.
4060         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4061         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4062         Update #include.
4063         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4064         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4065         Update #include.
4066         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4067         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4068         Update #include.
4069
4070         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4071
4072         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4073         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4074
4075         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4076         (struct list_links): Type removed.
4077         (struct thread_node, struct timer_node): Replace struct list_links
4078         with struct list_head.
4079         (list_unlink_ip): Likewise.
4080         * sysdeps/pthread/timer_routines.c
4081         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4082         (list_append, list_insbefore): Likewise.
4083         (list_init): Function removed.
4084         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4085         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4086         * sysdeps/pthread/Makefile: ... here, new file.
4087
4088         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4089         * sysdeps/nptl/Implies: ... here.
4090         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4091         * nptl/sysdeps/pthread/list.h: Moved ...
4092         * include/list.h: ... here.
4093         * nptl/sysdeps/pthread/createthread.c: Moved ...
4094         * nptl/createthread.c: ... here.
4095         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4096         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4097         * nptl/pt-longjmp.c: ... here.
4098         * nptl/sysdeps/pthread/Makefile: Moved ...
4099         * sysdeps/nptl/Makefile: ... here.
4100         * nptl/sysdeps/pthread/Subdirs: Moved ...
4101         * sysdeps/nptl/Subdirs: ... here.
4102         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4103         * sysdeps/nptl/aio_misc.h: ... here.
4104         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4105         * sysdeps/nptl/bits/libc-lock.h: ... here.
4106         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4107         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4108         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4109         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4110         * nptl/sysdeps/pthread/configure: Moved ...
4111         * sysdeps/nptl/configure: ... here.
4112         * nptl/sysdeps/pthread/configure.ac: Moved ...
4113         * sysdeps/nptl/configure.ac: ... here.
4114         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4115         * sysdeps/nptl/gai_misc.h: ... here.
4116         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4117         * sysdeps/nptl/librt-cancellation.c: ... here.
4118         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4119         * sysdeps/nptl/malloc-machine.h: ... here.
4120         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4121         * sysdeps/nptl/pthread-functions.h: ... here.
4122         * nptl/sysdeps/pthread/pthread.h: Moved ...
4123         * sysdeps/nptl/pthread.h: ... here.
4124         * nptl/sysdeps/pthread/setxid.h: Moved ...
4125         * sysdeps/nptl/setxid.h: ... here.
4126         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4127         * sysdeps/nptl/sigfillset.c: ... here.
4128         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4129         * sysdeps/nptl/tcb-offsets.h: ... here.
4130         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4131         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4132         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4133         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4134         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4135         * sysdeps/pthread/allocalim.h: ... here.
4136         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4137         * sysdeps/pthread/bits/sigthread.h: ... here.
4138         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4139         * sysdeps/pthread/flockfile.c: ... here.
4140         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4141         * sysdeps/pthread/ftrylockfile.c: ... here.
4142         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4143         * sysdeps/pthread/funlockfile.c: ... here.
4144         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4145         * sysdeps/pthread/posix-timer.h: ... here.
4146         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4147         * sysdeps/pthread/timer_create.c: ... here.
4148         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4149         * sysdeps/pthread/timer_delete.c: ... here.
4150         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4151         * sysdeps/pthread/timer_getoverr.c: ... here.
4152         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4153         * sysdeps/pthread/timer_gettime.c: ... here.
4154         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4155         * sysdeps/pthread/timer_routines.c: ... here.
4156         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4157         * sysdeps/pthread/timer_settime.c: ... here.
4158         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4159         * sysdeps/pthread/tst-timer.c: ... here.
4160         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4161         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4162
4163         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4164         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4165
4166         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4167         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4168         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4169         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4170         Update #include target.
4171         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4172         * sysdeps/i386/i686/nptl/Makefile: ... here.
4173         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4174         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4175         Update #include target.
4176         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4177         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4178         * nptl/sysdeps/i386/Makefile: Moved ...
4179         * sysdeps/i386/nptl/Makefile: ... here.
4180         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4181         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4182         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4183         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4184         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4185         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4186         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4187         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4188         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4189         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4190         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4191         * nptl/sysdeps/i386/tls.h: Moved ...
4192         * sysdeps/i386/nptl/tls.h: ... here.
4193
4194         * sysdeps/sh/Makefile [$(subdir) = csu]
4195         (gen-as-const-headers): Add tcb-offsets.sym.
4196         * nptl/sysdeps/sh/Makefile: File removed.
4197         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4198         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4199         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4200         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4201         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4202         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4203         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4204         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4205         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4206         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4207         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4208         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4209         * nptl/sysdeps/sh/tls.h: Moved ...
4210         * sysdeps/sh/nptl/tls.h: ... here.
4211         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4212         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4213         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4214         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4215         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4216         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4217         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4218         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4219         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4220         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4221         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4222         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4223         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4224         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4225         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4226         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4227         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4228         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4229         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4230         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4231         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4232         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4233         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4234         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4235         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4236         Moved ...
4237         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4238         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4239         Moved ...
4240         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4241         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4242         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4243         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4244         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4245         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4246         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4247         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4248         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4249         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4250         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4251         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4252         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4253         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4254         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4255         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4256         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4257         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4258         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4259
4260 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4261
4262         * posix/spawn_faction_addopen.c: Include string.h.
4263
4264 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4265
4266         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4267         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4268         * nptl/sysdeps/x86_64/Makefile: Moved ...
4269         * sysdeps/x86_64/nptl/Makefile: ... here.
4270         * nptl/sysdeps/x86_64/configure: Moved ...
4271         * sysdeps/x86_64/nptl/configure: ... here.
4272         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4273         * sysdeps/x86_64/nptl/configure.ac: ... here.
4274         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4275         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4276         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4277         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4278         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4279         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4280         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4281         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4282         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4283         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4284         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4285         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4286         * nptl/sysdeps/x86_64/tls.h: Moved ...
4287         * sysdeps/x86_64/nptl/tls.h: ... here.
4288         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4289         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4290         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4291         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4292
4293         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4294
4295 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4296
4297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4298
4299 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4300
4301         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4302         type.
4303         [POSIX] (off_t): Likewise.
4304         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4305         [POSIX] (S_ISBLK): Require macro.
4306         [POSIX] (S_ISCHR): Likewise.
4307         [POSIX] (S_ISDIR): Likewise.
4308         [POSIX] (S_ISFIFO): Likewise.
4309         [POSIX] (S_ISREG): Likewise.
4310         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4311         optional-macro.
4312         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4313         type.
4314         [POSIX] (time_t): Likewise.
4315         [POSIX] (timer_t): Likewise.
4316
4317 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4318
4319         [BZ #17048]
4320         * posix/spawn_int.h (struct __spawn_action): Make the path string
4321         non-const to support deallocation.
4322         * posix/spawn_faction_addopen.c
4323         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4324         * posix/spawn_faction_destroy.c
4325         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4326         path in all spawn_do_open actions.
4327         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4328         posix_spawn_file_actions_addopen.
4329
4330 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4331
4332         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4333         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4334         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4335         conditional code always true.
4336         (__libc_vfork): New alias.
4337
4338 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4339
4340         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4341         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4342
4343         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4344
4345         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4346         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4347
4348         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4349         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4350
4351         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4352         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4353
4354 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4355
4356         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4357         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4358         multiarch strcmp for PPC64.
4359         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4360         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4362         multiarch optimizations.
4363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4364         (__libc_ifunc_impl_list): Likewise.
4365
4366 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4367
4368         * benchtests/scripts/validate_benchout.py: New script.
4369         * benchtests/Makefile (bench-func): Call it.
4370         * benchtests/scripts/benchout.schema.json: New file.
4371
4372 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4373
4374         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4375         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4376         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4377         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4378         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4379         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4380         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4381         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4382         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4383         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4384         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4385         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4386         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4387         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4388         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4389         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4391         Moved ...
4392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4393         ... here.
4394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4395         Moved ...
4396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4398         Moved ...
4399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4400         ... here.
4401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4402         Moved ...
4403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4404         ... here.
4405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4406         Moved ...
4407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4409         Moved ...
4410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4411         ... here.
4412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4413         Moved ...
4414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4415         ... here.
4416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4417         Moved ...
4418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4420         Moved ...
4421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4422         ... here.
4423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4424         Moved ...
4425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4426         ... here.
4427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4428         Moved ...
4429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4430         ... here.
4431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4432         Moved ...
4433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4435         Moved ...
4436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4437         ... here.
4438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4439         Moved ...
4440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4441         ... here.
4442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4443         Moved ...
4444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4445         ... here.
4446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4447         Moved ...
4448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4450         Moved ...
4451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4452         ... here.
4453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4454         Moved ...
4455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4456         ... here.
4457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4458         Moved ...
4459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4461         Moved ...
4462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4463         ... here.
4464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4465         Moved ...
4466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4468         Moved ...
4469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4471         Moved ...
4472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4473         ... here.
4474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4475         Moved ...
4476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4477         ... here.
4478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4479         Moved ...
4480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4481         ... here.
4482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4483         Moved ...
4484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4486         Moved ...
4487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4488         ... here.
4489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4490         Moved ...
4491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4492         ... here.
4493         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4494         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4495         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4496         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4497         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4498         Moved ...
4499         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4500         ... here.
4501         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4502         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4503         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4504         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4505         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4506         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4507         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4508         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4509         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4510         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4511         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4512         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4513         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4514         Moved ...
4515         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4516         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4517         Moved ...
4518         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4519         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4520         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4521         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4522         Moved ...
4523         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4524         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4525         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4526         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4527         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4528         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4529         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4530
4531 2014-06-10  Wilco  <wdijkstr@arm.com>
4532
4533         * math/test-fenv-return.c: New file.
4534         * math/Makefile: Add new test test-fenv-return.
4535
4536 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4537
4538         [BZ #17042]
4539         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4540         when x - 1 is zero.
4541         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4542         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4543         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4544         0.0L for an argument of 1.0L.
4545         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4546         Likewise.
4547         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4548         value when x - 1 is zero.
4549         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4550         * sysdeps/i386/fpu/libm-test-ulps: Update.
4551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4552
4553 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4554
4555         [BZ #15119]
4556         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4557
4558 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4559
4560         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4561         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4562
4563 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4564
4565         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4566         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4567
4568         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4569         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4570
4571         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4572         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4573
4574         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4575         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4576
4577         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4578         if not already defined.
4579         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4580         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4581         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4582         (TLS_INIT_TP): Use it.
4583         (TLS_DEFINE_INIT_TP): New macro.
4584         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4585
4586 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4587
4588         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4589         constant.
4590         [POSIX] (IXANY): Likewise.
4591         [POSIX] (OLCUC): Likewise.
4592         [POSIX || POSIX2008] (CBAUD): Do not allow.
4593         [POSIX || POSIX2008] (DEFECHO): Likewise.
4594         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4595         [POSIX || POSIX2008] (ECHOKE): Likewise.
4596         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4597         [POSIX || POSIX2008] (EXTA): Likewise.
4598         [POSIX || POSIX2008] (EXTB): Likewise.
4599         [POSIX || POSIX2008] (FLUSHO): Likewise.
4600         [POSIX || POSIX2008] (LOBLK): Likewise.
4601         [POSIX || POSIX2008] (PENDIN): Likewise.
4602         [POSIX || POSIX2008] (SWTCH): Likewise.
4603         [POSIX || POSIX2008] (VDISCARD): Likewise.
4604         [POSIX || POSIX2008] (VDSUSP): Likewise.
4605         [POSIX || POSIX2008] (VLNEXT): Likewise.
4606         [POSIX || POSIX2008] (VREPRINT): Likewise.
4607         [POSIX || POSIX2008] (VSTATUS): Likewise.
4608         [POSIX || POSIX2008] (VWERASE): Likewise.
4609         (B*): Change to B[0123456789]*.
4610         * conform/data/time.h-data [POSIX || UNIX98]
4611         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4612         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4613         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4614         [POSIX] (tm_*): Do not allow.
4615
4616 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4617
4618         * Makefile (install): Don't set LANGUAGE.
4619         * Makefile.in (install): Likewise.
4620         * assert/Makefile (test-assert-ENV): Remove variable.
4621         (test-assert-perr-ENV): Likewise.
4622         * elf/Makefile (neededtest4-ENV): Likewise.
4623         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4624         [$(cross-compiling) = no]: Don't set LANGUAGE.
4625         * io/ftwtest-sh (LANG): Remove variable.
4626         * libio/Makefile (tst-widetext-ENV): Likewise.
4627         * manual/install.texi (Running make install): Don't refer to
4628         environment settings for make install.
4629         * INSTALL: Regenerated.
4630         * nptl/tst-tls6.sh: Don't set LANG.
4631         * posix/globtest.sh (LANG): Remove variable.
4632         * string/Makefile (tester-ENV): Likewise.
4633         (inl-tester-ENV): Likewise.
4634         (noinl-tester-ENV): Likewise.
4635         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4636         [$(cross-compiling) = no]: Don't set LANGUAGE.
4637         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4638         without explicit environment settings.
4639
4640 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4641
4642         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4643         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4644         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4645         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4646
4647 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4648
4649         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4650         other files in the crypt directory.
4651         * crypt/crypt.c: Remove duplicate includes.
4652         * crypt/crypt-entry.c: Likewise.
4653         * crypt/crypt_util.c: Likewise.
4654
4655 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4656
4657         * Makeconfig (run-program-env): New variable.
4658         (run-program-prefix-before-env): Likewise.
4659         (run-program-prefix-after-env): Likewise.
4660         (run-program-prefix): Define in terms of new variables.
4661         (built-program-cmd-before-env): New variable.
4662         (built-program-cmd-after-env): Likewise.
4663         (built-program-cmd): Define in terms of new variables.
4664         (test-program-prefix-before-env): New variable.
4665         (test-program-prefix-after-env): Likewise.
4666         (test-program-prefix): Define in terms of new variables.
4667         (test-program-cmd-before-env): New variable.
4668         (test-program-cmd-after-env): Likewise.
4669         (test-program-cmd): Define in terms of new variables.
4670         * Rules (make-test-out): Use $(run-program-env).
4671         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4672         (help): Do not mention environment variables.  Mention
4673         --timeoutfactor option.
4674         (timeoutfactor): New variable.
4675         (blacklist_exports): Remove function.
4676         (exports): Remove variable.
4677         (command): Do not include ${exports}.
4678         * manual/install.texi (Configuring and compiling): Do not mention
4679         test wrappers preserving environment variables.  Mention that last
4680         assignment to a variable must take precedence.
4681         * INSTALL: Regenerated.
4682         * benchtests/Makefile (run-bench): Use $(run-program-env).
4683         * catgets/Makefile ($(objpfx)test1.cat): Use
4684         $(built-program-cmd-before-env), $(run-program-env) and
4685         $(built-program-cmd-after-env).
4686         ($(objpfx)test2.cat): Do not specify environment variables
4687         explicitly.
4688         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4689         $(run-program-env) and $(built-program-cmd-after-env).
4690         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4691         $(run-program-env) and $(test-program-cmd-after-env).
4692         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4693         explicitly.
4694         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4695         run_program_env and test_program_cmd_after_env arguments.
4696         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4697         * elf/tst-pathopt.sh: Use run_program_env argument.
4698         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4699         $(test-wrapper-env) and $(run-program-env).
4700         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4701         run_program_env arguments.
4702         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4703         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4704         $(test-program-prefix-before-env), $(run-program-env) and
4705         $(test-program-prefix-after-env).
4706         ($(objpfx)tst-gettext2.out): Likewise.
4707         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4708         run_program_env and test_program_prefix_after_env arguments.
4709         * intl/tst-gettext2.sh: Likewise.
4710         * intl/tst-gettext4.sh: Do not set environment variables
4711         explicitly.
4712         * intl/tst-gettext6.sh: Likewise.
4713         * intl/tst-translit.sh: Likewise.
4714         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4715         $(test-program-prefix-before-env), $(run-program-env) and
4716         $(test-program-prefix-after-env).
4717         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4718         run_program_env and test_program_prefix_after_env arguments.
4719         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4720         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4721         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4722         explicitly with each use of ${test_wrapper_env}.
4723         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4724         $(test-program-prefix-before-env), $(run-program-env) and
4725         $(test-program-prefix-after-env).
4726         * posix/tst-getconf.sh: Do not set environment variables
4727         explicitly.
4728         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4729         run_program_env and test_program_prefix_after_env arguments.
4730         * stdio-common/tst-printf.sh: Do not set environment variables
4731         explicitly.
4732         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4733         $(test-program-prefix-before-env), $(run-program-env) and
4734         $(test-program-prefix-after-env).
4735         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4736         run_program_env and test_program_prefix_after_env arguments.
4737         Split $test calls into $test_pre and $test.
4738         * timezone/Makefile (build-testdata): Use
4739         $(built-program-cmd-before-env), $(run-program-env) and
4740         $(built-program-cmd-after-env).
4741
4742 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4743
4744         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4745         strlen for non SHARED builds.
4746
4747 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4748
4749         * nptl/allocatestack.c (check_list): Inlined function...
4750         (__reclaim_stacks): ... here.
4751
4752 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4753
4754         [BZ #15698]
4755         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4756         memory overrun.
4757
4758 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4759
4760         * Rules (make-test-out): Include
4761         LOCPATH=$(common-objpfx)localedata in default environment.
4762         * debug/Makefile (tst-chk1-ENV): Remove variable.
4763         (tst-chk2-ENV): Likewise.
4764         (tst-chk3-ENV): Likewise.
4765         (tst-chk4-ENV): Likewise.
4766         (tst-chk5-ENV): Likewise.
4767         (tst-chk6-ENV): Likewise.
4768         (tst-lfschk1-ENV): Likewise.
4769         (tst-lfschk2-ENV): Likewise.
4770         (tst-lfschk3-ENV): Likewise.
4771         (tst-lfschk4-ENV): Likewise.
4772         (tst-lfschk5-ENV): Likewise.
4773         (tst-lfschk6-ENV): Likewise.
4774         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4775         (tst-iconv7-ENV): Likewise.
4776         * intl/Makefile (LOCPATH-ENV): Likewise.
4777         (tst-codeset-ENV): Likewise.
4778         (tst-gettext3-ENV): Likewise.
4779         (tst-gettext5-ENV): Likewise.
4780         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4781         (tst-fopenloc-ENV): Likewise.
4782         (tst-fgetws-ENV): Remove variable.
4783         (tst-ungetwc1-ENV): Likewise.
4784         (tst-ungetwc2-ENV): Likewise.
4785         (bug-ungetwc2-ENV): Likewise.
4786         (tst-swscanf-ENV): Likewise.
4787         (bug-ftell-ENV): Likewise.
4788         (tst-fgetwc-ENV): Likewise.
4789         (tst-fseek-ENV): Likewise.
4790         (tst-ftell-partial-wide-ENV): Likewise.
4791         (tst-ftell-active-handler-ENV): Likewise.
4792         (tst-ftell-append-ENV): Likewise.
4793         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4794         (tst-regexloc-ENV): Likewise.
4795         (bug-regex1-ENV): Likewise.
4796         (tst-regex-ENV): Likewise.
4797         (tst-regex2-ENV): Likewise.
4798         (bug-regex5-ENV): Likewise.
4799         (bug-regex6-ENV): Likewise.
4800         (bug-regex17-ENV): Likewise.
4801         (bug-regex18-ENV): Likewise.
4802         (bug-regex19-ENV): Likewise.
4803         (bug-regex20-ENV): Likewise.
4804         (bug-regex22-ENV): Likewise.
4805         (bug-regex23-ENV): Likewise.
4806         (bug-regex25-ENV): Likewise.
4807         (bug-regex26-ENV): Likewise.
4808         (bug-regex30-ENV): Likewise.
4809         (bug-regex32-ENV): Likewise.
4810         (bug-regex33-ENV): Likewise.
4811         (bug-regex34-ENV): Likewise.
4812         (bug-regex35-ENV): Likewise.
4813         (tst-rxspencer-ENV): Likewise.
4814         (tst-rxspencer-no-utf8-ENV): Likewise.
4815         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4816         (tst-sscanf-ENV): Likewise.
4817         (tst-swprintf-ENV): Likewise.
4818         (tst-swscanf-ENV): Likewise.
4819         (test-vfprintf-ENV): Likewise.
4820         (scanf13-ENV): Likewise.
4821         (bug14-ENV): Likewise.
4822         (tst-grouping-ENV): Likewise.
4823         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4824         (tst-strtod3-ENV): Likewise.
4825         (tst-strtod4-ENV): Likewise.
4826         (tst-strtod5-ENV): Likewise.
4827         (testmb2-ENV): Likewise./
4828         * string/Makefile (tst-strxfrm-ENV): Likewise.
4829         (tst-strxfrm2-ENV): Likewise.
4830         (bug-strcoll1-ENV): Likewise.
4831         (test-strcasecmp-ENV): Likewise.
4832         (test-strncasecmp-ENV): Likewise.
4833         * time/Makefile (tst-strptime-ENV): Likewise.
4834         (tst-ftime_l-ENV): Likewise.
4835         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4836         (tst-mbrtowc-ENV): Likewise.
4837         (tst-wcrtomb-ENV): Likewise.
4838         (tst-mbrtowc2-ENV): Likewise.
4839         (tst-c16c32-1-ENV): Likewise.
4840         (tst-mbsnrtowcs-ENV): Likewise.
4841
4842 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4843
4844         * manual/resource.texi (How to get information about the memory
4845         subsystem?): Fix typo.
4846         Reported by Peon de la Parra Ivan <peon@keba.com>
4847
4848 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4849
4850         [BZ #16882]
4851         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4852         (pthread_spin_lock): Branch out of spin loop to proper location.
4853         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4854         (pthread_spin_lock): Likewise.
4855
4856         * nptl/tst-spin4.c: New test.
4857         * nptl/Makefile (tests): Add tst-spin4.
4858
4859 2014-06-03  Andreas Schwab  <schwab@suse.de>
4860
4861         [BZ #15946]
4862         * resolv/res_send.c (send_dg): Reload file descriptor after
4863         calling reopen.
4864
4865 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4866
4867         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4868
4869 2014-06-03  Richard Henderson  <rth@redhat.com>
4870
4871         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4872         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4873         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4874         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4875         in the SAVE_PID block.
4876         (__libc_vfork): New alias.
4877         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4878
4879         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4880         child in registers, not on the stack.  Remove RESET_PID conditionals.
4881         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4882
4883 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4884
4885         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4886
4887 2014-06-03  Wilco  <wdijkstr@arm.com>
4888
4889         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4890         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4891         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4892         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4893         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4894         Likewise.
4895
4896 2014-06-03  Wilco  <wdijkstr@arm.com>
4897
4898         * sysdeps/aarch64/fpu/math_private.h
4899         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4900         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4901         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4902         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4903         Fix declarations.
4904
4905 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4906
4907         * crypt/crypt-private.h: Include ufc-crypt.h.
4908         (__b64_from_24bit): Declare extern.
4909         * crypt/crypt_util.c(__b64_from_24bit): New function.
4910         (b64t): New static const variable.
4911         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4912         (b64t): Remove variable.
4913         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4914         * crypt/sha256-crypt.c: Include crypt-private.h.
4915         (b64t): Remove variable.
4916         (__sha256_crypt_r): Remove b64_from_24bit and replace
4917         with __b64_from_24bit.
4918         * crypt/sha512-crypt.c: Likewise.
4919
4920 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4921
4922         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4923         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4924         Label the code __libc_vfork rather than __vfork.
4925         [!NOT_IN_libc] (vfork): Define as weak alias.
4926         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4927         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4928         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4929
4930 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4931
4932         * malloc/malloc.c (malloc_info): Fix format specifier for
4933         n_mmaps.
4934
4935 2014-06-02  Wilco  <wdijkstr@arm.com>
4936
4937         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4938         FPCR write.
4939
4940 2014-06-02  Wilco  <wdijkstr@arm.com>
4941
4942         [BZ #17009]
4943         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4944         Rewrite to reduce FPCR/FPSR accesses.
4945
4946 2014-06-01  David S. Miller  <davem@davemloft.net>
4947
4948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4949
4950 2014-05-31  David S. Miller  <davem@davemloft.net>
4951
4952         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4953         to occur in round to nearest mode when |x| >= 2.0
4954
4955 2014-05-30  Richard Henderson  <rth@twiddle.net>
4956
4957         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4958         (PSEUDO_RET_NOERRNO): Remove.
4959         (ret): Don't redefine.
4960         (ret_NOERRNO): Define in terms of ret.
4961         (ret_ERRVAL): Likewise.
4962
4963         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4964         use of PSEUDO_RET; perform the error check directly.
4965
4966 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4967
4968         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4969         with __int128_t.
4970
4971 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4972
4973         * malloc/malloc (malloc_info): Fix formatting.
4974
4975 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4976             Roland McGrath  <roland@hack.frob.com>
4977
4978         * malloc/malloc (malloc_info): Also print mmapped statistics.
4979
4980 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4981
4982         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4983         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4984
4985 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4986
4987         * malloc/malloc.c (malloc_info): Inline mi_arena.
4988
4989 2014-05-29  Richard Henderson  <rth@twiddle.net>
4990
4991         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4992         Remove comma before expanding ASM_ARGS_##nr.
4993         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4994         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4995         of ASM_ARGS_##nr.
4996         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4997         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4998         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4999         (ASM_ARGS_1): Add leading comma.
5000
5001         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5002         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5003         to __errno_location.
5004         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5005         Remove the expected plt for __errno_location.
5006
5007         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5008         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5009         call to __read_tp.
5010
5011         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5012         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5013         it and break it down.
5014         (DOCARGS_0, DOCARGS_1): Do nothing.
5015         (DOCARGS_2): Update to store into the new stack frame.
5016         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5017         (UNDOCARGS_1): Update to restore from the new stack frame.
5018         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5019         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5020
5021         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5022         (SINGLE_THREAD_P): New parameter for result regno.
5023         (PSEUDO): Update to match; use cbz instead of beq.
5024
5025         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5026         Use ENTRY to define the _nocancel entry point.  Share the syscall
5027         and syscall error check paths with the cancel path.
5028         (PSEUDO_END): New.
5029
5030         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5031         whitespace; tabs before and after asm mnemonics.
5032
5033 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5034
5035         [BZ #15132]
5036         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5037         Call fstat64 or stat64 internally, depending on arguments passed.
5038         Replace stat buffer argument with file descriptor argument.
5039         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5040         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5041         Pass fd to __internal_statvfs instead of calling fstat64.
5042         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5043         Pass fd to __internal_statvfs64 instead of calling fstat64.
5044         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5045         Pass -1 to __internal_statvfs instead of calling stat64.
5046         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5047         Pass -1 to __internal_statvfs64 instead of calling stat64.
5048
5049 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5050
5051         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5052         that was previously under [RESET_PID].
5053         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5054
5055         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5056         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5057
5058 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5059
5060         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5061
5062         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5063         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5064
5065 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5066
5067         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5068
5069 2014-05-27  Andreas Schwab  <schwab@suse.de>
5070
5071         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5072         TLS_INIT_TP macro.
5073         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5074         * elf/rtld.c (init_tls, dl_main): Likewise.
5075         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5076         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5077         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5078         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5079         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5080         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5081         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5082         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5083         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5084         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5085         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5086         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5087         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5088         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5089         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5090         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5091         * sysdeps/generic/tls.h: Update description.
5092
5093 2014-05-27  Will Newton  <will.newton@linaro.org>
5094
5095         [BZ #16990]
5096         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5097         and restore r2 rather than just restoring.
5098
5099 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5100
5101         [BZ #16724]
5102         * libio/tst-ftell-append.c: New test case.
5103         * libio/Makefile (tests): Add test case.
5104         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5105         append mode.
5106         * libio/wfileops.c (do_ftell_wide): Likewise.
5107
5108 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5109
5110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5111
5112         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5113         ...
5114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5116         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5117         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5118         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5119         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5120         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5121         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5123         Moved ...
5124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5126         Moved ...
5127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5128         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5129         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5130         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5131         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5132         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5133         ...
5134         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5135         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5136         Moved ...
5137         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5138         here.
5139         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5140         ...
5141         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5142         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5143         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5144
5145         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5146         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5147         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5148         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5149
5150         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5151         merge into ...
5152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5154         ...
5155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5157         ...
5158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5159         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5160         Moved ...
5161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5162         here.
5163         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5164         Moved ...
5165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5167         Moved ...
5168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5169
5170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5171         conditional [RESET_PID].
5172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5174         removed.
5175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5176         removed.
5177
5178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5179         <tcb-offsets.h>.
5180         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5181         (__libc_vfork): New strong alias.
5182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5183         removed.
5184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5185         Removed.
5186
5187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5188         <tcb-offsets.h>.
5189         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5190         (__libc_vfork): New strong alias.
5191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5192         removed.
5193         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5194         removed.
5195
5196 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5197
5198         * malloc/malloc.c (mi_arena): New function.
5199         (malloc_info): Remove nested function mi_arena. Call non-nosted
5200         function mi_arena.
5201
5202 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5203
5204         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5205         by insrwi.
5206         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5207         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5208         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5209         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5210         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5211         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5212         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5213
5214 2014-05-26  Andreas Schwab  <schwab@suse.de>
5215
5216         [BZ #16984]
5217         * locale/programs/repertoire.c (repertoire_read): Add slash
5218         between I18NPATH element and file name.
5219         * locale/programs/locfile.c (locfile_read): Likewise.
5220
5221 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5222
5223         * nptl/pthread_mutexattr_settype.c
5224         (__pthread_mutexattr_settype):
5225         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5226
5227 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5228
5229         * nptl/tst-mutex5 (do_test):
5230         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5231
5232 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5233
5234         * benchtests/README: Document 'init' directive.
5235         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5236         BENCH_INIT.
5237         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5238         (parse_file): Recognize 'init' directive.
5239
5240 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5241
5242         [BZ #16796]
5243         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5244         alignment of struct pthread.
5245
5246 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5247
5248         [BZ #16878]
5249         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5250         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5251         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5252         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5253
5254 2014-05-25  Richard Henderson  <rth@twiddle.net>
5255
5256         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5257         (SINGLE_THREAD_P_PIC): Remove.
5258         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5259         (SINGLE_THREAD_P_PIC): Remove.
5260
5261         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5262         branch to syscall error ...
5263         (PSEUDO): ... here.
5264         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5265         from __local_syscall_error to .Lsyscall_error.
5266         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5267         (SYSCALL_ERROR): Update label name.
5268
5269         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5270         Do not use DOARGS/UNDOARGS.
5271         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5272         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5273         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5274         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5275         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5276
5277         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5278         block comment.
5279
5280         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5281         define if !NOT_IN_libc.
5282         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5283         define with non-default symbol versions.
5284
5285 2014-05-23  Richard Henderson  <rth@twiddle.net>
5286
5287         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5288         (vfork, __vfork): Define via compat_symbol.
5289
5290         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5291         [!HAVE_IFUNC] (vfork_compat): Remove.
5292         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5293
5294 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5295
5296         [BZ #16978]
5297         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5298         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5299         variable.
5300
5301 2014-05-23  Richard Henderson  <rth@twiddle.net>
5302
5303         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5304         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5305         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5306         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5307
5308         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5309         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5310         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5311         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5312         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5313         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5314         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5315         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5316         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5317         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5318         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5319         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5320         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5321         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5322         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5323         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5324         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5325         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5326         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5327         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5328         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5329         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5330         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5331         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5332         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5333         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5334         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5335         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5336         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5337         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5338         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5339         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5340         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5341         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5342         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5343         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5344         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5345         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5346         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5347         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5348         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5349         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5350         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5351         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5352         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5353         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5354         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5355         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5356         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5357         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5358         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5359         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5360         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5361         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5362         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5363         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5364
5365         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5366         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5367         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5368         before exiting on error.
5369         (__libc_vfork): New strong alias.
5370         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5371         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5372
5373         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5374         that was previously under [RESET_PID].
5375         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5376
5377         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5378
5379 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5380
5381         [BZ #16977]
5382         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5383         value when x - 1 is zero.
5384         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5385         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5386         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5387         0.0L for an argument of 1.0L.
5388         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5389         Likewise.
5390         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5391         value when x - 1 is zero.
5392         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5393         * sysdeps/i386/fpu/libm-test-ulps: Update.
5394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5395
5396 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5397
5398         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5399         alphasort and versionsort.
5400
5401 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5402
5403         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5404         macro.
5405         [copysignf]: Likewise.
5406
5407 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5408
5409         * crypt/md5-crypt.c: Fix formatting.
5410
5411 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5412
5413         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5414         (b64_from_24bit): New function.
5415
5416 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5417
5418         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5419         libc_hidden_builtin_def to ifunc.
5420         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5421         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5422
5423 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5424
5425         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5426         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5427
5428 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5429
5430         * nscd/Depend (linuxthreads): Remove.
5431         (nptl): Add.
5432         * resolv/Depend (linuxthreads): Remove.
5433         * rt/Depend (linuxthreads): Remove.
5434
5435         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5436         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5437         $(common-objpfx)elf/.
5438         (link-libc-before-gnulib): Likewise.
5439         (elfobjdir): Remove variable.
5440         * Makefile (install): Use $(elf-objpfx) instead of
5441         $(common-objpfx)elf/.
5442         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5443         $(elfobjdir)/.
5444         (link-libc-deps): Likewise.
5445         ($(common-objpfx)libc.so): Likewise.
5446         ($(common-objpfx)linkobj/libc.so): Likewise.
5447         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5448         instead of $(common-objpfx)elf/.
5449         (symbolic-link-list): Likewise.
5450         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5451         [$(cross-compiling) = no]: Likewise.
5452         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5453         $(elfobjdir)/.
5454         (static-gnulib-arch): Likewise.
5455         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5456         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5457         $(common-objpfx)elf/.
5458
5459 2014-05-21  Richard Henderson  <rth@redhat.com>
5460
5461         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5462         (SINGLE_THREAD_P): Use the correct width load.  Fold
5463         into the ldr offset.
5464
5465         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5466         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5467
5468 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5469
5470         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5471         (libgcc_s_resume): Use __attribute_used__.
5472         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5473         Likewise.
5474
5475 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5476
5477         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5478         optimization when used with float constants.
5479
5480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5481
5482 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5483
5484         [BZ #16915]
5485         * locale/nl_langinfo_l.c: Make direct reference to every
5486         _nl_current_CATEGORY symbol.
5487         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5488         (tests-static): Add tst-langinfo-static.
5489         (tests-special): Add tst-langinfo-static.out.
5490         ($(objpfx)tst-langinfo.out): Redirect output.
5491         ($(objpfx)tst-langinfo-static.out): New.
5492         * localedata/tst-langinfo.sh: Send output to stdout.
5493         * localedata/tst-langinfo-static.c: New file.
5494
5495         [BZ #16965]
5496         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5497         when the shift amount is modulo the limb size.
5498
5499 2014-05-20  Richard Henderson  <rth@redhat.com>
5500
5501         [BZ #16967]
5502         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5503         Change type of sa_flags from unsigned int to int.
5504
5505         [BZ #16966]
5506         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5507
5508         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5509
5510 2014-05-20  Will Newton  <will.newton@linaro.org>
5511
5512         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5513         Test the return value of the system call in the nocancel case.
5514
5515 2014-05-20  Will Newton  <will.newton@linaro.org>
5516             Yvan Roux  <yvan.roux@linaro.org>
5517
5518         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5519         #include of asm/ptrace.h.
5520         (PTRACE_GET_THREAD_AREA): Remove #undef.
5521         (PTRACE_GETHBPREGS): Likewise.
5522         (PTRACE_SETHBPREGS): Likewise.
5523         (struct user_regs_struct): New structure.
5524         (struct user_fpsimd_struct): New structure.
5525         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5526         #include of asm/ptrace.h and second #include of sys/user.h.
5527         (PTRACE_GET_THREAD_AREA): Remove #undef.
5528         (PTRACE_GETHBPREGS): Likewise.
5529         (PTRACE_SETHBPREGS): Likewise.
5530         (ELF_NGREG): Use new struct user_regs_struct.
5531         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5532
5533 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5534
5535         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5536         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5537
5538 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5539
5540         [BZ #16958]
5541         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5542         membar to avoid block loads/stores to overlap previous stores.
5543
5544 2014-05-17  Richard Henderson  <rth@redhat.com>
5545
5546         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5547         Create the __##syscall_name##_nocancel entry point.
5548         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5549         Remove; let the sysdep-cancel.h code create it.
5550
5551 2014-05-17  David S. Miller  <davem@davemloft.net>
5552
5553         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5554         Protect with __USE_GNU.
5555         (TIOCSET_TEMPT): Likewise.
5556         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5557         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5558         these are already provided in bits/ioctl-types.h
5559
5560 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5561
5562         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5563         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5564
5565         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5566         Use wait4 regardless of [__NR_waitpid].
5567
5568 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5569
5570         PR libgcc/60166
5571         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5572         (_FP_NANSIGN_Q): Set the quiet bit.
5573
5574 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5575
5576         * benchtests/Makefile
5577         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5578         not $(common-objpfx)math/libm.so.
5579         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5580         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5581         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5582         $(common-objpfx)dlfcn/libdl.so.
5583         ($(objpfx)tst-audit8): Depend on $(libm), not
5584         $(common-objpfx)math/libm.so.
5585         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5586         not $(common-objpfx)dlfcn/libdl.so.
5587         * math/Makefile
5588         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5589         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5590         [$(build-shared) = yes].
5591         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5592         $(common-objpfx)nptl/libpthread.so.
5593         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5594         $(common-objpfx)math/libm.so$(libm.so-version) or
5595         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5596         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5597         $(common-objpfx)dlfcn/libdl.so.
5598         * setjmp/Makefile (link-libm): Remove variable.
5599         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5600         * stdio-common/Makefile (link-libm): Remove variable.
5601         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5602         * stdlib/Makefile (link-libm): Remove variable.
5603         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5604         ($(objpfx)tst-strtod-round): Likewise.
5605         ($(objpfx)tst-tininess): Likewise.
5606         ($(objpfx)tst-strtod-underflow): Likewise.
5607         ($(objpfx)tst-strtod6): Likewise.
5608         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5609         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5610         $(common-objpfx)dlfcn/libdl.so.
5611
5612 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5613
5614         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5615         BSD terminal modes definitions.
5616
5617 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5618
5619         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5620         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5621
5622         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5623         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5624         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5625         Don't do #include_next.
5626         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5627         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5628         Don't do #include_next.
5629         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5630         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5631         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5632         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5633
5634 2014-05-16  Allan McRae  <allan@archlinux.org>
5635
5636         * po/sv.po: Update Swedish translation from translation project.
5637
5638         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5639         in sed expression.
5640
5641 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5642
5643         [BZ #16917]
5644         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5645         errno if the TIOCGPTN ioctl fails with an error different than
5646         EINVAL.
5647         * login/tst-ptsname.c: New file.
5648         * login/Makefile (tests): Add tst-ptsname.
5649
5650         [BZ #16943]
5651         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5652         and prlimit64.
5653
5654 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5655
5656         [BZ #16849]
5657         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5658         herrno to return EAI_AGAIN.
5659
5660 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5661
5662         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5663         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5664         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5665         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5666         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5667         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5668         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5669         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5670         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5671         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5672         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5673         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5674         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5675         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5676         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5677         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5678         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5679         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5680         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5681         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5682         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5683         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5684         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5685         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5686         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5687         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5688         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5689         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5690         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5691         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5693         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5695         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5697         Moved ...
5698         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5700         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5702         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5704         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5706         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5708         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5710         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5712         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5714         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5716         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5718         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5720         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5722         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5724         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5726         Moved ...
5727         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5729         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5731         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5733         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5735         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5737         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5739         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5741         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5743         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5745         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5747         Moved ...
5748         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5750         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5751
5752         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5753         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5754         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5755         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5756         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5757         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5758         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5759         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5760         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5761         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5762         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5763         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5764         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5765         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5766         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5767         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5768         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5769         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5770         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5771         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5772         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5773         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5774         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5775         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5776         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5777         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5778         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5779         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5780         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5781         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5782         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5783
5784         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5785         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5786
5787         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5788         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5789         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5790         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5791         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5792         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5793         Moved ...
5794         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5795         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5796         Moved ...
5797         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5798         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5799         Moved ...
5800         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5801         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5802         Moved ...
5803         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5804         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5805         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5806         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5807         Moved ...
5808         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5809         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5810         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5811         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5812         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5813         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5814         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5815         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5816         Moved ...
5817         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5818         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5819         Moved ...
5820         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5821         ... here.
5822         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5823         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5824         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5825         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5826         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5827         Moved ...
5828         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5829         ... here.
5830         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5831         Moved ...
5832         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5833         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5834         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5835         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5836         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5837         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5838         Moved ...
5839         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5840         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5841         Moved ...
5842         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5843         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5844         Moved ...
5845         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5846         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5847         Moved ...
5848         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5849         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5850         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5851         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5852         Moved ...
5853         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5854         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5855         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5856         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5857         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5858         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5859         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5860         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5861         Moved ...
5862         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5863         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5864         Moved ...
5865         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5866         ... here.
5867         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5868         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5869         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5870         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5871         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5872         Moved ...
5873         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5874         ... here.
5875         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5876         Moved ...
5877         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5878         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5879         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5880         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5881         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5882         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5883         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5884         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5885         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5886         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5887         Moved ...
5888         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5889         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5890         Moved ...
5891         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5892         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5893         Moved ...
5894         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5895         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5896         Moved ...
5897         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5898         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5899         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5900         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5901         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5902         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5903         Moved ...
5904         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5905         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5906         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5907         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5908         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5909         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5910         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5911         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5912         Moved ...
5913         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5914         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5915         Moved ...
5916         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5917         ... here.
5918         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5919         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5920         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5921         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5922         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5923         Moved ...
5924         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5925         ... here.
5926         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5927         Moved ...
5928         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5929         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5930         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5931         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5932         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5933         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5934         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5935         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5936         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5937         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5938         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5939
5940         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5941         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5942
5943         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5944         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5945
5946         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5947         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5948         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5949         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5950         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5951         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5952         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5953         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5954         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5955         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5956         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5957         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5958         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5959         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5960         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5961         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5962         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5963         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5964         Moved ...
5965         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5966         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5967         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5968         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5969         Moved ...
5970         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5971         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5972         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5973         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5974         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5975         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5976         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5977         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5978         Moved ...
5979         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5980         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5981         Moved ...
5982         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5983         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5984         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5985         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5986         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5987         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5988         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5989         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5990         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5991         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5992         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5993         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5994         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5995         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5996         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5997         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5998         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5999
6000         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6001         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6002         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6003         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6004         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6005
6006         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6007         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6008         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6009         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6010         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6011         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6012         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6013         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6014         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6015         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6016
6017         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6018         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6019
6020         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6021         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6022         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6023         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6024         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6025         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6026         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6027         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6028         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6029         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6030         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6031         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6032         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6033         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6034         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6035         Update #include.
6036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6037         Likewise.
6038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6039         Likewise.
6040         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6041         Likewise.
6042         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6043         Likewise.
6044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6045         Likewise.
6046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6047         Likewise.
6048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6049         Likewise.
6050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6051         Likewise.
6052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6053         Likewise.
6054         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6055         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6057         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6059         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6060         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6061         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6062         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6063         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6064         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6065         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6066         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6067         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6068         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6069
6070         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6071         that was previously under [RESET_PID].
6072         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6073         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6074         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6075
6076         * sysdeps/i386/nptl/Implies: New file.
6077         * sysdeps/x86_64/nptl/Implies: New file.
6078         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6079         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6080         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6081         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6082
6083         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6084         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6085         (__libc_vfork): New strong alias.
6086         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6087         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6088
6089         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6090         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6091         (__libc_vfork): New strong alias.
6092         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6093         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6094
6095         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6096         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6097         (__libc_vfork): New strong alias.
6098         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6099         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6100         * nptl/pt-vfork.c: New file.
6101         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6102         (libpthread: GLIBC_2.20): New version set (empty).
6103
6104 2014-05-14  Will Newton  <will.newton@linaro.org>
6105
6106         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6107         rather than #if.
6108
6109 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6110
6111         [BZ #16564]
6112         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6113         arguments with exponent 65 or above.
6114         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6115         arguments 0x1p113L or above.
6116         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6117         to arguments 0x1p107L or above.
6118         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6119         positive arguments with exponent 65 or above.
6120         * math/auto-libm-test-in: Add more tests of log1p.
6121         * math/auto-libm-test-out: Regenerated.
6122
6123         [BZ #16928]
6124         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6125         non-finite arguments is +0.
6126         * math/s_cacosf.c (__cacosf): Likewise.
6127         * math/s_cacosl.c (__cacosl): Likewise.
6128         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6129         * sysdeps/i386/fpu/libm-test-ulps: Update.
6130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6131
6132         [BZ #16927]
6133         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6134         value.
6135         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6136         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6137         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6138         for explicit high bit of mantissa when testing for argument equal
6139         to 1.
6140         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6141         * sysdeps/i386/fpu/libm-test-ulps: Update.
6142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6143
6144         [BZ #16516]
6145         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6146         (__erf): Scale by 16 instead of 8 in potentially underflowing
6147         case.  Ensure exception if result actually underflows.
6148         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6149         (__erff): Scale by 16 instead of 8 in potentially underflowing
6150         case.  Ensure exception if result actually underflows.
6151         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6152         (efx8): Remove variable.
6153         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6154         case.  Ensure exception if result actually underflows.
6155         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6156         (efx8): Remove variable.
6157         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6158         case.  Ensure exception if result actually underflows.
6159         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6160         (efx8): Remove variable.
6161         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6162         case.  Ensure exception if result actually underflows.
6163         * math/auto-libm-test-in: Add more tests of erf.
6164         * math/auto-libm-test-out: Regenerated.
6165
6166 2014-05-14  Andreas Schwab  <schwab@suse.de>
6167
6168         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6169         Remove code conditionalized on USE___THREAD.
6170
6171         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6172         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6173         not definedness.
6174
6175 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6176
6177         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6178         Define unconditionally.
6179         (__ASSUME_O_CLOEXEC): Likewise.
6180         (__ASSUME_SOCK_CLOEXEC): Likewise.
6181         (__ASSUME_IN_NONBLOCK): Likewise.
6182         (__ASSUME_PIPE2): Likewise.
6183         (__ASSUME_EVENTFD2): Likewise.
6184         (__ASSUME_SIGNALFD4): Likewise.
6185         (__ASSUME_DUP3): Likewise.
6186         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6187         (__ASSUME_DUP3): Do not define.
6188         (__ASSUME_EVENTFD2): Likewise.
6189         (__ASSUME_IN_NONBLOCK): Likewise.
6190         (__ASSUME_O_CLOEXEC): Likewise.
6191         (__ASSUME_PIPE2): Likewise.
6192         (__ASSUME_SIGNALFD4): Likewise.
6193         (__ASSUME_SOCK_CLOEXEC): Likewise.
6194         (__ASSUME_UTIMES): Undefine.
6195         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6196         (__ASSUME_UTIMES): Do not define.
6197         (__ASSUME_O_CLOEXEC): Likewise.
6198         (__ASSUME_SOCK_CLOEXEC): Likewise.
6199         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6200         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6201         0x020621].
6202         (__ASSUME_PIPE2): Likewise.
6203         (__ASSUME_EVENTFD2): Likewise.
6204         (__ASSUME_SIGNALFD4): Likewise.
6205         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6206         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6207         Do not define.
6208         (__ASSUME_EVENTFD2): Likewise.
6209         (__ASSUME_SIGNALFD4): Likewise.
6210         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6211         (__ASSUME_32BITUIDS): Likewise.
6212         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6213         (__ASSUME_IPC64): Likewise.
6214         (__ASSUME_ST_INO_64_BIT): Likewise.
6215         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6216         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6217         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6218         (__ASSUME_UTIMES): Do not define.
6219         (__ASSUME_PSELECT): Likewise.
6220         (__ASSUME_PPOLL): Likewise.
6221         (__ASSUME_O_CLOEXEC): Likewise.
6222         (__ASSUME_SOCK_CLOEXEC): Likewise.
6223         (__ASSUME_IN_NONBLOCK): Likewise.
6224         (__ASSUME_PIPE2): Likewise.
6225         (__ASSUME_EVENTFD2): Likewise.
6226         (__ASSUME_SIGNALFD4): Likewise.
6227         (__ASSUME_DUP3): Likewise.
6228         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6229         (__ASSUME_UTIMES): Likewise.
6230         (__ASSUME_O_CLOEXEC): Likewise.
6231         (__ASSUME_SOCK_CLOEXEC): Likewise.
6232         (__ASSUME_IN_NONBLOCK): Likewise.
6233         (__ASSUME_PIPE2): Likewise.
6234         (__ASSUME_EVENTFD2): Likewise.
6235         (__ASSUME_SIGNALFD4): Likewise.
6236         (__ASSUME_DUP3): Likewise.
6237         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6238         (__ASSUME_UTIMES): Likewise.
6239         (__ASSUME_O_CLOEXEC): Likewise.
6240         (__ASSUME_SOCK_CLOEXEC): Likewise.
6241         (__ASSUME_IN_NONBLOCK): Likewise.
6242         (__ASSUME_PIPE2): Likewise.
6243         (__ASSUME_EVENTFD2): Likewise.
6244         (__ASSUME_SIGNALFD4): Likewise.
6245         (__ASSUME_DUP3): Likewise.
6246         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6247         Likewise.
6248         (__ASSUME_UTIMES): Likewise.
6249         (__ASSUME_EVENTFD2): Likewise.
6250         (__ASSUME_SIGNALFD4): Likewise.
6251         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6252         (__ASSUME_O_CLOEXEC): Likewise.
6253         (__ASSUME_SOCK_CLOEXEC): Likewise.
6254         (__ASSUME_IN_NONBLOCK): Likewise.
6255         (__ASSUME_PIPE2): Likewise.
6256         (__ASSUME_EVENTFD2): Likewise.
6257         (__ASSUME_SIGNALFD4): Likewise.
6258         (__ASSUME_DUP3): Likewise.
6259         (__ASSUME_UTIMES): Undefine.
6260
6261         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6262         feclearexcept.  Remove symbol versioning code.
6263         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6264         symbol versioning code.
6265         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6266         symbol versioning code.
6267         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6268         feupdateenv.  Remove symbol versioning code.
6269         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6270         fegetexceptflag.  Remove symbol versioning code.
6271         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6272         fesetexceptflag.  Remove symbol versioning code.
6273         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6274         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6275         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6276         (__posix_fadvise64_l32): Remove prototype.
6277         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6278         code.
6279
6280 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6281
6282         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6283         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6284         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6285         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6286
6287 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6288
6289         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6290         current working directory
6291
6292 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6293
6294         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6295         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6296         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6297         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6298         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6299         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6300         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6301         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6302         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6303         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6304         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6305         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6306         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6307         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6308         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6309         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6310         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6311         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6312         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6313         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6314         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6315         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6316         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6317         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6318         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6319         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6320         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6321         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6322         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6323         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6324         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6325         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6326         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6327         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6328         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6329         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6330         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6331         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6332         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6333         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6334         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6335         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6336
6337         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6338         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6339
6340         * sysdeps/unix/sysv/linux/arm/Makefile
6341         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6342         Add rt-aeabi_unwind_cpp_pr1.
6343         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6344         Add nptl-aeabi_unwind_cpp_pr1.
6345         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6346         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6347         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6348         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6349         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6350         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6351
6352         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6353         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6354         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6355         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6356
6357         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6358         Deconditionalize the code that was previously under [RESET_PID].
6359         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6360
6361         * sysdeps/generic/exit-thread.h: New file.
6362         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6363         * include/unistd.h (__exit_thread): Remove declaration.
6364         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6365         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6366         * csu/libc-start.c: Include <exit-thread.h>.
6367         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6368         * nptl/pthread_create.c: Include <exit-thread.h>.
6369         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6370         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6371         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6372         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6373         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6374         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6375         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6376         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6377         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6378         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6379         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6380         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6381         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6382         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6383         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6384         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6385         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6386
6387 2014-05-13  Andreas Schwab  <schwab@suse.de>
6388
6389         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6390
6391 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6392
6393         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6394         (__ASSUME_UTIMES): Do not condition on kernel version.
6395         (__ASSUME_PSELECT): Define unconditionally.
6396         (__ASSUME_PPOLL): Likewise.
6397         (__ASSUME_ATFCTS): Likewise.
6398         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6399         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6400         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6401         (__ASSUME_UTIMENSAT): Define unconditionally.
6402         (__ASSUME_PRIVATE_FUTEX): Likewise.
6403         (__ASSUME_FALLOCATE): Likewise.
6404         (__ASSUME_O_CLOEXEC): Likewise.
6405         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6406         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6407         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6408         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6409         (__ASSUME_IN_NONBLOCK): Likewise.
6410         (__ASSUME_PIPE2): Likewise.
6411         (__ASSUME_EVENTFD2): Likewise.
6412         (__ASSUME_SIGNALFD4): Likewise.
6413         (__ASSUME_DUP3): Likewise.
6414         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6415         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6416         (__ASSUME_AT_RANDOM): Likewise.
6417         (__ASSUME_PREADV): Likewise.
6418         (__ASSUME_PWRITEV): Likewise.
6419         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6420         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6421         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6422         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6423         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6424         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6425         (__ASSUME_O_CLOEXEC): Define unconditionally.
6426         (__ASSUME_PSELECT): Do not undefine conditionally.
6427         (__ASSUME_PPOLL): Likewise.
6428         (__ASSUME_ATFCTS): Likewise.
6429         (__ASSUME_SET_ROBUST_LIST): Likewise.
6430         (__ASSUME_UTIMENSAT): Likewise.
6431         (__ASSUME_FDATASYNC): Define unconditionally.
6432         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6433         (__ASSUME_SIGFRAME_V2): Likewise.
6434         )__ASSUME_EVENTFD2): Likewise.
6435         (__ASSUME_SIGNALFD4): Likewise.
6436         (__ASSUME_PSELECT): Do not undefine conditionally.
6437         (__ASSUME_PPOLL): Likewise.
6438         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6439         (__ASSUME_PSELECT): Define unconditionally.
6440         (__ASSUME_PPOLL): Likewise.
6441         (__ASSUME_O_CLOEXEC): Likewise.
6442         (__ASSUME_SOCK_CLOEXEC): Likewise.
6443         (__ASSUME_IN_NONBLOCK): Likewise.
6444         (__ASSUME_PIPE2): Likewise.
6445         (__ASSUME_EVENTFD2): Likewise.
6446         (__ASSUME_SIGNALFD4): Likewise.
6447         (__ASSUME_DUP3): Likewise.
6448         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6449         (__ASSUME_O_CLOEXEC): Likewise.
6450         (__ASSUME_SOCK_CLOEXEC): Likewise.
6451         (__ASSUME_IN_NONBLOCK): Likewise.
6452         (__ASSUME_PIPE2): Likewise.
6453         (__ASSUME_EVENTFD2): Likewise.
6454         (__ASSUME_SIGNALFD4): Likewise.
6455         (__ASSUME_DUP3): Likewise.
6456         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6457         (__ASSUME_EVENTFD2): Likewise.
6458         (__ASSUME_SIGNALFD4): Likewise.
6459         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6460
6461 2014-05-12  Andreas Schwab  <schwab@suse.de>
6462
6463         [BZ #16932]
6464         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6465         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6466         than maximum RPC packet size.
6467         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6468         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6469         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6470         (_nss_nis_getservbyport_r): Likewise.
6471
6472 2014-05-12  Will Newton  <will.newton@linaro.org>
6473
6474         * malloc/Makefile (tests): Add tst-mallopt.
6475         * malloc/tst-mallopt.c: New file.
6476
6477 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6478
6479         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6480         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6481
6482 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6483
6484         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6485         (tst-tlsmod6.so): Likewise.
6486
6487 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6488
6489         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6490
6491 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6492
6493         [BZ #16064]
6494         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6495         and <dl-procinfo.h>.
6496         (__fegetenv): Save SSE state in envp->__eip if supported.
6497         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6498         envp->__eip if supported.
6499         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6500         and <dl-procinfo.h>.
6501         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6502         __data_offset and __data_selector in environment to 0.  Set SSE
6503         state if supported.
6504         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6505         test-fenv-sse.
6506         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6507         -mfpmath=sse.
6508         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6509
6510 2014-05-09  Will Newton  <will.newton@linaro.org>
6511
6512         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6513         and libc_relro_required for ARM.
6514         * sysdeps/arm/preconfigure: Regenerate.
6515
6516 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6517             Stefan Liebler  <stli@linux.vnet.ibm.com>
6518
6519         * config.make.in (enable-lock-elision): New Makefile variable.
6520         * configure.ac: Likewise.
6521         * configure: Regenerate.
6522         * sysdeps/s390/configure.ac:
6523         Add check for gcc transactions support.
6524         * sysdeps/s390/configure: Regenerate.
6525         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6526         Build elision files if enabled.
6527         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6528         Add lock elision support for s390.
6529         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6530         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6531         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6532         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6533         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6534         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6535         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6536         Likewise.
6537         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6538         Likewise.
6539         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6540         Likewise.
6541         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6542         Likewise.
6543         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6544         (__lll_timedlock_elision, __lll_lock_elision)
6545         (__lll_unlock_elision, __lll_trylock_elision)
6546         (lll_timedlock_elision, lll_lock_elision)
6547         (lll_unlock_elision, lll_trylock_elision): Add.
6548         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6549         (pthread_mutex_t): Add lock elision support for s390.
6550
6551 2014-05-14  Wilco  <wdijkstr@arm.com>
6552
6553         * sysdeps/arm/fclrexcpt.c: Cleanup.
6554         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6555         * sysdeps/arm/feenablxcpt.c: Cleanup.
6556         * sysdeps/arm/fegetenv.c: Cleanup.
6557         * sysdeps/arm/fegetexcept.c: Cleanup.
6558         * sysdeps/arm/fegetround.c: Cleanup.
6559         * sysdeps/arm/feholdexcpt.c: Cleanup.
6560         * sysdeps/arm/fesetenv.c: Cleanup.
6561         * sysdeps/arm/fesetround.c: Cleanup.
6562         * sysdeps/arm/feupdateenv.c: Cleanup.
6563         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6564         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6565         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6566         * sysdeps/arm/ftestexcept.c: Cleanup.
6567         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6568         * sysdeps/arm/setfpucw.c: Cleanup.
6569
6570 2014-05-09  Will Newton  <will.newton@linaro.org>
6571
6572         * sysdeps/arm/armv7/strcmp.S: New file.
6573         * NEWS: Mention addition of ARMv7 optimized strcmp.
6574
6575 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6576
6577         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6578         look for %.ac rather than %.in.
6579
6580         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6581         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6582         * sysdeps/mach/hurd/configure: Regenerated.
6583         * sysdeps/unix/sysv/linux/configure: Regenerated.
6584
6585         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6586
6587 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6588
6589         [BZ# 16922]
6590         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6591         (LONG_SUB): Ditto.
6592         (PTR_SUB): Ditto.
6593
6594 2014-05-07  Andreas Schwab  <schwab@suse.de>
6595
6596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6597         when skipping over non-matching result from nscd.
6598
6599 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6600
6601         [BZ #16876]
6602         * nptl/sockperf.c (client): Check socket return value.
6603
6604         [BZ #16877]
6605         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6606         nscd security class.
6607
6608 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6609
6610         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6611         * sysdeps/arm/unwind.h: ... here.
6612
6613 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6614
6615         [BZ# 16916]
6616         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6617         Define.
6618
6619 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6620
6621         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6622         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6623         multiarch strncpy for PPC64.
6624         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6625         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6627         multiarch optimizations.
6628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6629         (__libc_ifunc_impl_list): Likewise.
6630         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6631         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6632         multiarch stpncpy for PPC64.
6633         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6634         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6635
6636 2014-05-06  Andreas Schwab  <schwab@suse.de>
6637
6638         [BZ #16912]
6639         * gmon/mcount.c (_MCOUNT_DECL): Use
6640         atomic_compare_and_exchange_bool_acq instead of
6641         catomic_compare_and_exchange_bool_acq.
6642
6643 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6644
6645         * elf/Makefile (others, install-bin): Remove pldd.
6646         (pldd-modules): Variable removed.
6647         ($(objpfx)pldd): Target removed.
6648         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6649         (others, install-bin): Append pldd here.
6650         ($(objpfx)pldd): New target.
6651
6652         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6653         to 0, so the first #if test emitted later doesn't see it undefined.
6654         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6655         * sysdeps/gnu/errlist.c: Regenerated.
6656
6657 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6658
6659         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6660         [libc_hidden_builtin_def]: Define to empty value.
6661         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6662         [libc_hidden_builtin_def]: Likewise.
6663         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6664         [libc_hidden_builtin_def]: Likewise.
6665         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6666         [libc_hidden_builtin_def]: Likewise.
6667         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6668         __redirect_memcpy and define ifunc as default hidden symbol.
6669         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6670         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6671
6672 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6673
6674         * locale/iso-4217.def: Reintroduce XDR currency.
6675
6676 2014-05-04  Allan McRae  <allan@archlinux.org>
6677
6678         * po/eo.po: Update Esperanto translation from translation project.
6679
6680 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6681
6682         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6683         and FEATURE_INDEX_MAX to 1.
6684         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6685
6686 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6687
6688         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6689         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6690         * iconvdata/big5.c (ONE_DIRECTION): Define.
6691         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6692         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6693         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6694         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6695         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6696         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6697         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6698         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6699         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6700         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6701         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6702         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6703         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6704         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6705         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6706         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6707         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6708         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6709         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6710         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6711         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6712         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6713         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6714         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6715         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6716         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6717         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6718         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6719         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6720         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6721         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6722         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6723         * iconvdata/johab.c (ONE_DIRECTION): Define.
6724         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6725         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6726         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6727         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6728         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6729         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6730         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6731         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6732         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6733         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6734
6735 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6736
6737         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6738         (_IO_JUMPS_OFFSET): Define to 0.
6739
6740         * nptl/sysdeps/pthread/bits/libc-lock.h
6741         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6742         (__libc_lock_define_initialized_recursive): Always define using
6743         initializer.  Modern compilers treat uninitialized (implicit zero) and
6744         explicit zero initializers the same (i.e. put the datum in bss).
6745
6746 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6747
6748         * nscd/nscd-client.h: Include <string.h>.
6749
6750 2014-05-01  David S. Miller  <davem@davemloft.net>
6751
6752         [BZ #16885]
6753         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6754         multiple zero bytes exist at the end of a string.
6755         Reported by Aurelien Jarno <aurelien@aurel32.net>
6756
6757         * string/test-strcmp.c (check): Add explicit test for situations where
6758         there are multiple zero bytes after the first.
6759
6760 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6761
6762         [BZ #16890]
6763         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6764         when compiling wprintf.
6765         * stdio-common/tstdiomisc.c (t3): New function.
6766         (main): Call it.
6767
6768 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6769
6770         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6771         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6772         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6773         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6774
6775 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6776
6777         * stdlib/longlong.h: Updated from GCC.
6778
6779 2014-05-01  Will Newton  <will.newton@linaro.org>
6780             Bernard Ogden  <bernie.ogden@linaro.org>
6781
6782         * NEWS: Update fixed bug list.
6783
6784         [BZ #15119]
6785         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6786
6787 2014-04-30  David S. Miller  <davem@davemloft.net>
6788
6789         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6790         (libc_feholdexcept_setround_sparc_ctx): New function.
6791         (libc_fesetenv_sparc_ctx): Likewise.
6792         (libc_feupdateenv_sparc_ctx): Likewise.
6793         (libc_feholdsetround_sparc_ctx): Likewise.
6794         (libc_feholdexcept_setround_ctx): Define.
6795         (libc_feholdexcept_setroundf_ctx): Likewise.
6796         (libc_feholdexcept_setroundl_ctx): Likewise.
6797         (libc_fesetenv_ctx): Likewise.
6798         (libc_fesetenvf_ctx): Likewise.
6799         (libc_fesetenvl_ctx): Likewise.
6800         (libc_feupdateenv_ctx): Likewise.
6801         (libc_feupdateenvf_ctx): Likewise.
6802         (libc_feupdateenvl_ctx): Likewise.
6803         (libc_feresetround_ctx): Likewise.
6804         (libc_feresetroundf_ctx): Likewise.
6805         (libc_feresetroundl_ctx): Likewise.
6806         (libc_feholdsetround_ctx): Likewise.
6807         (libc_feholdsetroundf_ctx): Likewise.
6808         (libc_feholdsetroundl_ctx): Likewise.
6809
6810         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6811         with __USE_GNU instead of XOPEN cpp guards.
6812
6813         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6814         0.
6815
6816         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6817         with XOPEN cpp guards.
6818
6819 2014-04-30  Julian Brown  <julian@codesourcery.com>
6820
6821         [BZ #16888]
6822         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6823         handling.
6824
6825 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6826
6827         [BZ #9894]
6828         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6829         Change to 2.6.32.
6830         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6831         * sysdeps/unix/sysv/linux/configure: Regenerated.
6832         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6833         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6834         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6835         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6836         * README: Update reference to required Linux kernel version.
6837         * manual/install.texi (Linux): Update reference to required Linux
6838         kernel headers version.
6839         * INSTALL: Regenerated.
6840
6841         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6842         header inclusion.
6843         [POSIX] (limits.h): Likewise.
6844         [POSIX] (math.h): Likewise.
6845         [POSIX] (sys/wait.h): Likewise.
6846         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6847         function.
6848         [POSIX] (stddef.h): Do not allow header inclusion.
6849
6850 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6851
6852         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6853
6854 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6855
6856         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6857         Return immediately after lll_futex_wake.
6858
6859 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6860
6861         [BZ #16791]
6862         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6863         structure.
6864         (datahead_init_pos): Call datahead_init_common early.
6865         (datahead_init_neg): Likewise.
6866
6867         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6868         datahead_init_neg): New functions.
6869         * nscd/aicache.c (addhstaiX): Use them.
6870         * nscd/grpcache.c (cache_addgr): Likewise.
6871         * nscd/hstcache.c (cache_addhst): Likewise.
6872         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6873         * nscd/netgroupcache.c (do_notfound): Likewise.
6874         (addgetnetgrentX): Likewise.
6875         (addinnetgrX): Likewise.
6876         * nscd/pwdcache.c (cache_addpw): Likewise.
6877         * nscd/servicescache.c (cache_addserv): Likewise.
6878
6879 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6880             Atsushi Onoe  <atsushi@onoe.org>
6881
6882         [BZ #14308]
6883         [BZ #12994]
6884         [BZ #13651]
6885         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6886         one response is valid.
6887         * resolv/res_send.c (send_dg): Check for validity of other
6888         response if the current response is a referral.
6889
6890 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6891
6892         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6893
6894 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6895
6896         [BZ #16823]
6897         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6898         Always divide by positive zero when computing -Inf result.
6899         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6900         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6901
6902 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6903
6904         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6905         FPSCR if value do not change.
6906         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6907         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6908         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6909         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6910         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6911         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6912         function.
6913
6914 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6915
6916         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6917         * sysdeps/unix/sysv/linux/hppa: Move directory from
6918         ports/systeps/unix/sysv/linux/hppa.
6919         * README: Update listing for hppa-*-linux-gnu.
6920
6921 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6922
6923         [BZ #16754]
6924         * manual/stdio.texi (Hook functions): Fix types of stream hook
6925         functions.
6926         [BZ #16854]
6927         * socket/sys/socket.h: Fix typo in comment.
6928
6929 2014-04-28  Wilco  <wdijkstr@arm.com>
6930
6931         * sysdeps/arm/fenv_private.h: New file.
6932         * sysdeps/arm/math_private.h: New file.
6933         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6934
6935 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6936
6937         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6938         with __int128_t.
6939         (La_x86_64_retval): Likewise.
6940
6941 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6942
6943         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6944         fpsr if value didn't change.
6945         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6946         to fpcr if value didn't change.
6947         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6948         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6949         fpsr or fpcr if value didn't change.
6950         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6951         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6952         fpcr if value didn't change.
6953         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6954         to fpsr if value didn't change.
6955
6956 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6957
6958         * nptl/tst-sem3.c: Use test-skeleton.c
6959         (main): Rename to do_test.  Use return instead of
6960         exit.
6961         * nptl/tst-sem4.c: Use test-skeleton.c
6962         (main): Rename to do_test.
6963
6964 2014-04-22  David S. Miller  <davem@davemloft.net>
6965
6966         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6967         (struct sigaction): New struct member __glibc_reserved0, change
6968         type of sa_flags to int.
6969
6970 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6971
6972         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6973         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6974
6975 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6976
6977         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6978         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6979
6980 2014-04-22  Will Newton  <will.newton@linaro.org>
6981             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6982
6983         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6984         (__longjmp): Add longjmp and longjmp_target SystemTap
6985         probes.
6986         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6987         (__sigsetjmp): Add setjmp SystemTap probe.
6988
6989 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6990
6991         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6992         match manual order.
6993
6994 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6995
6996         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6997
6998         * sysdeps/powerpc/fpu/fenv_private.h
6999         (libc_feholdexcept_setroundl_ctx): Define to
7000         libc_feholdexcept_setround_ppc_ctx.
7001         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7002         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7003         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7004         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7005
7006 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7007
7008         * sysdeps/aarch64/math-tests.h: New file.
7009
7010 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7011
7012         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7013         New.
7014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7015         Check and set bit_AVX2_Usable.
7016         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7017         macro.
7018         (bit_AVX2): Likewise.
7019         (index_AVX2_Usable): Likewise.
7020         (CPUID_AVX2): Likewise.
7021         (HAS_AVX2): Likewise.
7022
7023 2014-04-17  Will Newton  <will.newton@linaro.org>
7024
7025         * manual/setjmp.texi (System V contexts): Add note that
7026         calling setcontext on a context created by a call to a
7027         signal handler is undefined.  Update text to note that
7028         setcontext from a signal handler is possible but not
7029         recommended.
7030
7031         [BZ #16629]
7032         * stdlib/tst-setcontext.c: Include signal.h.
7033         (main): Check that the signal stack before and
7034         after swapcontext is the same.
7035
7036         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7037         Re-implement to restore registers in user code and avoid
7038         rt_sigreturn system call.
7039
7040 2014-04-17  Wilco  <wdijkstr@arm.com>
7041
7042         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7043         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7044         * math/test-fenv.c: Skip exception trap tests on targets which only
7045         support non-stop mode.
7046
7047 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7048             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7049
7050         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7051         (libc_feholdsetround_aarch64_ctx)
7052         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7053         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7054         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7055         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7056         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7057         (libc_feresetround_noexl_ctx): Define.
7058
7059 2014-04-16  Richard Henderson  <rth@redhat.com>
7060
7061         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7062
7063         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7064         unwind tables.
7065
7066         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7067         const from the non-libc, non-ldso copy.
7068
7069         * sysdeps/alpha/libm-test-ulps: Regenerate.
7070
7071 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7072             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7073
7074         * sysdeps/aarch64/fpu/math_private.h: New file.
7075
7076 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7077
7078         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7079
7080 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7081
7082         [BZ #16275]
7083         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7084         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7085         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7086         Intel MPX bound registers before _dl_profile_fixup.
7087         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7088         registers after _dl_profile_fixup.  Save and restore bound
7089         registers bnd0/bnd1 when calling _dl_call_pltexit.
7090         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7091         (LR_BND_OFFSET): Likewise.
7092         (LRV_BND0_OFFSET): Likewise.
7093         (LRV_BND1_OFFSET): Likewise.
7094
7095 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7096
7097         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7098         to...
7099         * sysdeps/mach/hurd/i386/tls.h: ... here.
7100         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7101         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7102         fields.
7103
7104 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7105
7106         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7107
7108 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7109
7110         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7111
7112 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7113
7114         [BZ #14770]
7115         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7116         * sysdeps/s390/configure: Regenerate.
7117
7118         [BZ #16824]
7119         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7120         Set round-to-nearest internally to reduce error accumulation.
7121
7122 2014-04-16  Alan Modra  <amodra@gmail.com>
7123
7124         [BZ #16740]
7125         [BZ #16619]
7126         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7127         * math/libm-test.inc (frexp_test_data): Add tests.
7128         * NEWS: Update fixed bug list.
7129
7130 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7131
7132         * benchtests/Makefile: Depend on libraries in build directory.
7133         (bench-math): Separate out math tests.
7134         (bench-pthread): Separate out pthread tests.
7135         (bench): Include math and pthread tests.
7136
7137 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7138
7139         [BZ #16831]
7140         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7141         _dl_debug_initialize.
7142
7143         * configure.ac: Remove SELinux header check.
7144         * configure: Regenerate.
7145         * nscd/selinux.c (perms): Array of const char* to permission names.
7146         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7147         default policy. Call string_to_security_class and string_to_av_perm to
7148         translate strings. Enforce default policy and call avs_has_perm with
7149         results of translated strings.
7150
7151 2014-04-13  David S. Miller  <davem@davemloft.net>
7152
7153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7154
7155 2014-04-12  Allan McRae  <allan@archlinux.org>
7156
7157         [BZ #16838]
7158         * manual/string.texi (Collation Functions): Fix qsort argument
7159         order in example.
7160         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7161
7162 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7163
7164         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7165         Make the test a no-op if there are no exceptions defined.
7166
7167 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7168
7169         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7170         enable-hardcoded-path-in-tests
7171
7172 2014-04-11  Will Newton  <will.newton@linaro.org>
7173
7174         * benchtests/Makefile (extra-objs): Add json-lib.o.
7175         (bench-func): Tidy up JSON output.
7176         * benchtests/bench-skeleton.c: Include json-lib.h.
7177         (main): Use JSON library functions to do output of
7178         benchmark results.
7179         * benchtests/bench-timing-type.c (main): Output the
7180         timing type simply, leaving formatting to the user.
7181         * benchtests/json-lib.c: New file.
7182         * benchtests/json-lib.h: Likewise.
7183
7184 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7185
7186         [BZ #15215]
7187         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7188         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7189         memory barriers.  Add comments.
7190         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7191         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7192         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7193         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7194         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7195         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7196
7197 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7198
7199         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7200         * sysdeps/s390/s390-64/configure.ac: ... this ...
7201         * sysdeps/s390/configure.ac: ... to here.
7202         * sysdeps/s390/s390-32/configure: Delete file.
7203         * sysdeps/s390/s390-64/configure: Delete file.
7204         * sysdeps/s390/configure: Regenerate.
7205
7206 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7207
7208         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7209
7210 2014-04-11  Will Newton  <will.newton@linaro.org>
7211
7212         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7213         to zero if it is not defined elsewhere.  (mtrim): Test
7214         the value of MALLOC_DEBUG with #if rather than #ifdef.
7215
7216 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7217
7218         * benchtests/pthread_once-inputs: New file.
7219         * benchtests/pthread_once-source.c: New file.
7220         * benchtests/README: Update documentation.
7221
7222 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7223             H.J. Lu  <hongjiu.lu@intel.com>
7224
7225         [BZ #16275]
7226         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7227         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7228         * sysdeps/x86_64/configure: Regenerated.
7229         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7230         macro.
7231         (REGISTER_SAVE_RAX): Likewise.
7232         (REGISTER_SAVE_RCX): Likewise.
7233         (REGISTER_SAVE_RDX): Likewise.
7234         (REGISTER_SAVE_RSI): Likewise.
7235         (REGISTER_SAVE_RDI): Likewise.
7236         (REGISTER_SAVE_R8): Likewise.
7237         (REGISTER_SAVE_R9): Likewise.
7238         (REGISTER_SAVE_BND0): Likewise.
7239         (REGISTER_SAVE_BND1): Likewise.
7240         (REGISTER_SAVE_BND2): Likewise.
7241         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7242         bound registers when calling _dl_fixup.
7243
7244 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7245
7246         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7247         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7248         of its definition.
7249         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7250         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7251         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7252         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7253         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7254         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7255         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7256
7257 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7258
7259         [BZ #15514]
7260         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7261         pathconf(_PC_NAME_MAX).
7262
7263 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7264
7265         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7266         Remove macro usage.
7267         (__PTHREAD_SPINS): Move definition to ...
7268         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7269         (__PTHREAD_SPINS): ... here.
7270         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7271         (__PTHREAD_SPIN): Likewise.
7272         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7273         (__PTHREAD_SPIN): Likewise.
7274         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7275         (__PTHREAD_SPIN): Likewise.
7276         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7277         (__PTHREAD_SPIN): Likewise.
7278         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7279         (__PTHREAD_SPIN): Likewise.
7280         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7281         (__PTHREAD_SPIN): Likewise.
7282         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7283         (__PTHREAD_SPIN): Likewise.
7284         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7285         (__PTHREAD_SPIN): Likewise.
7286         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7287         (__PTHREAD_SPIN): Likewise.
7288         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7289         (__PTHREAD_SPIN): Likewise.
7290         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7291         (__PTHREAD_SPIN): Likewise.
7292         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7293         (__PTHREAD_SPIN): Likewise.
7294
7295         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7296         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7297         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7298         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7299         imply folder.
7300         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7301         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7302         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7303         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7304         correct imply path.
7305         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7306         strlen symbol for non multi-arch builds.
7307         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7308         missing hidden_def and weak_alias.
7309
7310 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7311
7312         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7313
7314 2014-04-07  Will Newton  <will.newton@linaro.org>
7315
7316         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7317         and contents.  [!_LIBC] Remove #ifndef and contents.
7318         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7319         * string/memccpy.c (__memccpy): Use ANSI prototype.
7320         * string/memfrob.c (memfrob): Likewise.
7321         * string/strcoll.c (STRCOLL): Likewise.
7322         * string/strlen.c (strlen): Likewise.
7323         * string/strtok.c (STRTOK): Likewise.
7324         * string/strcat.c: Remove unused #include of memcopy.h.
7325         (strcat): Use ANSI prototype.
7326         * string/strchr.c: Remove unused #include of memcopy.h.
7327         (strchr): Use ANSI prototype.
7328         * string/strcmp.c: Remove unused #include of memcopy.h.
7329         (strcmp): Use ANSI prototype.
7330         * string/strcpy.c: Remove unused #include of memcopy.h.
7331         (strcpy): Use ANSI prototype.
7332
7333 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7334
7335         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7336         * config.make.in (config-extra-cppflags): Set it from
7337         libc_extra_cppflags.
7338         * configure.ac (libc_extra_cflags): Make it accumulate over
7339         configure fragments.
7340         (libc_extra_cppflags): New flag.
7341         * configure. Regenerate.
7342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7343         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7344         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7346
7347         [BZ #16815]
7348         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7349         result for FE_DOWNWARD rounding mode.
7350         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7351         Likewise.
7352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7353
7354 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7355
7356         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7357         in function argument name.
7358
7359 2014-04-03  David Svoboda  <svoboda@cert.org>
7360
7361         [BZ #5666]
7362         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7363         explicitly.
7364
7365 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7366
7367         * elf/dl-unmap-segments.h: New file.
7368         * sysdeps/generic/ldsodefs.h
7369         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7370         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7371         * elf/dl-fptr.c: Likewise.
7372         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7373         * sysdeps/aarch64/tlsdesc.c: Likewise.
7374         * sysdeps/arm/tlsdesc.c: Likewise.
7375         * sysdeps/i386/tlsdesc.c: Likewise.
7376         * sysdeps/tile/dl-runtime.c: Likewise.
7377         * sysdeps/x86_64/tlsdesc.c: Likewise.
7378         * elf/dl-load.h: New file.
7379         * elf/dl-load.c: Include it.
7380         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7381         Macros moved to dl-load.h.
7382         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7383         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7384         Use _dl_unmap_segments in place of __munmap.
7385         Break out segment-mapping loop into ...
7386         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7387
7388 2014-04-03  Will Newton  <will.newton@linaro.org>
7389
7390         * elf/dl-lookup.c (do_lookup_x): Remove comment
7391         referring to nested function and move variable
7392         declarations down to before first use.
7393
7394 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7395
7396         [BZ #16799]
7397         [BZ #16800]
7398         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7399         with 0 numerator.
7400         * math/s_catanf.c (__catanf): Likewise.
7401         * math/s_catanh.c (__catanh): Likewise.
7402         * math/s_catanhf.c (__catanhf): Likewise.
7403         * math/s_catanhl.c (__catanhl): Likewise.
7404         * math/s_catanl.c (__catanl): Likewise.
7405         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7406         by positive zero when computing -Inf result.
7407         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7408         (catanh_test): Likewise.
7409         * sysdeps/i386/fpu/libm-test-ulps: Update.
7410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7411
7412         [BZ #16789]
7413         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7414         instead of using underflowing value in computing result.
7415         * math/s_clog10.c (__clog10): Likewise.
7416         * math/s_clog10f.c (__clog10f): Likewise.
7417         * math/s_clog10l.c (__clog10l): Likewise.
7418         * math/s_clogf.c (__clogf): Likewise.
7419         * math/s_clogl.c (__clogl): Likewise.
7420         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7421         (clog10_test): Likewise.
7422         * sysdeps/i386/fpu/libm-test-ulps: Update.
7423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7424
7425 2014-04-02  Alan Modra  <amodra@gmail.com>
7426
7427         [BZ #16739]
7428         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7429         output when value is near a power of two.  Use int64_t for lx and
7430         remove casts.  Use decimal rather than hex exponent constants.
7431         Don't use long double multiplication when double will suffice.
7432         * math/libm-test.inc (nextafter_test_data): Add tests.
7433         * NEWS: Add 16739 and 16786 to bug list.
7434
7435         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7436
7437         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7438
7439 2014-04-01  Will Newton  <will.newton@linaro.org>
7440
7441         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7442         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7443
7444 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7445
7446         [BZ #13347]
7447         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7448         * nptl/tst-setuid2.c: New file.
7449         * nptl/Makefile (xtests): Add tst-setuid2.
7450
7451 2014-04-01  Alan Modra  <amodra@gmail.com>
7452
7453         [BZ #16786]
7454         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7455
7456 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7457
7458         [BZ #6803]
7459         [BZ #6804]
7460         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7461         set errno as appropriate.
7462         * math/w_scalbf.c (__scalbf): Likewise.
7463         * math/w_scalbl.c (__scalbl): Likewise.
7464         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7465         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7466         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7467         Add more NaN tests.
7468
7469         [BZ #16349]
7470         * math/w_atan2.c: Include <errno.h>.
7471         (__atan2): Set errno for result underflowing to zero.
7472         * math/w_atan2f.c: Include <errno.h>.
7473         (__atan2f): Set errno for result underflowing to zero.
7474         * math/w_atan2l.c: Include <errno.h>.
7475         (__atan2l): Set errno for result underflowing to zero.
7476         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7477         tests.
7478         * math/auto-libm-test-out: Regenerated.
7479
7480 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7481
7482         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7483         Encode instruction correctly in little endian.
7484         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7485         Likewise.
7486         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7487         Likewise.
7488         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7489         Likewise.
7490         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7491         Likewise.
7492
7493 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7494
7495         [BZ #9894]
7496         * sysdeps/unix/sysv/linux/kernel-features.h
7497         [__sparc__ && !__arch64__ && !__sparc_v9__]
7498         (__ASSUME_SET_ROBUST_LIST): Do not define.
7499         [__sparc__ && !__arch64__ && !__sparc_v9__]
7500         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7501         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7502         Likewise.
7503         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7504         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7505         (__ASSUME_REQUEUE_PI): Likewise.
7506         (__ASSUME_SET_ROBUST_LIST): Likewise.
7507         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7508         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7509         Undefine.
7510         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7511         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7512         Likewise.
7513         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7514         Likewise.
7515         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7516         Likewise.
7517         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7518         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7519         Undefine.
7520         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7521         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7522         Likewise.
7523
7524         [BZ #16648]
7525         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7526         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7527         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7528
7529 2014-03-31  Will Newton  <will.newton@linaro.org>
7530
7531         * benchtests/Makefile (bench): Add ffs and ffsll to list
7532         of tests.
7533         * benchtests/ffs-inputs: New file.
7534         * benchtests/ffsll-inputs: Likewise.
7535
7536 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7537
7538         [BZ #16770]
7539         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7540         too large before casting to int.
7541         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7542         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7543         * math/libm-test.inc (scalb_test_data): Add more tests.
7544
7545 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7546
7547         * benchtests/Makefile (DETAILED_OPT): New make option.
7548         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7549         set.
7550         * benchtests/bench-skeleton.c: Include stdbool.h.
7551         (main): Store and print timings per input.
7552         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7553         member to each argument value.
7554         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7555         (_print_arg_data): Initialize per-input timing to 0.
7556
7557         * benchtests/Makefile (timing-type): New binary.
7558         (bench-clean): Also remove bench-timing-type.
7559         (bench): New target for timing-type.
7560         (bench-func): Print output in JSON format.
7561         * benchtests/bench-skeleton.c (main): Print output in JSON
7562         format.
7563         * benchtests/bench-timing-type.c: New file.
7564         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7565         (TIMING_PRINT_STATS): Remove.
7566         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7567         name separately.
7568
7569         * benchtests/bench-modf.c: Remove.
7570         * benchtests/modf-inputs: New inputs file.
7571
7572 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7573
7574         [BZ #16362]
7575         * math/s_clog10.c (M_PI_LOG10E): New macro.
7576         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7577         imaginary parts are 0.
7578         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7579         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7580         imaginary parts are 0.
7581         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7582         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7583         imaginary parts are 0.
7584         * math/libm-test.inc (clog10_test_data): Update expected results
7585         for when real and imaginary parts are 0.
7586
7587 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7588
7589         * elf/dl-load.c: Finish conversion of __builtin_expect into
7590         __glibc_{un}likely.
7591
7592 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7593
7594         [BZ #16348]
7595         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7596         1+x for argument with exponent below -67.
7597         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7598         Likewise.
7599         * math/auto-libm-test-in: Add more tests of exp.
7600         * math/auto-libm-test-out: Regenerated.
7601
7602 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7603
7604         [BZ #16759]
7605         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7606         (nscd_getnetgrent): Use it.
7607
7608         [BZ #16760]
7609         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7610         of stpcpy.
7611
7612 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7613
7614         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7615         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7616         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7617         (lll_robust_unlock): Remove out of line section. Use cfi
7618         intrinsics.
7619         (LLL_STUB_UNWIND_INFO*): Remove.
7620         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7621         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7622         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7623         (lll_robust_unlock): Remove out of line section. Use cfi
7624         intrinsics.
7625         (LLL_STUB_UNWIND_INFO*): Remove.
7626
7627 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7628
7629         [BZ #16758]
7630         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7631         blank values.
7632
7633 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7634
7635         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7636
7637 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7638
7639         [BZ #16198]
7640         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7641         fnstenv.
7642         * math/test-fenv-preserve.c: New file.
7643         * math/Makefile (tests): Add test-fenv-preserve.
7644
7645 2014-03-26  Will Newton <will.newton@linaro.org>
7646
7647         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7648
7649 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7650
7651         * scripts/versionlist.awk: Partition the version sets and emit all
7652         GLIBC_* (sorted) before all others (sorted).
7653
7654 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7655
7656         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7657         GLIBC_2.2.5 version.
7658
7659 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7660
7661         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7662         calls.
7663
7664         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7665         previous change.
7666
7667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7668
7669 2014-03-25  Andreas Schwab  <schwab@suse.de>
7670
7671         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7672         label to be used after in6ailist is initialized.
7673
7674 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7675
7676         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7677         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7678
7679 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7680
7681         [BZ #16357]
7682         [BZ #16599]
7683         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7684         min_plus_half.
7685         (fp_formats): Update initializers.
7686         (init_fp_formats): Initialize new field.
7687         (output_for_one_input_case): Allow underflow for results up to
7688         min_plus_half.
7689         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7690         * math/auto-libm-test-in: Don't mark some underflows from asin and
7691         atanh as spurious.
7692         * math/auto-libm-test-out: Regenerated.
7693         * sysdeps/i386/fpu/libm-test-ulps: Update.
7694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7695
7696 2014-03-25  Andreas Schwab  <schwab@suse.de>
7697
7698         * libio/Makefile (tst-ftell-partial-wide-ENV)
7699         (tst-ftell-active-handler-ENV): Define.
7700
7701 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7702
7703         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7704
7705 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7706
7707         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7708
7709 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7710
7711         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7712         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7713         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7714
7715 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7716
7717         [BZ #16634]
7718         * elf/dl-load.c (open_verify): Add mode parameter.
7719         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7720         (open_path): Change from boolean 'secure' to complete flag 'mode'
7721         (_dl_map_object): Adjust.
7722         * elf/Makefile (tests): Add tst-dlopen-aout.
7723         * elf/tst-dlopen-aout.c: New test.
7724
7725 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7726
7727         [BZ #16714]
7728         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7729         (struct stat): Rename member pad0 to __glibc_reserved0.
7730
7731         [BZ #16712]
7732         * sysdeps/s390/s390-32/bits/wordsize.h
7733         (__WORDSIZE32_SIZE_ULONG): New define.
7734         * sysdeps/s390/s390-64/bits/wordsize.h
7735         (__WORDSIZE32_SIZE_ULONG): Likewise.
7736         * sysdeps/generic/stdint.h (SIZE_MAX):
7737         Define as UL if __WORDSIZE32_SIZE_ULONG.
7738
7739         [BZ #16713]
7740         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7741         (__glibc_reserved0): New variable.
7742         (sa_flags): Change type to int.
7743
7744         * posix/Makefile (before-compile): Use += before-compile instead
7745         of a :=.
7746
7747         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7748         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7749
7750 2014-03-20  Andreas Schwab  <schwab@suse.de>
7751
7752         [BZ #16743]
7753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7754         non-matching result from nscd.
7755
7756 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7757
7758         * scripts/bench.py: Moved to ...
7759         * benchtests/scripts/bench.py: ... here.
7760         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7761
7762 2014-03-24  Andreas Schwab  <schwab@suse.de>
7763
7764         [BZ #16002]
7765         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7766         alloca_account and account alloca use for struct in6ailist.
7767
7768 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7769
7770         [BZ #16284]
7771         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7772         rounding mode to recompute results that overflow to infinity or
7773         underflow to zero.
7774         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7775         bug 16284.
7776         * math/auto-libm-test-out: Regenerated.
7777         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7778         (ccosh_test): Likewise.
7779         (csin_test_data): Use plus_oflow.
7780         (csin_test): Use ALL_RM_TEST.
7781         (csinh_test_data): Use plus_oflow.
7782         (csinh_test): Use ALL_RM_TEST.
7783         * sysdeps/i386/fpu/libm-test-ulps: Update.
7784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7785
7786 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7787
7788         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7789         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7790         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7791
7792         [BZ #16731]
7793         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7794         when x - 1 is zero.
7795         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7796         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7797         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7798         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7799         argument is 1.
7800         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7801         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7802         zero.
7803         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7804         * sysdeps/i386/fpu/libm-test-ulps: Update.
7805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7806
7807 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7808
7809         * scripts/bench.pl: Remove file.
7810         * scripts/bench.py: New benchmark script.
7811         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7812         * benchtests/README: Mention python dependency.
7813         * scripts/pylintrc: New file.
7814         * scripts/pylint: New file.
7815
7816         * bits/mathdef.h: Use #ifdef instead of #if.
7817         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7818         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7819         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7820         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7821         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7822         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7823
7824 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7825             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7826
7827         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7829         and strpbrk-ppc64 objects.
7830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7831         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7832         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7833         multiarch strpbrk for POWER7.
7834         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7835         multiarch strpbrk for PPC64.
7836         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7837         ifunc selector.
7838         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7839         strpbrk for POWER7.
7840
7841 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7842
7843         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7844         (atan_test): Likewise.
7845         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7846         (atanh_test): Use ALL_RM_TEST.
7847         (atan2_test_data): Likewise.
7848         (cabs_test): Likewise.
7849         (cacosh_test): Likewise.
7850         (carg_test): Likewise.
7851         (casin_test): Likewise.
7852         (casinh_test): Likewise.
7853         (cbrt_test): Likewise.
7854         (csqrt_test): Likewise.
7855         (erf_test): Likewise.
7856         (erfc_test): Likewise.
7857         (pow10_test): Likewise.
7858         (exp2_test): Likewise.
7859         (hypot_test): Likewise.
7860         (j0_test): Likewise.
7861         (j1_test): Likewise.
7862         (lgamma_test): Likewise.
7863         (gamma_test): Likewise.
7864         (sincos_test): Likewise.
7865         (tanh_test): Likewise.
7866         (y0_test): Likewise.
7867         (y1_test): Likewise.
7868         * sysdeps/i386/fpu/libm-test-ulps: Update.
7869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7870
7871 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7872
7873         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7875         and strcspn-ppc64 objects.
7876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7877         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7878         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7879         multiarch strcspn for POWER7.
7880         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7881         multiarch strcspn for PPC64.
7882         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7883         ifunc selector.
7884         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7885         strcspn for POWER7.
7886
7887 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7888
7889         * math/gen-libm-test.pl (generate_testfile): Expect only function
7890         name as argument to AUTO_TESTS_* and pass results for all rounding
7891         modes to parse_args.
7892         (parse_auto_input): Separate inputs of automatic tests from
7893         outputs before storing in %auto_tests.
7894         * math/libm-test.inc (acos_test_data): Update call to
7895         AUTO_TESTS_f_f.
7896         (acos_test): Use ALL_RM_TEST.
7897         (acos_tonearest_test_data): Remove.
7898         (acos_test_tonearest): Likewise.
7899         (acos_towardzero_test_data): Likewise.
7900         (acos_test_towardzero): Likewise.
7901         (acos_downward_test_data): Likewise.
7902         (acos_test_downward): Likewise.
7903         (acos_upward_test_data): Likewise.
7904         (acos_test_upward): Likewise.
7905         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7906         (asin_test_data): Likewise.
7907         (asin_test): Use ALL_RM_TEST.
7908         (asin_tonearest_test_data): Remove.
7909         (asin_test_tonearest): Likewise.
7910         (asin_towardzero_test_data): Likewise.
7911         (asin_test_towardzero): Likewise.
7912         (asin_downward_test_data): Likewise.
7913         (asin_test_downward): Likewise.
7914         (asin_upward_test_data): Likewise.
7915         (asin_test_upward): Likewise.
7916         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7917         (atan_test_data): Likewise.
7918         (atanh_test_data): Likewise.
7919         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7920         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7921         (carg_test_data): Likewise.
7922         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7923         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7924         (ccosh_test_data): Likewise.
7925         (cexp_test_data): Likewise.
7926         (clog_test_data): Likewise.
7927         (clog10_test_data): Likewise.
7928         (cos_test_data): Update call to AUTO_TESTS_f_f.
7929         (cos_test): Use ALL_RM_TEST.
7930         (cos_tonearest_test_data): Remove.
7931         (cos_test_tonearest): Likewise.
7932         (cos_towardzero_test_data): Likewise.
7933         (cos_test_towardzero): Likewise.
7934         (cos_downward_test_data): Likewise.
7935         (cos_test_downward): Likewise.
7936         (cos_upward_test_data): Likewise.
7937         (cos_test_upward): Likewise.
7938         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7939         (cosh_test): Use ALL_RM_TEST.
7940         (cosh_tonearest_test_data): Remove.
7941         (cosh_test_tonearest): Likewise.
7942         (cosh_towardzero_test_data): Likewise.
7943         (cosh_test_towardzero): Likewise.
7944         (cosh_downward_test_data): Likewise.
7945         (cosh_test_downward): Likewise.
7946         (cosh_upward_test_data): Likewise.
7947         (cosh_test_upward): Likewise.
7948         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7949         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7950         (ctan_test_data): Likewise.
7951         (ctan_test): Use ALL_RM_TEST.
7952         (ctan_tonearest_test_data): Remove.
7953         (ctan_test_tonearest): Likewise.
7954         (ctan_towardzero_test_data): Likewise.
7955         (ctan_test_towardzero): Likewise.
7956         (ctan_downward_test_data): Likewise.
7957         (ctan_test_downward): Likewise.
7958         (ctan_upward_test_data): Likewise.
7959         (ctan_test_upward): Likewise.
7960         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7961         (ctanh_test): Use ALL_RM_TEST.
7962         (ctanh_tonearest_test_data): Remove.
7963         (ctanh_test_tonearest): Likewise.
7964         (ctanh_towardzero_test_data): Likewise.
7965         (ctanh_test_towardzero): Likewise.
7966         (ctanh_downward_test_data): Likewise.
7967         (ctanh_test_downward): Likewise.
7968         (ctanh_upward_test_data): Likewise.
7969         (ctanh_test_upward): Likewise.
7970         (erf_test_data): Update call to AUTO_TESTS_f_f.
7971         (erfc_test_data): Likewise.
7972         (exp_test_data): Likewise.
7973         (exp_test): Use ALL_RM_TEST.
7974         (exp_tonearest_test_data): Remove.
7975         (exp_test_tonearest): Likewise.
7976         (exp_towardzero_test_data): Likewise.
7977         (exp_test_towardzero): Likewise.
7978         (exp_downward_test_data): Likewise.
7979         (exp_test_downward): Likewise.
7980         (exp_upward_test_data): Likewise.
7981         (exp_test_upward): Likewise.
7982         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7983         (exp10_test): Use ALL_RM_TEST.
7984         (exp10_tonearest_test_data): Remove.
7985         (exp10_test_tonearest): Likewise.
7986         (exp10_towardzero_test_data): Likewise.
7987         (exp10_test_towardzero): Likewise.
7988         (exp10_downward_test_data): Likewise.
7989         (exp10_test_downward): Likewise.
7990         (exp10_upward_test_data): Likewise.
7991         (exp10_test_upward): Likewise.
7992         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7993         (expm1_test_data): Likewise.
7994         (expm1_test): Use ALL_RM_TEST.
7995         (expm1_tonearest_test_data): Remove.
7996         (expm1_test_tonearest): Likewise.
7997         (expm1_towardzero_test_data): Likewise.
7998         (expm1_test_towardzero): Likewise.
7999         (expm1_downward_test_data): Likewise.
8000         (expm1_test_downward): Likewise.
8001         (expm1_upward_test_data): Likewise.
8002         (expm1_test_upward): Likewise.
8003         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8004         (fma_test): Use ALL_RM_TEST.
8005         (fma_towardzero_test_data): Remove.
8006         (fma_test_towardzero): Likewise.
8007         (fma_downward_test_data): Likewise.
8008         (fma_test_downward): Likewise.
8009         (fma_upward_test_data): Likewise.
8010         (fma_test_upward): Likewise.
8011         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8012         (j0_test_data): Update call to AUTO_TESTS_f_f.
8013         (j1_test_data): Likewise.
8014         (jn_test_data): Update call to AUTO_TESTS_if_f.
8015         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8016         (log_test_data): Update call to AUTO_TESTS_f_f.
8017         (log10_test_data): Likewise.
8018         (log1p_test_data): Likewise.
8019         (log2_test_data): Likewise.
8020         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8021         (pow_tonearest_test_data): Likewise.
8022         (sin_test_data): Update call to AUTO_TESTS_f_f.
8023         (sin_test): Use ALL_RM_TEST.
8024         (sin_tonearest_test_data): Remove.
8025         (sin_test_tonearest): Likewise.
8026         (sin_towardzero_test_data): Likewise.
8027         (sin_test_towardzero): Likewise.
8028         (sin_downward_test_data): Likewise.
8029         (sin_test_downward): Likewise.
8030         (sin_upward_test_data): Likewise.
8031         (sin_test_upward): Likewise.
8032         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8033         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8034         (sinh_test): Use ALL_RM_TEST.
8035         (sinh_tonearest_test_data): Remove.
8036         (sinh_test_tonearest): Likewise.
8037         (sinh_towardzero_test_data): Likewise.
8038         (sinh_test_towardzero): Likewise.
8039         (sinh_downward_test_data): Likewise.
8040         (sinh_test_downward): Likewise.
8041         (sinh_upward_test_data): Likewise.
8042         (sinh_test_upward): Likewise.
8043         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8044         (sqrt_test): Use ALL_RM_TEST.
8045         (sqrt_tonearest_test_data): Remove.
8046         (sqrt_test_tonearest): Likewise.
8047         (sqrt_towardzero_test_data): Likewise.
8048         (sqrt_test_towardzero): Likewise.
8049         (sqrt_downward_test_data): Likewise.
8050         (sqrt_test_downward): Likewise.
8051         (sqrt_upward_test_data): Likewise.
8052         (sqrt_test_upward): Likewise.
8053         (tan_test_data): Update call to AUTO_TESTS_f_f.
8054         (tan_test): Use ALL_RM_TEST.
8055         (tan_tonearest_test_data): Remove.
8056         (tan_test_tonearest): Likewise.
8057         (tan_towardzero_test_data): Likewise.
8058         (tan_test_towardzero): Likewise.
8059         (tan_downward_test_data): Likewise.
8060         (tan_test_downward): Likewise.
8061         (tan_upward_test_data): Likewise.
8062         (tan_test_upward): Likewise.
8063         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8064         (tgamma_test_data): Likewise.
8065         (y0_test_data): Likewise.
8066         (y1_test_data): Likewise.
8067         (yn_test_data): Update call to AUTO_TESTS_if_f.
8068         (main): Do not call removed functions.
8069
8070 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8071
8072         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8073         (ldexp_test_data): Remove.
8074         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8075         scalbn_test_data.
8076         (scalb_test): Use ALL_RM_TEST.
8077
8078 2014-03-19  Andreas Schwab  <schwab@suse.de>
8079
8080         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8081
8082 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8083
8084         [BZ #16649]
8085         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8086         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8087         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8088         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8089         (__ASSUME_PREADV): Undefine.
8090         (__ASSUME_PWRITEV): Likewise.
8091
8092 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8093
8094         * bits/mman-linux.h: Add comment about non-Linux use.
8095         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8096         bits/mman-linux.h resting place.
8097
8098         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8099         * bits/mman-linux.h: ... here.
8100
8101 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8102
8103         * conform/conformtest.pl: Add standard definition when calling C
8104         preprocessor on data files.
8105         (checknamespace): Remove unused variable.
8106
8107 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8108
8109         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8110         minus_oflow, plus_uflow and minus_uflow in expected results.
8111         * math/libm-test.inc (scalbn_test_data): Add more tests of
8112         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8113         minus_uflow.
8114         (scalbn_test): Use ALL_RM_TEST.
8115         (scalbln_test_data): Add more tests of negative arguments.  Use
8116         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8117         (scalbln_test): Use ALL_RM_TEST.
8118
8119 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8120
8121         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8122
8123 2014-03-18  Will Newton  <will.newton@linaro.org>
8124
8125         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8126         inaccurate comment.
8127
8128 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8129
8130         * Makerules [!subdir] (check-abi): Exit with error status if a
8131         test failed.
8132
8133 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8134
8135         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8136         for rint.  Include results for all rounding modes.
8137         (nearbyint_test): Use ALL_RM_TEST.
8138         (rint_test_data): Include all tests used for nearbyint.
8139
8140 2014-03-17  Will Newton  <will.newton@linaro.org>
8141
8142         * nptl/sysdeps/pthread/pthread.h: Revert previous
8143         change.
8144
8145         * sysdeps/generic/ldsodefs.h: Revert previous
8146         change.
8147
8148         * libio/genops.c: Revert previous change.
8149         * libio/libioP.h: Likewise.
8150         * stdio-common/vfprintf.c: Likewise.
8151
8152         * sysdeps/generic/math_private.h: Revert previous
8153         change.
8154
8155         * sysdeps/generic/math_private.h: Check whether
8156         HAVE_RM_CTX is defined with #ifdef rather
8157         than #if.
8158
8159         * argp/argp-fmtstream.h: Check whether
8160         __STRICT_ANSI__ is defined with #ifdef rather
8161         than #if.
8162         * argp/argp.h: Likewise.
8163
8164         * libio/genops.c: Check whether
8165         _IO_JUMPS_OFFSET is defined with #ifdef rather
8166         than #if.
8167         * libio/libioP.h: Likewise.
8168         * stdio-common/vfprintf.c: Likewise.
8169
8170         * sysdeps/generic/ldsodefs.h: Check whether
8171         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8172         than #if.
8173
8174         * nptl/sysdeps/pthread/pthread.h: Check
8175         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8176         its value.
8177
8178 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8179
8180         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8181         setting O_APPEND.
8182         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8183         test case.
8184
8185         [BZ #16680]
8186         * libio/fileops.c (_IO_file_open): Seek to end of file but
8187         don't cache the offset.
8188         (get_file_offset): Remove function.
8189         (do_ftell): Use cached offset when available.
8190         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8191         don't cache the offset.
8192         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8193         case.
8194         (do_one_test): Call it.
8195         (do_ftell_test): Fix up expected old offset for a+ mode.
8196         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8197         available.
8198
8199         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8200         up test status with function return status.
8201         (do_write_test): Likewise.
8202         (do_append_test): Likewise.
8203
8204         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8205         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8206         Remove.
8207
8208 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8209
8210         * math/gen-libm-test.pl (parse_args): Handle results specified for
8211         each rounding mode separately.
8212         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8213         tests and results from lrint_tonearest_test_data,
8214         lrint_towardzero_test_data, lrint_downward_test_data and
8215         lrint_upward_test_data.
8216         (lrint_test): Use ALL_RM_TEST.
8217         (lrint_tonearest_test_data): Remove.
8218         (lrint_test_tonearest): Likewise.
8219         (lrint_towardzero_test_data): Likewise.
8220         (lrint_test_towardzero): Likewise.
8221         (lrint_downward_test_data): Likewise.
8222         (lrint_test_downward): Likewise.
8223         (lrint_upward_test_data): Likewise.
8224         (lrint_test_upward): Likewise.
8225         (llrint_test_data): Merge in per-rounding-mode tests and results
8226         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8227         llrint_downward_test_data and llrint_upward_test_data.
8228         (llrint_test): Use ALL_RM_TEST.
8229         (llrint_tonearest_test_data): Remove.
8230         (llrint_test_tonearest): Likewise.
8231         (llrint_towardzero_test_data): Likewise.
8232         (llrint_test_towardzero): Likewise.
8233         (llrint_downward_test_data): Likewise.
8234         (llrint_test_downward): Likewise.
8235         (llrint_upward_test_data): Likewise.
8236         (llrint_test_upward): Likewise.
8237         (rint_test_data): Merge in per-rounding-mode tests and results
8238         from rint_tonearest_test_data, rint_towardzero_test_data,
8239         rint_downward_test_data and rint_upward_test_data.  Add
8240         per-rounding-mode results for tests not in those arrays.
8241         (rint_test): Use ALL_RM_TEST.
8242         (rint_tonearest_test_data): Remove.
8243         (rint_test_tonearest): Likewise.
8244         (rint_towardzero_test_data): Likewise.
8245         (rint_test_towardzero): Likewise.
8246         (rint_downward_test_data): Likewise.
8247         (rint_test_downward): Likewise.
8248         (rint_upward_test_data): Likewise.
8249         (rint_test_upward): Likewise.
8250         (main): Don't call removed functions.
8251
8252 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8253
8254         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8255         "Compiled on ..." crapola.  It is anti-useful.
8256
8257 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8258
8259         * scripts/evaluate-test.sh: Handle fourth argument to determine
8260         whether test run should stop on failure.
8261         * Makeconfig (stop-on-test-failure): New variable.
8262         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8263         $(stop-on-test-failure).
8264         * Makefile (tests): Give a summary of results from testing and
8265         exit with failure status if they include an ERROR or FAIL.
8266         (xtests): Likewise.
8267         * manual/install.texi (Configuring and compiling): Mention
8268         stop-on-test-failure=y.
8269         * INSTALL: Regenerated.
8270
8271 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8272
8273         * scripts/versionlist.awk: New file.
8274         * Makerules [$(build-shared) = yes]
8275         (postclean-generated): Add Versions.def, not Versions.def.v and
8276         Versions.def.v.i.
8277         ($(common-objpfx)Versions.def.v.i): Target removed.
8278         ($(common-objpfx)Versions.def): New target.
8279         ($(common-objpfx)Versions.all): Depend on that rather that
8280         $(common-objpfx)Versions.def.v.
8281         * Versions.def: File removed.
8282
8283         * Makeconfig (+gccwarn): Add -Wundef.
8284         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8285         a dl-sysdep.h breaking its contract.
8286         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8287         * include/stackinfo.h: New file.
8288         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8289         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8290         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8291         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8292         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8293         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8294         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8295         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8296         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8297         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8298         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8299         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8300         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8301         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8302         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8303
8304 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8305
8306         [BZ #16707]
8307         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8308         implementation.
8309         * math/libm-test.inc (round_test_data): Add more tests.
8310
8311         [BZ #16706]
8312         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8313         implementation.
8314         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8315
8316         [BZ #16701]
8317         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8318         implementation.
8319         * math/libm-test.inc (ceil_test_data): Add more tests.
8320
8321         * math/libm-test.inc (trunc_test_data): Add more tests related to
8322         BZ#16414.
8323
8324 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8325
8326         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8327         with #if rather than #ifdef.
8328         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8329
8330 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8331
8332         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8333         first.  Disable AVX-512 GCC support if assembler doesn't support
8334         it.
8335         * sysdeps/x86_64/configure: Regenerated.
8336
8337 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8338
8339         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8340         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8341         (__old_pthread_attr_setstack): Likewise.
8342         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8343         [!_STACK_GROWS_DOWN]: Likewise.
8344
8345 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8346
8347         * config.make.in (have-bash2): Delete.
8348         * configure.ac (libc_cv_have_bash2): Delete.
8349         * configure: Regenerate.
8350         * elf/Makefile (common-ldd-rewrite): Rename to ...
8351         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8352         (sh-ldd-rewrite): Delete.
8353         (bash-ldd-rewrite): Delete.
8354         (have-bash2): Delete checks.
8355         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8356         ldd-rewrite.
8357
8358         * config.make.in (have-ksh): Delete.
8359         (KSH): Delete.
8360         * configure.ac (libc_cv_have_ksh): Delete.
8361         * configure: Regenerate.
8362
8363         * elf/Makefile: Delete $(have-ksh) check.
8364         ($(objpfx)sotruss): Change KSH to BASH.
8365         * elf/sotruss.ksh: Rename to ...
8366         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8367         function style to match POSIX.  Drop ksh vim mode setting.
8368
8369         * manual/time.texi (Specifying the Time Zone with TZ): Change
8370         Tuesday to Thursday.
8371
8372         * debug/tst-longjmp_chk2.c: Update header comment.
8373         (stackoverflow_handler): Add comment.  Call assert on pass value.
8374
8375 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8376
8377         [BZ #16194]
8378         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8379         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8380         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8381         (La_x86_64_vector): Add zmm.
8382         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8383         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8384         ($(objpfx)tst-audit10): New target.
8385         ($(objpfx)tst-audit10.out): Likewise.
8386         (tst-audit10-ENV): New.
8387         (AVX512-CFLAGS): Likewise.
8388         (CFLAGS-tst-audit10.c): Likewise.
8389         (CFLAGS-tst-auditmod10a.c): Likewise.
8390         (CFLAGS-tst-auditmod10b.c): Likewise.
8391         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8392         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8393         * sysdeps/x86_64/configure: Regenerated.
8394         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8395         AVX-512 zmm register support.
8396         (_dl_x86_64_save_sse): Likewise.
8397         (_dl_x86_64_restore_sse): Likewise.
8398         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8399         size vector registers.
8400         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8401         (ZMM_SIZE): Likewise.
8402         * sysdeps/x86_64/tst-audit10.c: New file.
8403         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8404         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8405
8406 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8407
8408         * configure.ac (HAVE_EHDR_START): New check.
8409         * configure: Regenerated.
8410         * config.h.in (HAVE_EHDR_START): New #undef.
8411         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8412         assuming the lowest-addressed segment maps the start of the file.
8413
8414 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8415
8416         * INSTALL: Regenerated.
8417
8418 2014-03-13  Will Newton  <will.newton@linaro.org>
8419
8420         * manual/setjmp.texi (System V contexts): Improve
8421         clarity and grammar of documentation.
8422
8423 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8424
8425         [BZ #16381]
8426         * elf/Makefile (tests): Add tst-pie2.
8427         (tests-pie): Add tst-pie2.
8428         * elf/tst-pie2.c: New file.
8429         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8430         for ET_EXEC.
8431         * elf/rtld.c (map_doit): Load executable as lt_executable.
8432         (dl_main): Likewise.
8433
8434 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8435
8436         [BZ #16642]
8437         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8438         (__ASSUME_PSELECT): Undefine.
8439
8440 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8441
8442         [BZ #16689]
8443         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8444         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8445         static build.
8446         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8447         selector for static builds.
8448
8449 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8450
8451         [BZ #16695]
8452         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8453         key in the buffer.
8454
8455 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8456
8457         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8458         IFUNC selector for static builds.
8459
8460 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8461
8462         * sysdeps/mips/math_private.h [__mips_hard_float]
8463         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8464         libc_feresetround_mips_ctx.
8465         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8466         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8467         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8468
8469         [BZ #16677]
8470         * math/s_nextafter.c (__nextafter): Do not return value from
8471         overflowing computation.
8472         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8473         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8474         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8475         Likewise.
8476         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8477         Likewise.
8478         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8479         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8480
8481 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8482
8483         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8484         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8485         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8486         the new mov targetting sp.
8487
8488 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8489
8490         [BZ #16683]
8491         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8492         Define it for static builds as well.
8493         (NO_BZERO_IMPL): Likewise.
8494
8495 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8496
8497         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8498         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8499         multiarch strspn for PPC64.
8500         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8501         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8503         (__libc_ifunc_impl_list): Likewise.
8504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8505         multiarch optimizations
8506         * string/strspn.c (strspn): Using macro to redefine symbol name.
8507
8508 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8509             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8510
8511         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8512         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8513         multiarch strncat for PPC64.
8514         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8515         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8517         (__libc_ifunc_impl_list): Likewise.
8518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8519         multiarch optimizations
8520
8521 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8522
8523         [BZ #16639]
8524         * nscd/nscd.service: Make service type forking.
8525
8526 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8527
8528         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8529         sign in non default rounding modes.
8530         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8531
8532 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8533
8534         * math/libm-test.inc (ALL_RM_TEST): New macro.
8535         (ceil_test): Use ALL_RM_TEST.
8536         (cimag_test): Likewise.
8537         (conj_test): Likewise.
8538         (copysign_test): Likewise.
8539         (cproj_test): Likewise.
8540         (creal_test): Likewise.
8541         (fabs_test): Likewise.
8542         (floor_test): Likewise.
8543         (fmax_test): Likewise.
8544         (fmin_test): Likewise.
8545         (fmod_test): Likewise.
8546         (fpclassify_test): Likewise.
8547         (frexp_test): Likewise.
8548         (ilogb_test): Likewise.
8549         (isfinite_test): Likewise.
8550         (finite_test): Likewise.
8551         (isgreater_test): Likewise.
8552         (isgreaterequal_test): Likewise.
8553         (isinf_test): Likewise.
8554         (isless_test): Likewise.
8555         (islessequal_test): Likewise.
8556         (islessgreater_test): Likewise.
8557         (isnan_test): Likewise.
8558         (isnormal_test): Likewise.
8559         (issignaling_test): Likewise.
8560         (isunordered_test): Likewise.
8561         (logb_test): Likewise.
8562         (logb_downward_test_data): Remove.
8563         (logb_test_downward): Likewise.
8564         (lround_test): Use ALL_RM_TEST.
8565         (llround_test): Likewise.
8566         (modf_test): Likewise.
8567         (nexttoward_test): Likewise.
8568         (remainder_test): Likewise.
8569         (drem_test): Likewise.
8570         (remainder_tonearest_test_data): Likewise.
8571         (remainder_test_tonearest): Likewise.
8572         (drem_test_tonearest): Likewise.
8573         (remainder_towardzero_test_data): Likewise.
8574         (remainder_test_towardzero): Likewise.
8575         (drem_test_towardzero): Likewise.
8576         (remainder_downward_test_data): Likewise.
8577         (remainder_test_downward): Likewise.
8578         (drem_test_downward): Likewise.
8579         (remainder_upward_test_data): Likewise.
8580         (remainder_test_upward): Likewise.
8581         (drem_test_upward): Likewise.
8582         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8583         (round_test): Use ALL_RM_TEST.
8584         (signbit_test): Likewise.
8585         (trunc_test): Likewise.
8586         (significand_test): Likewise.
8587         (main): Don't call removed functions.
8588
8589 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8590
8591         [BZ #16674]
8592         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8593         || __USE_XOPEN2K8].
8594         (ILL_ILLOPN): Likewise.
8595         (ILL_ILLADR): Likewise.
8596         (ILL_ILLTRP): Likewise.
8597         (ILL_PRVOPC): Likewise.
8598         (ILL_PRVREG): Likewise.
8599         (ILL_COPROC): Likewise.
8600         (ILL_BADSTK): Likewise.
8601         (FPE_INTDIV): Likewise.
8602         (FPE_INTOVF): Likewise.
8603         (FPE_FLTDIV): Likewise.
8604         (FPE_FLTOVF): Likewise.
8605         (FPE_FLTUND): Likewise.
8606         (FPE_FLTRES): Likewise.
8607         (FPE_FLTINV): Likewise.
8608         (FPE_FLTSUB): Likewise.
8609         (SEGV_MAPERR): Likewise.
8610         (SEGV_ACCERR): Likewise.
8611         (BUS_ADRALN): Likewise.
8612         (BUS_ADRERR): Likewise.
8613         (BUS_OBJERR): Likewise.
8614         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8615         (TRAP_TRACE): Likewise.
8616         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8617         __USE_XOPEN2K8].
8618         (CLD_KILLED): Likewise.
8619         (CLD_DUMPED): Likewise.
8620         (CLD_TRAPPED): Likewise.
8621         (CLD_STOPPED): Likewise.
8622         (CLD_CONTINUED): Likewise.
8623         (POLL_IN): Likewise.
8624         (POLL_OUT): Likewise.
8625         (POLL_MSG): Likewise.
8626         (POLL_ERR): Likewise.
8627         (POLL_PRI): Likewise.
8628         (POLL_HUP): Likewise.
8629         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8630         Likewise.
8631         (ILL_ILLOPN): Likewise.
8632         (ILL_ILLADR): Likewise.
8633         (ILL_ILLTRP): Likewise.
8634         (ILL_PRVOPC): Likewise.
8635         (ILL_PRVREG): Likewise.
8636         (ILL_COPROC): Likewise.
8637         (ILL_BADSTK): Likewise.
8638         (FPE_INTDIV): Likewise.
8639         (FPE_INTOVF): Likewise.
8640         (FPE_FLTDIV): Likewise.
8641         (FPE_FLTOVF): Likewise.
8642         (FPE_FLTUND): Likewise.
8643         (FPE_FLTRES): Likewise.
8644         (FPE_FLTINV): Likewise.
8645         (FPE_FLTSUB): Likewise.
8646         (SEGV_MAPERR): Likewise.
8647         (SEGV_ACCERR): Likewise.
8648         (BUS_ADRALN): Likewise.
8649         (BUS_ADRERR): Likewise.
8650         (BUS_OBJERR): Likewise.
8651         (BUS_MCEERR_AR): Likewise.
8652         (BUS_MCEERR_AO): Likewise.
8653         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8654         (TRAP_TRACE): Likewise.
8655         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8656         __USE_XOPEN2K8].
8657         (CLD_KILLED): Likewise.
8658         (CLD_DUMPED): Likewise.
8659         (CLD_TRAPPED): Likewise.
8660         (CLD_STOPPED): Likewise.
8661         (CLD_CONTINUED): Likewise.
8662         (POLL_IN): Likewise.
8663         (POLL_OUT): Likewise.
8664         (POLL_MSG): Likewise.
8665         (POLL_ERR): Likewise.
8666         (POLL_PRI): Likewise.
8667         (POLL_HUP): Likewise.
8668         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8669         (ILL_ILLOPN): Likewise.
8670         (ILL_ILLADR): Likewise.
8671         (ILL_ILLTRP): Likewise.
8672         (ILL_PRVOPC): Likewise.
8673         (ILL_PRVREG): Likewise.
8674         (ILL_COPROC): Likewise.
8675         (ILL_BADSTK): Likewise.
8676         (FPE_INTDIV): Likewise.
8677         (FPE_INTOVF): Likewise.
8678         (FPE_FLTDIV): Likewise.
8679         (FPE_FLTOVF): Likewise.
8680         (FPE_FLTUND): Likewise.
8681         (FPE_FLTRES): Likewise.
8682         (FPE_FLTINV): Likewise.
8683         (FPE_FLTSUB): Likewise.
8684         (SEGV_MAPERR): Likewise.
8685         (SEGV_ACCERR): Likewise.
8686         (BUS_ADRALN): Likewise.
8687         (BUS_ADRERR): Likewise.
8688         (BUS_OBJERR): Likewise.
8689         (BUS_MCEERR_AR): Likewise.
8690         (BUS_MCEERR_AO): Likewise.
8691         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8692         (TRAP_TRACE): Likewise.
8693         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8694         __USE_XOPEN2K8].
8695         (CLD_KILLED): Likewise.
8696         (CLD_DUMPED): Likewise.
8697         (CLD_TRAPPED): Likewise.
8698         (CLD_STOPPED): Likewise.
8699         (CLD_CONTINUED): Likewise.
8700         (POLL_IN): Likewise.
8701         (POLL_OUT): Likewise.
8702         (POLL_MSG): Likewise.
8703         (POLL_ERR): Likewise.
8704         (POLL_PRI): Likewise.
8705         (POLL_HUP): Likewise.
8706         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8707         Likewise.
8708         (ILL_ILLOPN): Likewise.
8709         (ILL_ILLADR): Likewise.
8710         (ILL_ILLTRP): Likewise.
8711         (ILL_PRVOPC): Likewise.
8712         (ILL_PRVREG): Likewise.
8713         (ILL_COPROC): Likewise.
8714         (ILL_BADSTK): Likewise.
8715         (ILL_BADIADDR): Likewise.
8716         (ILL_BREAK): Likewise.
8717         (FPE_INTDIV): Likewise.
8718         (FPE_INTOVF): Likewise.
8719         (FPE_FLTDIV): Likewise.
8720         (FPE_FLTOVF): Likewise.
8721         (FPE_FLTUND): Likewise.
8722         (FPE_FLTRES): Likewise.
8723         (FPE_FLTINV): Likewise.
8724         (FPE_FLTSUB): Likewise.
8725         (FPE_DECOVF): Likewise.
8726         (FPE_DECDIV): Likewise.
8727         (FPE_DECERR): Likewise.
8728         (FPE_INVASC): Likewise.
8729         (FPE_INVDEC): Likewise.
8730         (SEGV_MAPERR): Likewise.
8731         (SEGV_ACCERR): Likewise.
8732         (SEGV_PSTKOVF): Likewise.
8733         (BUS_ADRALN): Likewise.
8734         (BUS_ADRERR): Likewise.
8735         (BUS_OBJERR): Likewise.
8736         (BUS_MCEERR_AR): Likewise.
8737         (BUS_MCEERR_AO): Likewise.
8738         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8739         (TRAP_TRACE): Likewise.
8740         (TRAP_BRANCH): Likewise.
8741         (TRAP_HWBKPT): Likewise.
8742         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8743         __USE_XOPEN2K8].
8744         (CLD_KILLED): Likewise.
8745         (CLD_DUMPED): Likewise.
8746         (CLD_TRAPPED): Likewise.
8747         (CLD_STOPPED): Likewise.
8748         (CLD_CONTINUED): Likewise.
8749         (POLL_IN): Likewise.
8750         (POLL_OUT): Likewise.
8751         (POLL_MSG): Likewise.
8752         (POLL_ERR): Likewise.
8753         (POLL_PRI): Likewise.
8754         (POLL_HUP): Likewise.
8755         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8756         (ILL_ILLOPN): Likewise.
8757         (ILL_ILLADR): Likewise.
8758         (ILL_ILLTRP): Likewise.
8759         (ILL_PRVOPC): Likewise.
8760         (ILL_PRVREG): Likewise.
8761         (ILL_COPROC): Likewise.
8762         (ILL_BADSTK): Likewise.
8763         (FPE_INTDIV): Likewise.
8764         (FPE_INTOVF): Likewise.
8765         (FPE_FLTDIV): Likewise.
8766         (FPE_FLTOVF): Likewise.
8767         (FPE_FLTUND): Likewise.
8768         (FPE_FLTRES): Likewise.
8769         (FPE_FLTINV): Likewise.
8770         (FPE_FLTSUB): Likewise.
8771         (SEGV_MAPERR): Likewise.
8772         (SEGV_ACCERR): Likewise.
8773         (BUS_ADRALN): Likewise.
8774         (BUS_ADRERR): Likewise.
8775         (BUS_OBJERR): Likewise.
8776         (BUS_MCEERR_AR): Likewise.
8777         (BUS_MCEERR_AO): Likewise.
8778         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8779         (TRAP_TRACE): Likewise.
8780         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8781         __USE_XOPEN2K8].
8782         (CLD_KILLED): Likewise.
8783         (CLD_DUMPED): Likewise.
8784         (CLD_TRAPPED): Likewise.
8785         (CLD_STOPPED): Likewise.
8786         (CLD_CONTINUED): Likewise.
8787         (POLL_IN): Likewise.
8788         (POLL_OUT): Likewise.
8789         (POLL_MSG): Likewise.
8790         (POLL_ERR): Likewise.
8791         (POLL_PRI): Likewise.
8792         (POLL_HUP): Likewise.
8793         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8794         (ILL_ILLOPN): Likewise.
8795         (ILL_ILLADR): Likewise.
8796         (ILL_ILLTRP): Likewise.
8797         (ILL_PRVOPC): Likewise.
8798         (ILL_PRVREG): Likewise.
8799         (ILL_COPROC): Likewise.
8800         (ILL_BADSTK): Likewise.
8801         (FPE_INTDIV): Likewise.
8802         (FPE_INTOVF): Likewise.
8803         (FPE_FLTDIV): Likewise.
8804         (FPE_FLTOVF): Likewise.
8805         (FPE_FLTUND): Likewise.
8806         (FPE_FLTRES): Likewise.
8807         (FPE_FLTINV): Likewise.
8808         (FPE_FLTSUB): Likewise.
8809         (SEGV_MAPERR): Likewise.
8810         (SEGV_ACCERR): Likewise.
8811         (BUS_ADRALN): Likewise.
8812         (BUS_ADRERR): Likewise.
8813         (BUS_OBJERR): Likewise.
8814         (BUS_MCEERR_AR): Likewise.
8815         (BUS_MCEERR_AO): Likewise.
8816         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8817         (TRAP_TRACE): Likewise.
8818         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8819         __USE_XOPEN2K8].
8820         (CLD_KILLED): Likewise.
8821         (CLD_DUMPED): Likewise.
8822         (CLD_TRAPPED): Likewise.
8823         (CLD_STOPPED): Likewise.
8824         (CLD_CONTINUED): Likewise.
8825         (POLL_IN): Likewise.
8826         (POLL_OUT): Likewise.
8827         (POLL_MSG): Likewise.
8828         (POLL_ERR): Likewise.
8829         (POLL_PRI): Likewise.
8830         (POLL_HUP): Likewise.
8831         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8832         (ILL_ILLOPN): Likewise.
8833         (ILL_ILLADR): Likewise.
8834         (ILL_ILLTRP): Likewise.
8835         (ILL_PRVOPC): Likewise.
8836         (ILL_PRVREG): Likewise.
8837         (ILL_COPROC): Likewise.
8838         (ILL_BADSTK): Likewise.
8839         (FPE_INTDIV): Likewise.
8840         (FPE_INTOVF): Likewise.
8841         (FPE_FLTDIV): Likewise.
8842         (FPE_FLTOVF): Likewise.
8843         (FPE_FLTUND): Likewise.
8844         (FPE_FLTRES): Likewise.
8845         (FPE_FLTINV): Likewise.
8846         (FPE_FLTSUB): Likewise.
8847         (SEGV_MAPERR): Likewise.
8848         (SEGV_ACCERR): Likewise.
8849         (BUS_ADRALN): Likewise.
8850         (BUS_ADRERR): Likewise.
8851         (BUS_OBJERR): Likewise.
8852         (BUS_MCEERR_AR): Likewise.
8853         (BUS_MCEERR_AO): Likewise.
8854         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8855         (TRAP_TRACE): Likewise.
8856         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8857         __USE_XOPEN2K8].
8858         (CLD_KILLED): Likewise.
8859         (CLD_DUMPED): Likewise.
8860         (CLD_TRAPPED): Likewise.
8861         (CLD_STOPPED): Likewise.
8862         (CLD_CONTINUED): Likewise.
8863         (POLL_IN): Likewise.
8864         (POLL_OUT): Likewise.
8865         (POLL_MSG): Likewise.
8866         (POLL_ERR): Likewise.
8867         (POLL_PRI): Likewise.
8868         (POLL_HUP): Likewise.
8869         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8870         (ILL_ILLOPN): Likewise.
8871         (ILL_ILLADR): Likewise.
8872         (ILL_ILLTRP): Likewise.
8873         (ILL_PRVOPC): Likewise.
8874         (ILL_PRVREG): Likewise.
8875         (ILL_COPROC): Likewise.
8876         (ILL_BADSTK): Likewise.
8877         (ILL_DBLFLT): Likewise.
8878         (ILL_HARDWALL): Likewise.
8879         (FPE_INTDIV): Likewise.
8880         (FPE_INTOVF): Likewise.
8881         (FPE_FLTDIV): Likewise.
8882         (FPE_FLTOVF): Likewise.
8883         (FPE_FLTUND): Likewise.
8884         (FPE_FLTRES): Likewise.
8885         (FPE_FLTINV): Likewise.
8886         (FPE_FLTSUB): Likewise.
8887         (SEGV_MAPERR): Likewise.
8888         (SEGV_ACCERR): Likewise.
8889         (BUS_ADRALN): Likewise.
8890         (BUS_ADRERR): Likewise.
8891         (BUS_OBJERR): Likewise.
8892         (BUS_MCEERR_AR): Likewise.
8893         (BUS_MCEERR_AO): Likewise.
8894         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8895         (TRAP_TRACE): Likewise.
8896         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8897         __USE_XOPEN2K8].
8898         (CLD_KILLED): Likewise.
8899         (CLD_DUMPED): Likewise.
8900         (CLD_TRAPPED): Likewise.
8901         (CLD_STOPPED): Likewise.
8902         (CLD_CONTINUED): Likewise.
8903         (POLL_IN): Likewise.
8904         (POLL_OUT): Likewise.
8905         (POLL_MSG): Likewise.
8906         (POLL_ERR): Likewise.
8907         (POLL_PRI): Likewise.
8908         (POLL_HUP): Likewise.
8909         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8910         (ILL_ILLOPN): Likewise.
8911         (ILL_ILLADR): Likewise.
8912         (ILL_ILLTRP): Likewise.
8913         (ILL_PRVOPC): Likewise.
8914         (ILL_PRVREG): Likewise.
8915         (ILL_COPROC): Likewise.
8916         (ILL_BADSTK): Likewise.
8917         (FPE_INTDIV): Likewise.
8918         (FPE_INTOVF): Likewise.
8919         (FPE_FLTDIV): Likewise.
8920         (FPE_FLTOVF): Likewise.
8921         (FPE_FLTUND): Likewise.
8922         (FPE_FLTRES): Likewise.
8923         (FPE_FLTINV): Likewise.
8924         (FPE_FLTSUB): Likewise.
8925         (SEGV_MAPERR): Likewise.
8926         (SEGV_ACCERR): Likewise.
8927         (BUS_ADRALN): Likewise.
8928         (BUS_ADRERR): Likewise.
8929         (BUS_OBJERR): Likewise.
8930         (BUS_MCEERR_AR): Likewise.
8931         (BUS_MCEERR_AO): Likewise.
8932         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8933         (TRAP_TRACE): Likewise.
8934         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8935         __USE_XOPEN2K8].
8936         (CLD_KILLED): Likewise.
8937         (CLD_DUMPED): Likewise.
8938         (CLD_TRAPPED): Likewise.
8939         (CLD_STOPPED): Likewise.
8940         (CLD_CONTINUED): Likewise.
8941         (POLL_IN): Likewise.
8942         (POLL_OUT): Likewise.
8943         (POLL_MSG): Likewise.
8944         (POLL_ERR): Likewise.
8945         (POLL_PRI): Likewise.
8946         (POLL_HUP): Likewise.
8947         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8948         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8949
8950         [BZ #16670]
8951         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8952         before #include of <time.h>.
8953         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8954         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8955         (test-xfail-UNIX98/sched.h/conform): Likewise.
8956
8957 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8958
8959         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8960         error absence of trapping exception support.
8961         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8962
8963 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8964
8965         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8966         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8967         * timezone/Makefile (testdata): Move definition above include of
8968         Rules.
8969         (test-zones): New variable.
8970         (tests-special): Add zone files.
8971         (build-testdata): Use $(evaluate-test).
8972
8973         * elf/Makefile (tests-special): Rename tests to end with .out.
8974         ($(objpfx)noload-mem): Likewise.
8975         ($(objpfx)tst-leaks1-mem): Likewise.
8976         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8977         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8978         $(objpfx)test-iconvconfig.out.
8979         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8980         set -e inside subshell and redirect output to file.
8981         * iconvdata/Makefile (generated): Rename tests to end with .out.
8982         Correct type.
8983         (tests-special): Rename tests to end with .out.
8984         ($(objpfx)mtrace-tst-loading): Likewise.
8985         * intl/Makefile (generated): Likewise.
8986         (tests-special): Likewise.
8987         ($(objpfx)mtrace-tst-gettext): Likewise.
8988         * misc/Makefile (generated): Likewise.
8989         (tests-special): Likewise.
8990         ($(objpfx)tst-error1-mem): Likewise.
8991         * nptl/Makefile (tests-special): Likewise.
8992         ($(objpfx)tst-stack3-mem): Likewise.
8993         (generated): Likewise.
8994         * posix/Makefile (generated): Likewise.
8995         (tests-special): Likewise.
8996         (xtests-special): Likewise.
8997         ($(objpfx)tst-fnmatch-mem): Likewise.
8998         ($(objpfx)bug-regex2-mem): Likewise.
8999         ($(objpfx)bug-regex14-mem): Likewise.
9000         ($(objpfx)bug-regex21-mem): Likewise.
9001         ($(objpfx)bug-regex31-mem): Likewise.
9002         ($(objpfx)tst-vfork3-mem): Likewise.
9003         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9004         ($(objpfx)tst-pcre-mem): Likewise.
9005         ($(objpfx)tst-boost-mem): Likewise.
9006         ($(objpfx)bug-ga2-mem): Likewise.
9007         ($(objpfx)bug-glob2-mem): Likewise.
9008         * resolv/Makefile (generate): Likewise.
9009         (tests-special): Likewise.
9010         (xtests-special): Likewise.
9011         (generated): Likewise.
9012         ($(objpfx)mtrace-tst-leaks): Likewise.
9013         ($(objpfx)mtrace-tst-leaks2): Likewise.
9014
9015         * scripts/merge-test-results.sh: New file.
9016         * Makefile (tests-special-notdir): New variable.
9017         (tests): Run merge-test-results.sh.
9018         (xtests): Likewise.
9019         * Rules (tests-special-notdir): New variable.
9020         (xtests-special-notdir): Likewise.
9021         (tests): Run merge-test-results.sh
9022         (xtests): Likewise.
9023
9024         * Makeconfig (test-xfail-name): New variable.
9025         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9026         compute variable name for expected failures.
9027         * conform/Makefile (conformtest-headers-data): New variable.
9028         (conformtest-standards): Likewise.
9029         (conformtest-headers-ISO): Likewise.
9030         (conformtest-headers-ISO99): Likewise.
9031         (conformtest-headers-ISO11): Likewise.
9032         (conformtest-headers-POSIX): Likewise.
9033         (conformtest-headers-XPG3): Likewise.
9034         (conformtest-headers-XPG4): Likewise.
9035         (conformtest-headers-UNIX98): Likewise.
9036         (conformtest-headers-XOPEN2K): Likewise.
9037         (conformtest-headers-POSIX2008): Likewise.
9038         (conformtest-headers-XOPEN2K8): Likewise.
9039         (conformtest-header-list-base): Likewise.
9040         (conformtest-header-list-tests): Likewise.
9041         (conformtest-header-base): Likewise.
9042         (conformtest-header-tests): Likewise.
9043         (tests-special): Add $(conformtest-header-list-tests).  If
9044         [$(fast-check) && !$(cross-compiling)], add
9045         $(conformtest-header-tests) instead of
9046         $(objpfx)run-conformtest.out.
9047         (generated): Add $(conformtest-header-list-base).  If
9048         [$(fast-check) && !$(cross-compiling)], add
9049         $(conformtest-header-base).  Remove previous setting.
9050         ($(conformtest-header-list-tests)): New target.
9051         (test-xfail-run-conformtest): Remove variable.
9052         ($(objpfx)run-conformtest.out): Remove target.
9053         (test-xfail-ISO11/complex.h/conform): New variable.
9054         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9055         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9056         (test-xfail-XPG3/varargs.h/conform): Likewise.
9057         (test-xfail-XPG4/varargs.h/conform): Likewise.
9058         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9059         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9060         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9061         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9062         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9063         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9064         (test-xfail-XPG3/ftw.h/conform): Likewise.
9065         (test-xfail-XPG3/grp.h/conform): Likewise.
9066         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9067         (test-xfail-XPG3/limits.h/conform): Likewise.
9068         (test-xfail-XPG3/pwd.h/conform): Likewise.
9069         (test-xfail-XPG3/search.h/conform): Likewise.
9070         (test-xfail-XPG3/signal.h/conform): Likewise.
9071         (test-xfail-XPG3/stdio.h/conform): Likewise.
9072         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9073         (test-xfail-XPG3/string.h/conform): Likewise.
9074         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9075         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9076         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9077         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9078         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9079         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9080         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9081         (test-xfail-XPG3/termios.h/conform): Likewise.
9082         (test-xfail-XPG3/time.h/conform): Likewise.
9083         (test-xfail-XPG3/unistd.h/conform): Likewise.
9084         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9085         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9086         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9087         (test-xfail-XPG4/netdb.h/conform): Likewise.
9088         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9089         (test-xfail-XPG4/signal.h/conform): Likewise.
9090         (test-xfail-XPG4/stdio.h/conform): Likewise.
9091         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9092         (test-xfail-XPG4/stropts.h/conform): Likewise.
9093         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9094         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9095         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9096         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9097         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9098         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9099         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9100         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9101         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9102         (test-xfail-XPG4/termios.h/conform): Likewise.
9103         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9104         (test-xfail-XPG4/unistd.h/conform): Likewise.
9105         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9106         (test-xfail-POSIX/sched.h/conform): Likewise.
9107         (test-xfail-POSIX/signal.h/conform): Likewise.
9108         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9109         (test-xfail-POSIX/tar.h/conform): Likewise.
9110         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9111         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9112         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9113         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9114         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9115         (test-xfail-UNIX98/sched.h/conform): Likewise.
9116         (test-xfail-UNIX98/signal.h/conform): Likewise.
9117         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9118         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9119         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9120         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9121         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9122         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9123         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9124         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9125         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9126         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9127         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9128         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9129         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9130         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9131         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9132         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9133         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9134         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9135         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9136         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9137         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9138         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9139         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9140         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9141         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9142         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9143         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9144         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9145         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9146         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9147         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9148         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9149         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9150         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9151         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9152         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9153         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9154         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9155         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9156         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9157         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9158         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9159         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9160         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9161         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9162         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9163         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9164         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9165         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9166         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9167         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9168         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9169         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9170         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9171         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9172         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9173         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9174         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9175         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9176         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9177         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9178         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9179         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9180         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9181         (conformtest-cc-flags): Likewise.
9182         ($(conformtest-header-tests): New target.
9183         * conform/check-header-lists.sh: New file.
9184         * conform/run-conformtest.sh: Remove.
9185
9186         * conform/conformtest.pl: Allow ' and \ in values given for
9187         constants.
9188         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9189         inclusion.
9190         [POSIX] (sys/types.h): Likewise.
9191         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9192         inclusion.
9193         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9194         inclusion.
9195         * conform/data/signal.h-data (SIGIO): Remove expectation.
9196         [XPG3] (SIGBUS): Do not expect.
9197         [POSIX || XPG3] (SIGPOLL): Likewise.
9198         [POSIX || XPG3] (SIGPROF): Likewise.
9199         [POSIX || XPG3] (SIGSYS): Likewise.
9200         [XPG3] (SIGTRAP): Likewise.
9201         [POSIX || XPG3] (SIGURG): Likewise.
9202         [POSIX || XPG3] (SIGVTALRM): Likewise.
9203         [POSIX || XPG3] (SIGXCPU): Likewise.
9204         [POSIX || XPG3] (SIGXFSZ): Likewise.
9205         [POSIX] (SA_SIGINFO): Expect.
9206         [XPG3] (siginfo_t): Do not expect type or contents.
9207         [POSIX] (si_pid): Do not expect element.
9208         [POSIX] (si_uid): Likewise.
9209         [POSIX] (si_addr): Likewise.
9210         [POSIX] (si_status): Likewise.
9211         [POSIX] (si_band): Likewise.
9212         [XPG4] (si_value): Likewise.
9213         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9214         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9215         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9216         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9217         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9218         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9219         [POSIX || XPG3] (ILL_COPROC): Likewise.
9220         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9221         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9222         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9223         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9224         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9225         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9226         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9227         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9228         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9229         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9230         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9231         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9232         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9233         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9234         [POSIX || XPG3] (CLD_EXITED): Likewise.
9235         [POSIX || XPG3] (CLD_KILLED): Likewise.
9236         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9237         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9238         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9239         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9240         [POSIX || XPG3] (POLL_IN): Likewise.
9241         [POSIX || XPG3] (POLL_OUT): Likewise.
9242         [POSIX || XPG3] (POLL_MSG): Likewise.
9243         [POSIX || XPG3] (POLL_ERR): Likewise.
9244         [POSIX || XPG3] (POLL_PRI): Likewise.
9245         [POSIX || XPG3] (POLL_HUP): Likewise.
9246         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9247         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9248         (SIG*): Do not allow.
9249         [XPG3] (si_*): Likewise.
9250         [XPG3] (SI_*): Likewise.
9251         [XPG3 || XPG4] (sigev_*): Likewise.
9252         [XPG3 || XPG4] (SIGEV_*): Likewise.
9253         [XPG3 || XPG4] (sival_*): Likewise.
9254         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9255         [POSIX || XPG3] (BUS_*): Likewise.
9256         [POSIX || XPG3] (CLD_*): Likewise.
9257         [POSIX || XPG3] (FPE_*): Likewise.
9258         [POSIX || XPG3] (ILL_*): Likewise.
9259         [POSIX || XPG3] (POLL_*): Likewise.
9260         [POSIX || XPG3] (SEGV_*): Likewise.
9261         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9262         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9263         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9264         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9265         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9266         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9267         Specify type and value.
9268         (TVERSLEN): Likewise.
9269         (REGTYPE): Likewise.
9270         (AREGTYPE): Likewise.
9271         (LNKTYPE): Likewise.
9272         (SYMTYPE): Likewise.
9273         (CHRTYPE): Likewise.
9274         (BLKTYPE): Likewise.
9275         (DIRTYPE): Likewise.
9276         (FIFOTYPE): Likewise.
9277         (CONTTYPE): Likewise.
9278         (TSUID): Likewise.
9279         (TSGID): Likewise.
9280         (TSVTX): Likewise.
9281         (TUREAD): Likewise.
9282         (TUWRITE): Likewise.
9283         (TUEXEC): Likewise.
9284         (TGREAD): Likewise.
9285         (TGWRITE): Likewise.
9286         (TGEXEC): Likewise.
9287         (TOREAD): Likewise.
9288         (TOWRITE): Likewise.
9289         (TOEXEC): Likewise.
9290         [POSIX] (TSVTX): Expect constant.
9291
9292 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9293
9294         * Makefile (tests): Change dependencies to ....
9295         (tests-special): ... additions to this variable.
9296         (tests): Depend on $(tests-special).
9297         * Makerules (check-abi-list): New variable.
9298         (check-abi): Depend on $(check-abi-list).
9299         [$(subdir) = elf] (tests-special): Add
9300         $(objpfx)check-abi-libc.out.
9301         [$(build-shared) = yes && subdir] (tests-special): Add
9302         $(check-abi-list).
9303         [$(build-shared) = yes && subdir] (tests): Do not depend on
9304         check-abi.
9305         * Rules (tests): Depend on $(tests-special).
9306         (xtests): Depend on $(xtests-special).
9307         * catgets/Makefile (tests): Change dependencies to ....
9308         (tests-special): ... additions to this variable.
9309         * conform/Makefile (tests): Change dependencies to ....
9310         (tests-special): ... additions to this variable.
9311         * elf/Makefile (tests): Change dependencies to ....
9312         (tests-special): ... additions to this variable.
9313         * grp/Makefile (tests): Change dependencies to ....
9314         (tests-special): ... additions to this variable.
9315         * iconv/Makefile (xtests): Change dependencies to ....
9316         (xtests-special): ... additions to this variable.
9317         * iconvdata/Makefile (tests): Change dependencies to ....
9318         (tests-special): ... additions to this variable.
9319         * intl/Makefile (tests): Change dependencies to ....
9320         (tests-special): ... additions to this variable.  Also add
9321         $(objpfx)tst-gettext.out.
9322         * io/Makefile (tests): Change dependencies to ....
9323         (tests-special): ... additions to this variable.
9324         * libio/Makefile (tests): Change dependencies to ....
9325         (tests-special): ... additions to this variable.
9326         * malloc/Makefile (tests): Change dependencies to ....
9327         (tests-special): ... additions to this variable.
9328         * misc/Makefile (tests): Change dependencies to ....
9329         (tests-special): ... additions to this variable.
9330         * nptl/Makefile (tests): Change dependencies to ....
9331         (tests-special): ... additions to this variable.
9332         * nptl_db/Makefile (tests): Change dependencies to ....
9333         (tests-special): ... additions to this variable.
9334         * posix/Makefile (tests): Change dependencies to ....
9335         (tests-special): ... additions to this variable.
9336         (xtests): Change dependencies to ....
9337         (xtests-special): ... additions to this variable.
9338         * resolv/Makefile (tests): Change dependencies to ....
9339         (tests-special): ... additions to this variable.
9340         (xtests): Change dependencies to ....
9341         (xtests-special): ... additions to this variable.
9342         * stdio-common/Makefile (tests): Change dependencies to ....
9343         (tests-special): ... additions to this variable.
9344         (do-tst-unbputc): Remove target.
9345         (do-tst-printf): Likewise.
9346         * stdlib/Makefile (tests): Change dependencies to ....
9347         (tests-special): ... additions to this variable.
9348         * string/Makefile (tests): Change dependencies to ....
9349         (tests-special): ... additions to this variable.
9350         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9351         (tests-special): ... additions to this variable.
9352
9353         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9354         whole file.
9355         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9356         whole file.
9357         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9358         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9359
9360         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9361         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9362         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9363         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9364         * conform/data/libgen.h-data [XPG3]: Likewise.
9365         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9366         * conform/data/ndbm.h-data [XPG3]: Likewise.
9367         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9368         * conform/data/netdb.h-data [XPG3]: Likewise.
9369         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9370         * conform/data/poll.h-data [XPG3]: Likewise.
9371         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9372         * conform/data/strings.h-data [XPG3]: Likewise.
9373         * conform/data/stropts.h-data [XPG3]: Likewise.
9374         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9375         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9376         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9377         Likewise.
9378         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9379         * conform/data/sys/time.h-data [XPG3]: Likewise.
9380         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9381         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9382         * conform/data/sys/un.h-data [XPG3]: Likewise.
9383         * conform/data/syslog.h-data [XPG3]: Likewise.
9384         * conform/data/ucontext.h-data [XPG3]: Likewise.
9385         * conform/data/utmpx.h-data [XPG3]: Likewise.
9386         * conform/data/varargs.h-data [UNIX98]: Enable file.
9387
9388         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9389
9390         * math/libm-test.inc (struct test_f_f_data): Move expected results
9391         into structure for each rounding mode.
9392         (struct test_ff_f_data): Likewise.
9393         (struct test_ff_f_data_nexttoward): Likewise.
9394         (struct test_fi_f_data): Likewise.
9395         (struct test_fl_f_data): Likewise.
9396         (struct test_if_f_data): Likewise.
9397         (struct test_fff_f_data): Likewise.
9398         (struct test_c_f_data): Likewise.
9399         (struct test_f_f1_data): Likewise.
9400         (struct test_fF_f1_data): Likewise.
9401         (struct test_ffI_f1_data): Likewise.
9402         (struct test_c_c_data): Likewise.
9403         (struct test_cc_c_data): Likewise.
9404         (struct test_f_i_data): Likewise.
9405         (struct test_ff_i_data): Likewise.
9406         (struct test_f_l_data): Likewise.
9407         (struct test_f_L_data): Likewise.
9408         (struct test_fFF_11_data): Likewise.
9409         (RM_): New macro.
9410         (RM_FE_DOWNWARD): Likewise.
9411         (RM_FE_TONEAREST): Likewise.
9412         (RM_FE_TOWARDZERO): Likewise.
9413         (RM_FE_UPWARD): Likewise.
9414         (RUN_TEST_LOOP_f_f): Update references to expected results.
9415         (RUN_TEST_LOOP_2_f): Likewise.
9416         (RUN_TEST_LOOP_fff_f): Likewise.
9417         (RUN_TEST_LOOP_c_f): Likewise.
9418         (RUN_TEST_LOOP_f_f1): Likewise.
9419         (RUN_TEST_LOOP_fF_f1): Likewise.
9420         (RUN_TEST_LOOP_fI_f1): Likewise.
9421         (RUN_TEST_LOOP_ffI_f1): Likewise.
9422         (RUN_TEST_LOOP_c_c): Likewise.
9423         (RUN_TEST_LOOP_cc_c): Likewise.
9424         (RUN_TEST_LOOP_f_i): Likewise.
9425         (RUN_TEST_LOOP_f_i_tg): Likewise.
9426         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9427         (RUN_TEST_LOOP_f_b): Likewise.
9428         (RUN_TEST_LOOP_f_b_tg): Likewise.
9429         (RUN_TEST_LOOP_f_l): Likewise.
9430         (RUN_TEST_LOOP_f_L): Likewise.
9431         (RUN_TEST_LOOP_fFF_11): Likewise.
9432         * math/gen-libm-test.pl (parse_args): Output four copies of
9433         expected results for each test.
9434
9435         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9436         (__ASSUME_UTIMES): Remove.
9437         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9438         (__ASSUME_UTIMES): Likewise.
9439
9440         * math/gen-auto-libm-tests.c: Update comment on output format.
9441         (output_for_one_input_case): Generate before-rounding and
9442         after-rounding information as conditions on output flags not
9443         floating-point format.
9444         * math/auto-libm-test-out: Regenerated.
9445         * math/gen-libm-test.pl (cond_value): New function.
9446         (or_cond_value): Use cond_value.
9447         (generate_testfile): Handle conditional exceptions.
9448
9449 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9450
9451         * math/libm-test.inc (max_valid_error): New variable.
9452         (init_max_error): Take new argument specifying whether function
9453         results are exactly determined.  Set max_valid_error and bound
9454         other variables for errors based on this argument.
9455         (set_max_error): Do not record results above max_valid_error.
9456         (check_float_internal): Only accept errors of up to 0.5ulps if
9457         also at most max_valid_error.
9458         (START): Take new argument EXACT and pass it to init_max_error.
9459         (acos_test): Update call to START.
9460         (acos_test_tonearest): Likewise.
9461         (acos_test_towardzero): Likewise.
9462         (acos_test_downward): Likewise.
9463         (acos_test_upward): Likewise.
9464         (acosh_test): Likewise.
9465         (asin_test): Likewise.
9466         (asin_test_tonearest): Likewise.
9467         (asin_test_towardzero): Likewise.
9468         (asin_test_downward): Likewise.
9469         (asin_test_upward): Likewise.
9470         (asinh_test): Likewise.
9471         (atan_test): Likewise.
9472         (atanh_test): Likewise.
9473         (atan2_test): Likewise.
9474         (cabs_test): Likewise.
9475         (cacos_test): Likewise.
9476         (cacosh_test): Likewise.
9477         (carg_test): Likewise.
9478         (casin_test): Likewise.
9479         (casinh_test): Likewise.
9480         (catan_test): Likewise.
9481         (catanh_test): Likewise.
9482         (cbrt_test): Likewise.
9483         (ccos_test): Likewise.
9484         (ccosh_test): Likewise.
9485         (ceil_test): Likewise.
9486         (cexp_test): Likewise.
9487         (cimag_test): Likewise.
9488         (clog_test): Likewise.
9489         (clog10_test): Likewise.
9490         (conj_test): Likewise.
9491         (copysign_test): Likewise.
9492         (cos_test): Likewise.
9493         (cos_test_tonearest): Likewise.
9494         (cos_test_towardzero): Likewise.
9495         (cos_test_downward): Likewise.
9496         (cos_test_upward): Likewise.
9497         (cosh_test): Likewise.
9498         (cosh_test_tonearest): Likewise.
9499         (cosh_test_towardzero): Likewise.
9500         (cosh_test_downward): Likewise.
9501         (cosh_test_upward): Likewise.
9502         (cpow_test): Likewise.
9503         (cproj_test): Likewise.
9504         (creal_test): Likewise.
9505         (csin_test): Likewise.
9506         (csinh_test): Likewise.
9507         (csqrt_test): Likewise.
9508         (ctan_test): Likewise.
9509         (ctan_test_tonearest): Likewise.
9510         (ctan_test_towardzero): Likewise.
9511         (ctan_test_downward): Likewise.
9512         (ctan_test_upward): Likewise.
9513         (ctanh_test): Likewise.
9514         (ctanh_test_tonearest): Likewise.
9515         (ctanh_test_towardzero): Likewise.
9516         (ctanh_test_downward): Likewise.
9517         (ctanh_test_upward): Likewise.
9518         (erf_test): Likewise.
9519         (erfc_test): Likewise.
9520         (exp_test): Likewise.
9521         (exp_test_tonearest): Likewise.
9522         (exp_test_towardzero): Likewise.
9523         (exp_test_downward): Likewise.
9524         (exp_test_upward): Likewise.
9525         (exp10_test): Likewise.
9526         (exp10_test_tonearest): Likewise.
9527         (exp10_test_towardzero): Likewise.
9528         (exp10_test_downward): Likewise.
9529         (exp10_test_upward): Likewise.
9530         (pow10_test): Likewise.
9531         (exp2_test): Likewise.
9532         (expm1_test): Likewise.
9533         (expm1_test_tonearest): Likewise.
9534         (expm1_test_towardzero): Likewise.
9535         (expm1_test_downward): Likewise.
9536         (expm1_test_upward): Likewise.
9537         (fabs_test): Likewise.
9538         (fdim_test): Likewise.
9539         (floor_test): Likewise.
9540         (fma_test): Likewise.
9541         (fma_test_towardzero): Likewise.
9542         (fma_test_downward): Likewise.
9543         (fma_test_upward): Likewise.
9544         (fmax_test): Likewise.
9545         (fmin_test): Likewise.
9546         (fmod_test): Likewise.
9547         (fpclassify_test): Likewise.
9548         (frexp_test): Likewise.
9549         (hypot_test): Likewise.
9550         (ilogb_test): Likewise.
9551         (isfinite_test): Likewise.
9552         (finite_test): Likewise.
9553         (isgreater_test): Likewise.
9554         (isgreaterequal_test): Likewise.
9555         (isinf_test): Likewise.
9556         (isless_test): Likewise.
9557         (islessequal_test): Likewise.
9558         (islessgreater_test): Likewise.
9559         (isnan_test): Likewise.
9560         (isnormal_test): Likewise.
9561         (issignaling_test): Likewise.
9562         (isunordered_test): Likewise.
9563         (j0_test): Likewise.
9564         (j1_test): Likewise.
9565         (jn_test): Likewise.
9566         (ldexp_test): Likewise.
9567         (lgamma_test): Likewise.
9568         (gamma_test): Likewise.
9569         (lrint_test): Likewise.
9570         (lrint_test_tonearest): Likewise.
9571         (lrint_test_towardzero): Likewise.
9572         (lrint_test_downward): Likewise.
9573         (lrint_test_upward): Likewise.
9574         (llrint_test): Likewise.
9575         (llrint_test_tonearest): Likewise.
9576         (llrint_test_towardzero): Likewise.
9577         (llrint_test_downward): Likewise.
9578         (llrint_test_upward): Likewise.
9579         (log_test): Likewise.
9580         (log10_test): Likewise.
9581         (log1p_test): Likewise.
9582         (log2_test): Likewise.
9583         (logb_test): Likewise.
9584         (logb_test_downward): Likewise.
9585         (lround_test): Likewise.
9586         (llround_test): Likewise.
9587         (modf_test): Likewise.
9588         (nearbyint_test): Likewise.
9589         (nextafter_test): Likewise.
9590         (nexttoward_test): Likewise.
9591         (pow_test): Likewise.
9592         (pow_test_tonearest): Likewise.
9593         (pow_test_towardzero): Likewise.
9594         (pow_test_downward): Likewise.
9595         (pow_test_upward): Likewise.
9596         (remainder_test): Likewise.
9597         (drem_test): Likewise.
9598         (remainder_test_tonearest): Likewise.
9599         (drem_test_tonearest): Likewise.
9600         (remainder_test_towardzero): Likewise.
9601         (drem_test_towardzero): Likewise.
9602         (remainder_test_downward): Likewise.
9603         (drem_test_downward): Likewise.
9604         (remainder_test_upward): Likewise.
9605         (drem_test_upward): Likewise.
9606         (remquo_test): Likewise.
9607         (rint_test): Likewise.
9608         (rint_test_tonearest): Likewise.
9609         (rint_test_towardzero): Likewise.
9610         (rint_test_downward): Likewise.
9611         (rint_test_upward): Likewise.
9612         (round_test): Likewise.
9613         (scalb_test): Likewise.
9614         (scalbn_test): Likewise.
9615         (scalbln_test): Likewise.
9616         (signbit_test): Likewise.
9617         (sin_test): Likewise.
9618         (sin_test_tonearest): Likewise.
9619         (sin_test_towardzero): Likewise.
9620         (sin_test_downward): Likewise.
9621         (sin_test_upward): Likewise.
9622         (sincos_test): Likewise.
9623         (sinh_test): Likewise.
9624         (sinh_test_tonearest): Likewise.
9625         (sinh_test_towardzero): Likewise.
9626         (sinh_test_downward): Likewise.
9627         (sinh_test_upward): Likewise.
9628         (sqrt_test): Likewise.
9629         (sqrt_test_tonearest): Likewise.
9630         (sqrt_test_towardzero): Likewise.
9631         (sqrt_test_downward): Likewise.
9632         (sqrt_test_upward): Likewise.
9633         (tan_test): Likewise.
9634         (tan_test_tonearest): Likewise.
9635         (tan_test_towardzero): Likewise.
9636         (tan_test_downward): Likewise.
9637         (tan_test_upward): Likewise.
9638         (tanh_test): Likewise.
9639         (tgamma_test): Likewise.
9640         (trunc_test): Likewise.
9641         (y0_test): Likewise.
9642         (y1_test): Likewise.
9643         (yn_test): Likewise.
9644         (significand_test): Likewise.
9645
9646         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9647         individual tests in comment.
9648         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9649         (prev_max_error): New variable.
9650         (prev_real_max_error): Likewise.
9651         (prev_imag_max_error): Likewise.
9652         (compare_ulp_data): Don't refer to test names in comment.
9653         (find_test_ulps): Remove function.
9654         (find_function_ulps): Likewise.
9655         (find_complex_function_ulps): Likewise.
9656         (init_max_error): Take function name as argument.  Look up ulps
9657         for that function.
9658         (print_ulps): Remove function.
9659         (print_max_error): Use prev_max_error instead of calling
9660         find_function_ulps.
9661         (print_complex_max_error): Use prev_real_max_error and
9662         prev_imag_max_error instead of calling find_complex_function_ulps.
9663         (check_float_internal): Take max_ulp parameter instead of calling
9664         find_test_ulps.  Don't call print_ulps.
9665         (check_float): Update call to check_float_internal.
9666         (check_complex): Update calls to check_float_internal.
9667         (START): Pass argument to init_max_error.
9668         * math/gen-libm-test.pl (%results): Don't include "kind"
9669         information.
9670         (parse_ulps): Don't handle ulps of individual tests.
9671         (print_ulps_file): Likewise.
9672         (output_ulps): Likewise.
9673         * math/README.libm-test: Update.
9674         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9675         individual tests.
9676         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9677         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9678         * sysdeps/arm/libm-test-ulps: Likewise.
9679         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9680         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9681         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9682         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9683         * sysdeps/microblaze/libm-test-ulps: Likewise.
9684         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9685         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9686         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9687         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9688         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9689         * sysdeps/sh/libm-test-ulps: Likewise.
9690         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9691         * sysdeps/tile/libm-test-ulps: Likewise.
9692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9693
9694 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9695
9696         * math/libm-test.inc (print_complex_max_error): Check separately
9697         whether real and imaginary errors are within allowed range and
9698         pass 0 to print_complex_function_ulps instead of value within
9699         allowed range.
9700
9701 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9702
9703         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9704         formatting.
9705         (get_handles_fopen): Likewise.
9706         (do_write_test): Likewise.
9707
9708         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9709
9710         * libio/fileops.c (do_ftell): Use cached offset when
9711         available.
9712         * libio/iofwide.c (do_ftell_wide): Likewise.
9713         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9714         _IO_file_attach.
9715         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9716
9717         [BZ #16532]
9718         * libio/libioP.h (get_file_offset): New function.
9719         * libio/fileops.c (get_file_offset): Likewise.
9720         (do_ftell): Likewise.
9721         (_IO_new_file_seekoff): Split out ftell logic.
9722         * libio/wfileops.c (do_ftell_wide): Likewise.
9723         (_IO_wfile_seekoff): Split out ftell logic.
9724         * libio/tst-ftell-active-handler.c: New test case.
9725         * libio/Makefile (tests): Add it.
9726
9727 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9728
9729         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9730         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9731
9732 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9733
9734         [BZ #16639]
9735         * nscd/connections.c (nscd_init): Call do_exit.
9736         (start_threads): Call do_exit and notify_parent.
9737         (begin_drop_privileges): Call do_exit.
9738         (finish_drop_privileges): Likewise.
9739         * nscd/selinux.c (preserve_capabilities): Likewise.
9740         (install_real_capabilities): Likewise.
9741         (nscd_selinux_enabled): Likewise.
9742         (avc_create_thread): Likewise.
9743         (avc_alloc_lock): Likewise.
9744         (nscd_avc_init): Likewise.
9745         * nscd/nscd.c (parent_fd): New static variable.
9746         (main): Create a pipe between parent and child processes.
9747         Skip closing parent_fd.
9748         (monitor_child): New function.
9749         (do_exit): Likewise.
9750         (notify_parent): Likewise.
9751         * nscd/nscd.h (notify_parent): Likewise.
9752         (do_exit): Likewise.
9753
9754 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9755
9756         * malloc/malloc.c (__libc_calloc): Revert last change.
9757
9758 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9759
9760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9761
9762 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9763
9764         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9766         implementation.
9767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9768         (__libc_ifunc_impl_list): Likewise.
9769         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9770         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9771         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9772         * string/strrchr.c: Define STRRCHR.
9773
9774 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9775
9776         * benchtest/bench-strtok.c (simple_strtok): Delete.
9777         (strtok_string): Use as benchmark.
9778         * string/strtok (STRTOK): New macro.
9779
9780 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9781
9782         * manual/threads.texi: Add header and standard comments to all
9783         functions.
9784
9785         * elf/dl-lookup.c (check_match): New function.
9786         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9787         (do_lookup_x): Remove nested function check_match. Use non-nested
9788         function check_match.
9789
9790 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9791
9792         * csu/Makefile (generated, before-compile): Use += rather than =.
9793         * catgets/Makefile (generated, generated-dirs): Likewise.
9794         * debug/Makefile (generated): Likewise.
9795         * dlfcn/Makefile (generated): Likewise.
9796         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9797         * iconvdata/Makefile (before-compile, generated): Likewise.
9798         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9799         * libio/Makefile (generated): Likewise.
9800         * malloc/Makefile (generated): Likewise.
9801         * manual/Makefile (generated, generated-dirs): Likewise.
9802         * misc/Makefile (generated): Likewise.
9803         * posix/Makefile (generated): Likewise.
9804         * resolv/Makefile (generated): Likewise.
9805         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9806         * timezone/Makefile (generated, generated-dirs): Likewise.
9807
9808         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9809
9810 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9811
9812         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9813         power8 implementation.
9814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9815         file: POWER8 llround ifunc implementation.
9816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9817         (__lllround): Add POWER8 implementation.
9818         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9819         POWER8 llround implementation.
9820
9821         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9822         power8 implementation.
9823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9824         file: POWER8 llrint ifunc implementation.
9825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9826         Add POWER8 implementation.
9827         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9828         POWER8 llrint implementation.
9829
9830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9831         power8 implementation.
9832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9833         file: POWER8 finite ifunc implementation.
9834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9835         Add POWER8 implementation.
9836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9837         Likewise.
9838         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9839         POWER8 finite implementation.
9840         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9841
9842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9843         power8 implementation.
9844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9845         file: POWER8 isinf ifunc implementation.
9846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9847         POWER8 implementation.
9848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9849         Likewise.
9850         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9851         isinf implementation.
9852         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9853
9854         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9855         (INIT_ARCH): Add hwcap2 initialization.
9856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9857         power8 implementation.
9858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9859         file: POWER8 isnan ifunc implementation.
9860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9861         POWER8 implementation.
9862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9863         Likewise.
9864         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9865         isnan implementation.
9866         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9867
9868 2014-02-27  Joey Ye  <joey.ye@arm.com>
9869
9870         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9871         (_FP_NANFRAC_Q): Set to zero.
9872
9873 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9874
9875         [BZ #16623]
9876         * math/auto-libm-test-in: New test inputs.
9877         * math/auto-libm-test-out: Regenerate.
9878         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9879         and DA.
9880         (__cos): Likewise.
9881         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9882
9883 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9884
9885         * scripts/evaluate-test.sh: Take new argument indicating whether
9886         failure is expected.
9887         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9888         indicating whether failure is expected.
9889         * conform/Makefile (test-xfail-run-conformtest): New variable.
9890         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9891         level.
9892         * posix/Makefile (test-xfail-annexc): New variable.
9893         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9894
9895 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9896
9897         * argp/Makefile: Include Makeconfig immediately after defining
9898         subdir.
9899         * assert/Makefile: Likewise.
9900         * benchtests/Makefile: Likewise.
9901         * catgets/Makefile: Likewise.
9902         * conform/Makefile: Likewise.
9903         * crypt/Makefile: Likewise.
9904         * csu/Makefile: Likewise.
9905         (all): Remove target.
9906         * ctype/Makefile: Include Makeconfig immediately after defining
9907         subdir.
9908         * debug/Makefile: Likewise.
9909         * dirent/Makefile: Likewise.
9910         * dlfcn/Makefile: Likewise.
9911         * gmon/Makefile: Likewise.
9912         * gnulib/Makefile: Likewise.
9913         * grp/Makefile: Likewise.
9914         * gshadow/Makefile: Likewise.
9915         * hesiod/Makefile: Likewise.
9916         * hurd/Makefile: Likewise.
9917         (all): Remove target.
9918         * iconvdata/Makefile: Include Makeconfig immediately after
9919         defining subdir.
9920         * inet/Makefile: Likewise.
9921         * intl/Makefile: Likewise.
9922         * io/Makefile: Likewise.
9923         * libio/Makefile: Likewise.
9924         (all): Remove target.
9925         * locale/Makefile: Include Makeconfig immediately after defining
9926         subdir.
9927         * login/Makefile: Likewise.
9928         * mach/Makefile: Likewise.
9929         (all): Remove target.
9930         * malloc/Makefile: Include Makeconfig immediately after defining
9931         subdir.
9932         (all): Remove target.
9933         * manual/Makefile: Include Makeconfig immediately after defining
9934         subdir.
9935         * math/Makefile: Likewise.
9936         * misc/Makefile: Likewise.
9937         * nis/Makefile: Likewise.
9938         * nss/Makefile: Likewise.
9939         * po/Makefile: Likewise.
9940         (all): Remove target.
9941         * posix/Makefile: Include Makeconfig immediately after defining
9942         subdir.
9943         * pwd/Makefile: Likewise.
9944         * resolv/Makefile: Likewise.
9945         * resource/Makefile: Likewise.
9946         * rt/Makefile: Likewise.
9947         * setjmp/Makefile: Likewise.
9948         * shadow/Makefile: Likewise.
9949         * signal/Makefile: Likewise.
9950         * socket/Makefile: Likewise.
9951         * soft-fp/Makefile: Likewise.
9952         * stdio-common/Makefile: Likewise.
9953         * stdlib/Makefile: Likewise.
9954         * streams/Makefile: Likewise.
9955         * string/Makefile: Likewise.
9956         * sunrpc/Makefile: Likewise.
9957         (all): Remove target.
9958         * sysvipc/Makefile: Include Makeconfig immediately after defining
9959         subdir.
9960         * termios/Makefile: Likewise.
9961         * time/Makefile: Likewise.
9962         * timezone/Makefile: Likewise.
9963         (all): Remove target.
9964         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9965         subdir.
9966         * wctype/Makefile: Likewise.
9967
9968 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9969
9970         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9971         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9972         (libc_feholdexcept_setround_mips): Ditto.
9973         (libc_feholdsetround): New.
9974         (libc_feholdsetroundf): New.
9975         (libc_feholdsetroundl): New.
9976         (libc_feupdateenv_test_mips): New.
9977         (libc_feupdateenv_test): New.
9978         (libc_feupdateenv_testf): New.
9979         (libc_feupdateenv_testl): New.
9980         (libc_feresetround): New.
9981         (libc_feresetroundf): New.
9982         (libc_feresetroundl): New.
9983         (libc_fetestexcept_mips): New.
9984         (libc_fetestexcept): New.
9985         (libc_fetestexceptf): New.
9986         (libc_fetestexceptl): New.
9987         (HAVE_RM_CTX): New.
9988         (libc_feholdexcept_setround_mips_ctx): New.
9989         (libc_feholdexcept_setround_ctx): New.
9990         (libc_feholdexcept_setroundf_ctx): New.
9991         (libc_feholdexcept_setroundl_ctx): New.
9992         (libc_fesetenv_mips_ctx): New.
9993         (libc_fesetenv_ctx): New.
9994         (libc_fesetenv_ctxf): New.
9995         (libc_fesetenv_ctxl): New.
9996         (libc_feupdateenv_mips_ctx): New.
9997         (libc_feupdateenv_ctx): New.
9998         (libc_feupdateenvf_ctx): New.
9999         (libc_feupdateenvl_ctx): New.
10000         (libc_feholdsetround_mips_ctx): New.
10001         (libc_feholdsetround_ctx): New.
10002         (libc_feholdsetroundf_ctx): New.
10003         (libc_feholdsetroundl_ctx): New.
10004         (libc_feresetround_mips_ctx): New.
10005         (libc_feresetround_ctx): New.
10006         (libc_feresetroundf_ctx): New.
10007         (libc_feresetroundl_ctx): New.
10008
10009 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10010
10011         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10012
10013         * manual/ipc.texi: New file.
10014         * manual/Makefile (chapters): Add ipc.
10015         * manual/job.texi: Add "Inter-Process Communication" to next.
10016         * manual/process.texi: Add "Inter-Process Communication" to prev.
10017
10018 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10019
10020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10021
10022 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10023
10024         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10025
10026         * manual/arith.texi: Fix spaces after sentences.
10027         * manual/charset.texi: Likewise.
10028         * manual/errno.texi: Likewise.
10029         * manual/install.texi: Likewise.
10030         * manual/llio.texi: Likewise.
10031         * manual/locale.texi: Likewise.
10032         * manual/maint.texi: Likewise.
10033         * manual/math.texi: Likewise.
10034         * manual/memory.texi: Likewise.
10035         * manual/message.texi: Likewise.
10036         * manual/probes.texi: Likewise.
10037         * manual/resource.texi: Likewise.
10038         * manual/signal.texi: Likewise.
10039         * manual/socket.texi: Likewise.
10040         * manual/stdio.texi: Likewise.
10041         * manual/string.texi: Likewise.
10042         * manual/time.texi: Likewise.
10043         * manual/users.texi: Likewise.
10044
10045 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10046
10047         [BZ #16632]
10048         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10049         _DEFAULT_SOURCE is defined.
10050
10051 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10052             Carlos O'Donell  <carlos@redhat.com>
10053
10054         [BZ #16613]
10055         * elf/dl-tls.c (_dl_count_modids): New function.
10056         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10057         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10058         audit library and increment generation counter.
10059         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10060         * elf/tst-audit9.c: New file.
10061         * elf/tst-auditmod9a.c: New file.
10062         * elf/tst-auditmod9b.c: New file.
10063         * elf/Makefile: Add rules to build and run tst-audit9.
10064
10065 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10066
10067         [BZ #15347]
10068         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10069
10070 2014-02-25  Will Newton  <will.newton@linaro.org>
10071
10072         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10073         (__longjmp): Restore sp and lr before restoring callee
10074         saved registers.  Add longjmp and longjmp_target
10075         SystemTap probe point.
10076         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10077         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10078         Define to zero to match jmpbuf layout.
10079         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10080         (__sigsetjmp): Save sp and lr before saving callee
10081         saved registers.  Add setjmp SystemTap probe point.
10082
10083 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10084
10085         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10086
10087 2014-02-24  Andreas Schwab  <schwab@suse.de>
10088
10089         [BZ #15804]
10090         * elf/pldd.c (wait_for_ptrace_stop): New function.
10091         (main): Call it after attaching.
10092
10093 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10094
10095         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10096         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10097         Versions files is now verboten.
10098         * hurd/Versions (libc: GLIBC_2.0):
10099         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10100         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10101         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10102         * mach/Versions: Likewise.
10103
10104         * csu/Versions: Remove unused %include.
10105         * resolv/Versions: Likewise.
10106
10107 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10108
10109         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10110         ($(objpfx)check-local-headers.out): Likewise.
10111         ($(objpfx)begin-end-check.out): Likewise.
10112         * Makerules (check-abi-%.out): Likewise.
10113         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10114         ($(objpfx)test2.cat): Likewise.
10115         ($(objpfx)de/libc.cat): Likewise.
10116         ($(objpfx)test-gencat.out): Likewise.
10117         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10118         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10119         ($(objpfx)noload-mem): Likewise.
10120         ($(objpfx)tst-pathopt.out): Likewise.
10121         ($(objpfx)tst-rtld-load-self.out): Likewise.
10122         ($(objpfx)tst-array1-cmp.out): Likewise.
10123         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10124         ($(objpfx)tst-array2-cmp.out): Likewise.
10125         ($(objpfx)tst-array3-cmp.out): Likewise.
10126         ($(objpfx)tst-array4-cmp.out): Likewise.
10127         ($(objpfx)tst-array5-cmp.out): Likewise.
10128         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10129         ($(objpfx)check-textrel.out): Likewise.
10130         ($(objpfx)check-execstack.out): Likewise.
10131         ($(objpfx)check-localplt.out): Likewise.
10132         ($(objpfx)order2-cmp.out): Likewise.
10133         ($(objpfx)tst-leaks1-mem): Likewise.
10134         ($(objpfx)tst-leaks1-static-mem): Likewise.
10135         ($(objpfx)tst-initorder-cmp.out): Likewise.
10136         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10137         ($(objpfx)tst-unused-dep.out): Likewise.
10138         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10139         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10140         * iconv/Makefile (test-iconvconfig): Likewise.
10141         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10142         ($(objpfx)iconv-test.out): Likewise.
10143         ($(objpfx)tst-tables.out): Likewise.
10144         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10145         ($(objpfx)tst-gettext.out): Likewise.
10146         ($(objpfx)tst-translit.out): Likewise.
10147         ($(objpfx)tst-gettext2.out): Likewise.
10148         ($(objpfx)tst-gettext4.out): Likewise.
10149         ($(objpfx)tst-gettext6.out): Likewise.
10150         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10151         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10152         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10153         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10154         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10155         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10156         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10157         ($(objpfx)wordexp-tst.out): Likewise.
10158         ($(objpfx)annexc.out): Likewise.
10159         ($(objpfx)tst-fnmatch-mem): Likewise.
10160         ($(objpfx)bug-regex2-mem): Likewise.
10161         ($(objpfx)bug-regex14-mem): Likewise.
10162         ($(objpfx)bug-regex21-mem): Likewise.
10163         ($(objpfx)bug-regex31-mem): Likewise.
10164         ($(objpfx)tst-vfork3-mem): Likewise.
10165         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10166         ($(objpfx)tst-pcre-mem): Likewise.
10167         ($(objpfx)tst-boost-mem): Likewise.
10168         ($(objpfx)tst-getconf.out): Likewise.
10169         ($(objpfx)bug-ga2-mem): Likewise.
10170         ($(objpfx)bug-glob2-mem): Likewise.
10171         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10172         ($(objpfx)mtrace-tst-leaks2): Likewise.
10173         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10174         ($(objpfx)tst-printf.out): Likewise.
10175         ($(objpfx)tst-setvbuf1.out): Likewise.
10176         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10177         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10178         ($(objpfx)tst-fmtmsg.out): Likewise.
10179         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10180         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10181
10182         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10183         * bits/sigaction.h [__USE_MISC]: Likewise.
10184         * bits/waitstatus.h: Update #endif comments.
10185         * ctype/ctype.h: Likewise.
10186         * dirent/dirent.h: Likewise.
10187         [__USE_MISC]: Remove redundant conditionals.
10188         * grp/grp.h: Update #endif comments.
10189         [__USE_GNU]: Remove redundant conditionals.
10190         [__USE_MISC]: Likewise.
10191         * inet/netinet/in.h [__USE_GNU]: Likewise.
10192         * io/sys/stat.h [__USE_MISC]: Likewise.
10193         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10194         * libio/bits/stdio.h: Update #endif comments.
10195         [__USE_MISC]: Remove redundant conditionals.
10196         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10197         * libio/stdio.h: Update #endif comments.
10198         [__USE_MISC]: Remove redundant conditionals.
10199         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10200         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10201         * math/math.h: Update #else and #endif comments.
10202         [__USE_MISC]: Remove redundant conditionals.
10203         * misc/sys/uio.h: Update #endif comments.
10204         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10205         * posix/glob.h [__USE_MISC]: Likewise.
10206         * posix/sys/types.h: Update #endif comments.
10207         [__USE_MISC]: Remove redundant conditionals.
10208         * posix/sys/wait.h: Update #endif comments.
10209         [__USE_MISC]: Remove redundant conditionals.
10210         * posix/unistd.h: Update #endif comments.
10211         [__USE_MISC]: Remove redundant conditionals.
10212         * pwd/pwd.h [__USE_GNU]: Likewise.
10213         [__USE_MISC]: Likewise.
10214         * resolv/netdb.h [__USE_GNU]: Likewise.
10215         * signal/signal.h: Update #endif comments.
10216         [__USE_MISC]: Remove redundant conditionals.
10217         * stdlib/stdlib.h: Update #else and #endif comments.
10218         [__USE_MISC]: Remove redundant conditionals.
10219         [__USE_GNU]: Likewise.
10220         * string/bits/string2.h [__USE_MISC]: Likewise.
10221         * string/string.h: Update #endif comments.
10222         [__USE_MISC]: Remove redundant conditionals.
10223         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10224         Likewise.
10225         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10226         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10227         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10228         Likewise.
10229         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10230         Likewise.
10231         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10232         comments.
10233         [__USE_MISC]: Remove redundant conditionals.
10234         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10235         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10236         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10237         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10238         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10239         Likewise.
10240         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10241         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10242         Likewise.
10243         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10244         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10245         Likewise.
10246         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10247         Likewise.
10248         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10249         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10250         Likewise.
10251         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10252         Likewise.
10253         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10254         * sysdeps/x86/bits/string.h: Update #endif comments.
10255         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10256         conditionals.
10257         * time/sys/time.h: Update #endif comments.
10258         * time/time.h: Likewise.
10259         [__USE_MISC]: Remove redundant conditionals.
10260
10261 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10262
10263         [BZ #16600]
10264         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10265
10266 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10267
10268         * Versions.def (librt): Add GLIBC_2.17.
10269
10270 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10271
10272         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10273         synonym for _SYS_AUXV_H to allow direct inclusion.
10274         * sysdeps/sparc/bits/hwcap.h: Likewise.
10275         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10276         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10277         * sysdeps/sparc/sysdep.h: Likewise.
10278
10279 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10280
10281         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10282
10283 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10284
10285         * benchtests/bench-strrchr.c: Print length instead of position.
10286
10287 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10288
10289         [BZ #16611]
10290         * sysdeps/unix/sysv/linux/kernel-features.h
10291         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10292         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10293         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10294         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10295         Likewise.
10296         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10297         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10298         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10299         (__ASSUME_SENDMMSG): Define instead of using previous
10300         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10301         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10302         (__ASSUME_SENDMMSG_SYSCALL): Define.
10303         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10304         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10305         Likewise.
10306         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10307         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10308         Likewise.
10309         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10310         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10311         Likewise.
10312         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10313         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10314         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10315         [__ASSUME_SENDMMSG]: Change conditionals to
10316         [__ASSUME_SENDMMSG_SOCKETCALL].
10317         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10318         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10319         Define.
10320         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10321         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10322         Likewise.
10323         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10324         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10325         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10326         [!__ASSUME_SENDMMSG]: Change conditional to
10327         [!__ASSUME_SENDMMSG_SOCKETCALL].
10328         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10329         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10330         Define.
10331
10332         [BZ #16610]
10333         * sysdeps/unix/sysv/linux/kernel-features.h
10334         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10335         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10336         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10337         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10338         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10339         [__i386__ || __sparc__]
10340         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10341         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10342         (__ASSUME_RECVMMSG): Define instead of using previous
10343         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10344         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10345         (__ASSUME_RECVMMSG_SYSCALL): Define.
10346         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10347         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10348         Likewise.
10349         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10350         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10351         Likewise.
10352         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10353         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10354         Likewise.
10355         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10356         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10357         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10358         [__ASSUME_RECVMMSG]: Change condition to
10359         [__ASSUME_RECVMMSG_SOCKETCALL].
10360         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10361         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10362         Define.
10363         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10364         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10365         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10366         Likewise.
10367         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10368         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10369         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10370         [!__ASSUME_RECVMMSG]: Change condition to
10371         [!__ASSUME_RECVMMSG_SOCKETCALL].
10372         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10373         (__ASSUME_RECVMMSG_SYSCALL): Define.
10374
10375         [BZ #16609]
10376         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10377         __powerpc__ || __s390__ || __sh__ || __sparc__]
10378         (__ASSUME_SOCKETCALL): Define.
10379         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10380         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10381         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10382         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10383         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10384         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10385         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10386         (__ASSUME_ACCEPT4): Define instead of using previous
10387         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10388         __powerpc__ || __sparc__ || __s390__)] condition.
10389         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10390         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10391         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10392         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10393         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10394         [!__ASSUME_ACCEPT4]: Change condition to
10395         [!__ASSUME_ACCEPT4_SOCKETCALL].
10396         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10397         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10398         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10399         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10400         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10401         __ASSUME_ACCEPT4_SYSCALL.
10402         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10403         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10404         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10405         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10406         __ASSUME_ACCEPT4_SYSCALL.
10407         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10408         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10409         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10410         [__ASSUME_ACCEPT4]: Change condition to
10411         [__ASSUME_ACCEPT4_SOCKETCALL].
10412         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10413         (__ASSUME_SOCKETCALL): Define.
10414         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10415         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10416         (__ASSUME_SOCKETCALL): Define.
10417         (__ASSUME_ACCEPT4): Remove.
10418         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10419         Define.
10420         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10421         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10422         Likewise.
10423         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10424         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10425
10426         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10427         macro.
10428         (HWCAP_ARM_LPAE): Likewise.
10429         (HWCAP_ARM_EVTSTRM): Likewise.
10430         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10431         Add vpfd32, lpae and evtstrm.
10432         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10433         Increase to 22.
10434
10435 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10436
10437         * math/auto-libm-test-in: Add tests of clog10.
10438         * math/auto-libm-test-out: Regenerated.
10439         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10440         * sysdeps/i386/fpu/libm-test-ulps: Update.
10441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10442
10443 2014-02-18  Andreas Schwab  <schwab@suse.de>
10444
10445         [BZ #16574]
10446         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10447         Store non-zero if the second buffer was newly allocated.
10448         (send_dg): Likewise.
10449         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10450         to send_vc and send_dg.
10451         (res_nsend): Pass NULL for ansp2_malloced.
10452         * resolv/res_query.c (__libc_res_nquery): Add parameter
10453         answerp2_malloced and pass it down to __libc_res_nsend.
10454         (res_nquery): Pass additional NULL to __libc_res_nquery.
10455         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10456         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10457         second answer buffer if answerp2_malloced was set.
10458         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10459         (__libc_res_nquerydomain): Add parameter
10460         answerp2_malloced and pass it down to __libc_res_nquery.
10461         (res_nquerydomain): Pass additional NULL to
10462         __libc_res_nquerydomain.
10463         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10464         additional NULL to __libc_res_nsend and __libc_res_nquery.
10465         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10466         additional NULL to __libc_res_nsearch.
10467         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10468         parameter of __libc_res_nsearch to check for separately allocated
10469         second buffer.
10470         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10471         __libc_res_nquery.
10472         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10473         additional NULL to __libc_res_nquery.
10474         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10475         __libc_res_nsearch.
10476         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10477         * include/resolv.h: Update prototypes of __libc_res_nquery,
10478         __libc_res_nsearch, __libc_res_nsend.
10479
10480 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10481
10482         * math/auto-libm-test-in: Add tests of fma.
10483         * math/auto-libm-test-out: Regenerated.
10484         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10485         (fma_towardzero_test_data): Likewise.
10486         (fma_downward_test_data): Likewise.
10487         (fma_upward_test_data): Likewise.
10488         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10489         mpc_mode.
10490         (rounding_modes): Add values for new field.
10491         (func_calc_method): Add value mpfr_fff_f.
10492         (func_calc_desc): Add mpfr_fff_f union field.
10493         (test_function): Add field exact_args.
10494         (FUNC): Add macro argument EXACT_ARGS.
10495         (FUNC_mpfr_f_f): Update call to FUNC.
10496         (FUNC_mpfr_f_f): Likewise.
10497         (FUNC_mpfr_ff_f): Likewise.
10498         (FUNC_mpfr_if_f): Likewise.
10499         (FUNC_mpc_c_f): Likewise.
10500         (FUNC_mpc_c_c): Likewise.
10501         (test_functions): Add fma.  Update calls to FUNC.
10502         (handle_input_arg): Add argument exact_args.
10503         (add_test): Update call to handle_input_arg.
10504         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10505         (output_for_one_input_case): Update call to calc_generic_results.
10506         Recalculate exact zero results in each rounding mode.
10507
10508         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10509         non-negative before setting low bit.
10510         * math/auto-libm-test-in: Mark one asin test possibly having
10511         spurious underflow.
10512         * math/auto-libm-test-out: Regenerated.
10513         * sysdeps/i386/fpu/libm-test-ulps: Update.
10514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10515
10516 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10517
10518         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10519         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10520         ports/sysdeps/unix/sysv/linux/microblaze.
10521         * README: Add missing listing for microblaze*-*-linux-gnu.
10522
10523 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10524
10525         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10526         duplicate code
10527
10528 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10529
10530         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10531         * sysdeps/unix/sysv/linux/ia64: Move directory from
10532         ports/sysdeps/unix/sysv/linux/ia64.
10533         * README: Update listing for ia64-*-linux-gnu.
10534
10535 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10536             Joseph Myers  <joseph@codesourcery.com>
10537
10538         * Makeconfig (test-name): New variable.
10539         (evaluate-test): Likewise.
10540         * Makerules (do-test-clean): Remove .test-result files.
10541         (common-mostlyclean): Likewise.
10542         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10543         * scripts/evaluate-test.sh: New file.
10544
10545 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10546
10547         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10548         separate $(objpfx)tst-fopenloc-cmp.out and
10549         $(objpfx)tst-fopenloc-mem.out targets.
10550         (tests): Update dependencies.
10551         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10552         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10553         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10554         (tst-rxspencer-no-utf8-ARGS): New variable.
10555         (tst-rxspencer-no-utf8-ENV): Likewise.
10556         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10557         instead of $(objpfx)tst-rxspencer-mem.
10558         ($(objpfx)tst-rxspencer-mem): Change target to
10559         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10560         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10561         * posix/tst-rxspencer-no-utf8.c: New file.
10562
10563         * elf/Makefile ($(objpfx)order.out): Remove rule.
10564         [$(run-built-tests) = yes] (tests): Depend on
10565         $(objpfx)order-cmp.out.
10566         ($(objpfx)order-cmp.out): New rule.
10567         [$(run-built-tests) = yes] (tests): Depend on
10568         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10569         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10570         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10571         $(objpfx)tst-array5-static-cmp.out.
10572         ($(objpfx)tst-array1.out): Remove rule.
10573         ($(objpfx)tst-array1-cmp.out): New rule.
10574         ($(objpfx)tst-array1-static.out): Remove rule.
10575         ($(objpfx)tst-array1-static-cmp.out): New rule.
10576         ($(objpfx)tst-array2.out): Remove rule.
10577         ($(objpfx)tst-array2-cmp.out): New rule.
10578         ($(objpfx)tst-array3.out): Remove rule.
10579         ($(objpfx)tst-array3-cmp.out): New rule.
10580         ($(objpfx)tst-array4.out): Remove rule.
10581         ($(objpfx)tst-array4-cmp.out): New rule.
10582         ($(objpfx)tst-array5.out): Remove rule.
10583         ($(objpfx)tst-array5-cmp.out): New rule.
10584         ($(objpfx)tst-array5-static.out): Remove rule.
10585         ($(objpfx)tst-array5-static-cmp.out): New rule.
10586         [$(run-built-tests) = yes] (tests): Depend on
10587         $(objpfx)order2-cmp.out.
10588         ($(objpfx)order2.out): Remove rule.
10589         ($(objpfx)order2-cmp.out): New rule.
10590         ($(objpfx)tst-initorder.out): Remove rule.
10591         [$(run-built-tests) = yes] (tests): Depend on
10592         $(objpfx)tst-initorder-cmp.out.
10593         ($(objpfx)tst-initorder-cmp.out): New rule.
10594         ($(objpfx)tst-initorder2.out): Remove rule.
10595         [$(run-built-tests) = yes] (tests): Depend on
10596         $(objpfx)tst-initorder2-cmp.out.
10597         ($(objpfx)tst-initorder2-cmp.out): New rule.
10598         [$(run-built-tests) = yes] (tests): Depend on
10599         $(objpfx)tst-unused-dep-cmp.out.
10600         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10601         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10602         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10603         on $(objpfx)tst-setvbuf1-cmp.out.
10604         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10605         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10606         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10607         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10608         ($(objpfx)tst-svc.out): Remove rule.
10609         ($(objpfx)tst-svc-cmp.out): New rule.
10610
10611 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10612
10613         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10614         * ctype/ctype.h [__USE_MISC]: Likewise.
10615         * dirent/dirent.h [__USE_MISC]: Likewise.
10616         * grp/grp.h [__USE_MISC]: Likewise.
10617         * io/fcntl.h [__USE_MISC]: Likewise.
10618         * io/sys/stat.h [__USE_MISC]: Likewise.
10619         * libio/stdio.h [__USE_MISC]: Likewise.
10620         * posix/unistd.h [__USE_MISC]: Likewise.
10621         * pwd/pwd.h [__USE_MISC]: Likewise.
10622         * stdlib.h [__USE_MISC]: Likewise.
10623         * string/bits/string2.h [__USE_MISC]: Likewise.
10624         * string/string.h [__USE_MISC]: Likewise.
10625         * time/time.h [__USE_MISC]: Likewise.
10626
10627 2014-02-13  Andreas Schwab  <schwab@suse.de>
10628
10629         [BZ #16574]
10630         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10631         second answer buffer if it was separately allocated.
10632
10633 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10634
10635         * sysdeps/mips/math-tests.h: Include <features.h>.
10636         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10637         (ROUNDING_TESTS_long_double): Do not define.
10638         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10639         (EXCEPTION_TESTS_long_double): Likewise.
10640         * sysdeps/mips/mips64/libm-test-ulps: Update.
10641
10642         * include/features.h (__USE_BSD): Remove macro definitions.
10643         (__USE_SVID): Likewise.
10644         (_BSD_SOURCE): Likewise.
10645         (_SVID_SOURCE): Likewise.
10646         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10647         from definition of _DEFAULT_SOURCE.
10648         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10649         [_DEFAULT_SOURCE].
10650         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10651         * bits/mman.h [__USE_BSD]: Likewise.
10652         * bits/termios.h [__USE_BSD]: Likewise.
10653         * bits/waitstatus.h [__USE_BSD]: Likewise.
10654         * ctype/ctype.h [__USE_SVID]: Likewise.
10655         * dirent/dirent.h [__USE_BSD]: Likewise.
10656         * grp/grp.h [__USE_SVID]: Likewise.
10657         [__USE_BSD]: Likewise.
10658         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10659         * io/fcntl.h [__USE_BSD]: Likewise.
10660         * io/ftw.h [__USE_BSD]: Likewise.
10661         * io/sys/stat.h [__USE_BSD]: Likewise.
10662         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10663         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10664         * libio/stdio.h [__USE_SVID]: Likewise.
10665         [__USE_BSD]: Likewise.
10666         * math/math.h [__USE_SVID]: Likewise.
10667         [__USE_BSD]: Likewise.
10668         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10669         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10670         * misc/search.h [__USE_SVID]: Likewise.
10671         * misc/sys/mman.h [__USE_BSD]: Likewise.
10672         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10673         * misc/sys/uio.h [__USE_BSD]: Likewise.
10674         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10675         * posix/glob.h [__USE_BSD]: Likewise.
10676         * posix/regex.h [__USE_BSD]: Likewise.
10677         * posix/sys/types.h [__USE_BSD]: Likewise.
10678         [__USE_SVID]: Likewise.
10679         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10680         * posix/sys/wait.h [__USE_BSD]: Likewise.
10681         [__USE_SVID]: Likewise.
10682         * posix/unistd.h [__USE_BSD]: Likewise.
10683         [__USE_SVID]: Likewise.
10684         * pwd/pwd.h [__USE_SVID]: Likewise.
10685         * resolv/netdb.h [__USE_BSD]: Likewise.
10686         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10687         * signal/signal.h [__USE_BSD]: Likewise.
10688         [__USE_SVID]: Likewise.
10689         * socket/sys/socket.h [__USE_BSD]: Likewise.
10690         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10691         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10692         [__USE_SVID]: Likewise.
10693         * string/bits/string2.h [__USE_BSD]: Likewise.
10694         [__USE_SVID]: Likewise.
10695         * string/bits/string3.h [__USE_BSD]: Likewise.
10696         * string/endian.h [__USE_BSD]: Likewise.
10697         * string/string.h [__USE_SVID]: Likewise.
10698         [__USE_BSD]: Likewise.
10699         * string/strings.h [__USE_BSD]: Likewise.
10700         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10701         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10702         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10703         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10704         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10705         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10706         Likewise.
10707         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10708         Likewise.
10709         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10710         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10711         Likewise.
10712         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10713         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10714         Likewise.
10715         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10716         Likewise.
10717         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10718         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10719         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10720         Likewise.
10721         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10722         Likewise.
10723         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10724         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10725         * termios/termios.h [__USE_BSD]: Likewise.
10726         * time/sys/time.h [__USE_BSD]: Likewise.
10727         * time/time.h [__USE_BSD]: Likewise.
10728         [__USE_SVID]: Likewise.
10729
10730         * Makefile (subdir_targets): Remove subdir_lint.out.
10731
10732         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10733         (do-tst-printf): Likewise.
10734         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10735         $(objpfx)tst-printf.out.
10736
10737         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10738
10739         * Makerules (check-abi-%): Change target to
10740         $(objpfx)check-abi-%.out.
10741         (check-abi target): Update dependencies.
10742         (check-abi-pattern variable): Redirect output of diff to $@.
10743         (check-abi variable): Likewise.
10744         * elf/Makefile (check-abi): Update dependencies.
10745
10746         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10747         unused.
10748         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10749         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10750         subnormal range.
10751         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10752         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10753         value has largest subnormal exponent.
10754         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10755         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10756         * sysdeps/aarch64/soft-fp/sfp-machine.h
10757         (_FP_TININESS_AFTER_ROUNDING): New macro.
10758         * sysdeps/alpha/soft-fp/sfp-machine.h
10759         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10760         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10761         Likewise.
10762         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10763         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10764         * sysdeps/mips/soft-fp/sfp-machine.h
10765         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10766         * sysdeps/powerpc/soft-fp/sfp-machine.h
10767         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10768         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10769         Likewise.
10770         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10771         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10772         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10773         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10774         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10775         Likewise.
10776
10777 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10778
10779         [BZ #16545]
10780         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10781         model 1.
10782
10783 2014-02-12  Richard Henderson  <rth@redhat.com>
10784
10785         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10786         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10787         * sysdeps/unix/sysv/linux/alpha: Move directory from
10788         ports/sysdeps/unix/sysv/linux/alpha.
10789         * README: Update listing for alpha-*-linux-gnu.
10790
10791 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10792
10793         * include/features.h: Update comment documenting feature test
10794         macros.
10795         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10796         _DEFAULT_SOURCE.
10797         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10798         (_SVID_SOURCE): Likewise.
10799         (_DEFAULT_SOURCE): Update description of default features.
10800         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10801         with _GNU_SOURCE.
10802         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10803         (S_ISVTX): Likewise.
10804         * manual/math.texi (Mathematical Constants): Likewise.
10805         * manual/signal.texi (Interrupted Primitives): Likewise.
10806         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10807         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10808         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10809         Don't refer to _SVID_SOURCE in warning text.
10810
10811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10812
10813         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10814         already defined.
10815         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10816         * sysdeps/mips/dl-lookup.c: Remove.
10817         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10818
10819 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10820
10821         [BZ #16447]
10822         * math/auto-libm-test-in: Add testcase for expl.
10823         * math/auto-libm-test-out: Regenerate.
10824         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10825         calculation of unsafe.
10826         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10827
10828 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10829
10830         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10831         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10832         ports/sysdeps/unix/sysv/linux/aarch64.
10833         * README: Update listing for aarch64*-*-linux-gnu.
10834
10835 2014-02-11  Will Newton  <will.newton@linaro.org>
10836
10837         * manual/probes.texi (Mathematical Function Probes): Use
10838         "triggered" instead of "hit".
10839
10840         * manual/probes.texi (Internal Probes): Add documentation
10841         of setjmp, longjmp and longjmp_target probes.
10842
10843         * include/stap-probe.h: Add comment about probe argument
10844         format.
10845
10846         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10847         definition.  (tr_where, tr_freehook, tr_mallochook,
10848         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10849
10850 2014-02-11  David S. Miller  <davem@davemloft.net>
10851
10852         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10853         processing int_tests.
10854
10855 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10856
10857         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10858         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10859         * sysdeps/unix/sysv/linux/mips: Move directory from
10860         ports/sysdeps/unix/sysv/linux/mips.
10861         * README: Update listing for mips-*-linux-gnu and
10862         mips64-*-linux-gnu.
10863
10864 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10865
10866         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10867         * sysdeps/unix/sysv/linux/m68k: Move directory from
10868         ports/sysdeps/unix/sysv/linux/m68k.
10869         * README: Update listing for m68k-*-linux-gnu.
10870
10871 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10872
10873         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10874         * sysdeps/unix/sysv/linux/generic: Move directory from
10875         ports/sysdeps/unix/sysv/linux/generic.
10876         * sysdeps/unix/sysv/linux/tile: Move directory from
10877         ports/sysdeps/unix/sysv/linux/tile.
10878         * README: Update listing for tile*-*-linux-gnu.
10879
10880 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10881
10882         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10883         __builtin_expect.
10884         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10885         * catgets/open_catalog.c (__open_catalog): Likewise.
10886         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10887         * debug/confstr_chk.c: Likewise.
10888         * debug/fread_chk.c (__fread_chk): Likewise.
10889         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10890         * debug/getgroups_chk.c: Likewise.
10891         * debug/mbsnrtowcs_chk.c: Likewise.
10892         * debug/mbsrtowcs_chk.c: Likewise.
10893         * debug/mbstowcs_chk.c: Likewise.
10894         * debug/memcpy_chk.c: Likewise.
10895         * debug/memmove_chk.c: Likewise.
10896         * debug/mempcpy_chk.c: Likewise.
10897         * debug/memset_chk.c: Likewise.
10898         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10899         * debug/strcat_chk.c (__strcat_chk): Likewise.
10900         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10901         * debug/strncat_chk.c (__strncat_chk): Likewise.
10902         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10903         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10904         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10905         * debug/wcpncpy_chk.c: Likewise.
10906         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10907         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10908         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10909         * debug/wcsncpy_chk.c: Likewise.
10910         * debug/wcsnrtombs_chk.c: Likewise.
10911         * debug/wcsrtombs_chk.c: Likewise.
10912         * debug/wcstombs_chk.c: Likewise.
10913         * debug/wmemcpy_chk.c: Likewise.
10914         * debug/wmemmove_chk.c: Likewise.
10915         * debug/wmempcpy_chk.c: Likewise.
10916         * debug/wmemset_chk.c: Likewise.
10917         * dirent/scandirat.c (SCANDIRAT): Likewise.
10918         * dlfcn/dladdr1.c (dladdr1): Likewise.
10919         * dlfcn/dladdr.c (dladdr): Likewise.
10920         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10921         * dlfcn/dlerror.c (__dlerror): Likewise.
10922         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10923         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10924         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10925         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10926         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10927         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10928         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10929         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10930         Likewise.
10931         * elf/dl-conflict.c: Likewise.
10932         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10933         * elf/dl-dst.h: Likewise.
10934         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10935         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10936         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10937         * elf/dl-init.c (call_init, _dl_init): Likewise.
10938         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10939         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10940         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10941         Likewise.
10942         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10943         Likewise.
10944         * elf/dl-minimal.c (__libc_memalign): Likewise.
10945         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10946         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10947         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10948         * elf/dl-sym.c (do_sym): Likewise.
10949         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10950         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10951         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10952         * elf/dl-writev.h (_dl_writev): Likewise.
10953         * elf/ldconfig.c (search_dir): Likewise.
10954         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10955         (dl_main): Likewise.
10956         * elf/setup-vdso.h (setup_vdso): Likewise.
10957         * grp/compat-initgroups.c (compat_call): Likewise.
10958         * grp/fgetgrent.c (fgetgrent): Likewise.
10959         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10960         * grp/putgrent.c (putgrent): Likewise.
10961         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10962         Likewise.
10963         * hurd/hurdinit.c: Likewise.
10964         * iconvdata/8bit-gap.c (struct): Likewise.
10965         * iconvdata/ansi_x3.110.c : Likewise.
10966         * iconvdata/big5.c : Likewise.
10967         * iconvdata/big5hkscs.c : Likewise.
10968         * iconvdata/cp1255.c: Likewise.
10969         * iconvdata/cp1258.c : Likewise.
10970         * iconvdata/cp932.c : Likewise.
10971         * iconvdata/euc-cn.c: Likewise.
10972         * iconvdata/euc-jisx0213.c : Likewise.
10973         * iconvdata/euc-jp.c: Likewise.
10974         * iconvdata/euc-jp-ms.c : Likewise.
10975         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10976         * iconvdata/gb18030.c : Likewise.
10977         * iconvdata/gbbig5.c (const): Likewise.
10978         * iconvdata/gbgbk.c: Likewise.
10979         * iconvdata/gbk.c : Likewise.
10980         * iconvdata/ibm1364.c : Likewise.
10981         * iconvdata/ibm930.c : Likewise.
10982         * iconvdata/ibm932.c: Likewise.
10983         * iconvdata/ibm933.c : Likewise.
10984         * iconvdata/ibm935.c : Likewise.
10985         * iconvdata/ibm937.c : Likewise.
10986         * iconvdata/ibm939.c : Likewise.
10987         * iconvdata/ibm943.c: Likewise.
10988         * iconvdata/iso_11548-1.c: Likewise.
10989         * iconvdata/iso-2022-cn.c : Likewise.
10990         * iconvdata/iso-2022-cn-ext.c : Likewise.
10991         * iconvdata/iso-2022-jp-3.c: Likewise.
10992         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10993         * iconvdata/iso-2022-kr.c : Likewise.
10994         * iconvdata/iso646.c (gconv_end): Likewise.
10995         * iconvdata/iso_6937-2.c : Likewise.
10996         * iconvdata/iso_6937.c : Likewise.
10997         * iconvdata/iso8859-1.c: Likewise.
10998         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10999         * iconvdata/shift_jisx0213.c : Likewise.
11000         * iconvdata/sjis.c : Likewise.
11001         * iconvdata/t.61.c : Likewise.
11002         * iconvdata/tcvn5712-1.c : Likewise.
11003         * iconvdata/tscii.c: Likewise.
11004         * iconvdata/uhc.c : Likewise.
11005         * iconvdata/unicode.c (gconv_end): Likewise.
11006         * iconvdata/utf-16.c (gconv_end): Likewise.
11007         * iconvdata/utf-32.c (gconv_end): Likewise.
11008         * iconvdata/utf-7.c (base64): Likewise.
11009         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11010         * iconv/gconv_close.c (__gconv_close): Likewise.
11011         * iconv/gconv_open.c (__gconv_open): Likewise.
11012         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11013         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11014         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11015         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11016         (ucs4le_internal_loop_single): Likewise.
11017         * iconv/iconv.c (iconv): Likewise.
11018         * iconv/iconv_close.c: Likewise.
11019         * iconv/loop.c (SINGLE): Likewise.
11020         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11021         * include/atomic.h: Likewise.
11022         * inet/inet6_option.c (option_alloc): Likewise.
11023         * intl/bindtextdom.c (set_binding_values): Likewise.
11024         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11025         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11026         * intl/localealias.c (read_alias_file): Likewise.
11027         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11028         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11029         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11030         * libio/fmemopen.c (fmemopen): Likewise.
11031         * libio/iofgets.c (_IO_fgets): Likewise.
11032         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11033         * libio/iofgetws.c (fgetws): Likewise.
11034         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11035         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11036         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11037         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11038         * locale/findlocale.c (_nl_find_locale): Likewise.
11039         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11040         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11041         Likewise.
11042         * locale/setlocale.c (setlocale): Likewise.
11043         * login/programs/pt_chown.c (main): Likewise.
11044         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11045         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11046         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11047         (mmap, mmap64, mremap, munmap): Likewise.
11048         * math/e_exp2l.c: Likewise.
11049         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11050         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11051         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11052         * math/s_catan.c (__catan): Likewise.
11053         * math/s_catanf.c (__catanf): Likewise.
11054         * math/s_catanh.c (__catanh): Likewise.
11055         * math/s_catanhf.c (__catanhf): Likewise.
11056         * math/s_catanhl.c (__catanhl): Likewise.
11057         * math/s_catanl.c (__catanl): Likewise.
11058         * math/s_ccosh.c (__ccosh): Likewise.
11059         * math/s_ccoshf.c (__ccoshf): Likewise.
11060         * math/s_ccoshl.c (__ccoshl): Likewise.
11061         * math/s_cexp.c (__cexp): Likewise.
11062         * math/s_cexpf.c (__cexpf): Likewise.
11063         * math/s_cexpl.c (__cexpl): Likewise.
11064         * math/s_clog10.c (__clog10): Likewise.
11065         * math/s_clog10f.c (__clog10f): Likewise.
11066         * math/s_clog10l.c (__clog10l): Likewise.
11067         * math/s_clog.c (__clog): Likewise.
11068         * math/s_clogf.c (__clogf): Likewise.
11069         * math/s_clogl.c (__clogl): Likewise.
11070         * math/s_csin.c (__csin): Likewise.
11071         * math/s_csinf.c (__csinf): Likewise.
11072         * math/s_csinh.c (__csinh): Likewise.
11073         * math/s_csinhf.c (__csinhf): Likewise.
11074         * math/s_csinhl.c (__csinhl): Likewise.
11075         * math/s_csinl.c (__csinl): Likewise.
11076         * math/s_csqrt.c (__csqrt): Likewise.
11077         * math/s_csqrtf.c (__csqrtf): Likewise.
11078         * math/s_csqrtl.c (__csqrtl): Likewise.
11079         * math/s_ctan.c (__ctan): Likewise.
11080         * math/s_ctanf.c (__ctanf): Likewise.
11081         * math/s_ctanh.c (__ctanh): Likewise.
11082         * math/s_ctanhf.c (__ctanhf): Likewise.
11083         * math/s_ctanhl.c (__ctanhl): Likewise.
11084         * math/s_ctanl.c (__ctanl): Likewise.
11085         * math/w_pow.c: Likewise.
11086         * math/w_powf.c: Likewise.
11087         * math/w_powl.c: Likewise.
11088         * math/w_scalb.c (sysv_scalb): Likewise.
11089         * math/w_scalbf.c (sysv_scalbf): Likewise.
11090         * math/w_scalbl.c (sysv_scalbl): Likewise.
11091         * misc/error.c (error_tail): Likewise.
11092         * misc/pselect.c (__pselect): Likewise.
11093         * nis/nis_callback.c (__nis_create_callback): Likewise.
11094         * nis/nis_call.c (__nisfind_server): Likewise.
11095         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11096         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11097         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11098         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11099         * nis/nis_lookup.c (nis_lookup): Likewise.
11100         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11101         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11102         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11103         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11104         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11105         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11106         * nis/nss_compat/compat-initgroups.c (add_group)
11107         (internal_getgrent_r): Likewise.
11108         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11109         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11110         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11111         (internal_getspnam_r): Likewise.
11112         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11113         (_nss_nis_getaliasbyname_r): Likewise.
11114         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11115         (_nss_nis_getntohost_r): Likewise.
11116         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11117         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11118         (_nss_nis_getgrgid_r): Likewise.
11119         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11120         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11121         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11122         (_nss_nis_gethostbyname4_r): Likewise.
11123         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11124         (initgroups_netid): Likewise.
11125         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11126         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11127         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11128         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11129         (_nss_nis_getprotobynumber_r): Likewise.
11130         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11131         (_nss_nis_getsecretkey): Likewise.
11132         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11133         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11134         (_nss_nis_getpwuid_r): Likewise.
11135         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11136         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11137         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11138         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11139         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11140         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11141         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11142         Likewise.
11143         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11144         (_nss_nisplus_getntohost_r): Likewise.
11145         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11146         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11147         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11148         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11149         Likewise.
11150         * nis/nss_nisplus/nisplus-initgroups.c
11151         (_nss_nisplus_initgroups_dyn): Likewise.
11152         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11153         (_nss_nisplus_getnetbyaddr_r): Likewise.
11154         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11155         (_nss_nisplus_getprotobynumber_r): Likewise.
11156         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11157         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11158         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11159         Likewise.
11160         * nis/nss_nisplus/nisplus-service.c
11161         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11162         (_nss_nisplus_getservbyport_r): Likewise.
11163         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11164         (_nss_nisplus_getspnam_r): Likewise.
11165         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11166         Likewise.
11167         * nscd/aicache.c (addhstaiX): Likewise.
11168         * nscd/cache.c (cache_search, prune_cache): Likewise.
11169         * nscd/connections.c (register_traced_file, send_ro_fd)
11170         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11171         (main_loop_epoll): Likewise.
11172         * nscd/grpcache.c (addgrbyX): Likewise.
11173         * nscd/hstcache.c (addhstbyX): Likewise.
11174         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11175         * nscd/mem.c (gc, mempool_alloc): Likewise.
11176         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11177         (addinnetgrX): Likewise.
11178         * nscd/nscd-client.h (__nscd_acquire_maplock)
11179         (__nscd_drop_map_ref): Likewise.
11180         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11181         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11182         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11183         Likewise.
11184         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11185         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11186         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11187         (__nscd_get_map_ref): Likewise.
11188         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11189         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11190         Likewise.
11191         * nscd/pwdcache.c (addpwbyX): Likewise.
11192         * nscd/selinux.c (preserve_capabilities): Likewise.
11193         * nscd/servicescache.c (addservbyX): Likewise.
11194         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11195         * posix/fnmatch.c (fnmatch): Likewise.
11196         * posix/getopt.c (_getopt_internal_r): Likewise.
11197         * posix/glob.c (glob, glob_in_dir): Likewise.
11198         * posix/wordexp.c (exec_comm_child): Likewise.
11199         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11200         (getanswer_r, gaih_getanswer_slice): Likewise.
11201         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11202         * resolv/res_init.c: Likewise.
11203         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11204         * resolv/res_query.c (__libc_res_nquery): Likewise.
11205         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11206         Likewise.
11207         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11208         * stdio-common/perror.c (perror): Likewise.
11209         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11210         * stdio-common/tmpnam.c (tmpnam): Likewise.
11211         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11212         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11213         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11214         Likewise.
11215         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11216         * stdlib/putenv.c (putenv): Likewise.
11217         * stdlib/setenv.c (__add_to_environ): Likewise.
11218         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11219         * stdlib/strtol_l.c (INTERNAL): Likewise.
11220         * string/memmem.c (memmem): Likewise.
11221         * string/strerror.c (strerror): Likewise.
11222         * string/strnlen.c (__strnlen): Likewise.
11223         * string/test-memmem.c (simple_memmem): Likewise.
11224         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11225         * sunrpc/pm_getport.c (__get_socket): Likewise.
11226         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11227         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11228         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11229         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11230         Likewise.
11231         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11232         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11233         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11234         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11235         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11236         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11237         Likewise.
11238         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11239         Likewise.
11240         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11241         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11242         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11243         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11244         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11246         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11247         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11248         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11249         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11250         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11251         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11252         Likewise.
11253         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11254         Likewise.
11255         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11256         Likewise.
11257         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11258         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11259         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11260         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11261         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11262         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11263         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11264         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11265         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11266         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11267         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11268         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11269         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11270         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11271         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11272         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11273         Likewise.
11274         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11275         Likewise.
11276         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11277         Likewise.
11278         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11279         Likewise.
11280         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11281         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11282         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11283         Likewise.
11284         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11285         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11286         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11287         * sysdeps/posix/sleep.c: Likewise.
11288         * sysdeps/posix/tempname.c: Likewise.
11289         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11290         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11291         Likewise.
11292         * sysdeps/powerpc/powerpc32/dl-machine.h
11293         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11294         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11295         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11296         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11297         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11298         Likewise.
11299         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11300         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11301         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11302         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11303         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11304         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11305         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11306         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11307         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11308         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11309         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11310         (elf_machine_lazy_rel): Likewise.
11311         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11312         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11313         (elf_machine_lazy_rel): Likewise.
11314         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11315         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11316         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11317         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11318         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11319         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11320         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11321         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11322         Likewise.
11323         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11324         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11325         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11326         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11327         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11328         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11329         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11330         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11331         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11332         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11333         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11334         Likewise.
11335         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11336         (__posix_fallocate64_l64): Likewise.
11337         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11338         (posix_fallocate): Likewise.
11339         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11340         Likewise.
11341         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11342         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11343         (getifaddrs_internal): Likewise.
11344         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11345         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11346         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11347         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11348         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11349         (__posix_fallocate64_l64): Likewise.
11350         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11351         Likewise.
11352         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11353         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11354         (__get_clockfreq): Likewise.
11355         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11356         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11357         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11358         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11359         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11360         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11361         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11362         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11363         Likewise.
11364         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11365         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11366         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11367         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11368         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11369         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11370         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11371         Likewise.
11372         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11373         (posix_fallocate): Likewise.
11374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11375         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11376         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11377         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11378         (elf_machine_rela, elf_machine_rela_relative)
11379         (elf_machine_lazy_rel): Likewise.
11380         * time/asctime.c (asctime_internal): Likewise.
11381         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11382         * time/tzset.c (__tzset_parse_tz): Likewise.
11383         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11384         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11385         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11386         * wcsmbs/wcsmbsload.h: Likewise.
11387
11388         [BZ #15894]
11389         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11390
11391         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11392         (arena_get2): Remove THREAD_STATS conditionals.
11393         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11394         (__malloc_stats, int): Likewise.
11395
11396 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11397
11398         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11399         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11400
11401         * manual/setjmp.texi: Fix typos/grammar errors.
11402
11403         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11404         Only return early when n is <= 0.  Delete unused return statement.
11405
11406         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11407         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11408         * debug/tst-longjmp_chk3.c: New file.
11409
11410         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11411         (test_main): Replace code with set_fortify_handler call.
11412         * debug/test-strcpy_chk.c: Likewise.
11413         * debug/tst-chk1.c: Likewise.
11414         * debug/tst-longjmp_chk.c: Likewise.
11415         * test-skeleton.c: Include fcntl.h & paths.h
11416         (set_fortify_handler): Define.
11417
11418         * debug/tst-longjmp_chk.c: Add header comment and include
11419         ../test-skeleton.c.
11420         (do_test): Mark static.
11421         (TEST_FUNCTION): Define.
11422
11423         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11424         (IP_PMTUDISC_INTERFACE): Likewise.
11425         (IP_MULTICAST_IF): Likewise.
11426         (IP_MULTICAST_TTL): Likewise.
11427         (IP_MULTICAST_LOOP): Likewise.
11428         (IP_ADD_MEMBERSHIP): Likewise.
11429         (IP_DROP_MEMBERSHIP): Likewise.
11430         (IP_UNBLOCK_SOURCE): Likewise.
11431         (IP_BLOCK_SOURCE): Likewise.
11432         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11433         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11434         (IP_MSFILTER): Likewise.
11435         (MCAST_JOIN_GROUP): Likewise.
11436         (MCAST_BLOCK_SOURCE): Likewise.
11437         (MCAST_UNBLOCK_SOURCE): Likewise.
11438         (MCAST_LEAVE_GROUP): Likewise.
11439         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11440         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11441         (MCAST_MSFILTER): Likewise.
11442         (IP_MULTICAST_ALL): Likewise.
11443         (IP_UNICAST_IF): Likewise.
11444
11445         * timezone/Makefile: Delete $(have-ksh) check.
11446         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11447         * timezone/tzselect.ksh: Add +x mode bits.
11448
11449         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11450         (ANON_INODE_FS_MAGIC): Likewise.
11451         (BDEVFS_MAGIC): Likewise.
11452         (BINFMTFS_MAGIC): Likewise.
11453         (BTRFS_TEST_MAGIC): Likewise.
11454         (CRAMFS_MAGIC_WEND): Likewise.
11455         (DEBUGFS_MAGIC): Likewise.
11456         (ECRYPTFS_SUPER_MAGIC): Likewise.
11457         (EXT3_SUPER_MAGIC): Likewise.
11458         (EXT4_SUPER_MAGIC): Likewise.
11459         (FUTEXFS_SUPER_MAGIC): Likewise.
11460         (HOSTFS_SUPER_MAGIC): Likewise.
11461         (HUGETLBFS_MAGIC): Likewise.
11462         (MINIX3_SUPER_MAGIC): Likewise.
11463         (MTD_INODE_FS_MAGIC): Likewise.
11464         (NILFS_SUPER_MAGIC): Likewise.
11465         (OPENPROM_SUPER_MAGIC): Likewise.
11466         (PIPEFS_MAGIC): Likewise.
11467         (PSTOREFS_MAGIC): Likewise.
11468         (QNX6_SUPER_MAGIC): Likewise.
11469         (RAMFS_MAGIC): Likewise.
11470         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11471         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11472         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11473         (SECURITYFS_MAGIC): Likewise.
11474         (SELINUX_MAGIC): Likewise.
11475         (SMACK_MAGIC): Likewise.
11476         (SOCKFS_MAGIC): Likewise.
11477         (SQUASHFS_MAGIC): Likewise.
11478         (STACK_END_MAGIC): Likewise.
11479         (TMPFS_MAGIC): Likewise.
11480         (USBDEVICE_SUPER_MAGIC): Likewise.
11481         (V9FS_MAGIC): Likewise.
11482         (XENFS_SUPER_MAGIC): Likewise.
11483         (CRAMFS_MAGIC): Fix typo in comment.
11484         (EXT2_SUPER_MAGIC): Update comment.
11485         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11486
11487 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11488
11489         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11490         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11491         * sysdeps/unix/sysv/linux/arm: Move directory from
11492         ports/sysdeps/unix/sysv/linux/arm.
11493         * README: Update listing for arm-*-linux-gnueabi.
11494
11495         * README: Remove mention of am33.
11496
11497 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11498
11499         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11500         than the comma operator, to avoid "rhs of comma has no effect"
11501         compiler warnings.
11502         (__sigfillset, __sigandset, __sigorset): Likewise.
11503         * include/signal.h (__sigemptyset): Likewise.
11504         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11505
11506 2014-02-07  Allan McRae  <allan@archlinux.org>
11507
11508         * version.h (RELEASE): Set to "development".
11509         (VERSION): Set to "2.19.90"
11510         * NEWS: Add 2.20 section.
11511
11512 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11513
11514         [BZ #16529]
11515         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11516
11517 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11518
11519         * manual/contrib.texi: Update entry for Carlos O'Donell,
11520         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11521
11522 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11523
11524         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11525
11526         * sysdeps/unix/sysv/linux/kernel-features.h
11527         [__LINUX_KERNEL_VERSION >= 0x020621]
11528         (__ASSUME_PROC_PID_TASK_COMM): Define.
11529
11530 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11531
11532         [BZ #16398]
11533         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11534         conversion when destination buffer does not have enough space.
11535         * libio/tst-ftell-partial-wide.c: New test case.
11536         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11537
11538         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11539         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11540         Leonard and Allan McRae.
11541
11542 2014-02-04  David S. Miller  <davem@davemloft.net>
11543
11544         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11545         32-bit.
11546
11547 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11548
11549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11550         New file
11551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11552         New file
11553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11554         New file.
11555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11556         New file.
11557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11558         New file.
11559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11560         New file.
11561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11562         New file.
11563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11564         New file.
11565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11566         New file.
11567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11568         New file.
11569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11570         New file.
11571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11572         New file.
11573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11574         New file.
11575
11576 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11577
11578         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11579         * shlib-versions: Likewise.
11580
11581 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11582             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11583
11584         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11585         (abilist-pattern): New variable, set to %-le.abilist.
11586
11587         * Makerules (abilist-pattern): New variable.
11588         (vpath): Use $(abilist-pattern) in place of %.abilist.
11589         (check-abi-% pattern rule): Likewise.
11590         (check-abi, update-abi): Likewise.
11591
11592 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11593
11594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11595
11596 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11597
11598         * manual/startup.texi: Add next, previous, and top entries for
11599         the `Program Arguments' and `Environment Variables' nodes.
11600
11601 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11602
11603         * manual/macros.texi: Add comments before MTASC-safety macros.
11604
11605         * manual/users.texi: Document MTASC-safety properties.
11606
11607         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11608         (pthread_getspecific, pthread_setspecific): Format with
11609         @deftypefun, and add @safety note.
11610         * manual/signal.texi: Move comments that analyze the above
11611         functions to their home place.
11612
11613 2014-02-03  Allan McRae  <allan@archlinux.org>
11614
11615         * po/sl.po: Update Slovenian translation from translation project.
11616
11617 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11618
11619         * manual/time.texi (timegm): Add missing blank after @c.
11620         Reported by Joseph Myers <joseph@codesourcery.com>.
11621
11622 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11623
11624         * manual/check-safety.sh: New.
11625         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11626
11627         * manual/terminal.texi: Document MTASC-safety properties.
11628
11629         * manual/filesys.texi: Document MTASC-safety properties.
11630
11631         * manual/errno.texi: Document MTASC-safety properties.
11632
11633         * manual/intro.texi: Document safety identifiers and
11634         conditionals.
11635
11636         * manual/string.texi (wcstok): Fix prototype.
11637         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11638
11639         * manual/time.texi: Document MTASC-safety properties.
11640
11641         * manual/string.texi: Document MTASC-safety properties.
11642
11643         * manual/threads.texi: Document MTASC-safety properties.
11644
11645         * manual/stdio.texi: Document MTASC-safety properties.
11646
11647         * manual/syslog.texi: Document MTASC-safety properties.
11648
11649         * manual/sysinfo.texi: Document MTASC-safety properties.
11650
11651         * manual/startup.texi: Document MTASC-safety properties.
11652
11653         * manual/socket.texi: Document MTASC-safety properties.
11654
11655         * manual/signal.texi: Document MTASC-safety properties.
11656
11657 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11658
11659         * manual/setjmp.texi: Document MTASC-safety properties.
11660
11661         * manual/search.texi: Document MTASC-safety properties.
11662
11663         * manual/resource.texi: Document MTASC-safety properties.
11664
11665         * manual/process.texi: Document MTASC-safety properties.
11666
11667         * manual/platform.texi: Document MTASC-safety properties.
11668
11669         * manual/pipe.texi: Document MTASC-safety properties.
11670
11671         * manual/pattern.texi: Document MTASC-safety properties.
11672
11673         * manual/message.texi: Document MTASC-safety properties.
11674
11675         [BZ #12751]
11676         * manual/memory.texi: Document MTASC-safety properties.
11677
11678         * manual/math.texi: Document MTASC-safety properties.
11679
11680         * manual/locale.texi: Document MTASC-safety properties.
11681
11682         * manual/llio.texi: Document MTASC-safety properties.
11683
11684         * manual/libdl.texi: New.
11685
11686         * manual/lang.texi: Document MTASC-safety properties.
11687
11688         * manual/job.texi: Document MTASC-safety properties.
11689
11690         * manual/getopt.texi: Document MTASC-safety properties.
11691
11692         * manual/ctype.texi: Document MTASC-safety properties.
11693
11694 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11695
11696         [BZ #16046]
11697         * csu/libc-tls.c (static_map): Remove variable.
11698         (__libc_setup_tls): Use main executable's link map for TLS data.
11699         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11700         casing for LM_ID_BASE and GL(dl_nns).
11701         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11702         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11703         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11704         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11705         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11706         member.
11707         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11708         l_phnum members.
11709
11710 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11711
11712         * manual/debug.texi: Document MTASC-safety properties.
11713
11714 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11715
11716         [BZ #16510]
11717         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11718         of __x86_64__ when disabling x87 inline functions.
11719
11720 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11721
11722         * manual/charset.texi: Document MTASC-safety properties.
11723
11724         * manual/crypt.texi: Document MTASC-safety properties.
11725
11726         * manual/conf.texi: Document MTASC-safety properties.
11727
11728         * manual/arith.texi: Document MTASC-safety properties.
11729
11730         * manual/argp.texi: Document MTASC-safety properties.
11731
11732         * manual/macros.texi: Introduce macros to document multi
11733         thread, asynchronous signal and asynchronous cancellation
11734         safety properties.
11735         * manual/intro.texi: Introduce the properties themselves.
11736
11737 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11738
11739         * sysdeps/sh/sh4/Makefile: New file.
11740
11741 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11742
11743         * math/gen-libm-test.pl ($srcdir): New variable.
11744         ($auto_input): Use it.
11745
11746 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11747
11748         [BZ #16506]
11749         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11750         access beyond array bounds when parsing netgroups file.
11751
11752         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11753         the old buffer before realloc.
11754
11755 2014-01-27  Allan McRae  <allan@archlinux.org>
11756
11757         * po/fr.po: Update French translation from translation project.
11758
11759 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11760
11761         * sysdeps/sh/libm-test-ulps: Regenerate.
11762
11763 2014-01-24  David S. Miller  <davem@davemloft.net>
11764
11765         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11766
11767 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11768
11769         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11770         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11771
11772 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11773
11774         [BZ #16474]
11775         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11776         string pointers after reallocation.
11777
11778 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11779
11780         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11781         __SH4A__ instead of __SH_FPU_ANY__.
11782
11783 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11784
11785         * sysdeps/sh/fpu_control.h: New file.
11786         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11787         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11788         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11789         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11790         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11791         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11792         * sysdeps/sh/sys/ucontext.h: Remove.
11793         * sysdeps/sh/sys: Remove directory.
11794
11795 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11796
11797         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11798         s390/sys/ucontext.h.
11799         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11800         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11801
11802 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11803
11804         [BZ #15605]
11805         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11806
11807 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11808
11809         [BZ#16431]
11810         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11811         Adjust the vDSO correctly for internal calls.
11812         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11813
11814 2014-01-20  Allan McRae  <allan@archlinux.org>
11815
11816         * po/ca.po: Update Catalan translation from translation project.
11817
11818 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11819
11820         * sysdeps/s390/sotruss-lib.c: New file.
11821
11822 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11823
11824         [BZ#16430]
11825         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11826         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11827         local calls issues by not having a PLT stub required for IFUNC calls.
11828         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11829
11830 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11831
11832         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11833         * math/test-fpucw-static.c: Likewise.
11834
11835 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11836
11837         [BZ #16453]
11838         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11839
11840 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11841
11842         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11843         implementation for powerpc.
11844
11845 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11846
11847         [BZ #14782]
11848         * sysdeps/posix/system.c (__libc_system): Do not enable
11849         asynchronous cancellation.
11850
11851 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11852
11853         [BZ #16427]
11854         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11855         handling only for numbers special also in the IEEE case.
11856
11857 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11858
11859         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11860
11861 2014-01-11  Allan McRae  <allan@archlinux.org>
11862
11863         * po/bg.po: Update Bulgarian translation from translation project.
11864
11865         * po/de.po: Update German translation from translation project.
11866
11867 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11868
11869         * sysdeps/generic/gcc-compat.h: New file.
11870
11871 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11872
11873         * benchtests/asin-inputs: Correct slow inputs.
11874         * benchtests/acos-inputs: Likewise.
11875
11876 2014-01-10  Allan McRae  <allan@archlinux.org>
11877
11878         * po:sv.po: Update Swedish translation from translation project.
11879
11880         * po/vi.po: Update Vietnamese translation from translation project.
11881
11882         * po/eo.po: Update Esperanto translation from translation project.
11883
11884         * po/cs.po: Update Czech translation from translation project.
11885
11886         * po/nl.po: Update Dutch translation from translation project.
11887
11888         * po/pl.po: Update Polish translation from translation project.
11889
11890         * po/ru.po: Update Russian translation from translation project.
11891
11892         * po/uk.po: Update Ukrainian translation from translation project.
11893
11894 2014-01-08  Brooks Moses  <bmoses@google.com>
11895
11896         * elf/dl-load.c: Fix comment typo.
11897
11898 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11899
11900         * po/header.pot: Rename to...
11901         * po/pot.header: ... this.
11902         * po/Makefile: Use pot.header.
11903
11904 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11905             Maxim Kuvyrkov  <maxim@kugelworks.com>
11906
11907         [BZ #16394]
11908         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11909         SRC and DEST against LEN.
11910
11911 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11912
11913         [BZ #16414]
11914         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11915         implementation.
11916         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11917
11918 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11919
11920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11921
11922 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11923
11924         [BZ #16408]
11925         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11926         for large positive arguments.
11927
11928 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11929
11930         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11931
11932         * math/auto-libm-test-in: Mark various tests with
11933         xfail-rounding:ldbl-128ibm.
11934         * math/auto-libm-test-out: Regenerated.
11935
11936         [BZ #16407]
11937         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11938         Increase overflow threshold.
11939
11940 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11941
11942         [BZ #14286]
11943         * stdio-common/vfprintf.c: Check for integer overflow.
11944
11945 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11946
11947         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11948         the first argument and return value of __tls_get_addr_internal.
11949
11950 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11951
11952         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11953         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11954
11955 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11956
11957         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11958         * sysdeps/s390/rtld-global-offsets.sym: New file.
11959         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11960         GLIBC_2.19 symbol.
11961         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11962         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11963         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11964         ... this.
11965         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11966         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11967         ... this.
11968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11969         Regenerate.
11970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11971         Regenerate.
11972         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11973         halfs of GPRs for high_gprs contexts.
11974         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11975         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11976         field.
11977         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11978         uc_flags field.
11979         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11980         64 bit versions:
11981         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11982         for high GPRs (uc_high_gprs) and for future extensions
11983         (__reserved).
11984         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11985         for future extensions (__reserved).
11986         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11987         64 bit versions:
11988         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11989         SC_HIGHGPRS offset definition.
11990         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11991         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11992
11993         * Versions.def: Add GLIBC_2.19 for libpthread.
11994         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11995         siglongjmp for libpthread with GLIBC_2.19 symver.
11996         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11997         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11998         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11999         * sysdeps/s390/__longjmp.c: New file.
12000         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12001         * sysdeps/s390/longjmp.c: New file.
12002         * sysdeps/s390/setjmp.S: New file.
12003         * sysdeps/s390/sigjmp.S: New file.
12004         * sysdeps/s390/v1-longjmp.c: New file.
12005         * sysdeps/s390/v1-setjmp.h: New file.
12006         * sysdeps/s390/v1-sigjmp.c: New file.
12007         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12008         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12009         GLIBC_2.19 version.
12010         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12011         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12012         versioned symbols for ____longjmp_chk.
12013         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12014         Likewise.
12015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12016         Regenerate.
12017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12018         Regenerate.
12019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12020         Regenerate.
12021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12022         Regenerate.
12023         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12024         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12025         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12026         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12027         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12028         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12029         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12030         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12031         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12032         * sysdeps/s390/rtld-__longjmp.c: New file.
12033         * sysdeps/s390/rtld-setjmp.S: New file.
12034
12035 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12036
12037         [BZ #16400]
12038         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12039         Return -__logl (x) for small positive arguments without evaluating
12040         a polynomial.
12041
12042 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12043
12044         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12045         Rename to ...
12046         (__ptrace_peeksiginfo_args): ... this.
12047         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12048         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12049         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12050
12051 2014-01-06  Allan McRae  <allan@archlinux.org>
12052
12053         * inet/netinet/in.h: Fix typo in comment.
12054
12055 2014-01-05  Andreas Jaeger  <aj@suse.de>
12056
12057         * sysdeps/i386/fpu/libm-test-ulps: Update.
12058
12059 2014-01-05  Allan McRae  <allan@archlinux.org>
12060
12061         * po/libc.pot: Regenerated.
12062
12063         * malloc/memusagestat.c: Fix gettext call formatting.
12064
12065 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12066
12067         * nscd/nscd.c: Improve usage() output.
12068
12069 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12070
12071         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12072         * sysdeps/unix/sysv/linux/configure: Regenerated.
12073         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12074         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12075
12076 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12077
12078         [BZ #16390]
12079         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12080         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12081
12082 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12083
12084         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12085         extra tokens at end of #undef directive.
12086         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12087         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12088         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12089
12090 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12091
12092         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12093
12094         * math/auto-libm-test-in: Mark various tests with
12095         xfail-rounding:ldbl-128ibm.
12096         * math/auto-libm-test-out: Regenerated.
12097
12098 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12099
12100         [BZ #16386]
12101         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12102         numbers with subnormal high part when calculating exponent.
12103
12104         [BZ #16385]
12105         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12106         fabs.
12107
12108         [BZ #16384]
12109         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12110         M_LN2l.
12111         (__ieee754_acoshl): Use __log1pl not __log1p.
12112
12113 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12114
12115         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12116         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12117         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12118         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12119         (reused_arena, arena_get2): Convert to GNU style.
12120         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12121         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12122         (memalign_check, __malloc_set_state): Likewise.
12123         * malloc/mallocbug.c (main): Likewise.
12124         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12125         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12126         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12127         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12128         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12129         (__posix_memalign, malloc_info): Likewise.
12130         * malloc/malloc.h: Likewise.
12131         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12132         (mallochook, memalignhook, reallochook, mabort): Likewise.
12133         * malloc/mcheck.h: Likewise.
12134         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12135         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12136         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12137         * malloc/morecore.c (__default_morecore): Likewise.
12138         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12139         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12140         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12141         (print_and_abort): Likewise.
12142         * malloc/obstack.h: Likewise.
12143         * malloc/set-freeres.c (__libc_freeres): Likewise.
12144         * malloc/tst-mallocstate.c (main): Likewise.
12145         * malloc/tst-mtrace.c (main): Likewise.
12146         * malloc/tst-realloc.c (do_test): Likewise.
12147
12148 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12149
12150         [BZ #16366]
12151         * nscd/netgroupcache.c (do_notfound): New function.
12152         (addgetnetgrentX): Use it.
12153
12154         [BZ # 16365]
12155         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12156         NSS_STATUS_NOTFOUND.
12157
12158 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12159
12160         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12162
12163 2014-01-01  Allan McRae  <allan@archlinux.org>
12164
12165         * scripts/update-copyrights: Update configure input file suffix.
12166
12167         * NEWS: Update copyright year.
12168         * catgets/gencat.c: Likewise.
12169         * csu/version.c: Likewise.
12170         * debug/catchsegv.sh: Likewise.
12171         * debug/pcprofiledump.c: Likewise.
12172         * debug/xtrace.sh: Likewise.
12173         * elf/ldconfig.c: Likewise.
12174         * elf/ldd.bash.in: Likewise.
12175         * elf/pldd.c: Likewise.
12176         * elf/sotruss.ksh: Likewise.
12177         * elf/sprof.c: Likewise.
12178         * iconv/iconv_prog.c: Likewise.
12179         * iconv/iconvconfig.c: Likewise.
12180         * locale/programs/locale.c: Likewise.
12181         * locale/programs/localedef.c: Likewise.
12182         * login/programs/pt_chown.c: Likewise.
12183         * malloc/memusage.sh: Likewise.
12184         * malloc/memusagestat.c: Likewise.
12185         * malloc/mtrace.pl: Likewise.
12186         * manual/libc.texinfo: Likewise.
12187         * nscd/nscd.c: Likewise.
12188         * nss/getent.c: Likewise.
12189         * nss/makedb.c: Likewise.
12190         * posix/getconf.c: Likewise.
12191         * scripts/test-installation.pl: Likewise.
12192
12193         * All files with FSF copyright notices: Update copyright dates
12194         using scripts/update-copyrights.
12195         * intl/plural.c: Regenerated.
12196         * locale/programs/charmap-kw.h: Likewise.
12197         * locale/programs/locfile-kw.h: Likewise.
12198
12199 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12200
12201         * sysdeps/unix/sysv/linux/configure: Regenerated.
12202         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12203         the linux/fanotify.h header.
12204         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12205         HAVE_LINUX_FANOTIFY_H is defined.
12206
12207 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12208
12209         * benchtests/cos-inputs: New inputs.
12210         * benchtests/sin-inputs: Likewise.
12211
12212         * benchtests/atan-inputs: New inputs. Fix name of multiple
12213         precision fallback inputs.
12214
12215         * benchtests/atanh-inputs: New inputs.
12216         * benchtests/tanh-inputs: Likewise.
12217
12218         * benchtests/acosh-inputs: New inputs.
12219         * benchtests/asinh-inputs: Likewise.
12220
12221         * benchtests/cosh-inputs: New inputs.
12222         * benchtests/sinh-inputs: Likewise.
12223
12224         * benchtests/acos-inputs: Add more inputs.
12225         * benchtests/asin-inputs: Likewise.
12226
12227 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12228
12229         [BZ #16375]
12230         * manual/arith.texi: Fix spelling.
12231         * manual/charset.texi: Likewise.
12232         * manual/errno.texi: Likewise.
12233         * manual/filesys.texi: Likewise.
12234         * manual/lang.texi: Likewise.
12235         * manual/llio.texi: Likewise.
12236         * manual/locale.texi: Likewise.
12237         * manual/message.texi: Likewise.
12238         * manual/resource.texi: Likewise.
12239         * manual/search.texi: Likewise.
12240         * manual/setjmp.texi: Likewise.
12241         * manual/stdio.texi: Likewise.
12242         * manual/string.texi: Likewise.
12243         * manual/sysinfo.texi: Likewise.
12244         * manual/time.texi: Likewise.
12245
12246 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12247
12248         * po/sl.po: New file.
12249
12250 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12251
12252         * .gitignore: Add core/.gdbinit/.gdb_history.
12253
12254 2013-12-27  Allan McRae  <allan@archlinux.org>
12255
12256         [BZ #16369]
12257         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12258         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12259
12260 2013-12-24  Brooks Moses  <bmoses@google.com>
12261
12262         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12263         all compilers that claim C++98 compliance, not just GCC.
12264         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12265         Likewise.
12266
12267 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12268
12269         * NEWS: Restore accidentally deleted bug-fix entries.
12270
12271 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12272             Ondřej Bílka  <neleai@seznam.cz>
12273
12274         [BZ #15073]
12275         * malloc/malloc.c (_int_free): Perform sanity check only if we
12276         have_lock.
12277
12278 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12279
12280         [BZ #12986]
12281         * manual/stdio.texi (String Input Conversions): Clarify that character
12282         classes are not supported.
12283
12284 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12285
12286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12287
12288 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12289
12290         [BZ #16337]
12291         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12292         Calculate results for small negative arguments directly rather
12293         than using reflection formula with special underflow handling.
12294
12295         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12296         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12297         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12298         (fchflags): Likewise.
12299         (revoke): Likewise.
12300         (setlogin): Likewise.
12301         (sigaltstack): Likewise.
12302         (wait4): Likewise.
12303         (sigblock): Remove.
12304         (sigsetmask): Likewise.
12305         (wait3): Likewise.
12306         (waitpid): Likewise.
12307         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12308         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12309         file.
12310         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12311         * sysdeps/unix/bsd/Makefile: ... here.
12312         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12313         * sysdeps/unix/bsd/Versions: ... here.
12314         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12315         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12316         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12317         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12318         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12319         * sysdeps/unix/bsd/sigblock.c: ... here.
12320         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12321         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12322         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12323         * sysdeps/unix/bsd/sigvec.c: ... here.
12324         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12325         * sysdeps/unix/bsd/tcdrain.c: ... here.
12326         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12327         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12328         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12329         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12330         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12331         * sysdeps/unix/bsd/wait.c: ... here.
12332         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12333         * sysdeps/unix/bsd/wait3.c: ... here.
12334         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12335         * sysdeps/unix/bsd/waitpid.c: ... here.
12336
12337 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12338
12339         [BZ #16356]
12340         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12341         round-to-nearest for [!USE_AS_EXPM1L].
12342         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12343         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12344         more tests of exp and exp10.  Expect some exp10 tests to miss
12345         exceptions or fail in directed rounding modes.
12346         * math/auto-libm-test-out: Regenerated.
12347         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12348         (exp10_test_tonearest): New function.
12349         (exp10_towardzero_test_data): New array.
12350         (exp10_test_towardzero): New function.
12351         (exp10_downward_test_data): New array.
12352         (exp10_test_downward): New function.
12353         (exp10_upward_test_data): New array.
12354         (exp10_test_upward): New function.
12355         (main): Call the new functions.
12356         * sysdeps/i386/fpu/libm-test-ulps: Update.
12357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12358
12359 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12360
12361         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12362         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12363         * math/auto-libm-test-out: Regenerated.
12364         * math/libm-test.inc (acosh_test_data): Add more tests.
12365         (atanh_test_data): Likewise.
12366         (ceil_test_data): Likewise.
12367         (copysign_test_data): Likewise.
12368         * sysdeps/i386/fpu/libm-test-ulps: Update.
12369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12370
12371         * timezone/checktab.awk: Update from tzcode 2013i.
12372         * timezone/private.h: Likewise.
12373         * timezone/scheck.c: Likewise.
12374         * timezone/tzfile.h: Likewise.
12375         * timezone/tzselect.ksh: Likewise.
12376         * timezone/zdump.c: Likewise.
12377         * timezone/zic.c: Likewise.
12378
12379         * math/auto-libm-test-in: Add tests of cpow.
12380         * math/auto-libm-test-out: Regenerated.
12381         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12382         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12383         mpc_cc_c.
12384         (func_calc_desc): Add mpc_cc_c union field.
12385         (test_functions): Add cpow.
12386         (special_fill_2pi): New function.
12387         (special_real_inputs): Add 2pi.
12388         (calc_generic_results): Handle mpc_cc_c.
12389         * sysdeps/i386/fpu/libm-test-ulps: Update.
12390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12391
12392         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12393         csqrt, ctan and ctanh.
12394         * math/auto-libm-test-out: Regenerated.
12395         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12396         (TEST_COND_x86): Likewise.
12397         (ccos_test_data): Use AUTO_TESTS_c_c.
12398         (ccosh_test_data): Likewise.
12399         (cexp_test_data): Likewise.
12400         (clog_test_data): Likewise.
12401         (csqrt_test_data): Likewise.
12402         (ctan_test_data): Likewise.
12403         (ctan_tonearest_test_data): Likewise.
12404         (ctan_towardzero_test_data): Likewise.
12405         (ctan_downward_test_data): Likewise.
12406         (ctan_upward_test_data): Likewise.
12407         (ctanh_test_data): Likewise.
12408         (ctanh_tonearest_test_data): Likewise.
12409         (ctanh_towardzero_test_data): Likewise.
12410         (ctanh_downward_test_data): Likewise.
12411         (ctanh_upward_test_data): Likewise.
12412         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12413         mpc_c_c.
12414         (func_calc_desc): Add mpc_c_c union field.
12415         (FUNC_mpc_c_c): New macro.
12416         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12417         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12418         ctanh.
12419         (special_fill_min_subnorm_p120): New function.
12420         (special_real_inputs): Add min_subnorm_p120.
12421         (calc_generic_results): Handle mpc_c_c.
12422         * sysdeps/i386/fpu/libm-test-ulps: Update.
12423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12424
12425 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12426
12427         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12428         (do_sin_slow): New functions.
12429         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12430         (cslow2, csloww1, csloww2): Use the new functions.
12431
12432         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12433         Use M to change sign of result instead of X.  Assume X is
12434         positive.
12435         (csloww1): Likewise.
12436         (__sin): Adjust.
12437         (__cos): Adjust.
12438
12439         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12440         arguments A and DA.
12441         (__sin): Adjust.
12442         (__cos): Likewise.
12443
12444         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12445         (__cos): Likewise.
12446         (sloww1): Don't adjust sign of DX.
12447         (csloww1): Likewise.
12448         (sloww2): Use X directly and don't adjust sign of DX.
12449         (csloww2): Likewise.
12450
12451 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12452
12453         * math/auto-libm-test-in: Add tests of cabs and carg.
12454         * math/auto-libm-test-out: Regenerated.
12455         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12456         (carg_test_data): Likewise.
12457         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12458         mpc_c_f.
12459         (func_calc_desc): Add mpc_c_f union field.
12460         (test_functions): Add cabs and carg.
12461         (calc_generic_results): Handle mpc_c_f.
12462
12463         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12464         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12465         as a macro and a compat symbol.
12466         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12467         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12468         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12469         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12470         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12471         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12472         not use .hidden.
12473         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12474         Likewise.
12475         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12476         Likewise.
12477         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12478         Likewise.
12479         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12480         Likewise.
12481         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12482         Likewise.
12483         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12484         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12485         from GLIBC_2.3.2.
12486
12487 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12488
12489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12490
12491 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12492
12493         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12494         trailing whitespace removed.
12495         * scripts/config.guess: Update to version 2013-11-29.
12496         * scripts/config.sub: Update to version 2013-10-01.
12497
12498         * math/auto-libm-test-in: Add tests of sincos.
12499         * math/auto-libm-test-out: Regenerated.
12500         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12501         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12502         mpfr_f_11.
12503         (func_calc_desc): Add mpfr_f_11 union field.
12504         (test_functions): Add sincos.
12505         (calc_generic_results): Handle mpfr_f_11.
12506         * sysdeps/i386/fpu/libm-test-ulps: Update.
12507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12508
12509 2013-12-19  Andreas Schwab  <schwab@suse.de>
12510
12511         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12512         CALL_MCOUNT.
12513         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12514         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12515         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12516
12517 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12518
12519         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12520         * sysdeps/i386/fpu/libm-test-ulps: Update.
12521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12522
12523         [BZ #16293]
12524         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12525         round-to-nearest mode when using frndint.
12526         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12527         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12528         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12529         Likewise.
12530         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12531         sinh test to fail.
12532         * math/auto-libm-test-out: Regenerated.
12533         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12534         (TEST_COND_x86): Likewise.
12535         (expm1_tonearest_test_data): New array.
12536         (expm1_test_tonearest): New function.
12537         (expm1_towardzero_test_data): New array.
12538         (expm1_test_towardzero): New function.
12539         (expm1_downward_test_data): New array.
12540         (expm1_test_downward): New function.
12541         (expm1_upward_test_data): New array.
12542         (expm1_test_upward): New function.
12543         (main): Run the new test functions.
12544         * sysdeps/i386/fpu/libm-test-ulps: Update.
12545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12546
12547         * include/features.h: Update comment documenting feature test
12548         macros.  Mention _DEFAULT_SOURCE in comment.
12549         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12550         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12551         _BSD_SOURCE and _SVID_SOURCE.
12552         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12553         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12554         !_SVID_SOURCE]: Likewise.
12555         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12556         (__USE_POSIX_IMPLICITLY): Define.
12557         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12558         (_POSIX_SOURCE): Undefine and redefine.
12559         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12560         (_POSIX_C_SOURCE): Likewise.
12561         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12562         (Feature Test Macros): Update documentation of default features.
12563
12564 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12565
12566         * benchtests/Makefile: Add bench-strtok.
12567         * benchtests/bench-strtok.c: New file: strtok benchtest.
12568
12569 2013-12-19  Allan McRae  <allan@archlinux.org>
12570
12571         * manual/install.texi: Suppress menu for plain text output.
12572         * INSTALL: Regenerated.
12573
12574 2013-12-18  Brooks Moses  <bmoses@google.com>
12575
12576         [BZ #15846]
12577         * misc/getauxval.c: Include errno.h.
12578         (__getauxval): Set errno to ENOENT if the requested type is not
12579         found.
12580         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12581         don't declare with __attribute_const__.
12582         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12583         * manual/startup.texi: Document that getauxval sets errno.
12584
12585 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12586
12587         * math/auto-libm-test-in: Add tests of jn and yn.
12588         * math/auto-libm-test-out: Regenerated.
12589         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12590         (yn_test_data): Likewise.
12591         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12592         mpfr_if_f.
12593         (func_calc_desc): Add mpfr_if_f union field.
12594         (FUNC_mpfr_if_f): New macro.
12595         (test_functions): Add jn and yn.
12596         (calc_generic_results): Assert type of second input for
12597         mpfr_ff_f.  Handle mpfr_if_f.
12598         (output_for_one_input_case): Disable all checking for arguments
12599         fitting floating-point types in case of an integer argument.
12600         * sysdeps/i386/fpu/libm-test-ulps: Update.
12601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12602
12603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12604         Don't expect fegetround reference in libm.so.
12605
12606 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12607
12608         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12609         $(config-cflags-nofma).
12610
12611 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12612
12613         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12614         * math/auto-libm-test-out: Regenerated.
12615
12616         [BZ #16338]
12617         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12618         to determine exponent and adjust argument to have exponent of -1.
12619         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12620         log2.
12621         * math/auto-libm-test-out: Regenerated.
12622         * sysdeps/i386/fpu/libm-test-ulps: Update.
12623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12624
12625 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12626
12627         * manual/probes.texi: Remove cases when per-thread arenas are
12628         disabled.
12629
12630 2013-12-18  Andreas Schwab  <schwab@suse.de>
12631
12632         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12633         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12634         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12635         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12636         * sysdeps/i386/i686/multiarch/Makefile: Update.
12637         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12638
12639 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12640
12641         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12642         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12643
12644 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12645
12646         [BZ #15968]
12647         Support TZ transition times < 00:00:00.
12648         This is needed for version-3 tz-format files; it supports time
12649         stamps past 2037 for America/Godthab (the only entry in the tz
12650         database for which this change is relevant).
12651         * manual/time.texi (TZ Variable): Document transition times
12652         from -167:59:59 through -00:00:01.
12653         * time/tzset.c (tz_rule): Time of day is now signed.
12654         (__tzset_parse_tz): Parse negative time of day.
12655
12656         Document TZ transition times >= 25:00:00.
12657         * manual/time.texi (TZ Variable): Document transition times from
12658         25:00:00 through 167:59:59.  These are already supported, and this
12659         support will help with version-3 tz-format files.
12660
12661         * manual/time.texi (TZ Variable): Modernize North America example
12662         to reflect current (i.e., 2007-and-later) daylight saving rules.
12663
12664         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12665
12666 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12667
12668         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12669         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12670         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12671         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12672         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12673         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12674         * sysdeps/unix/bsd/clock.c: Likewise.
12675         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12676         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12677         * sysdeps/unix/bsd/init-posix.c: Likewise.
12678         * sysdeps/unix/bsd/poll.c: Likewise.
12679         * sysdeps/unix/bsd/ptsname.c: Likewise.
12680         * sysdeps/unix/bsd/seekdir.c: Likewise.
12681         * sysdeps/unix/bsd/setegid.c: Likewise.
12682         * sysdeps/unix/bsd/seteuid.c: Likewise.
12683         * sysdeps/unix/bsd/setgid.c: Likewise.
12684         * sysdeps/unix/bsd/setrgid.c: Likewise.
12685         * sysdeps/unix/bsd/setruid.c: Likewise.
12686         * sysdeps/unix/bsd/setsid.c: Likewise.
12687         * sysdeps/unix/bsd/setuid.c: Likewise.
12688         * sysdeps/unix/bsd/sigaction.c: Likewise.
12689         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12690         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12691         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12692         * sysdeps/unix/bsd/telldir.c: Likewise.
12693         * sysdeps/unix/bsd/times.c: Likewise.
12694         * sysdeps/unix/bsd/usleep.c: Likewise.
12695
12696         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12697         ($(objpfx)libbsd-compat.a): Remove rule.
12698
12699         * include/features.h (__FAVOR_BSD): Do not define.
12700         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12701         features conflicting with POSIX.
12702         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12703         (_BSD_SOURCE): Remove description of not being a subset of other
12704         feature test macros.
12705         * manual/job.texi (getpgrp): Do not document BSD version.
12706         (getpgid): Do not document by reference to BSD getpgrp.
12707         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12708         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12709         * signal/signal.h [__FAVOR_BSD]: Likewise.
12710         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12711         instead of making contents conditional on [__FAVOR_BSD].
12712         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12713
12714 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12715
12716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12717
12718 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12719
12720         [BZ #16314]
12721         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12722         values below 2**-450, not 2**-500.
12723         * math/auto-libm-test-in: Don't allow spurious underflow from
12724         hypot.
12725         * math/auto-libm-test-out: Regenerated.
12726
12727         [BZ #16316]
12728         [BZ #16330]
12729         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12730         values of ha and hb and sort them after adjusting subnormal
12731         arguments.
12732         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12733         Likewise.
12734         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12735         values of ea and eb and sort them after adjusting subnormal
12736         arguments.
12737         * math/auto-libm-test-in: Do not expect some hypot tests of
12738         subnormals to fail.  Add more hypot tests.
12739         * math/auto-libm-test-out: Regenerated.
12740
12741 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12742
12743         [BZ #13304]
12744         * sysdeps/sh/s_fma.c: New file.
12745         * sysdeps/sh/s_fmaf.c: New file.
12746         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12747         version.
12748         * sysdeps/sh/Implies: Add sh/soft-fp.
12749
12750 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12751
12752         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12753         level of indirection to members `objname', `errstring', `malloced'.
12754         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12755         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12756         it as the __longjmp argument (just pass 1 instead).
12757         (_dl_catch_error): Initialize C with argument pointers and address of
12758         volatile local ERRCODE rather than copying values out of C at return.
12759
12760 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12761
12762         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12763         * math/auto-libm-test-out: Regenerated.
12764         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12765         (hypot_test_data): Likewise.
12766         (pow_test_data): Likewise.
12767         (pow_tonearest_test_data): Likewise.
12768         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12769         mpfr_ff_f.
12770         (func_calc_desc): Add mpfr_ff_f union field.
12771         (FUNC_mpfr_ff_f): New macro.
12772         (test_functions): Add atan2, hypot and pow.
12773         (special_fill_min): New function.
12774         (special_fill_minus_min): Likewise.
12775         (special_fill_min_subnorm): Likewise.
12776         (special_fill_minus_min_subnorm): Likewise.
12777         (special_real_inputs): Add min, -min, min_subnorm and
12778         -min_subnorm.
12779         (calc_generic_results): Handle mpfr_ff_f.
12780         * sysdeps/i386/fpu/libm-test-ulps: Update.
12781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12782
12783 2013-12-16  Will Newton  <will.newton@linaro.org>
12784
12785         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12786         (Aligned Memory Blocks): Add documentation for aligned_alloc
12787         and suggest it as an alternative to posix_memalign.
12788         (Hooks for Malloc): Document __memalign_hook is also called
12789         for aligned_alloc.  (Summary of Malloc): Add summary for
12790         aligned alloc.  Document __memalign_hook is also called
12791         for aligned_alloc.
12792
12793 2013-12-16  Will Newton  <will.newton@linaro.org>
12794
12795         * manual/memory.texi (Malloc Examples): Clarify default
12796         alignment documentation.  Suggest posix_memalign rather
12797         than memalign or valloc.
12798         (Aligned Memory Blocks): Remove suggestion to use memalign
12799         or valloc.  Remove obsolete comment about BSD.
12800         Document memalign errno values and mark the function obsolete.
12801         Document posix_memalign returned error codes.  Mark valloc
12802         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12803         called for posix_memalign and valloc.
12804         (Summary of Malloc): Add posix_memalign to function summary.
12805         __memalign_hook is also called for posix_memalign and valloc.
12806
12807 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12808
12809         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12810         TAYLOR_SIN.
12811         (__sin): Adjust.
12812         (__cos): Likewise.
12813         (sloww): Use mynumber union.  Expand ternary operator into
12814         if-else statements.
12815         (cslow): use mynumber union.
12816
12817 2013-12-16  Allan McRae  <allan@archlinux.org>
12818
12819         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12820         * configure: Regenerated.
12821
12822         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12823
12824         [BZ #14120]
12825         * configure.ac: Added --enable-maintainer-mode. Check for
12826         autoconf when enabled.
12827         * configure: Regenerated.
12828
12829         * nscd/nscd.service: New file.
12830         * nscd/nscd.tmpfiles: New file.
12831
12832 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12833
12834         [BZ #12100]
12835         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12836         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12837         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12838         (strstr): Add __strstr_sse2_unaligned ifunc.
12839         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12840         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12841         (strcasestr): Remove __strcasestr_sse42 ifunc.
12842         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12843         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12845
12846 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12847
12848         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12849         * sysdeps/sh/bits/fenv.h: ... here.
12850         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12851
12852 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12853
12854         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12855
12856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12857         hypotf multiarch implementations.
12858         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12859         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12860         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12861         multiarch hypot for PPC64.
12862         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12863         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12864         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12865         multiarch hypotf for PPC64.
12866
12867         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12868         modff multiarch implementations.
12869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12872         multiarch modf for PPC64.
12873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12876         multiarch modff for PPC64.
12877
12878         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12879         and logl multiarch implementations.
12880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12883         multiarch logb for PPC64.
12884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12887         multiarch logb for PPC64.
12888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12891         multiarch logb for PPC64.
12892
12893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12894         isinff multiarch implementation.
12895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12896         file.
12897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12899         multiarch isinf for PPC64.
12900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12901         file.
12902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12903         multiarch isinff for PPC64.
12904
12905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12906         finitef multiarch implementation.
12907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12908         file.
12909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12911         multiarch finite for PPC64.
12912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12913         file.
12914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12915         multiarch finitef for PPC64.
12916
12917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12918         lrint multiarch implementation.
12919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12920         file.
12921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12923         multiarch llrint for PPC64.
12924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12925         multiarch lrint for PPC64.
12926
12927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12928         copysignf multiarch implementation.
12929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12930         file.
12931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12932         file.
12933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12934         multiarch copysign for PPC64.
12935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12936         multiarch copysignf for PPC64.
12937
12938         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12939         multiarch implementation.
12940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12941         file.
12942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12943         file.
12944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12945         file.
12946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12947         file.
12948         multiarch llround for PPC64.
12949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12950         multiarch trunc for PPC64.
12951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12952         multiarch truncf for PPC64.
12953
12954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12955         multiarch implementation.
12956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12957         file.
12958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12959         file.
12960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12961         file.
12962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12963         file.
12964         multiarch llround for PPC64.
12965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12966         multiarch round for PPC64.
12967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12968         multiarch roundf for PPC64.
12969
12970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12971         multiarch implementation.
12972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12973         file.
12974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12975         file.
12976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12977         file.
12978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12979         file.
12980         multiarch llround for PPC64.
12981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12982         multiarch floor for PPC64.
12983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12984         multiarch floorf for PPC64.
12985
12986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12987         multiarch implementation.
12988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12989         file.
12990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12991         file.
12992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12993         file.
12994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12995         file.
12996         multiarch llround for PPC64.
12997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12998         multiarch ceil for PPC64.
12999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13000         multiarch ceilf for PPC64.
13001
13002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13003         multiarch implementation.
13004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13005         file.
13006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13007         file.
13008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13009         file.
13010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13011         multiarch llround for PPC64.
13012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13013         multiarch lround for PPC64.
13014
13015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13016         multiarch implementation.
13017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13020         file.
13021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13024         multiarch isnan for PPC64.
13025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13026         multiarch isnanf for PPC64.
13027
13028         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13029         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13030         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13031         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13032         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13034
13035         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13036         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13037         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13038         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13039
13040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13041         multiarch implementations.
13042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13043         (__libc_ifunc_impl_list): Likewise.
13044         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13045         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13046         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13047         multiarch stpcpy for PPC64.
13048
13049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13050         multiarch implementations.
13051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13052         (__libc_ifunc_impl_list): Likewise.
13053         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13054         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13055         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13056         multiarch strcpy for PPC64.
13057
13058         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13059         redefine function name.
13060         (_wordcopy_fwd_dest_aligned): Likewise.
13061         (_wordcopy_bwd_aligned): Likewise.
13062         (_wordcopy_bwd_dest_aligned): Likewise.
13063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13064         multiarch implementations.
13065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13066         (__libc_ifunc_impl_list): Likewise.
13067         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13068         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13069         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13070         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13071         multiarch wcscpy for PPC64.
13072
13073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13074         multiarch implementations.
13075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13076         (__libc_ifunc_impl_list): Likewise.
13077         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13078         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13079         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13080         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13081         multiarch wcscpy for PPC64.
13082
13083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13084         multiarch implementations.
13085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13086         (__libc_ifunc_impl_list): Likewise.
13087         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13088         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13089         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13090         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13091         multiarch wcsrchr for PPC64.
13092
13093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13094         multiarch implementations.
13095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13096         (__libc_ifunc_impl_list): Likewise.
13097         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13098         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13099         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13100         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13101         multiarch wcschr for PPC64.
13102
13103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13104         multiarch implementations.
13105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13106         (__libc_ifunc_impl_list): Likewise.
13107         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13108         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13109         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13110         multiarch strchrnul for PPC64.
13111
13112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13113         implementations.
13114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13115         (__libc_ifunc_impl_list): Likewise.
13116         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13117         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13118         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13119         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13120         strchr for PPC64.
13121
13122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13123         implementations.
13124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13125         (__libc_ifunc_impl_list): Likewise.
13126         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13127         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13128         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13129         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13130         strncmp for PPC64.
13131
13132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13133         multiarch implementations.
13134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13135         (__libc_ifunc_impl_list): Likewise.
13136         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13137         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13138         strncasecmp for PPC64.
13139         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13140         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13141         multiarch strncasecmp_l for PPC64.
13142
13143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13144         multiarch implementations.
13145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13146         (__libc_ifunc_impl_list): Likewise.
13147         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13148         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13149         multiarch strcasecmp for PPC64.
13150         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13151         file.
13152         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13153         multiarch strcasecmp_l for PPC64.
13154
13155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13156         implementations.
13157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13158         (__libc_ifunc_impl_list): Likewise.
13159         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13160         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13161         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13162         strnlen for PPC64.
13163
13164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13165         implementations.
13166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13167         (__libc_ifunc_impl_list): Likewise.
13168         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13169         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13170         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13171         strlen for PPC64.
13172
13173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13174         implementations.
13175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13176         (__libc_ifunc_impl_list): Likewise.
13177         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13178         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13179         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13180         rawmemrchr for PPC64.
13181
13182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13183         implementation.
13184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13185         (__libc_ifunc_impl_list): Likewise.
13186         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13187         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13188         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13189         memrchr for PPC64.
13190
13191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13192         implementation.
13193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13194         (__libc_ifunc_impl_list): Likewise.
13195         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13196         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13197         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13198         memchr for PPC64.
13199
13200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13201         implementation.
13202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13203         (__libc_ifunc_impl_list): Likewise.
13204         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13205         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13206         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13207         mempcpy for PPC64.
13208
13209         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13210         avoid cretion of __bzero symbol.
13211         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13212         Likewise.
13213         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13214         Likewise.
13215         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13216         Likewise.
13217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13218         multiarch implementations.
13219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13220         (__libc_ifunc_impl_list): Likewise.
13221         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13222         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13223         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13224         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13225         bzero for PPC32.
13226         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13227         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13228         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13229         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13230         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13231         memset for PPC64.
13232         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13233
13234         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13236         implementations.
13237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13238         (__libc_ifunc_impl_list): Likewise.
13239         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13240         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13241         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13242         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13243         memcmp for PPC64.
13244
13245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13246         multiarch for POWER/PPC64.
13247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13248         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13249         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13250         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13251         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13252         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13253         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13254         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13255         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13256         memcpy for PPC64.
13257
13258         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13259         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13260         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13261         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13262         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13263         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13264         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13265         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13266         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13267         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13268         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13269         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13270         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13271         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13272         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13280
13281 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13282
13283         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13284
13285 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13286
13287         * benchtests/Makefile (bench): Add exp2 and log2.
13288         (LDLIBS-bench-exp2): Add -lm.
13289         (LDLIBS-bench-log2): Likewise.
13290         * benchtests/exp2-inputs: New inputs file.
13291         * benchtests/log2-inputs: New inputs file.
13292         * benchtests/log-inputs: Add new inputs.
13293         * benchtests/tan-inputs: Likewise.
13294
13295 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13296
13297         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13298         definition...
13299         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13300         (csloww2): ... from here.
13301
13302         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13303         instead of structures.
13304         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13305         (POLYNOMIAL): Likewise.
13306         (TAYLOR_SLOW): Likewise.
13307         (__sin): Likewise.
13308         (__cos): Likewise.
13309         (slow1): Likewise.
13310         (slow2): Likewise.
13311         (sloww): Likewise.
13312         (sloww1); Likewise.
13313         (sloww2): Likewise.
13314         (bsloww1): Likewise.
13315         (bsloww2): Likewise.
13316         (cslow2): Likewise.
13317         (csloww): Likewise.
13318         (csloww1): Likewise.
13319         (csloww2): Likewise.
13320
13321 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13322
13323         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13324         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13325         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13326         * malloc/hooks.c (realloc_check): Likewise.
13327
13328         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13329         * malloc/arena.c: Remove PER_THREAD conditional.
13330         [!PER_THREAD]: Remove code.
13331         (ptmalloc_unlock_all2): Likewise.
13332         (ptmalloc_init): Likewise.
13333         (_int_new_arena): Likewise.
13334         (arena_get2): Likewise.
13335         * malloc/hooks.c (__malloc_get_state): Likewise.
13336         (__malloc_set_state): Likewise.
13337         * malloc/malloc.c: Likewise.
13338         (struct malloc_state): Likewise.
13339         (struct malloc_par): Likewise.
13340         (__libc_realloc): Likewise.
13341         (__libc_mallopt): Likewise.
13342
13343 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13344
13345         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13346
13347 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13348
13349         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13350         macro to a function.  Check for zero perturb_byte.
13351         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13352
13353         * malloc/malloc.c: (force_reg): Remove.
13354         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13355         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13356         force_reg by atomic_forced_read.
13357         * malloc/arena.c (ptmalloc_init): Likewise.
13358         * malloc/hooks.c (top_check): Likewise.
13359
13360 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13361
13362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13363
13364 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13365
13366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13367
13368 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13369
13370         * math/auto-libm-test-in: Add tests of lgamma.
13371         * math/auto-libm-test-out: Regenerated.
13372         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13373         (M_LOG_2_SQRT_PIl): Likewise.
13374         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13375         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13376         mpfr_f_f1.
13377         (func_calc_desc): Add mpfr_f_f1 union field.
13378         (ARGS1): New macro.
13379         (ARGS2): Likewise.
13380         (ARGS3): Likewise.
13381         (ARGS4): Likewise.
13382         (RET1): Likewise.
13383         (RET2): Likewise.
13384         (CALC): Likewise.
13385         (FUNC): Likewise.
13386         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13387         (test_functions): Add lgamma.
13388         (calc_generic_results): Handle mpfr_f_f1.
13389         * sysdeps/i386/fpu/libm-test-ulps: Update.
13390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13391
13392 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13393
13394         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13395         __mpn_add_n for PowerPC64/POWER7.
13396         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13397         __mpn_sub_n for PowerPC64/POWER7.
13398
13399         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13400         __mpn_addmul_1 for PowerPC64.
13401         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13402         __mpn_submul_1 for PowerPC64.
13403         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13404         for PowerPC64.
13405         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13406         for PowerPC64.
13407
13408 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13409
13410         [BZ #15089]
13411         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13412
13413 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13414
13415         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13416
13417         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13418         add multiarch folders.
13419         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13420         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13421         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13422         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13423         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13424         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13425         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13426         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13427         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13428         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13429         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13436
13437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13438         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13440         New file.
13441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13442         New file.
13443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13444         multiarch __ieee754_hypot for PowerPC32.
13445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13446         New file.
13447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13448         New file.
13449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13450         multiarch __ieee754_hypotf for PowerPC32.
13451
13452         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13453         long_double_symbol only if __logbl is defined.
13454         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13455         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13456         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13457         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13458         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13459         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13460         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13461         path for implementation.
13462         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13463         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13465         logb, and logbl multiarch implementations for PowerPC32.
13466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13467         file.
13468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13469         file.
13470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13471         multiarch logb for PowerPC32.
13472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13473         file.
13474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13475         file.
13476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13477         multiarch logbf for PowerPC32.
13478         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13480         file.
13481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13482         multiarch logbl implementation for PowerPC32.
13483
13484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13485         and modff multiarch implementations.
13486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13487         New file.
13488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13489         New file.
13490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13491         multiarch modf for PowerPC32.
13492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13493         New file.
13494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13495         New file.
13496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13497         multiarch modff for PowerPC32.
13498
13499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13500         and lrintf multiarch implementations.
13501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13502         New file.
13503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13504         New file.
13505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13506         multiarch lrint for PowerPC32.
13507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13508         file: multiarch lrintf for PowerPC32.
13509
13510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13511         and lroundf multiarch implementations.
13512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13513         New file.
13514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13515         New file.
13516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13517         New file.
13518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13519         multiarch lround for PowerPC32.
13520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13521         file: multiarch lroundf for PowerPC32.
13522
13523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13524         copysign and copysignf multiarch implementations.
13525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13526         New file.
13527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13528         New file.
13529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13530         file: multiarch copysign for PowerPC32.
13531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13532         file: multiarch copysignf for PowerPC32.
13533
13534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13535         and truncf multiarch implementations.
13536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13537         New file.
13538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13539         file.
13540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13541         multiarch trunc for PowerPC32.
13542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13543         New file.
13544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13545         New file.
13546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13547         multiarch truncf for PowerPC32.
13548
13549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13550         and roundf multiarch implementations.
13551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13552         New file.
13553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13554         file.
13555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13556         multiarch round for PowerPC32.
13557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13558         New file.
13559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13560         New file.
13561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13562         multiarch roundf for PowerPC32.
13563
13564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13565         and floorf multiarch implementations.
13566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13567         New file.
13568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13569         file.
13570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13571         multiarch floor for PowerPC32.
13572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13573         New file.
13574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13575         New file.
13576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13577         multiarch floorf for PowerPC32.
13578
13579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13580         and ceilf multiarch implementations.
13581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13582         New file.
13583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13584         file.
13585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13586         multiarch ceil for PowerPC32.
13587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13588         New file.
13589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13590         file.
13591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13592         multiarch ceilf for PowerPC32.
13593
13594         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13595         is defined.
13596         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13597         FINITEF is defined.
13598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13599         and finitef multiarch implementations.
13600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13601         New file.
13602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13603         file.
13604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13605         multiarch finite for PowerPC32.
13606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13607         New file.
13608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13609         file: multiarch finitef for PowerPC32.
13610
13611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13612         and isinff multiarch implementations.
13613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13614         file.
13615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13616         file.
13617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13618         multiarch isinf for PowerPC32.
13619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13620         New file.
13621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13622         multiarch isinff for PowerPC32.
13623
13624         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13625         alias when __isnan is defined.
13626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13627         and isnanf multiarch implementations.
13628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13629         file.
13630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13631         file.
13632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13633         file.
13634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13635         file.
13636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13637         multiarch isnan for PowerPC32.
13638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13639         New file.
13640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13641         New file.
13642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13643         multiarch isnanf for PowerPC32.
13644
13645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13646         and sqrtf multiarch implementations.
13647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13648         file.
13649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13650         file.
13651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13652         multiarch sqrt for PowerPC32.
13653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13654         file.
13655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13656         file.
13657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13658         multiarch sqrtf for PowerPC32.
13659
13660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13661         and llroundf multiarch implementations.
13662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13663         New file.
13664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13665         New file.
13666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13667         New file.
13668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13669         file: multiarch llround for PowerPC32.
13670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13671         file: multiarch llroundf for PowerPC32.
13672
13673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13674         multiarch PowerPC32 fpu implementations.
13675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13676         New file.
13677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13678         New file.
13679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13680         multiarch llrint for PowerPC32.
13681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13682         New file.
13683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13684         New file.
13685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13686         file.
13687
13688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13689
13690         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13691         file.
13692         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13693         file.
13694         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13695         file.
13696         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13697         multiarch wordcopy for PPC32.
13698         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13699         wordcopy objects.
13700         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13701         (__libc_ifunc_impl_list): Likewise.
13702         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13703         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13704         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13705         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13706         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13707         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13708
13709         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13710         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13711         file.
13712         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13713         file.
13714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13715         file.
13716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13717         multiarch wcscpy for PPC32.
13718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13719         multiarch objects.
13720         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13721         (__libc_ifunc_impl_list): Likewise.
13722         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13723         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13724         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13725         sysdeps/powerpc/power6/wcscpy.c.
13726
13727         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13729         file.
13730         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13731         file.
13732         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13733         file.
13734         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13735         multiarch wcsrchr for PPC32.
13736         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13737         multiarch objects.
13738         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13739         (__libc_ifunc_impl_list): Likewise.
13740         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13741         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13742         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13743         sysdeps/powerpc/power6/wcsrchr.c.
13744
13745         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13746         file.
13747         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13748         file.
13749         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13750         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13751         multiarch wcschr for PPc32.
13752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13753         multiarch objects.
13754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13755         (__libc_ifunc_impl_list): Likewise.
13756         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13757         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13758         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13759         sysdeps/powerpc/power6/wcschr.c.
13760
13761         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13762         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13763         file.
13764         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13765         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13766         file: multiarch strchr for PPC32.
13767         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13768         multiarch objects.
13769         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13770         (__libc_ifunc_impl_list): Likewise.
13771
13772         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13773         name.
13774         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13775         file.
13776         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13777         file.
13778         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13779         multiarch strchrnul for PPC32.
13780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13781         multiarch objects.
13782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13783         (__libc_ifunc_impl_list): Likewise.
13784
13785         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13786         file.
13787         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13788         multiarch strncasecmp for PPC32.
13789         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13790         file.
13791         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13792         multiarch strncasecmp_l for PPC32.
13793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13794         strncasecmp multiarch objects.
13795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13796         (__libc_ifunc_impl_list): Likewise.
13797
13798         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13799         file.
13800         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13801         multiarch strncasecmp for PPC32.
13802         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13803         New file.
13804         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13805         multiarch strcasecmp_l for PPC32.
13806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13807         multiarch objects.
13808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13809         (__libc_ifunc_impl_list): Likewise.
13810
13811         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13812         file.
13813         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13814         file.
13815         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13816         multiarch strncmp for PPC32.
13817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13818         multiarch objects.
13819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13820         (__libc_ifunc_impl_list): Likewise.
13821
13822         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13823         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13824         file.
13825         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13826         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13827         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13828         multiarch objects.
13829         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13830         (__libc_ifunc_impl_list): Likewise.
13831
13832         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13833         file.
13834         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13835         file.
13836         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13838         multiarch objects.
13839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13840         (__libc_ifunc_impl_list): Likewise.
13841
13842         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13843         file.
13844         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13845         file.
13846         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13847         multiarch rawmemchr for PPC32.
13848         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13849         multiarch objects.
13850         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13851         (__libc_ifunc_impl_list): Likewise.
13852
13853         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13854         file.
13855         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13856         file.
13857         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13858         file: memrchr multiarch for PPC32.
13859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13860         multiarch objects.
13861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13862         (__libc_ifunc_impl_list): Likewise.
13863
13864         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13865         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13866         file.
13867         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13868         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13869         multiarch memchr for PPC32.
13870         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13871         multiarch objects.
13872         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13873         (__libc_ifunc_impl_list): Likewise.
13874
13875         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13876         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13877         file.
13878         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13879         file.
13880         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13881         file: multiarch mempcpy for PPC32.
13882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13883         multiarch objects.
13884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13885         (__libc_ifunc_impl_list): Likewise.
13886
13887         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13888         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13889         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13890         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13891         multiarch bzero for PPC32.
13892         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13893         file.
13894         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13895         file.
13896         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13897         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13898         file: multiarch memset for PPC32.
13899         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13901         memset multiarch objects.
13902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13903         (__libc_ifunc_impl_list): Likewise.
13904
13905         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13906         file.
13907         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13908         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13909         memcmp for PPC32.
13910         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13912         multiarch objects.
13913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13914         (__libc_ifunc_impl_list): Likewise.
13915
13916         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13917         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13918         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13919         file.
13920         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13921         file.
13922         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13923         file.
13924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13925         multiarch memcpy for PPC32.
13926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13927         multiarch objects.
13928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13929         (__libc_ifunc_impl_list): Likewise.
13930
13931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13932         support multiarch for POWER/PPC32.
13933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13934         Likewise.
13935         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13937         Implies file to make multiarch folder appers before the fpu and
13938         default folder for power4 configuration.
13939
13940 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13941
13942         * scripts/bench.pl: Append volatile keyword to type.
13943
13944 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13945
13946         * sysdeps/sh/sotruss-lib.c: New file.
13947         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13948
13949 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13950
13951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13952
13953 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13954
13955         [BZ #6810]
13956         * math/w_tgamma.c: Include <errno.h>.
13957         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13958         * math/w_tgammaf.c: Include <errno.h>.
13959         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13960         * math/w_tgammal.c: Include <errno.h>.
13961         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13962         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13963         underflow.  Add more tgamma tests.
13964         * math/auto-libm-test-out: Regenerated.
13965         * sysdeps/i386/fpu/libm-test-ulps: Update.
13966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13967
13968         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13969         sin, sinh, tan, tanh, tgamma, y0 and y1.
13970         * math/auto-libm-test-out: Regenerated.
13971         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13972         (TEST_COND_x86): Likewise.
13973         (M_E2l): Remove macro.
13974         (M_E3l): Likewise.
13975         (M_2_SQRT_PIl): Likewise.
13976         (M_SQRT_PIl): Likewise.
13977         (M_1_DIV_El): Likewise.
13978         (log_test_data): Use AUTO_TESTS_f_f.
13979         (log10_test_data): Likewise.
13980         (log1p_test_data): Likewise.
13981         (log2_test_data): Likewise.
13982         (sin_test_data): Likewise.
13983         (sin_tonearest_test_data): Likewise.
13984         (sin_towardzero_test_data): Likewise.
13985         (sin_downward_test_data): Likewise.
13986         (sin_upward_test_data): Likewise.
13987         (sinh_test_data): Likewise.
13988         (sinh_tonearest_test_data): Likewise.
13989         (sinh_towardzero_test_data): Likewise.
13990         (sinh_downward_test_data): Likewise.
13991         (sinh_upward_test_data): Likewise.
13992         (tan_test_data): Likewise.
13993         (tan_tonearest_test_data): Likewise.
13994         (tan_towardzero_test_data): Likewise.
13995         (tan_downward_test_data): Likewise.
13996         (tan_upward_test_data): Likewise.
13997         (tanh_test_data): Likewise.
13998         (tgamma_test_data): Likewise.
13999         (y0_test_data): Likewise.
14000         (y1_test_data): Likewise.
14001         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14002         (special_real_inputs): Add pi/4.
14003         * sysdeps/i386/fpu/libm-test-ulps: Update.
14004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14005
14006 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14007
14008         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14009         "longjmp_target" static probes.
14010         (__longjmp): Rename to __longjmp_symbol.
14011         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14012         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14013         on which longjmp to generate.
14014         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14015         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14016         probe.
14017         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14018         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14019         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14020         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14021         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14022         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14024         __longjmp_symbol based on which __longjmp to generate.
14025         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14026         probe.
14027         (setjmp): Rename to setjmp_symbol.
14028         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14029         (_setjmp): Rename to _setjmp_symbol.
14030         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14031         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14032         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14033         which setjmp to generate.
14034         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14035         "longjmp_target" static probes.
14036
14037 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14038
14039         * benchtests/README: Add note about output arguments.
14040         * benchtests/bench-sincos.c: Remove file.
14041         * benchtests/sincos-inputs: New file.
14042         * scripts/bench.pl: Identify output arguments and define
14043         static variables for them.
14044
14045         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14046
14047         [BZ #15941]
14048         * Makefile (INSTALL): Add install-plain.texi as the primary
14049         dependency.
14050         * manual/install-plain.texi: New file.
14051         * manual/install.texi: Include node directive only for
14052         non-plaintext output.
14053
14054 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14055
14056         * stdlib/longlong.h: Update from GCC.
14057
14058         [BZ #6807]
14059         [BZ #15901]
14060         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14061         * math/w_j0f.c (y0f): Likewise.
14062         * math/w_j0l.c (__y0l): Likewise.
14063         * math/w_j1.c (y1): Likewise.
14064         * math/w_j1f.c (y1f): Likewise.
14065         * math/w_j1l.c (__y1l): Likewise
14066         * math/w_jn.c (yn): Likewise.
14067         * math/w_jnf.c (ynf): Likewise.
14068         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14069         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14070         value for Bessel function domain errors outside _SVID_ mode.
14071         Adjust sign of return value for yn (negative integer, 0).
14072         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14073         by zero in return for negative x and set sign appropriately for
14074         negative n.
14075         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14076         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14077         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14078         expectations in error cases.
14079         (y1_test_data): Likewise.
14080         (yn_test_data): Likewise.
14081         * sysdeps/i386/fpu/libm-test-ulps: Update.
14082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14083
14084 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14085
14086         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14087         "64" to "64-v1".  Add "64-v2".
14088         (abi-64-options): Rename to ...
14089         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14090         (abi-64-condition): Rename to ...
14091         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14092         (abi-64-ld-soname): Rename to ...
14093         (abi-64-v1-ld-soname): ... this.
14094         (abi-64-v2-options): Define.
14095         (abi-64-v2-condition): Likewise.
14096         (abi-64-v2-ld-soname): Likewise.
14097         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14098         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14102
14103 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14104             Alan Modra  <amodra@gmail.com>
14105
14106         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14107         New versions for use with the ELFv2 ABI.
14108         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14109         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14110         declaration.
14111         (struct La_ppc64v2_retval): Likewise.
14112         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14113         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14114         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14115         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14116         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14117         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14118         Do not save or restore CR.
14119         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14120         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14121         return values for ELFv2 ABI.  Fix location of FPR return registers.
14122         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14123         updated values for _CALL_ELF == 2.
14124         (La_regs, La_retval, int_retval): Likewise.
14125
14126 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14127
14128         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14129         (FRAME_MIN_SIZE_PARM): Likewise.
14130         (FRAME_BACKCHAIN): Likewise.
14131         (FRAME_CR_SAVE): Likewise.
14132         (FRAME_LR_SAVE): Likewise.
14133         (FRAME_TOC_SAVE): Likewise.
14134         (FRAME_PARM_SAVE): Likewise.
14135         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14136         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14137         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14138         (call_mcount_parm_offset): New macro.
14139         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14140         (PROF): Use symbolic stack frame offsets.
14141         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14142         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14143         Redefine in terms of FRAME_MIN_SIZE.
14144         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14145         (_dl_profile_resolve): Likewise.  Update comment.
14146         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14147         symbols stack frame offsets.
14148         (__sigsetjmp): Likewise.
14149         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14150         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14151         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14152         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14153
14154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14155         (FRAME_BACKCHAIN): Remove.
14156         (FRAME_CR_SAVE): Likewise.
14157         (FRAME_LR_SAVE): Likewise.
14158         (FRAME_COMPILER_DW): Likewise.
14159         (FRAME_LINKER_DW): Likewise.
14160         (FRAME_TOC_SAVE): Likewise.
14161         (FRAME_PARM_SAVE): Likewise.
14162         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14163         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14164         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14166         (CHECK_SP): Use symbolic stack frame offsets.
14167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14168         zone" instead of caller's parameter save area for temp storage.
14169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14170         Likewise.  Also, use symbolic stack frame offsets.
14171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14172         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14173         our own stack frame instead of the caller's.
14174         (__socket): Use symbolic stack frame offsets.
14175
14176 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14177             Alan Modra  <amodra@gmail.com>
14178
14179         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14180         Define.
14181         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14182         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14183         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14184         New function.
14185         (elf_machine_fixup_plt): Call it.
14186         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14187         reloc arguments.
14188         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14189         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14190         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14191         r2 before calling target.
14192
14193 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14194             Alan Modra  <amodra@gmail.com>
14195
14196         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14197         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14198         versions of macros to support ELFv2 ABI.
14199         (LOCALENTRY): New macro.
14200         (ENTRY, EALIGN): Use it.
14201         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14202         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14203         fall through into ENTRY entry point.
14204         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14205         Only define if _CALL_ELF != 2.
14206
14207         (elf_machine_matches_host): Verify ABI version matches.
14208         (RTLD_START): Use LOCALENTRY.
14209         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14210         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14211         (PLT_ENTRY_WORDS): New macro.
14212         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14213         (elf_machine_runtime_setup): Support ELFv2 ABI.
14214         (elf_machine_fixup_plt): Likewise.
14215         (elf_machine_plt_conflict): Likewise.
14216         (resolve_ifunc): Likewise.
14217         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14218         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14219         Likewise.
14220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14221         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14223         (makecontext): Support ELFv2 ABI.
14224         * elf/elf.h (EF_PPC64_ABI): Define.
14225
14226 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14227
14228         * sysdeps/powerpc/powerpc64/sysdep.h
14229         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14230         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14231         (ENTRY) [ASSEMBLER]: ... but instead here ...
14232         (EALIGN) [ASSEMBLER]: ... and here.
14233         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14234         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14235         (ENTRY_2) [!ASSEMBLER]: Use it.
14236         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14237         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14238         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14239         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14240         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14242         Use PPC64_LOAD_FUNCPTR.
14243
14244         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14245
14246 2013-12-04  Alan Modra  <amodra@gmail.com>
14247
14248         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14249         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14250         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14251         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14252
14253         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14254         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14255         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14256         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14257         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14258         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14259
14260 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14261
14262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14263         (__makecontext): Fix incorrect CFI when backtracing out of
14264         context created via makecontext.
14265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14266         (__setcontext): Fix incorrect CFI during switch to new context.
14267         (__novec_setcontext): Likewise.
14268
14269 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14270
14271         [BZ #4772]
14272         * time/strptime_l.c (__strptime_internal): Allow modifiers
14273         in strptime.
14274         * time/tst-strptime.c (day_tests): Add testcase.
14275
14276 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14277
14278         * scripts/bench.pl: Skip over blank lines.
14279
14280 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14281
14282         [BZ #926]
14283         * manual/time.texi (Calendar Time): Clarify what timezone functions
14284         use.
14285
14286 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14287
14288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14289
14290 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14291
14292         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14293         implementation.
14294         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14295         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14296         * debug/memset_chk.c (__memset_chk): Likewise.
14297         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14298         * debug/strncpy_chk.c: Likewise.
14299
14300 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14301
14302         [BZ #15268]
14303         [BZ #15425]
14304         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14305         (__ieee754_exp): For possibly underflowing results, check size of
14306         result and force underflow exception if required.
14307         * math/auto-libm-test-in: Add more tests of exp.
14308         * math/auto-libm-test-out: Regenerated.
14309         * sysdeps/i386/fpu/libm-test-ulps: Update.
14310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14311
14312         [BZ #16283]
14313         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14314         * math/w_exp2f.c (__exp2f): Likewise.
14315         * math/w_exp2l.c (__exp2l): Likewise.
14316         * math/auto-libm-test-in: Do not allow missing errno on exp2
14317         underflow.
14318         * math/auto-libm-test-out: Regenerated.
14319
14320 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14321
14322         [BZ #16274]
14323         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14324         handle filename validation.
14325         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14326         (do_open): Delete.
14327
14328 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14329
14330         [BZ #6786]
14331         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14332         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14333         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14334         <float.h>.
14335         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14336         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14337         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14338         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14339         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14340         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14341         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14342         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14343         Add more erfc tests.
14344         * math/auto-libm-test-out: Regenerated.
14345         * sysdeps/i386/fpu/libm-test-ulps: Update.
14346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14347
14348         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14349         exp2, expm1, j0 and j1.
14350         * math/auto-libm-test-out: Regenerated.
14351         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14352         (erfc_test_data): Likewise.
14353         (exp_test_data): Likewise.
14354         (exp_tonearest_test_data): Likewise.
14355         (exp_towardzero_test_data): Likewise.
14356         (exp_downward_test_data): Likewise.
14357         (exp_upward_test_data): Likewise.
14358         (exp10_test_data): Likewise.
14359         (exp2_test_data): Likewise.
14360         (expm1_test_data): Likewise.
14361         (j0_test_data): Likewise.
14362         (j1_test_data): Likewise.
14363         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14364         (input_flag_type): Add flag_xfail_rounding.
14365         (input_flags): Add xfail-rounding.
14366         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14367         (output_for_one_input_case): Handle flag_xfail_rounding.
14368         * sysdeps/i386/fpu/libm-test-ulps: Update.
14369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14370
14371 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14372
14373         [BZ #16289]
14374         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14375         division by 0.
14376
14377 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14378
14379         [BZ #16195]
14380         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14381         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14382         (STAP_PROBE0): New macro.
14383         (STAP_PROBE1): Likewise.
14384         (STAP_PROBE2): Likewise.
14385         (STAP_PROBE3): Likewise.
14386         (STAP_PROBE4): Likewise.
14387
14388 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14389
14390         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14391
14392 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14393
14394         * benchtests/Makefile (bench): Add sqrt.
14395         (LDLIBS-bench-sqrt): New.
14396         * benchtests/sqrt-input: New.
14397
14398 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14399
14400         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14401         (GAIH_EAI): Likewise.
14402         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14403         (gaih_inet): Likewise.
14404         (getaddrinfo): Don't use GAIH_EAI.
14405
14406         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14407         (struct gaih): Remove definition.
14408
14409 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14410
14411         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14412         Use HERRNOP directly.
14413
14414 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14415
14416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14417
14418 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14419
14420         * math/gen-auto-libm-tests.c (test_functions): Add more
14421         single-argument functions.
14422         (special_fill_pi_2): New function.
14423         (special_fill_minus_pi_2): Likewise.
14424         (special_fill_pi_6): Likewise.
14425         (special_fill_minus_pi_6): Likewise.
14426         (special_fill_pi_3): Likewise.
14427         (special_fill_2pi_3): Likewise.
14428         (special_fill_e): Likewise.
14429         (special_fill_1_e): Likewise.
14430         (special_fill_e_minus_1): Likewise.
14431         (special_real_inputs): Add more special inputs.
14432         (output_for_one_input_case): Do not require ERANGE on underflow to
14433         zero if round-to-nearest result does not underflow to zero, unless
14434         exact results required.
14435         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14436         atan, atanh, cbrt, cos and cosh.
14437         * math/auto-libm-test-out: Regenerated.
14438         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14439         (acos_tonearest_test_data): Likewise.
14440         (acos_towardzero_test_data): Likewise.
14441         (acos_downward_test_data): Likewise.
14442         (acos_upward_test_data): Likewise.
14443         (acosh_test_data): Likewise.
14444         (asin_test_data): Likewise.
14445         (asin_tonearest_test_data): Likewise.
14446         (asin_towardzero_test_data): Likewise.
14447         (asin_upward_test_data): Likewise.
14448         (asinh_test_data): Likewise.
14449         (atan_test_data): Likewise.
14450         (atanh_test_data): Likewise.
14451         (cbrt_test_data): Likewise.
14452         (cos_test_data): Likewise.
14453         (cos_tonearest_test_data): Likewise.
14454         (cos_towardzero_test_data): Likewise.
14455         (cos_downward_test_data): Likewise.
14456         (cos_upward_test_data): Likewise.
14457         (cosh_test_data): Likewise.
14458         (cosh_tonearest_test_data): Likewise.
14459         (cosh_towardzero_test_data): Likewise.
14460         (cosh_downward_test_data): Likewise.
14461         (cosh_upward_test_data): Likewise.
14462         * sysdeps/i386/fpu/libm-test-ulps: Update.
14463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14464
14465 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14466
14467         [BZ #6787]
14468         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14469         * math/w_exp10f.c (__exp10f): Likewise.
14470         * math/w_exp10l.c (__exp10l): Likewise.
14471         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14472         errno settings in existing tests.
14473
14474         [BZ #14032]
14475         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14476         precision control set to double precision.
14477         * sysdeps/i386/fpu/w_sqrt.c: New file.
14478         * math/auto-libm-test-in: Add more tests.
14479         * math/auto-libm-test-out: Update.
14480
14481         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14482         (sqrt_test_tonearest): New function.
14483         (sqrt_towardzero_test_data): New variable.
14484         (sqrt_test_towardzero): New function.
14485         (sqrt_downward_test_data): New variable.
14486         (sqrt_test_downward): New function.
14487         (sqrt_upward_test_data): New variable.
14488         (sqrt_test_upward): New function.
14489         (main): Call the new functions.
14490
14491         * math/gen-auto-libm-tests.c: New file.
14492         * math/auto-libm-test-in: Likewise.
14493         * math/auto-libm-test-out: New generated file.
14494         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14495         variables.
14496         (%beautify): Add generated representations of zero.
14497         (top level): Set $auto_input and call parse_auto_input.
14498         (beautify): Remove trailing "f" from hex float constants.
14499         (parse_args): Handle XFAIL_TEST.
14500         (convert_condition): New function.
14501         (or_value): Likewise.
14502         (or_cond_value): Likewise.
14503         (generate_testfile): Handle AUTO_TESTS_* lines.
14504         (parse_auto_input): New function.
14505         * math/libm-test.inc (XFAIL_TEST): New macro.
14506         (ERRNO_UNCHANGED): Update value.
14507         (ERRNO_EDOM): Likewise.
14508         (ERRNO_ERANGE): Likewise.
14509         (IGNORE_RESULT): Likewise.
14510         (TEST_COND_flt_32): New macro.
14511         (TEST_COND_dbl_64): Likewise.
14512         (TEST_COND_ldbl_96_intel): Likewise.
14513         (TEST_COND_ldbl_96_m68k): Likewise.
14514         (TEST_COND_ldbl_128): Likewise.
14515         (TEST_COND_ldbl_128ibm): Likewise.
14516         (TEST_COND_long32): Likewise.
14517         (TEST_COND_long64): Likewise.
14518         (TEST_COND_before_rounding): Likewise.
14519         (TEST_COND_after_rounding): Likewise.
14520         (enable_test): Handle XFAIL_TEST flag.
14521         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14522         with finite results.
14523         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14524         auto-libm-test-out.
14525
14526 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14527             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14528
14529         [BZ #16214]
14530         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14531         __tls_get_addr_internal instead of __tls_get_offset in order to
14532         avoid GOT pointer dependency.  Make rtld export
14533         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14534         __tls_get_addr since we are a __tls_get_offset platform.
14535         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14536         GOT pointer being set up before.
14537         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14538
14539 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14540
14541         * manual/math.texi (Errors in Math Functions): Document accuracy
14542         goals.
14543
14544         [BZ #15004]
14545         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14546         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14547         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14548         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14549         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14550         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14551         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14552         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14553         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14554         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14555         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14556         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14557         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14558         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14559         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14560         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14561
14562         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14563         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14564         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14565         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14566         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14567         Likewise.
14568         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14569         Likewise.
14570         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14571         Likewise.
14572         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14573         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14574         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14575         atomic-feupdateenv and flt-rounds.
14576         * sysdeps/powerpc/nofpu/Versions (libc): Add
14577         __atomic_feholdexcept, __atomic_feclearexcept,
14578         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14579         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14580         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14581         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14582         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14583         here.
14584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14585         Update.
14586
14587         * manual/arith.texi (FP Exceptions): Document that exceptions may
14588         not be raised when matherr is used.
14589         (Math Error Reporting): Document overflow in directed rounding
14590         modes.  Document that errno may not be set when finite values are
14591         returned on overflow.  Document intent to set errno on underflow
14592         only for underflow to zero.
14593
14594         [BZ #16271]
14595         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14596         round-to-nearest then adjust result for other rounding modes.
14597         * include/fenv.h (fegetround): Use libm_hidden_proto.
14598         * math/fegetround.c (fegetround): Use libm_hidden_def.
14599         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14600         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14601         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14602         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14603         Likewise.
14604         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14605         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14606         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14607         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14608
14609 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14610
14611         [BZ #16077]
14612         * nss/Versions (libnss_files): Add
14613         _nss_files_gethostbyname3_r.
14614         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14615         New function.
14616         (HOST_DB_LOOKUP): Remove macro.
14617         (_nss_files_gethostbyname_r): Implement function without the
14618         HOST_DB_LOOKUP macro.
14619         (_nss_files_gethostbyname2_r): Likewise.
14620
14621 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14622
14623         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14624
14625 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14626
14627         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14628         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14629         warning.
14630
14631 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14632
14633         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14634         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14635         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14636         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14637         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14638         __fe_nomask_env_priv and attribute_hidden.
14639         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14640         (libc_feupdateenv_test_ppc): Likewise.
14641         (libc_feresetround_ppc): Likewise.
14642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14643         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14644         compat_symbol macro.
14645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14646         (__fe_nomask_env): Likewise.
14647         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14648
14649 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14650
14651         * string/Makefile: Remove ifunc tests.
14652         * string/test-string.h: Define TEST_IFUNC.
14653         * string/test-bcopy-ifunc.c: Remove.
14654         * string/test-bzero-ifunc.c: Likewise.
14655         * string/test-memccpy-ifunc.c: Likewise.
14656         * string/test-memchr-ifunc.c: Likewise.
14657         * string/test-memcmp-ifunc.c: Likewise.
14658         * string/test-memcpy-ifunc.c: Likewise.
14659         * string/test-memmem-ifunc.c: Likewise.
14660         * string/test-memmove-ifunc.c: Likewise.
14661         * string/test-mempcpy-ifunc.c: Likewise.
14662         * string/test-memrchr-ifunc.c: Likewise.
14663         * string/test-memset-ifunc.c: Likewise.
14664         * string/test-rawmemchr-ifunc.c: Likewise.
14665         * string/test-stpcpy-ifunc.c: Likewise.
14666         * string/test-stpncpy-ifunc.c: Likewise.
14667         * string/test-strcasecmp-ifunc.c: Likewise.
14668         * string/test-strcasestr-ifunc.c: Likewise.
14669         * string/test-strcat-ifunc.c: Likewise.
14670         * string/test-strchr-ifunc.c: Likewise.
14671         * string/test-strchrnul-ifunc.c: Likewise.
14672         * string/test-strcmp-ifunc.c: Likewise.
14673         * string/test-strcpy-ifunc.c: Likewise.
14674         * string/test-strcspn-ifunc.c: Likewise.
14675         * string/test-strlen-ifunc.c: Likewise.
14676         * string/test-strncasecmp-ifunc.c: Likewise.
14677         * string/test-strncat-ifunc.c: Likewise.
14678         * string/test-strncmp-ifunc.c: Likewise.
14679         * string/test-strncpy-ifunc.c: Likewise.
14680         * string/test-strnlen-ifunc.c: Likewise.
14681         * string/test-strpbrk-ifunc.c: Likewise.
14682         * string/test-strrchr-ifunc.c: Likewise.
14683         * string/test-strspn-ifunc.c: Likewise.
14684         * string/test-strstr-ifunc.c: Likewise.
14685
14686 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14687
14688         * benchtests/Makefile: Remove ifunc tests.
14689         * benchtests/bench-string.h: Define TEST_IFUNC.
14690         * benchtests/bench-bcopy-ifunc.c: Remove.
14691         * benchtests/bench-bzero-ifunc.c: Likewise.
14692         * benchtests/bench-memccpy-ifunc.c: Likewise.
14693         * benchtests/bench-memchr-ifunc.c: Likewise.
14694         * benchtests/bench-memcmp-ifunc.c: Likewise.
14695         * benchtests/bench-memcpy-ifunc.c: Likewise.
14696         * benchtests/bench-memmem-ifunc.c: Likewise.
14697         * benchtests/bench-memmove-ifunc.c: Likewise.
14698         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14699         * benchtests/bench-memrchr-ifunc.c: Likewise.
14700         * benchtests/bench-memset-ifunc.c: Likewise.
14701         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14702         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14703         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14704         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14705         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14706         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14707         * benchtests/bench-strcat-ifunc.c: Likewise.
14708         * benchtests/bench-strchr-ifunc.c: Likewise.
14709         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14710         * benchtests/bench-strcmp-ifunc.c: Likewise.
14711         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14712         * benchtests/bench-strcpy-ifunc.c: Likewise.
14713         * benchtests/bench-strcspn-ifunc.c: Likewise.
14714         * benchtests/bench-strlen-ifunc.c: Likewise.
14715         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14716         * benchtests/bench-strncat-ifunc.c: Likewise.
14717         * benchtests/bench-strncmp-ifunc.c: Likewise.
14718         * benchtests/bench-strncpy-ifunc.c: Likewise.
14719         * benchtests/bench-strnlen-ifunc.c: Likewise.
14720         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14721         * benchtests/bench-strrchr-ifunc.c: Likewise.
14722         * benchtests/bench-strsep-ifunc.c: Likewise.
14723         * benchtests/bench-strspn-ifunc.c: Likewise.
14724         * benchtests/bench-strstr-ifunc.c: Likewise.
14725
14726 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14727
14728         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14729
14730 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14731
14732         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14733         * rt/aio.h: Likewise.
14734         * sysdeps/gnu/bits/utmp.h: Likewise.
14735         * sysdeps/gnu/bits/utmpx.h: Likewise.
14736         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14737         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14738         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14739         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14740         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14741         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14742         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14743         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14744         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14745         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14746         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14747         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14748         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14750         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14751         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14752         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14753         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14754         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14755         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14756         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14757         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14758         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14759         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14760         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14761         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14762         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14763         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14764         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14765         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14766         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14767         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14768         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14769         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14770         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14771         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14772         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14773         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14774         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14775         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14776         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14777         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14778
14779 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14780
14781         [BZ #16245]
14782         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14783         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14784
14785 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14786
14787         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14788         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14789         Likewise.
14790
14791 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14792
14793         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14794         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14795         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14796         (__fesetround): Remove define.
14797         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14798         rounding and exceptions handling.
14799         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14800         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14801         (__fe_nomask_env): Likewise.
14802         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14803         __fegetround instead of fegetround.
14804         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14805         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14806
14807 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14808
14809         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14810         it's there.
14811
14812         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14813
14814 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14815
14816         [BZ #11157]
14817         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14818         (encrypt_r): Likewise.
14819         * malloc/obstack.h (obstack_free): Likewise.
14820         * posix/unistd.h (encrypt): Likewise.
14821
14822 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14823
14824         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14825         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14826         DL_CALL_DT_FINI() that call the functions directly.
14827         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14828         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14829         * elf/dl-fini.c: Likewise.
14830
14831 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14832
14833         * malloc/hooks.c (memalign_check): Add alignment rounding.
14834         * malloc/malloc.c (_mid_memalign): New function.
14835         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14836         Implement by calling _mid_memalign.
14837         * manual/probes.texi (Memory Allocation Probes): Remove
14838         memory_valloc_retry and memory_pvalloc_retry.
14839
14840 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14841
14842         * locale/programs/locarchive.c (open_archive): Add const
14843         qualifier to ARCHIVEFNAME and copy default fname to
14844         DEFAULT_FNAME.
14845
14846         [BZ #15601]
14847         * libio/tst-widetext.input: Rename Oriya to Odia.
14848         * locale/iso-639.def: Likewise.
14849
14850         * manual/probes.texi (Mathematical Function Probes): Add
14851         documentation for sin, cos, asin and acos probes.
14852         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14853         (__sin32): Add slowasin probe.
14854         (__cos32): Add slowacos probe.
14855         (__mpsin): Add slowsin probe.
14856         (__mpcos): Add slowcos probe.
14857
14858 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14859
14860         [BZ #15483]
14861         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14862         thread-local __sim_exceptions_thread and global
14863         __sim_exceptions_global.
14864         (__sim_disabled_exceptions): Change to thread-local
14865         __sim_disabled_exceptions_thread and global
14866         __sim_disabled_exceptions_global.
14867         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14868         and global __sim_round_mode_global.
14869         (__simulate_exceptions): Use thread-local floating-point state and
14870         set global state from it as needed.
14871         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14872         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14873         __sim_round_mode_thread.
14874         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14875         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14876         and global __sim_exceptions_global.
14877         (__sim_disabled_exceptions): Change to thread-local
14878         __sim_disabled_exceptions_thread and global
14879         __sim_disabled_exceptions_global.
14880         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14881         and global __sim_round_mode_global.
14882         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14883         (SIM_SET_GLOBAL): Likewise.
14884         * sysdeps/powerpc/soft-fp/sfp-machine.h
14885         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14886         __sim_round_mode_thread.
14887         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14888         __sim_disabled_exceptions_thread.
14889         (__sim_exceptions): Change to __sim_exceptions_thread.
14890         (__sim_disabled_exceptions): Change to
14891         __sim_disabled_exceptions_thread.
14892         (__sim_round_mode): Change to __sim_round_mode_thread.
14893         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14894         thread-local floating-point state and set global state from it as
14895         needed.
14896         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14897         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14898         (__sim_disabled_exceptions): Remove extern declaration.
14899         (feenableexcept): Use thread-local floating-point state and set
14900         global state from it as needed.
14901         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14902         extern declaration.
14903         (__sim_disabled_exceptions): Likewise.
14904         (__sim_round_mode): Likewise.
14905         (__fegetenv): Use thread-local floating-point state.
14906         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14907         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14908         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14909         floating-point state and set global state from it as needed.
14910         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14911         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14912         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14913         Likewise.
14914         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14915         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14916         Likewise.
14917         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14918         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14919         Use __sim_round_mode_thread.
14920         * math/test-fenv-tls.c: New file.
14921         * math/Makefile (tests): Add test-fenv-tls.
14922         ($(objpfx)test-fenv-tls): Depend on
14923         $(common-objpfx)nptl/libpthread.so.
14924
14925 2013-11-19  Andreas Schwab  <schwab@suse.de>
14926
14927         * locale/programs/locale.c (show_info): Decode wordarray elements.
14928         * locale/categories.def (LC_MONETARY): Add element for
14929         _NL_MONETARY_CRNCYSTR.
14930         * locale/C-monetary.c (conversion_rate): New variable.
14931         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14932         element.
14933
14934 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14935
14936         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14937         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14938
14939 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14940
14941         * elf/Makefile (tst-auxv): New test.
14942         * elf/tst-auxv.c: New
14943         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14944
14945 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14946
14947         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14948         (hidden_proto): Caller changed.
14949         (hidden_tls_proto): New macro.
14950         (libc_hidden_tls_proto): Likewise.
14951         (rtld_hidden_tls_proto): Likewise.
14952         (libm_hidden_tls_proto): Likewise.
14953         (libresolv_hidden_tls_proto): Likewise.
14954         (librt_hidden_tls_proto): Likewise.
14955         (libdl_hidden_tls_proto): Likewise.
14956         (libnss_files_hidden_tls_proto): Likewise.
14957         (libnsl_hidden_tls_proto): Likewise.
14958         (libnss_nisplus_hidden_tls_proto): Likewise.
14959         (libutil_hidden_tls_proto): Likewise.
14960
14961 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14962
14963         [BZ #10253]
14964         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14965         (decompose_rpath): Defer expansion to fillin_rpath.
14966         (_dl_init_paths): Pass linkmap to fillin_rpath.
14967
14968 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14969
14970         * benchtests/Makefile: Add strsep.
14971         * benchtests/bench-strsep.c: New file: strsep benchtest.
14972         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14973
14974 2013-11-18  Andreas Schwab  <schwab@suse.de>
14975
14976         * locale/programs/locale.c (show_info) [case byte]: Check for
14977         '\377' instead of '\177'.
14978         * locale/C-monetary.c (not_available): Always use "\377".
14979         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14980         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14981         detect unavailable sign_posn locale elements.
14982         * locale/localeconv.c (__localeconv): For grouping and
14983         mon_grouping handle "\177" and "\377" like no grouping.
14984         (INT_ELEM): New macro.  Use it to set all numeric members.
14985         * locale/programs/ld-monetary.c (monetary_read)
14986         <tok_mon_grouping>: Normalize single -1 to the empty string.
14987         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14988         Likewise.
14989
14990 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14991
14992         [BZ #16055]
14993         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14994         when we match (nil).
14995         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14996
14997 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14998
14999         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15000         (NO_TEST_INLINE): Update value.
15001         (ERRNO_UNCHANGED): Likewise.
15002         (ERRNO_EDOM): Likewise.
15003         (ERRNO_ERANGE): Likewise.
15004         (IGNORE_RESULT): Likewise.
15005         (check_float_internal): Check signs of NaN results if
15006         TEST_NAN_SIGN used.
15007         (check_complex): Pass TEST_NAN_SIGN flag through to second
15008         check_float_internal call.
15009         (copysign_test_data): Add tests with quiet NaNs as second
15010         argument.  Use TEST_NAN_SIGN.
15011         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15012         TEST_NAN_SIGN.
15013         (signbit_test_data): Add tests of quiet NaN argument.
15014         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15015
15016         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15017         $ignore_result.
15018         (parse_args): Handle function results specified as IGNORE.
15019         * math/libm-test.inc (IGNORE_RESULT): New macro.
15020         (check_float_internal): Do not check numerical result if flag
15021         IGNORE_RESULT set.
15022         (check_complex): Pass through IGNORE_RESULT to second
15023         check_float_internal call.
15024         (check_int): Do not check numerical result if flag IGNORE_RESULT
15025         set.
15026         (check_long): Likewise.
15027         (check_bool): Likewise.
15028         (check_longlong): Likewise.
15029         (lrint_test_data): Add tests of infinite and NaN arguments.
15030         (lrint_tonearest_test_data): Likewise.
15031         (lrint_towardzero_test_data): Likewise.
15032         (lrint_downward_test_data): Likewise.
15033         (lrint_upward_test_data): Likewise.
15034         (llrint_test_data): Likewise.
15035         (llrint_tonearest_test_data): Likewise.
15036         (llrint_towardzero_test_data): Likewise.
15037         (llrint_downward_test_data): Likewise.
15038         (llrint_upward_test_data): Likewise.
15039         (lround_test_data): Likewise.
15040         (llround_test_data): Likewise.
15041
15042         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15043         (ERRNO_UNCHANGED): Update value.
15044         (ERRNO_EDOM): Likewise.
15045         (ERRNO_ERANGE): Likewise.
15046         (NO_TEST_INLINE_FLOAT): New macro.
15047         (NO_TEST_INLINE_DOUBLE): Likewise.
15048         (enable_test): New function.
15049         (RUN_TEST_f_f): Check enable_test before running test.
15050         (RUN_TEST_2_f): Likewise.
15051         (RUN_TEST_fff_f): Likewise.
15052         (RUN_TEST_c_f): Likewise.
15053         (RUN_TEST_f_f1): Likewise.
15054         (RUN_TEST_fF_f1): Likewise.
15055         (RUN_TEST_fI_f1): Likewise.
15056         (RUN_TEST_ffI_f1): Likewise.
15057         (RUN_TEST_c_c): Likewise.
15058         (RUN_TEST_cc_c): Likewise.
15059         (RUN_TEST_f_i): Likewise.
15060         (RUN_TEST_f_i_tg): Likewise.
15061         (RUN_TEST_ff_i_tg): Likewise.
15062         (RUN_TEST_f_b): Likewise.
15063         (RUN_TEST_f_b_tg): Likewise.
15064         (RUN_TEST_f_l): Likewise.
15065         (RUN_TEST_f_L): Likewise.
15066         (RUN_TEST_fFF_11): Likewise.
15067         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15068         conditionals.
15069         (cosh_test_data): Likewise.
15070         (exp_test_data): Likewise.
15071         (expm1_test_data): Likewise.
15072         (hypot_test_data): Likewise.
15073         (pow_test_data): Likewise.
15074         (sinh_test_data): Likewise.
15075         (tanh_test_data): Likewise.
15076         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15077         flags argument.
15078
15079         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15080         tests with quiet NaN input and output.
15081         (acosh_test_data): Likewise.
15082         (asin_test_data): Likewise.
15083         (asinh_test_data): Likewise.
15084         (atan_test_data): Likewise.
15085         (atanh_test_data): Likewise.
15086         (atan2_test_data): Likewise.
15087         (cbrt_test_data): Likewise.
15088         (cos_test_data): Likewise.
15089         (cosh_test_data): Likewise.
15090         (erf_test_data): Likewise.
15091         (erfc_test_data): Likewise.
15092         (exp_test_data): Likewise.
15093         (exp10_test_data): Likewise.
15094         (exp2_test_data): Likewise.
15095         (expm1_test_data): Likewise.
15096         (hypot_test_data): Likewise.
15097         (j0_test_data): Likewise.
15098         (j1_test_data): Likewise.
15099         (jn_test_data): Likewise.
15100         (lgamma_test_data): Likewise.
15101         (log_test_data): Likewise.
15102         (log10_test_data): Likewise.
15103         (log1p_test_data): Likewise.
15104         (log2_test_data): Likewise.
15105         (pow_test_data): Likewise.
15106         (scalb_test_data): Likewise.
15107         (sin_test_data): Likewise.
15108         (sincos_test_data): Likewise.
15109         (sinh_test_data): Likewise.
15110         (tan_test_data): Likewise.
15111         (tanh_test_data): Likewise.
15112         (tgamma_test_data): Likewise.
15113         (y0_test_data): Likewise.
15114         (y1_test_data): Likewise.
15115         (yn_test_data): Likewise.
15116
15117         [BZ #16167]
15118         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15119         argument being NaN and avoid computations with second argument in
15120         that case.
15121         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15122         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15123         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15124
15125 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15126
15127         * locale/iso-639.def: Add Chitwani Tharu (the).
15128
15129 2013-11-14  Andreas Schwab  <schwab@suse.de>
15130
15131         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15132         word instead of empty string.
15133
15134 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15135
15136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15137         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15139         (__fe_nomask_env): Likewise.
15140
15141 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15142
15143         * benchtests/bench-timing.h: Include time.h.
15144
15145 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15146
15147         [BZ #15997]
15148         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15149         to 3.4.0 for x32.
15150         * sysdeps/unix/sysv/linux/configure: Regenerated.
15151
15152 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15153
15154         [BZ #16151]
15155         * stdlib/strtod_l.c (round_and_return): Do not consider
15156         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15157         exponent one less than half the least subnormal exponent.
15158         * stdlib/test-strtod-round-data: Add more tests.
15159         * stdlib/tst-strtod-round.c (tests): Regenerated.
15160
15161 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15162
15163         [BZ #14143]
15164         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15165         (__fe_mask_env): Likewise.
15166         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15167         libm_hidden_proto and add function prototype.
15168         (__fe_mask_env): Add function prototype.
15169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15170         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15172         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15174         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15175
15176 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15177
15178         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15179         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15180
15181 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15182
15183         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15184         of htab_find_slot().
15185
15186 2013-11-11  David S. Miller  <davem@davemloft.net>
15187
15188         [BZ #16150]
15189         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15190         symbol in the non-vis3 case in static builds.
15191         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15192         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15193         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15194         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15195
15196 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15197
15198         [BZ #387]
15199         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15200         it is empty.
15201
15202 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15203
15204         * benchtests/Makefile: Add bench-strtod.
15205         * benchtests/bench-strtod.c: New file: strtod benchtest
15206
15207 2013-11-11  Andreas Schwab  <schwab@suse.de>
15208
15209         [BZ #16153]
15210         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15211         terminating NUL in key length.
15212
15213 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15214
15215         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15216         Add artificial ODP entry for vDSO symbol for PPC64.
15217         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15218         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15219
15220 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15221
15222         [BZ #15374]
15223         * nss/getent.c (services_keys): Recognize services starting with digit.
15224
15225 2013-11-06  David S. Miller  <davem@davemloft.net>
15226
15227         [BZ #15985]
15228         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15229         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15230
15231 2013-11-06  Will Newton  <will.newton@linaro.org>
15232
15233         * manual/memory.texi (Malloc Examples): Remove register
15234         keyword from examples.
15235
15236 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15237
15238         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15239
15240 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15241
15242         [BZ #6981]
15243         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15244         depending on [__GCC_IEC_559 > 0].
15245         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15246         depending on [__GCC_IEC_559_COMPLEX > 0].
15247
15248 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15249
15250         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15251         to iso-639.def.
15252
15253 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15254
15255         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15256
15257 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15258
15259         [BZ #16112]
15260         * malloc/malloc (malloc_info): Do not handle first bin as
15261         special case.
15262
15263 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15264
15265         * locale/iso-639.def: Add Central Nahuatl (nhn).
15266
15267 2013-11-01  Bruno Haible  <bruno@clisp.org>
15268
15269         [BZ #7003]
15270         * manual/math.texi (BSD Random): Specify range upper bound as
15271         in POSIX.
15272
15273 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15274
15275         * locale/iso-639.def: Add Meadow Mari (mhr).
15276
15277 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15278
15279         [BZ #14752], [BZ #15763]
15280         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15281         Validate name.
15282         * rt/tst_shm.c: Add test for escaping directory.
15283
15284 2013-10-31  Andreas Schwab  <schwab@suse.de>
15285
15286         [BZ #15917]
15287         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15288         followed by 'x' as part of digit sequence.
15289         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15290
15291 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15292
15293         [BZ #16037]
15294         * configure.ac: allow GNU Make 4.0 and greater.
15295         * configure: Regenerated.
15296
15297 2013-10-30  Will Newton  <will.newton@linaro.org>
15298
15299         [BZ #16038]
15300         * malloc/hooks.c (memalign_check): Limit alignment to the
15301         maximum representable power of two.
15302         * malloc/malloc.c (__libc_memalign): Likewise.
15303         * malloc/tst-memalign.c (do_test): Add test for very
15304         large alignment values.
15305         * malloc/tst-posix_memalign.c (do_test): Likewise.
15306
15307 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15308
15309         [BZ #11087]
15310         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15311         (munmap_chunk): Likewise.
15312         (mremap_chunk): Likewise.
15313
15314 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15315
15316         [BZ #15799]
15317         * stdlib/div.c (div): Remove obsolete code.
15318         * stdlib/ldiv.c (ldiv): Likewise.
15319         * stdlib/lldiv.c (lldiv): Likewise.
15320
15321 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15322
15323         [BZ #16071]
15324         * nss/nss_files/files-XXX.c (get_contents_ret): New
15325         enumerator.
15326         (get_contents): New function.
15327         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15328
15329 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15330
15331         * configure.in: Moved to ...
15332         * configure.ac: ... here. Change reference to configure.in
15333         to configure.ac.
15334         * sysdeps/arm/preconfigure.ac: ... here.
15335         configure.in to configure.ac.
15336         * sysdeps/gnu/configure.in: Moved to ...
15337         * sysdeps/gnu/configure.ac: ... here.
15338         * sysdeps/i386/configure.in: Moved to ...
15339         * sysdeps/i386/configure.ac: ... here.
15340         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15341         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15342         * sysdeps/mach/configure.in: Moved to ...
15343         * sysdeps/mach/configure.ac: ... here.
15344         * sysdeps/mach/hurd/configure.in: Moved to ...
15345         * sysdeps/mach/hurd/configure.ac: ... here.
15346         * sysdeps/powerpc/configure.in: Moved to ...
15347         * sysdeps/powerpc/configure.ac: ... here.
15348         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15349         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15350         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15351         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15352         * sysdeps/s390/s390-32/configure.in: Moved to ...
15353         * sysdeps/s390/s390-32/configure.ac: ... here.
15354         * sysdeps/s390/s390-64/configure.in: Moved to ...
15355         * sysdeps/s390/s390-64/configure.ac: ... here.
15356         * sysdeps/sh/configure.in: Moved to ...
15357         * sysdeps/sh/configure.ac: ... here.
15358         * sysdeps/sparc/configure.in: Moved to ...
15359         * sysdeps/sparc/configure.ac: ... here.
15360         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15361         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15362         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15363         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15364         * sysdeps/x86_64/configure.in: Moved to ...
15365         * sysdeps/x86_64/configure.ac: ... here.
15366         * sysdeps/x86_64/preconfigure.in: Moved to ...
15367         * sysdeps/x86_64/preconfigure.ac: ... here.
15368         * aclocal.m4: Change reference to configure.in to configure.ac.
15369         * config.h.in: Likewise.
15370         * manual/install.texi: Likewise.
15371         * manual/maint.texi: Likewise.
15372         * Makefile: Likewise.
15373         * malloc/Makefile: Likewise.
15374         * nscd/Makefile: Likewise.
15375         * Makeconfig: Change reference to configure.in and
15376         preconfigure.in to configure.ac and preconfigure.ac
15377         respectively.
15378         * INSTALL: Regenerated.
15379         * configure: Likewise.
15380         * sysdeps/gnu/configure: Likewise.
15381         * sysdeps/i386/configure: Likewise.
15382         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15383         * sysdeps/mach/configure: Likewise.
15384         * sysdeps/mach/hurd/configure: Likewise.
15385         * sysdeps/powerpc/configure: Likewise.
15386         * sysdeps/powerpc/powerpc32/configure: Likewise.
15387         * sysdeps/powerpc/powerpc64/configure: Likewise.
15388         * sysdeps/s390/s390-32/configure: Likewise.
15389         * sysdeps/s390/s390-64/configure: Likewise.
15390         * sysdeps/sh/configure: Likewise.
15391         * sysdeps/sparc/configure: Likewise.
15392         * sysdeps/unix/sysv/linux/configure: Likewise.
15393         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15394         * sysdeps/x86_64/configure: Likewise.
15395         * sysdeps/x86_64/preconfigure: Likewise.
15396
15397 2013-10-29  Andreas Schwab  <schwab@suse.de>
15398
15399         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15400
15401 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15402
15403         * benchtests/pow-inputs: Add new inputs.
15404
15405         * benchtests/exp-inputs: Add new inputs.
15406
15407         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15408         conditional check for return value.
15409         (__cos32): Likewise.
15410
15411 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15412
15413         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15414         to provide a boost for large inputs with word alignment.
15415         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15416         implementation based on optimized PPC64 strcpy.
15417         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15418         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15419         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15420         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15421
15422 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15423
15424         [BZ #2801]
15425         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15426
15427 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15428
15429         [BZ #14876]
15430         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15431         * time/tst-strptime.c (day_tests): Add testcase.
15432
15433 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15434
15435         [BZ #14029]
15436         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15437
15438 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15439
15440         [BZ #16074]
15441         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15442         MAP_FAILED on error.
15443
15444 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15445
15446         [BZ #16072]
15447         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15448         heap for large requests.
15449
15450 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15451
15452         [BZ #9954]
15453         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15454         result if the result has no associated interface.
15455         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15456         interface for all 127.X.Y.Z addresses.
15457
15458 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15459
15460         * locale/iso-639.def: Add Ligurian (lij)
15461
15462 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15463
15464         [BZ #15825]
15465         * sunrpc/rpc_main.c: Document rpcgen -5.
15466
15467 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15468
15469         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15470
15471 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15472
15473         [BZ #10278]
15474         * posix/glob.c: Match only directories when trailing slash is present.
15475         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15476         (main): Add testcase.
15477
15478 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15479
15480         [BZ #15670]
15481         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15482
15483 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15484
15485         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15486         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15487         AUTH_DES and cindex for FIPS 140-2.
15488         (DES Encryption): Add cindex FIPS 46-3.
15489
15490         * locale/locarchive.h (struct locarhandle): Add fname.
15491         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15492         if an optional argument was specified to --list-archive,
15493         otherwise NULL.
15494         * locale/programs/locarchive.c (show_archive_content): Take new
15495         argument fname and pass it via ah.fname to open_archive.
15496         * locale/programs/localedef.h: Update decl.
15497         (open_archive): If AH->fname is non-null, open that file
15498         rather than the default file name, and don't ignore ENOENT.
15499         (create_archive): Set AH.fname to NULL.
15500         (delete_locales_from_archive): Likewise.
15501         (add_locales_to_archive): Likewise.
15502         * locale/programs/locfile.c (write_all_categories): Likewise.
15503
15504 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15505             Aldy Hernandez  <aldyh@redhat.com>
15506
15507         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15508         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15509         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15510         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15511         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15512         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15513         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15514         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15515         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15516         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15517         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15518         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15519         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15520         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15521         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15522         Likewise.
15523         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15524         Likewise.
15525         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15526         Likewise.
15527         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15528         Likewise.
15529         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15530         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15531         Likewise.
15532         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15533         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15534         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15535         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15536         Likewise.
15537         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15538         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15539         * sysdeps/powerpc/preconfigure: Likewise.
15540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15541         Likewise.
15542         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15543         Replace contents of file by #include of <fenv_libc.h>.
15544         * sysdeps/powerpc/soft-fp/sfp-machine.h
15545         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15546         and <sys/prctl.h>.
15547         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15548         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15549         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15550         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15551         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15552         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15554         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15555         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15556         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15557         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15558         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15560         Allow copysignl PLT reference to be missing.
15561
15562 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15563             Joseph Myers  <joseph@codesourcery.com
15564
15565         [BZ #15948]
15566         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15567         single character.
15568         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15569
15570 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15571
15572         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15573         * elf/tst-tls1.c: Likewise.
15574         * elf/tst-tls10.h: Likewise.
15575         * elf/tst-tls14.c: Likewise.
15576         * elf/tst-tls2.c: Likewise.
15577         * elf/tst-tls3.c: Likewise.
15578         * elf/tst-tls4.c: Likewise.
15579         * elf/tst-tls5.c: Likewise.
15580         * elf/tst-tls6.c: Likewise.
15581         * elf/tst-tls7.c: Likewise.
15582         * elf/tst-tls8.c: Likewise.
15583         * elf/tst-tls9.c: Likewise.
15584         * elf/tst-tlsmod1.c: Likewise.
15585         * elf/tst-tlsmod13.c: Likewise.
15586         * elf/tst-tlsmod13a.c: Likewise.
15587         * elf/tst-tlsmod14a.c: Likewise.
15588         * elf/tst-tlsmod16a.c: Likewise.
15589         * elf/tst-tlsmod16b.c: Likewise.
15590         * elf/tst-tlsmod2.c: Likewise.
15591         * elf/tst-tlsmod3.c: Likewise.
15592         * elf/tst-tlsmod4.c: Likewise.
15593         * elf/tst-tlsmod5.c: Likewise.
15594         * elf/tst-tlsmod6.c: Likewise.
15595
15596 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15597
15598         [BZ #12486]
15599         * malloc/malloc.c: remove checks for statistics.
15600
15601 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15602
15603         [BZ #15277]
15604         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15605         * inet/tst-network.c: Add testcase.
15606
15607 2013-10-17  Andreas Schwab  <schwab@suse.de>
15608
15609         [BZ #15218]
15610         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15611         to determine canonical name.
15612
15613 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15614
15615         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15616         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15617         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15618         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15619         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15620         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15621         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15622         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15623         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15624         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15625         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15626         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15627         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15628         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15629         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15630         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15631         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15632         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15633         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15634         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15635         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15636         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15637         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15638         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15639         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15640         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15641         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15642         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15643         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15644         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15645         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15646         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15647         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15648         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15649         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15650         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15651         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15652         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15653         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15654         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15655         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15656         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15657         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15658         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15659         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15660         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15661         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15662         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15663         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15664         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15665         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15666         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15667         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15668         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15669         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15670         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15671         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15672         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15673
15674 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15675
15676         [BZ #16041]
15677         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15678         make result into a quiet NaN.
15679
15680 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15681
15682         * soft-fp/adddf3.c: Fix horizontal whitespace.
15683         * soft-fp/addsf3.c: Likewise.
15684         * soft-fp/addtf3.c: Likewise.
15685         * soft-fp/divdf3.c: Likewise.
15686         * soft-fp/divsf3.c: Likewise.
15687         * soft-fp/divtf3.c: Likewise.
15688         * soft-fp/double.h: Likewise.
15689         * soft-fp/eqdf2.c: Likewise.
15690         * soft-fp/eqsf2.c: Likewise.
15691         * soft-fp/eqtf2.c: Likewise.
15692         * soft-fp/extenddftf2.c: Likewise.
15693         * soft-fp/extended.h: Likewise.
15694         * soft-fp/extendsfdf2.c: Likewise.
15695         * soft-fp/extendsftf2.c: Likewise.
15696         * soft-fp/extendxftf2.c: Likewise.
15697         * soft-fp/fixdfdi.c: Likewise.
15698         * soft-fp/fixdfsi.c: Likewise.
15699         * soft-fp/fixdfti.c: Likewise.
15700         * soft-fp/fixsfdi.c: Likewise.
15701         * soft-fp/fixsfsi.c: Likewise.
15702         * soft-fp/fixsfti.c: Likewise.
15703         * soft-fp/fixtfdi.c: Likewise.
15704         * soft-fp/fixtfsi.c: Likewise.
15705         * soft-fp/fixtfti.c: Likewise.
15706         * soft-fp/fixunsdfdi.c: Likewise.
15707         * soft-fp/fixunsdfsi.c: Likewise.
15708         * soft-fp/fixunsdfti.c: Likewise.
15709         * soft-fp/fixunssfdi.c: Likewise.
15710         * soft-fp/fixunssfsi.c: Likewise.
15711         * soft-fp/fixunssfti.c: Likewise.
15712         * soft-fp/fixunstfdi.c: Likewise.
15713         * soft-fp/fixunstfsi.c: Likewise.
15714         * soft-fp/fixunstfti.c: Likewise.
15715         * soft-fp/floatdidf.c: Likewise.
15716         * soft-fp/floatdisf.c: Likewise.
15717         * soft-fp/floatditf.c: Likewise.
15718         * soft-fp/floatsidf.c: Likewise.
15719         * soft-fp/floatsisf.c: Likewise.
15720         * soft-fp/floatsitf.c: Likewise.
15721         * soft-fp/floattidf.c: Likewise.
15722         * soft-fp/floattisf.c: Likewise.
15723         * soft-fp/floattitf.c: Likewise.
15724         * soft-fp/floatundidf.c: Likewise.
15725         * soft-fp/floatundisf.c: Likewise.
15726         * soft-fp/floatunditf.c: Likewise.
15727         * soft-fp/floatunsidf.c: Likewise.
15728         * soft-fp/floatunsisf.c: Likewise.
15729         * soft-fp/floatunsitf.c: Likewise.
15730         * soft-fp/floatuntidf.c: Likewise.
15731         * soft-fp/floatuntisf.c: Likewise.
15732         * soft-fp/floatuntitf.c: Likewise.
15733         * soft-fp/fmadf4.c: Likewise.
15734         * soft-fp/fmasf4.c: Likewise.
15735         * soft-fp/fmatf4.c: Likewise.
15736         * soft-fp/gedf2.c: Likewise.
15737         * soft-fp/gesf2.c: Likewise.
15738         * soft-fp/getf2.c: Likewise.
15739         * soft-fp/ledf2.c: Likewise.
15740         * soft-fp/lesf2.c: Likewise.
15741         * soft-fp/letf2.c: Likewise.
15742         * soft-fp/muldf3.c: Likewise.
15743         * soft-fp/mulsf3.c: Likewise.
15744         * soft-fp/multf3.c: Likewise.
15745         * soft-fp/negdf2.c: Likewise.
15746         * soft-fp/negsf2.c: Likewise.
15747         * soft-fp/negtf2.c: Likewise.
15748         * soft-fp/op-1.h: Likewise.
15749         * soft-fp/op-2.h: Likewise.
15750         * soft-fp/op-4.h: Likewise.
15751         * soft-fp/op-8.h: Likewise.
15752         * soft-fp/op-common.h: Likewise.
15753         * soft-fp/quad.h: Likewise.
15754         * soft-fp/single.h: Likewise.
15755         * soft-fp/soft-fp.h: Likewise.
15756         * soft-fp/sqrtdf2.c: Likewise.
15757         * soft-fp/sqrtsf2.c: Likewise.
15758         * soft-fp/sqrttf2.c: Likewise.
15759         * soft-fp/subdf3.c: Likewise.
15760         * soft-fp/subsf3.c: Likewise.
15761         * soft-fp/subtf3.c: Likewise.
15762         * soft-fp/truncdfsf2.c: Likewise.
15763         * soft-fp/trunctfdf2.c: Likewise.
15764         * soft-fp/trunctfsf2.c: Likewise.
15765         * soft-fp/trunctfxf2.c: Likewise.
15766         * soft-fp/unorddf2.c: Likewise.
15767         * soft-fp/unordsf2.c: Likewise.
15768         * soft-fp/unordtf2.c: Likewise.
15769
15770 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15771
15772         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15773         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15774
15775 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15776
15777         * elf/dl-libc.c: Clear initfini list after freeing.
15778
15779 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15780
15781         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15782         * soft-fp/addsf3.c: Likewise.
15783         * soft-fp/addtf3.c: Likewise.
15784         * soft-fp/divdf3.c: Likewise.
15785         * soft-fp/divsf3.c: Likewise.
15786         * soft-fp/divtf3.c: Likewise.
15787         * soft-fp/double.h: Likewise.
15788         * soft-fp/eqdf2.c: Likewise.
15789         * soft-fp/eqsf2.c: Likewise.
15790         * soft-fp/eqtf2.c: Likewise.
15791         * soft-fp/extenddftf2.c: Likewise.
15792         * soft-fp/extended.h: Likewise.
15793         * soft-fp/extendsfdf2.c: Likewise.
15794         * soft-fp/extendsftf2.c: Likewise.
15795         * soft-fp/extendxftf2.c: Likewise.
15796         * soft-fp/fixdfdi.c: Likewise.
15797         * soft-fp/fixdfsi.c: Likewise.
15798         * soft-fp/fixdfti.c: Likewise.
15799         * soft-fp/fixsfdi.c: Likewise.
15800         * soft-fp/fixsfsi.c: Likewise.
15801         * soft-fp/fixsfti.c: Likewise.
15802         * soft-fp/fixtfdi.c: Likewise.
15803         * soft-fp/fixtfsi.c: Likewise.
15804         * soft-fp/fixtfti.c: Likewise.
15805         * soft-fp/fixunsdfdi.c: Likewise.
15806         * soft-fp/fixunsdfsi.c: Likewise.
15807         * soft-fp/fixunsdfti.c: Likewise.
15808         * soft-fp/fixunssfdi.c: Likewise.
15809         * soft-fp/fixunssfsi.c: Likewise.
15810         * soft-fp/fixunssfti.c: Likewise.
15811         * soft-fp/fixunstfdi.c: Likewise.
15812         * soft-fp/fixunstfsi.c: Likewise.
15813         * soft-fp/fixunstfti.c: Likewise.
15814         * soft-fp/floatdidf.c: Likewise.
15815         * soft-fp/floatdisf.c: Likewise.
15816         * soft-fp/floatditf.c: Likewise.
15817         * soft-fp/floatsidf.c: Likewise.
15818         * soft-fp/floatsisf.c: Likewise.
15819         * soft-fp/floatsitf.c: Likewise.
15820         * soft-fp/floattidf.c: Likewise.
15821         * soft-fp/floattisf.c: Likewise.
15822         * soft-fp/floattitf.c: Likewise.
15823         * soft-fp/floatundidf.c: Likewise.
15824         * soft-fp/floatundisf.c: Likewise.
15825         * soft-fp/floatunsidf.c: Likewise.
15826         * soft-fp/floatunsisf.c: Likewise.
15827         * soft-fp/floatuntidf.c: Likewise.
15828         * soft-fp/floatuntisf.c: Likewise.
15829         * soft-fp/floatuntitf.c: Likewise.
15830         * soft-fp/fmadf4.c: Likewise.
15831         * soft-fp/fmasf4.c: Likewise.
15832         * soft-fp/fmatf4.c: Likewise.
15833         * soft-fp/gedf2.c: Likewise.
15834         * soft-fp/gesf2.c: Likewise.
15835         * soft-fp/getf2.c: Likewise.
15836         * soft-fp/ledf2.c: Likewise.
15837         * soft-fp/lesf2.c: Likewise.
15838         * soft-fp/letf2.c: Likewise.
15839         * soft-fp/muldf3.c: Likewise.
15840         * soft-fp/mulsf3.c: Likewise.
15841         * soft-fp/multf3.c: Likewise.
15842         * soft-fp/negdf2.c: Likewise.
15843         * soft-fp/negsf2.c: Likewise.
15844         * soft-fp/negtf2.c: Likewise.
15845         * soft-fp/op-1.h: Likewise.
15846         * soft-fp/op-2.h: Likewise.
15847         * soft-fp/op-4.h: Likewise.
15848         * soft-fp/op-8.h: Likewise.
15849         * soft-fp/op-common.h: Likewise.
15850         * soft-fp/quad.h: Likewise.
15851         * soft-fp/single.h: Likewise.
15852         * soft-fp/soft-fp.h: Likewise.
15853         * soft-fp/sqrtdf2.c: Likewise.
15854         * soft-fp/sqrtsf2.c: Likewise.
15855         * soft-fp/sqrttf2.c: Likewise.
15856         * soft-fp/subdf3.c: Likewise.
15857         * soft-fp/subsf3.c: Likewise.
15858         * soft-fp/subtf3.c: Likewise.
15859         * soft-fp/truncdfsf2.c: Likewise.
15860         * soft-fp/trunctfdf2.c: Likewise.
15861         * soft-fp/trunctfsf2.c: Likewise.
15862         * soft-fp/trunctfxf2.c: Likewise.
15863         * soft-fp/unorddf2.c: Likewise.
15864         * soft-fp/unordsf2.c: Likewise.
15865         * soft-fp/unordtf2.c: Likewise.
15866
15867 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15868
15869         [BZ #15672]
15870         * misc/error.c (error_tail): Fix possible buffer overflow.
15871
15872 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15873
15874         [BZ #13028]
15875         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15876         address.
15877
15878 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15879
15880         [BZ #832]
15881         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15882         testing pipefail option.
15883
15884 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15885
15886         * soft-fp/double.h: Indent preprocessor directives inside #if.
15887         * soft-fp/extended.h: Likewise.
15888         * soft-fp/op-2.h: Likewise.
15889         * soft-fp/op-4.h: Likewise.
15890         * soft-fp/op-common.h: Likewise.
15891         * soft-fp/quad.h: Likewise.
15892         * soft-fp/single.h: Likewise.
15893         * soft-fp/soft-fp.h: Likewise.
15894
15895 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15896
15897         * iconv/iconv_prog.c: Fix typos.
15898         * stdio-common/psiginfo-data.h: Likewise.
15899
15900 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15901
15902         [BZ #15764]
15903         * locale/setlocale.c: Fix typo.
15904
15905 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15906
15907         [BZ #16036]
15908         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15909         signaling NaN arguments.
15910         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15911         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15912
15913         [BZ #14910]
15914         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15915         unordered operands.
15916         * soft-fp/gesf2.c (__gesf2): Likewise.
15917         * soft-fp/getf2.c (__getf2): Likewise.
15918         * soft-fp/ledf2.c (__ledf2): Likewise.
15919         * soft-fp/lesf2.c (__lesf2): Likewise.
15920         * soft-fp/letf2.c (__letf2): Likewise.
15921
15922         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15923         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15924         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15925         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15926         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15927         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15928         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15929         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15930         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15931         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15932         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15933         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15934         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15935         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15936         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15937         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15938         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15939         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15940         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15941         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15942         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15943         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15944         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15945         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15946         * soft-fp/floattidf.c (__floattidf): Likewise.
15947         * soft-fp/floattisf.c (__floattisf): Likewise.
15948         * soft-fp/floattitf.c (__floattitf): Likewise.
15949         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15950         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15951         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15952         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15953         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15954         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15955         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15956         * soft-fp/gesf2.c (__gesf2): Likewise.
15957         * soft-fp/getf2.c (__getf2): Likewise.
15958         * soft-fp/ledf2.c (__ledf2): Likewise.
15959         * soft-fp/lesf2.c (__lesf2): Likewise.
15960         * soft-fp/letf2.c (__letf2): Likewise.
15961
15962         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15963         Undefine and redefine.
15964         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15965         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15966         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15967         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15968         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15969         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15970         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15971         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15972         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15973         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15974         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15975         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15976         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15977         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15978         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15979
15980         [BZ #16032]
15981         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15982         without decrementing exponent if mantissa >= that for the
15983         denominator, not >.
15984         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15985         denominator, not >.  Decrement exponent in < case instead of
15986         incrementing in >= case.
15987         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15988         without decrementing exponent if mantissa >= that for the
15989         denominator, not >.
15990
15991         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15992         computing saturated result for unsigned overflow.
15993
15994 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15995             Jeff Law  <law@redhat.com>
15996
15997         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15998         (atan2Mp): Add systemtap probe marker.
15999         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16000         (__ieee754_log): Add systemtap probe marker.
16001         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16002         (atanMp): Add systemtap probe marker.
16003         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16004         (tanMp): Add systemtap probe marker.
16005         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16006         (__slowexp): Add systemtap probe marker.
16007         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16008         (__slowpow): Add systemtap probe marker.
16009         * manual/probes.texi: Document probes.
16010
16011 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16012
16013         [BZ #15362]
16014         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16015         written.
16016         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16017         written.
16018         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16019         written to buffer but not flushed.
16020         * libio/iofwrite_u.c:  Likewise.
16021         * libio/iopadn.c:  Return bytes returned even if EOF was
16022         encountered.
16023         * libio/iowpadn.c:  Likewise.
16024         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16025         if _IO_padn does not write the whole buffer.
16026         [!COMPILE_WPRINTF] (PAD): Likewise.
16027
16028 2013-10-10  David S. Miller  <davem@davemloft.net>
16029
16030         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16031         directory block.
16032
16033 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16034
16035         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16036         instead of FSF address.
16037         * soft-fp/fixdfti.c: Likewise.
16038         * soft-fp/fixsfti.c: Likewise.
16039         * soft-fp/fixtfti.c: Likewise.
16040         * soft-fp/fixunsdfti.c: Likewise.
16041         * soft-fp/fixunssfti.c: Likewise.
16042         * soft-fp/fixunstfti.c: Likewise.
16043         * soft-fp/floattidf.c: Likewise.
16044         * soft-fp/floattisf.c: Likewise.
16045         * soft-fp/floattitf.c: Likewise.
16046         * soft-fp/floatuntidf.c: Likewise.
16047         * soft-fp/floatuntisf.c: Likewise.
16048         * soft-fp/floatuntitf.c: Likewise.
16049         * soft-fp/trunctfxf2.c: Likewise.
16050
16051         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16052         * soft-fp/fixdfti.c: Likewise.
16053         * soft-fp/fixsfti.c: Likewise.
16054         * soft-fp/fixtfti.c: Likewise.
16055         * soft-fp/fixunsdfti.c: Likewise.
16056         * soft-fp/fixunssfti.c: Likewise.
16057         * soft-fp/fixunstfti.c: Likewise.
16058         * soft-fp/floattidf.c: Likewise.
16059         * soft-fp/floattisf.c: Likewise.
16060         * soft-fp/floattitf.c: Likewise.
16061         * soft-fp/floatuntidf.c: Likewise.
16062         * soft-fp/floatuntisf.c: Likewise.
16063         * soft-fp/floatuntitf.c: Likewise.
16064         * soft-fp/trunctfxf2.c: Likewise.
16065
16066 2013-10-10  David S. Miller  <davem@davemloft.net>
16067
16068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16069
16070 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16071
16072         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16073         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16074         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16075         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16076         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16077         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16078         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16079
16080         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16081         for NaNs before doing comparisons on argument.
16082         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16083         Likewise.
16084
16085 2013-10-10  Will Newton  <will.newton@linaro.org>
16086
16087         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16088         passed to _int_memalign does not overflow.
16089
16090 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16091
16092         * scripts/bench.pl: Add include-sources directive.
16093         * benchtests/README: Update documentation.
16094
16095 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16096
16097         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16098         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16099         instead of FP_INIT_ROUNDMODE.
16100         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16101         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16102
16103         [BZ #16034]
16104         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16105         copy class of input value.
16106         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16107         not handle exceptions.
16108         * soft-fp/negsf2.c (__negsf2): Likewise.
16109         * soft-fp/negtf2.c (__negtf2): Likewise.
16110         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16111
16112 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16113
16114         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16115         semicolon.  From Linux kernel.
16116
16117 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16118
16119         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16120
16121 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16122
16123         [BZ #156]
16124         * manual/socket.texi: Added statement about buffer
16125         for gethostbyname2_r.
16126
16127 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16128
16129         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16130         Use .p2align directive instead, throughout.
16131         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16132         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16133         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16134         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16135         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16136         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16137         * sysdeps/x86_64/strchr.S: Likewise.
16138         * sysdeps/x86_64/strrchr.S: Likewise.
16139
16140 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16141
16142         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16143
16144         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16145
16146         * sysdeps/generic/math_private.h (__mpsin1): Remove
16147         declaration.
16148         (__mpcos1): Likewise.
16149         (__mpsin): New argument __range_reduce.
16150         (__mpcos): Likewise.
16151         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16152         (slow): Use __mpsin and __mpcos.
16153         (slow1): Likewise.
16154         (slow2): Likewise.
16155         (sloww): Likewise.
16156         (sloww1): Likewise.
16157         (sloww2): Likewise.
16158         (bsloww): Likewise.
16159         (bsloww1): Likewise.
16160         (bsloww2): Likewise.
16161         (cslow2): Likewise.
16162         (csloww): Likewise.
16163         (csloww1): Likewise.
16164         (csloww2): Likewise.
16165         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16166         range_reduce.  Merge in __mpsin1.
16167         (__mpcos): Likewise.
16168         (__mpsin1): Remove.
16169         (__mpcos1): Likewise.
16170
16171 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16172
16173         * locale/loadlocale.c (_nl_intern_locale_data): Use
16174         LOCFILE_ALIGNED_P.
16175         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16176         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16177         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16178         obstack data is appropriately aligned.
16179         (obstack_int32_grow_fast): Likewise.
16180         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16181         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16182         (add_locale_uint32_array): Likewise.
16183
16184 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16185
16186         * benchtests/Makefile: Remove ARGLIST and RET variables.
16187         ($(objpfx)bench-%.c): Pass only function name to the script.
16188         * benchtests/README: Update documentation.
16189         * benchtests/acos-inputs: Add new directives.
16190         * benchtests/acosh-inputs: Likewise.
16191         * benchtests/asin-inputs: Likewise.
16192         * benchtests/asinh-inputs: Likewise.
16193         * benchtests/atan-inputs: Likewise.
16194         * benchtests/atanh-inputs: Likewise.
16195         * benchtests/cos-inputs: Likewise.
16196         * benchtests/cosh-inputs: Likewise.
16197         * benchtests/exp-inputs: Likewise.
16198         * benchtests/log-inputs: Likewise.
16199         * benchtests/pow-inputs: Likewise.
16200         * benchtests/rint-inputs: Likewise.
16201         * benchtests/sin-inputs: Likewise.
16202         * benchtests/sinh-inputs: Likewise.
16203         * benchtests/tan-inputs: Likewise.
16204         * benchtests/tanh-inputs: Likewise.
16205         * scripts/bench.pl: Add support for new directives.
16206
16207 2013-10-07  Alan Modra  <amodra@gmail.com>
16208
16209         * README: Fix careless merge.
16210
16211 2013-10-05  Alan Modra  <amodra@gmail.com>
16212
16213         * NEWS: Mention powerpc64le support and bugs fixed.
16214         * README: Both big-endian and little-endian powerpc64 supported.
16215
16216 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16217
16218         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16219         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16220         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16221         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16222
16223 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16224
16225         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16226         match prototype.
16227
16228 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16229
16230         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16231         Move -mhard-float appending from
16232         ports/sysdeps/powerpc/powerpc32/Makefile.
16233         [$(with-fp) = yes] (ASFLAGS): Likewise.
16234         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16235         * sysdeps/powerpc/nofpu: Move directory from
16236         ports/sysdeps/powerpc/nofpu.
16237         * sysdeps/powerpc/soft-fp: Move directory from
16238         ports/sysdeps/powerpc/soft-fp.
16239         * sysdeps/powerpc/powerpc32/405: Move directory from
16240         ports/sysdeps/powerpc/powerpc32/405.
16241         * sysdeps/powerpc/powerpc32/440: Move directory from
16242         ports/sysdeps/powerpc/powerpc32/440.
16243         * sysdeps/powerpc/powerpc32/464: Move directory from
16244         ports/sysdeps/powerpc/powerpc32/464.
16245         * sysdeps/powerpc/powerpc32/476: Move directory from
16246         ports/sysdeps/powerpc/powerpc32/476.
16247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16248         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16250         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16252         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16254         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16256         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16257         * README: Update for powerpc-*-linux-gnu software floating point
16258         support in libc.
16259
16260         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16261         case to powerpc/powerpc32*.
16262         * sysdeps/unix/sysv/linux/configure: Regenerated.
16263
16264         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16265         (_FPU_MASK_OM): Define as 0x04.
16266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16268         0x00c10080.
16269         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16270         0x0000003c.
16271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16272
16273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16274         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16275         getcontext_e500.
16276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16277         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16278         setcontext_e500.
16279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16280         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16281         and setcontext_e500.
16282
16283 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16284
16285         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16286
16287 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16288
16289         * manual/threads.texi (Default Thread Attributes): Fix typo.
16290
16291 2013-10-04  Will Newton  <will.newton@linaro.org>
16292
16293         * malloc/Makefile: Add tst-memalign.
16294         * malloc/tst-memalign.c: New file.
16295
16296         * malloc/tst-posix_memalign.c: Add comments.
16297         (do_test): Add comments and call free on all potentially
16298         allocated pointers. Add space after cast.
16299
16300         * malloc/tst-pvalloc.c: Add comments.
16301         (do_test): Add comments and call free on all potentially
16302         allocated pointers. Remove duplicate check for NULL pointer.
16303         Add space after cast.
16304
16305         * malloc/tst-valloc.c: Add comments.
16306         (do_test): Add comments and call free on all potentially
16307         allocated pointers. Remove duplicate check for NULL pointer.
16308         Add space after cast.
16309
16310 2013-10-04  Alan Modra  <amodra@gmail.com>
16311
16312         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16313         Use stdint types in rather than __attribute__((mode())).
16314         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16315
16316 2013-10-04  Alan Modra  <amodra@gmail.com>
16317
16318         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16319         Correct handling of unaligned relocs for little-endian.
16320         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16321
16322 2013-10-04  Alan Modra  <amodra@gmail.com>
16323
16324         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16325         * configure: Regenerate.
16326         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16327         * shlib-versions: Likewise.
16328
16329 2013-10-04  Alan Modra  <amodra@gmail.com>
16330
16331         * string/tester.c (test_memrchr): Increment reported test cycle.
16332
16333 2013-10-04  Alan Modra  <amodra@gmail.com>
16334
16335         * string/test-memcpy.c (do_one_test): When reporting errors, print
16336         string address and don't overrun end of string.
16337
16338 2013-10-04  Alan Modra  <amodra@gmail.com>
16339
16340         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16341         insrdi.  Make better use of reg selection to speed exit slightly.
16342         Schedule entry path a little better.  Remove useless "are we done"
16343         checks on entry to main loop.  Handle wrapping around zero address.
16344         Correct main loop count.  Handle single left-over word from main
16345         loop inline rather than by using loop_small.  Remove extra word
16346         case in loop_small caused by wrong loop count.  Add little-endian
16347         support.
16348         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16349         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16350         cache hint.
16351         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16352         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16353         support.  Avoid rlwimi.
16354         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16355
16356 2013-10-04  Alan Modra  <amodra@gmail.com>
16357
16358         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16359         insrdi.  Formatting.
16360         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16361         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16362         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16363         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16364         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16365         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16366
16367 2013-10-04  Alan Modra  <amodra@gmail.com>
16368
16369         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16370         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16371         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16372         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16373         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16374         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16375         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16376         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16377         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16378         use of regs.  Use power7 mtocrf.  Tidy function tails.
16379
16380 2013-10-04  Alan Modra  <amodra@gmail.com>
16381
16382         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16383         Formatting.  Consistently use rXXX register defines or rN defines.
16384         Use early exit labels that avoid restoring unused non-volatile regs.
16385         Make cr field use more consistent with rWORDn compares.  Rename
16386         regs used as shift registers for unaligned loop, using rN defines
16387         for short lifetime/multiple use regs.
16388         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16389         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16390         addi 1,1,64 to pop stack frame.  Simplify return value code.
16391         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16392
16393 2013-10-04  Alan Modra  <amodra@gmail.com>
16394
16395         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16396         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16397         rather than rlwimi.
16398         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16399         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16400         little-endian support.  Correct typos.
16401         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16402         rather than rlwimi.
16403         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16404         in loop and entry code to keep "and." results.
16405         (strchr): Add little-endian support.  Comment.  Move cntlzd
16406         earlier in tail.
16407         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16408
16409 2013-10-04  Alan Modra  <amodra@gmail.com>
16410
16411         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16412         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16413         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16414         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16415
16416 2013-10-04  Alan Modra  <amodra@gmail.com>
16417
16418         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16419         (rTMP): Define as r11.
16420         (strcmp): Add little-endian support.  Optimise tail.
16421         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16422         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16423         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16424         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16425         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16426         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16427         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16428
16429 2013-10-04  Alan Modra  <amodra@gmail.com>
16430
16431         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16432         little-endian support.  Remove unnecessary "are we done" tests.
16433         Handle "s" wrapping around zero and extremely large "size".
16434         Correct main loop count.  Handle single left-over word from main
16435         loop inline rather than by using small_loop.  Correct comments.
16436         Delete "zero" tail, use "end_max" instead.
16437         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16438
16439 2013-10-04  Alan Modra  <amodra@gmail.com>
16440
16441         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16442         support.  Don't branch over align.
16443         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16444         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16445         support.  Rearrange tmp reg use to suit.  Comment.
16446         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16447
16448 2013-10-04  Alan Modra  <amodra@gmail.com>
16449
16450         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16451
16452 2013-10-04  Alan Modra  <amodra@gmail.com>
16453
16454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16455         conditional form of branch and link when obtaining pc.
16456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16457
16458 2013-10-04  Alan Modra  <amodra@gmail.com>
16459
16460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16461         HIWORD/LOWORD.
16462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16464
16465 2013-10-04  Alan Modra  <amodra@gmail.com>
16466
16467         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16468         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16469         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16470         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16471         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16472         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16473         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16474         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16475         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16476         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16477
16478 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16479             Alistair Popple <alistair@ozlabs.au.ibm.com>
16480             Alan Modra <amodra@gmail.com>
16481
16482         [BZ #15723]
16483         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16484         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16485         _dl_hwcap access for little-endian.
16486         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16487         destroy vmx regs when saving unaligned.
16488         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16489         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16490         destroy vmx regs when saving unaligned.
16491
16492 2013-10-04  Alan Modra  <amodra@gmail.com>
16493
16494         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16495         Don't use a union to pack hi/low value.
16496
16497 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16498
16499         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16500         for little-endian.
16501         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16502         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16503         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16504         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16505         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16506
16507 2013-10-04  Alan Modra  <amodra@gmail.com>
16508
16509         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16510         constants to usual value for .cst8 section, and remove redundant
16511         high address load.
16512         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16513         constant for 0x1p52.  Load little-endian words of double from
16514         correct stack offsets.
16515
16516 2013-10-04  Alan Modra  <amodra@gmail.com>
16517
16518         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16519         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16520         words of double from correct stack offsets.
16521         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16522         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16523         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16524         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16525         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16526         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16527         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16528         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16529         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16530         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16531         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16532         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16533         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16534         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16535         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16536         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16537         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16538
16539 2013-10-04  Alan Modra  <amodra@gmail.com>
16540
16541         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16542         64-bit int/double union.
16543         (_FPU_SETCW): Likewise.
16544         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16545         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16546
16547 2013-10-04  Alan Modra  <amodra@gmail.com>
16548
16549         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16550         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16551
16552 2013-10-04  Alan Modra  <amodra@gmail.com>
16553
16554         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16555         use vector int constants.
16556         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16557
16558 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16559
16560         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16561         array with long long.
16562         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16563         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16564         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16565         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16566         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16567         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16568         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16569         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16570         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16571         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16572         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16573         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16574         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16575
16576 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16577
16578         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16579         (__signbit): Likewise.  Correct for little-endian.
16580         (__signbitl): Call __signbit.
16581         (lrint): Correct for little-endian.
16582         (lrintf): Call lrint.
16583
16584 2013-10-04  Alan Modra  <amodra@gmail.com>
16585
16586         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16587         union 32-bit int array member with 64-bit int array.
16588         (t515, tm256): Double rather than long double.
16589         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16590
16591 2013-10-04  Alan Modra  <amodra@gmail.com>
16592
16593         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16594         Delete.
16595         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16596         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16597         version of math_ldbl.h.
16598
16599 2013-10-04  Alan Modra  <amodra@gmail.com>
16600
16601         [BZ #15734], [BZ #15735]
16602         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16603         all uses of ieee875 long double macros and unions.  Simplify test
16604         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16605         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16606         normalize after ldbl_extract_mantissa, and don't add hidden bit
16607         already handled.  Don't treat low word of ieee854 mantissa like
16608         low word of IBM long double and mask off bit when testing for
16609         zero.
16610         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16611         all uses of ieee875 long double macros and unions.  Simplify tests
16612         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16613         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16614         two1022, instead use their values.  Recognise that tests for large
16615         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16616         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16617         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16618         test for 0.0L and nan.  Correct negation.
16619         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16620         ieee875 long double macros and unions.  Correct output for large
16621         magnitude x.  Correct absolute value calculation.
16622         (__erfcl): Likewise.
16623         * math/libm-test.inc: Add tests for errors discovered in IBM long
16624         double versions of fmodl, remainderl, erfl and erfcl.
16625
16626 2013-10-04  Alan Modra  <amodra@gmail.com>
16627
16628         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16629         all uses of ieee854 long double macros and unions.  Simplify tests
16630         for long doubles that are fully specified by the high double.
16631         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16632         Likewise.
16633         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16634         Remove dead code too.
16635         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16636         (__ieee754_ynl): Likewise.
16637         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16638         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16639         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16640         Remove dead code too.
16641         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16642         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16643         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16644         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16645         Simplify.
16646         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16647         Simplify.
16648         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16649         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16650         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16651         Comment on variable precision.
16652         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16653         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16654         Likewise.
16655         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16656         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16657         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16658         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16659         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16660
16661 2013-10-04  Alan Modra  <amodra@gmail.com>
16662
16663         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16664         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16665         all uses of ieee854 long double macros and unions.
16666         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16667         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16668         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16669         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16670         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16671         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16672         Likewise.
16673         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16674         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16675         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16676         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16677         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16678         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16679         Simplify sign and nan test too.
16680         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16681         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16682         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16683         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16684         Likewise.
16685         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16686         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16687         Likewise.
16688         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16689         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16690         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16691         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16692         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16693         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16694
16695 2013-10-04  Alan Modra  <amodra@gmail.com>
16696
16697         * stdio-common/printf_size.c (__printf_size): Don't use
16698         union ieee854_long_double in fpnum union.
16699         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16700         signbit macro to retrieve sign from long double.
16701         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16702         retrieve sign from long double.
16703         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16704         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16705         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16706         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16707         * math/test-misc.c (main): Don't use union ieee854_long_double.
16708
16709 2013-10-04  Alan Modra  <amodra@gmail.com>
16710
16711         [BZ #15680]
16712         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16713         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16714         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16715         calculation.  Remove unnecessary test for denormal exponent.
16716         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16717         Correct handling of denormals.  Avoid undefined shift behaviour.
16718         Correct normalisation of low mantissa when low double is denormal.
16719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16720         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16721         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16722         Correct normalisation of low mantissa.  Test for overflow of high
16723         mantissa and normalise.
16724         (ldbl_nearbyint): Use more readable constant for two52.
16725         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16726         (__mpn_construct_long_double): Fix test for overflow of high
16727         mantissa and correct normalisation.  Avoid undefined shift.
16728
16729 2013-10-04  Alan Modra  <amodra@gmail.com>
16730
16731         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16732         (union ibm_extended_long_double): Define as an array of ieee754_double.
16733         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16734         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16735         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16736         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16737         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16738         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16739         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16740         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16741         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16742         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16743         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16744
16745 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16746
16747         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16748         page size instead of calling getpagesize.
16749
16750         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16751         (LOCFILE_ALIGN_MASK): Likewise.
16752         (LOCFILE_ALIGN_UP): Likewise.
16753         (LOCFILE_ALIGNED_P): Likewise.
16754         * locale/programs/ld-collate.c (collate_output): Use the new
16755         macros instead of __alignof__ (int32_t).
16756         * locale/weight.h (findidx): Likewise.
16757
16758 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16759
16760         [BZ #431]
16761         * manual/string.texi: Fix strncat and wcsncat.
16762
16763 2013-10-03  Brooks Moses  <bmoses@google.com>
16764
16765         [BZ #15915]
16766         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16767         * Makerules: ...here, and adjust associated comments.
16768
16769 2013-10-02  Will Newton  <will.newton@linaro.org>
16770
16771         * malloc/Makefile: Add tst-pvalloc.
16772         * malloc/tst-pvalloc.c: New file.
16773
16774 2013-10-02  Will Newton  <will.newton@linaro.org>
16775
16776         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16777         improve test coverage.
16778
16779 2013-10-02  Will Newton  <will.newton@linaro.org>
16780
16781         * malloc/Makefile: Add tst-posix_memalign.
16782         * malloc/tst-posix_memalign.c: New file.
16783
16784 2013-10-01  Eric Blake  <eblake@redhat.com>
16785
16786         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16787         Use __THROWNL rather than __THROW on static functions.
16788
16789 2013-09-30  Petr Machata  <pmachata@redhat.com>
16790
16791         * elf/elf.h (R_AARCH64_ABS16): New macro.
16792         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16793         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16794         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16795         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16796         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16797         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16798         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16799         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16800         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16801         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16802         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16803         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16804         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16805         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16806         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16807         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16808         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16809         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16810         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16811         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16812         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16813         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16814         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16815         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16816         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16817         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16818         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16819         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16820         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16821         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16822         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16823         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16824         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16825         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16826         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16827         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16828         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16829         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16830         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16831         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16832         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16833         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16834         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16835         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16836         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16837         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16838         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16839         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16840         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16841         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16842         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16843         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16844         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16845         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16846         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16847         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16848         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16849         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16850         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16851         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16852         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16853         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16854         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16855         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16856         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16857         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16858         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16859         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16860         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16861         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16862         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16863         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16864         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16865         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16866         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16867         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16868         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16869         (R_AARCH64_TLSDESC_LDR): Likewise.
16870         (R_AARCH64_TLSDESC_ADD): Likewise.
16871         (R_AARCH64_TLSDESC_CALL): Likewise.
16872
16873 2013-09-30  Andreas Schwab  <schwab@suse.de>
16874
16875         [BZ #15048]
16876         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16877         the nss database lookup.
16878         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16880
16881 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16882
16883         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16884
16885 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16886
16887         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16888         ${Bash-specific parameter/pattern/string} parameter expansion.
16889         * sysdeps/unix/make-syscalls.sh: Likewise.
16890
16891 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16892
16893         * sysdeps/sh/stackguard-macros.h: New file.
16894
16895 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16896
16897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16898         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16899         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16900         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16901         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16902         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16903
16904 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16905
16906         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16907         Fix thread ID register.
16908
16909 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16910
16911         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16912         [POSIX || UNIX98]: Require rather than permitting all symbols from
16913         <time.h>.
16914         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16915         element of struct sched_param.
16916         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16917         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16918         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16919         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16920         constant.
16921
16922 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16923
16924         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16925         argument calculation.
16926
16927 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16928
16929         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16930         Expect macro.
16931         [POSIX] (pthread_attr_t): Do not require type.
16932         [POSIX] (pthread_cond_t): Likewise.
16933         [POSIX] (pthread_condattr_t): Likewise.
16934         [POSIX] (pthread_key_t): Likewise.
16935         [POSIX] (pthread_mutex_t): Likewise.
16936         [POSIX] (pthread_mutexattr_t): Likewise.
16937         [POSIX] (pthread_once_t): Likewise.
16938         [POSIX] (pthread_t): Likewise.
16939         [POSIX-based standards] (pthread_atfork): Expect function.
16940
16941 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16942             Richard Sandiford  <richard@codesourcery.com>
16943
16944         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16945         (swap_endianness_p): New extern variable.
16946         (set_big_endian): New inline function.
16947         (maybe_swap_uint32): Likewise.
16948         (maybe_swap_uint32_array): Likewise.
16949         (maybe_swap_uint32_obstack): Likewise.
16950         * locale/programs/locfile.c: Include <stdbool.h>.
16951         (swap_endianness_p): New variable.
16952         (add_locale_uint32): Call maybe_swap_uint32.
16953         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16954         (write_locale_data): Call maybe_swap_uint32_array.
16955         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16956         maybe_swap_uint32.
16957         (obstack_int32_grow_fast): Likewise.
16958         (output_weightwc): Call maybe_swap_uint32_obstack.
16959         (collate_output): Likewise.
16960         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16961         (OPT_LITTLE_ENDIAN): Likewise.
16962         (options): Add --little-endian and --big-endian options.
16963         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16964         * locale/programs/locarchive.c: Include "locfile.h".
16965         (GET): New macro.
16966         (SET): Likewise.
16967         (INC): Likewise.
16968         (create_archive): Use the new macros to access fields of
16969         structures directly mapped from or written to locale archives.
16970         (oldlocrecentcmp): Likewise.
16971         (enlarge_archive): Likewise.
16972         (insert_name): Likewise.
16973         (add_alias): Likewise.
16974         (add_locale): Likewise.
16975         (delete_locales_from_archive): Likewise.
16976         (show_archive_content): Likewise.
16977         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16978         locale data.
16979
16980 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16981
16982         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16983         http://www.gnu.org/doc/freemanuals.texi.
16984         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16985
16986 2013-09-24  Will Newton  <will.newton@linaro.org>
16987
16988         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16989         macro.
16990
16991 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16992
16993         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16994         unsigned char.
16995
16996 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16997
16998         * manual/threads.texi (POSIX Threads): Fix a typo.
16999
17000 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17001
17002         [BZ #14547]
17003         * string/tst-strcoll-overflow.c: New test case.
17004         * string/Makefile (xtests): Add tst-strcoll-overflow.
17005         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17006         cache if string sizes may cause integer overflow.
17007
17008         [BZ #14547]
17009         * string/strcoll_l.c (coll_seq): New members rule, idx,
17010         save_idx and back_us.
17011         (get_next_seq_nocache): New function.
17012         (do_compare_nocache): New function.
17013         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17014         when malloc fails.
17015
17016 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17017
17018         [BZ #15754]
17019         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17020         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17021         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17022
17023         [BZ #15754]
17024         * elf/Makefile (tests): Add tst-ptrguard1.
17025         (tests-static): Add tst-ptrguard1-static.
17026         (tst-ptrguard1-ARGS): Define.
17027         (tst-ptrguard1-static-ARGS): Define.
17028         * elf/tst-ptrguard1.c: New file.
17029         * elf/tst-ptrguard1-static.c: New file.
17030         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17031         * sysdeps/i386/stackguard-macros.h: Likewise.
17032         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17033         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17034         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17035         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17036         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17037         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17038
17039 2013-09-23  Hector Marco  <hecmargi@upv.es>
17040             Ismael Ripoll  <iripoll@disca.upv.es>
17041             Carlos O'Donell  <carlos@redhat.com>
17042
17043         [BZ #15754]
17044         * sysdeps/generic/stackguard-macros.h: Define
17045         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17046         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17047         Define __pointer_chk_guard_local.
17048         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17049         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17050
17051 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17052
17053         [BZ #15859]
17054         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17055
17056 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17057
17058         * include/string.h (__ffs): Declare as hidden.
17059         * string/ffs.c (__ffs): Define as hidden.
17060         * sysdeps/i386/ffs.c (__ffs): Likewise.
17061         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17062         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17063         * sysdeps/s390/ffs.c (__ffs): Likewise.
17064         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17065
17066 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17067
17068         * NEWS: Mention malloc probes.
17069
17070         * malloc/arena.c (new_heap): New memory_heap_new probe.
17071         (grow_heap): New memory_heap_more probe.
17072         (shrink_heap): New memory_heap_less probe.
17073         (heap_trim): New memory_heap_free probe.
17074         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17075         (systrim): New memory_sbrk_less probe.
17076         * manual/probes.texi: Document them.
17077
17078         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17079         * manual/probes.texi: Document it.
17080
17081         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17082         (__libc_realloc): Add memory_realloc_retry probe.
17083         (__libc_memalign): Add memory_memalign_retry probe.
17084         (__libc_valloc): Add memory_valloc_retry probe.
17085         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17086         (__libc_calloc): Add memory_calloc_retry probe.
17087         * manual/probes.texi: Document them.
17088
17089         * malloc/arena.c (get_free_list): Add probe
17090         memory_arena_reuse_free_list.
17091         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17092         and memory_arena_reuse.
17093         (arena_get2) [!PER_THREAD]: Likewise.
17094         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17095         memory_arena_reuse_realloc.
17096         * manual/probes.texi: Document them.
17097
17098         * malloc/malloc.c (__libc_free): Add
17099         memory_mallopt_free_dyn_thresholds probe.
17100         (__libc_mallopt): Add multiple memory_mallopt probes.
17101         * manual/probes.texi: Document them.
17102
17103         * malloc/malloc.c: Include stap-probe.h.
17104         (__libc_mallopt): Add memory_mallopt probe.
17105         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17106         * manual/probes.texi: New.
17107         * manual/Makefile (chapters): Add probes.
17108         * manual/threads.texi: Set next node.
17109
17110 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17111
17112         [BZ #15963, #13985]
17113         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17114         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17115         Add `Chinese' to `nan' entry name.
17116
17117 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17118
17119         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17120         (POLYNOMIAL): Likewise.
17121         (TAYLOR_SINCOS): Likewise.
17122         (TAYLOR_SLOW): Likewise.
17123         (__sin): Use TAYLOR_SINCOS.
17124         (__cos): Likewise.
17125         (slow): Use TAYLOR_SLOW.
17126         (sloww): Likewise.
17127         (bsloww): Likewise.
17128         (csloww): Likewise.
17129
17130 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17131
17132         * stdlib/strtod_l.c: Fix buffer overrun.
17133
17134 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17135
17136         * benchtests/Makefile (bench): Add sincos.
17137         * benchtests/bench-sincos.c: New file.
17138
17139         * math/libm-test.inc (cos_test_data): New test inputs.
17140         (sin_test_data): Likewise.
17141
17142         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17143         macro.
17144         (__sin): Use it.
17145         (__cos): Likewise.
17146         (slow1): Likewise.
17147         (slow2): Likewise.
17148         (sloww1): Likewise.
17149         (sloww2): Likewise.
17150         (bsloww1): Likewise.
17151         (bsloww2): Likewise.
17152         (cslow2): Likewise.
17153         (csloww1): Likewise.
17154         (csloww2): Likewise.
17155
17156         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17157         function.
17158         (__sin): Use it.
17159         (__cos): Likewise.
17160
17161         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17162         gotos.
17163         (__cos): Likewise.
17164
17165 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17166
17167         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17168         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17169         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17170         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17171         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17172         * elf/cache.c (print_entry): Handle the new cache flags.
17173
17174 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17175             Aldy Hernandez  <aldyh@redhat.com>
17176
17177         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17178         Change condition to [_SOFT_FLOAT].
17179         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17184         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17185         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17191         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17194         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17195         declaration.
17196
17197 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17198
17199         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17200         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17201         (__longjmp): Use LOAD_GP to load saved GPRs.
17202         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17203         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17204         (__sigsetjmp): Use SAVE_GP to save GPRs.
17205
17206         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17207         Do not append -msoft-float.
17208         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17209
17210 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17211
17212         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17213
17214 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17215
17216         [BZ #15966]
17217         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17218         (_FPU_GETCW): Use initial "__" on variable and field names but not
17219         on macro parameter name.
17220         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17221         parentheses around reference to macro parameter.
17222
17223 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17224
17225         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17226         prototype.
17227         (ctype_startup): Use uint32_t in cast and sizeof for
17228         ctype->charnames.
17229
17230 2013-09-11  Jia Liu  <proljc@gmail.com>
17231
17232         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17233         __daddr_t_defined.
17234         [__FreeBSD__]: Likewise.
17235
17236 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17237
17238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17239         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17240         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17241         (strchr): Remove __strchr_sse42 ifunc selection.
17242         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17243         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17244
17245 2013-09-11  Will Newton  <will.newton@linaro.org>
17246
17247         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17248         parameter to RES. Remove hardcoded 1000 value.
17249         * benchtests/bench-skeleton.c (main): Pass RES parameter
17250         to TIMING_INIT and multiply result by 1000.
17251
17252 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17253
17254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17255
17256 2013-09-11  Andreas Schwab  <schwab@suse.de>
17257
17258         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17259         if not defined.
17260         (O_TMPFILE) [__USE_GNU]: Define.
17261         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17262         Define.
17263
17264 2013-09-11  Will Newton  <will.newton@linaro.org>
17265
17266         [BZ #15857]
17267         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17268         does not overflow.
17269
17270 2013-09-11  Will Newton  <will.newton@linaro.org>
17271
17272         [BZ #15856]
17273         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17274         does not overflow.
17275
17276 2013-09-11  Will Newton  <will.newton@linaro.org>
17277
17278         [BZ #15855]
17279         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17280         does not overflow.
17281
17282 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17283
17284         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17285         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17286         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17287         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17288         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17289
17290 2013-09-10  Allan McRae  <allan@archlinux.org>
17291
17292         [BZ #15748]
17293         * manual/arith.texi (Parsing of Floats): Clarify
17294         cross-reference.
17295
17296         [BZ #15849]
17297         * manual/install.texi (Running make install): Mention
17298         --enable-pt-chown.
17299         * INSTALL: Regenerated.
17300
17301 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17302
17303         * csu/init-first.c (_init): Remove the !SHARED condition around
17304         FPU control word initialization.
17305         * elf/dl-support.c (_dl_fpu_control): New variable.
17306         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17307         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17308         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17309         * math/test-fpucw-static.c: New file.
17310         * math/test-fpucw-ieee.c: New file.
17311         * math/test-fpucw-ieee-static.c: New file.
17312         * math/Makefile (tests): Add `test-fpucw-ieee' and
17313         `$(tests-static)'.
17314         (tests-static): New variable.
17315         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17316         dependency to...
17317         [($(build-shared),yes)]
17318         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17319         ... this.
17320         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17321         New dependency.
17322
17323 2013-09-09  Allan McRae  <allan@archlinux.org>
17324
17325         [BZ #15939]
17326         * manual/string.texi (Collation Functions): Fix typo in
17327         strcoll example.
17328         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17329
17330         [BZ #15893]
17331         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17332
17333         [BZ #15892]
17334         * libio/memstream.c (open_memstream): Fix memory leak.
17335         * libio/wmemstream.c (open_wmemstream): Likewise.
17336
17337         [BZ #15895]
17338         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17339
17340 2013-09-09  Will Newton  <will.newton@linaro.org>
17341
17342         * malloc/Makefile: Add tst-realloc to tests.
17343         * malloc/tst-realloc.c: New file.
17344
17345 2013-09-09  Allan McRae  <allan@archlinux.org>
17346
17347         [BZ #15844]
17348         * COPYING: Update from GNU website to fix FSF address.
17349         * COPYING.LIB: Likewise.
17350
17351 2013-09-06  David S. Miller  <davem@davemloft.net>
17352
17353         * po/zh_TW.po: Update Chinese (traditional) translation from
17354         translation project.
17355
17356 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17357             Joseph Myers  <joseph@codesourcery.com>
17358
17359         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17360         "localeinfo.h".
17361         (obstack_chunk_alloc): New macro.
17362         (obstack_chunk_free): Likewise.
17363         (record_offset): New function.
17364         (init_locale_data): Likewise.
17365         (align_locale_data): Likewise.
17366         (add_locale_empty): Likewise.
17367         (add_locale_raw_data): Likewise.
17368         (add_locale_raw_obstack): Likewise.
17369         (add_locale_string): Likewise.
17370         (add_locale_wstring): Likewise.
17371         (add_locale_uint32): Likewise.
17372         (add_locale_uint32_array): Likewise.
17373         (add_locale_char): Likewise.
17374         (start_locale_structure): Likewise.
17375         (end_locale_structure): Likewise.
17376         (start_locale_prelude): Likewise.
17377         (end_locale_prelude): Likewise.
17378         (write_locale_data): Take locale_file structure rather than an
17379         iovec.
17380         * locale/programs/locfile.h: Include "obstack.h".
17381         (struct locale_file): Change to store locale file contents instead
17382         of header.
17383         (init_locale_data): New prototype.
17384         (align_locale_data): Likewise.
17385         (add_locale_empty): Likewise.
17386         (add_locale_raw_data): Likewise.
17387         (add_locale_raw_obstack): Likewise.
17388         (add_locale_string): Likewise.
17389         (add_locale_wstring): Likewise.
17390         (add_locale_uint32): Likewise.
17391         (add_locale_uint32_array): Likewise.
17392         (add_locale_char): Likewise.
17393         (start_locale_structure): Likewise.
17394         (end_locale_structure): Likewise.
17395         (start_locale_prelude): Likewise.
17396         (end_locale_prelude): Likewise.
17397         (write_locale_data): Update prototype.
17398         * locale/programs/3level.h (struct TABLE): Remove result field.
17399         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17400         Use new locale_file interface.
17401         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17402         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17403         * locale/programs/ld-address.c (address_output): Use new
17404         locale_file interface.
17405         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17406         NO_ADD_LOCALE.
17407         (collate_finish): Don't call collseq_table_finalize.
17408         (collate_output): Use new locale_file interface.
17409         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17410         in file.
17411         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17412         (TABLE): Move defines earlier in file.
17413         (ELEMENT): Likewise.
17414         (DEFAULT): Likewise.
17415         (wctrans_table_add): Move macro and inline function earlier in
17416         file.
17417         (struct wctype_table): Move type earlier in file.
17418         (add_locale_wctype_table): New static prototype.
17419         (struct locale_ctype_t): Use logical types instead of struct iovec
17420         pointers for members.
17421         (ctype_output): Use new locale_file interface.
17422         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17423         new locale_file interface.
17424         (allocate_arrays): Update for use of new locale_file interface.
17425         * locale/programs/ld-identification.c (identification_output): Use
17426         new locale_file interface.
17427         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17428         * locale/programs/ld-messages.c (messages_output): Likewise.
17429         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17430         * locale/programs/ld-name.c (name_output): Likewise.
17431         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17432         * locale/programs/ld-paper.c (paper_output): Likewise.
17433         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17434         * locale/programs/ld-time.c (time_output): Likewise.
17435
17436 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17437
17438         * benchtests/Makefile: Add memrchr benchmark.
17439         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17440         benchmark as memrchr.
17441         * benchtests/bench-memrchr-ifunc.c: New file.
17442         * benchtests/bench-memrchr.c: New file.
17443
17444 2013-09-06   Will Newton  <will.newton@linaro.org>
17445
17446         * benchtests/Makefile (string-bench): Add memcpy.
17447
17448 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17449             Cong Wang  <amwang@redhat.com>
17450
17451         [BZ #15850]
17452         * sysdeps/unix/sysv/linux/bits/in.h
17453         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17454         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17455         before __USE_KERNEL_IPV6_DEFS uses.
17456         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17457         IPPROTO_BEETPH.
17458         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17459         sockaddr_in6, or ipv6_mreq.
17460
17461 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17462
17463         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17464         memory access for final bytes in some large inputs.
17465         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17466
17467 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17468
17469         * string/test-memrchr.c: New file.
17470         * string/test-memrchr-ifunc.c: New file.
17471         * string/Makefile: Add new memrchr testcase.
17472
17473 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17474
17475         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17476         fanotify_init returns EPERM.
17477
17478 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17479
17480         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17481         errors.
17482         (top level): Treat second token from macro or constant entries for
17483         allowed headers as allowed.
17484         * include/complex.h: Condition internal declarations on
17485         [!_ISOMAC].
17486         * include/fenv.h: Condition include of <stdbool.h> and internal
17487         declarations on [!_ISOMAC].
17488
17489 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17490
17491         [BZ #15923]
17492         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17493
17494 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17495
17496         * configure.in (--enable-versioning): Remove configure option.
17497         (libc_cv_asm_symver_directive): Remove configure test.
17498         (libc_cv_ld_version_script_option): Likewise.
17499         (VERSIONING): Remove variable and AC_SUBST.
17500         (DO_VERSIONING): Remove AC_DEFINE.
17501         * configure: Regenerated.
17502         * config.h.in (DO_VERSIONING): Remove macro.
17503         * Makerules [$(versioning) = yes]: Change conditionals to
17504         [$(build-shared) = yes].
17505         * config.make.in (versioning): Remove variable.
17506         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17507         [$(build-shared) = yes].
17508         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17509         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17510         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17511         [$(build-shared) = yes].
17512         * extra-lib.mk [$(versioning) = yes]: Likewise.
17513         * hurd/Makefile [$(versioning) = yes]: Likewise.
17514         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17515         [SHARED].
17516         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17517         [SHARED].
17518         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17519         [SHARED && !NO_HIDDEN].
17520         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17521         [SHARED].
17522         [SHARED && DO_VERSIONING]: Likewise..
17523         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17524         [$(build-shared) = yes].
17525         * manual/install.texi (--disable-versioning): Remove
17526         documentation.
17527         * INSTALL: Regenerated.
17528         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17529         to [SHARED].
17530         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17531         [$(build-shared) = yes].
17532         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17533         * sysdeps/i386/i686/multiarch/strstr-c.c
17534         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17535         [SHARED && !NO_HIDDEN].
17536         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17537         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17538         * sysdeps/powerpc/powerpc32/dl-machine.c
17539         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17540         * sysdeps/powerpc/powerpc32/sysdep.h
17541         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17542         to [SHARED && PIC && !NO_HIDDEN].
17543         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17544         conditional to [SHARED].
17545
17546 2013-09-04   Will Newton  <will.newton@linaro.org>
17547
17548         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17549         * benchtests/bench-string.h: Include bench-timing.h instead
17550         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17551         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17552         call to HP_TIMING_DIFF_INIT.
17553         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17554         instead of hp-timing.h macros.
17555         * benchtests/bench-memchr.c: Likewise.
17556         * benchtests/bench-memcmp.c: Likewise.
17557         * benchtests/bench-memcpy.c: Likewise.
17558         * benchtests/bench-memmem.c: Likewise.
17559         * benchtests/bench-memmove.c: Likewise.
17560         * benchtests/bench-memset.c: Likewise.
17561         * benchtests/bench-rawmemchr.c: Likewise.
17562         * benchtests/bench-strcasecmp.c: Likewise.
17563         * benchtests/bench-strcasestr.c: Likewise.
17564         * benchtests/bench-strcat.c: Likewise.
17565         * benchtests/bench-strchr.c: Likewise.
17566         * benchtests/bench-strcmp.c: Likewise.
17567         * benchtests/bench-strcpy.c: Likewise.
17568         * benchtests/bench-strcpy_chk.c: Likewise.
17569         * benchtests/bench-strlen.c: Likewise.
17570         * benchtests/bench-strncasecmp.c: Likewise.
17571         * benchtests/bench-strncat.c: Likewise.
17572         * benchtests/bench-strncmp.c: Likewise.
17573         * benchtests/bench-strncpy.c: Likewise.
17574         * benchtests/bench-strnlen.c: Likewise.
17575         * benchtests/bench-strpbrk.c: Likewise.
17576         * benchtests/bench-strrchr.c: Likewise.
17577         * benchtests/bench-strspn.c: Likewise.
17578         * benchtests/bench-strstr.c: Likewise.
17579
17580 2013-09-04  Will Newton  <will.newton@linaro.org>
17581
17582         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17583
17584 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17585
17586         [BZ #15427]
17587         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17588         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17589         * math/libm-test.inc (lgamma_test_data): Add more tests.
17590         * sysdeps/i386/fpu/libm-test-ulps: Update.
17591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17592
17593 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17594
17595         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17596         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17597         Add ifunc.
17598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17599         Add strcmp-sse2-unaligned
17600         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17601
17602 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17603
17604         * Versions.def (libc): Add GLIBC_2.19.
17605
17606 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17607
17608         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17609         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17610
17611 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17612
17613         [BZ #14155]
17614         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17615         intermediate calculations in recurrence.
17616         (__ieee754_ynf): Likewise.
17617         * math/libm-test.inc (jn_test_data): Do not allow spurious
17618         underflow exception.  Add more tests.
17619         (yn_test_data): Add more tests.
17620         * sysdeps/i386/fpu/libm-test-ulps: Update.
17621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17622
17623 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17624
17625         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17626
17627 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17628
17629         * csu/init-first.c: Fix then/than typos.
17630         * locale/programs/ld-collate.c: Likewise.
17631         * locale/programs/linereader.h: Likewise.
17632         * manual/charset.texi: Likewise.
17633         * manual/filesys.texi: Likewise.
17634         * manual/stdio.texi: Likewise.
17635         * manual/string.texi: Likewise.
17636         * stdlib/fmtmsg.c: Likewise.
17637         * sysdeps/i386/stpncpy.S: Likewise.
17638         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17639         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17640         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17641         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17642
17643 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17644
17645         * elf/dl-open.c: Fix typos.
17646         * iconvdata/gbbig5.c: Likewise.
17647         * iconvdata/iso-2022-jp.c: Likewise.
17648         * iconv/gconv_int.h: Likewise.
17649         * iconv/loop.c: Likewise.
17650         * nis/rpcsvc/nis.h: Likewise.
17651         * resolv/ns_name.c: Likewise.
17652         * stdio-common/vfscanf.c: Likewise.
17653         * streams/stropts.h: Likewise.
17654         * sunrpc/rpc_thread.c: Likewise.
17655         * sysdeps/i386/strpbrk.S: Likewise.
17656         * sysdeps/ieee754/k_standard.c: Likewise.
17657         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17658         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17659         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17660         * sysdeps/mach/hurd/profil.c: Likewise.
17661         * sysdeps/s390/dl-procinfo.h: Likewise.
17662         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17663         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17664         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17665         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17666         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17667
17668 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17669
17670         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17671         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17672
17673 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17674
17675         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17676         aix specific files.
17677         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17678         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17679         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17680         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17681         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17682         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17683         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17684         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17685
17686 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17687             Roland McGrath  <roland@hack.frob.com>
17688
17689         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17690         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17691
17692 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17693
17694         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17695         __executable_start symbol instead of _start.
17696
17697 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17698
17699         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17700         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17701         Move macros to...
17702         * sysdeps/gnu/ldsodefs.h: ... this new file.
17703
17704         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17705         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17706         instead of ELFOSABI_LINUX.
17707
17708         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17709         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17710         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17711         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17712         Likewise.
17713         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17714         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17715         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17716         Likewise.
17717         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17718         (ibm_extended_long_double): Add ieee_nan member.
17719         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17720         (do_test): New function.
17721
17722         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17723         TEST_TRUNC.
17724         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17725         functions, renamed from truncdfsf_test, trunctfsf_test,
17726         trunctfdf_test.
17727         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17728         functions.
17729         (do_test): Run all these.
17730
17731 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17732
17733         * argp/argp-help.c: Fix typos.
17734         * argp/argp-parse.c: Likewise.
17735         * debug/backtracesyms.c: Likewise.
17736         * elf/elf.h: Likewise.
17737         * malloc/malloc.c: Likewise.
17738         * nis/nis_print.c: Likewise.
17739         * resolv/res_comp.c: Likewise.
17740         * stdlib/stdlib.h: Likewise.
17741         * sunrpc/clnt_tcp.c: Likewise.
17742         * sunrpc/clnt_udp.c: Likewise.
17743         * sunrpc/clnt_unix.c: Likewise.
17744         * sysdeps/unix/bsd/ptsname.c: Likewise.
17745         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17746         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17748         Likewise.
17749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17750         Likewise.
17751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17752         Likewise.
17753         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17754
17755 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17756
17757         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17759
17760 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17761
17762         [BZ #15897]
17763         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17764         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17765         ($(objpfx)bug-dl-leaf): New rule.
17766         ($(objpfx)bug-dl-leaf.so): Likewise.
17767         ($(objpfx)bug-dl-leaf.out): Likewise.
17768         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17769         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17770         * dlfcn/bug-dl-leaf.c: New test.
17771         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17772         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17773         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17774         (dlclose): Likewise.
17775         (dlmopen): Likewise.
17776
17777 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17778
17779         * include/netdb.h [!_ISOMAC]:
17780         Don't include <tls.h>.
17781         (h_errno, __libc_h_errno): Move declaration and macros out of
17782         [_LIBC_REENTRANT].
17783
17784         * include/resolv.h [_RESOLV_H_]:
17785         Don't include <tls.h>.
17786         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17787         * resolv/res_libc.c: Don't include <tls.h>.
17788         (_res): Use __attribute__ ((nocommon)) in place of
17789         __attribute__ ((section (".bss"))).
17790
17791         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17792         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17793
17794         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17795
17796         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17797         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17798
17799         * resolv/res_mkquery.c: Include <sys/time.h>.
17800
17801         * inet/ifreq.c: Moved to ...
17802         * sysdeps/unix/ifreq.c: ... here.
17803         * inet/ifreq.c: New file, true stub version.
17804
17805         * socket/sa_len.c: New file.
17806         * socket/Makefile (aux): Add it.
17807         * sysdeps/unix/sysv/linux/Makefile
17808         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17809         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17810         and #include <socket/sa_len.c>.
17811         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17812         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17813
17814         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17815         * bits/socket.h: ... here.
17816
17817         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17818         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17819         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17820
17821 2013-08-27  Andreas Schwab  <schwab@suse.de>
17822
17823         [BZ #15736]
17824         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17825         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17826         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17827         * string/test-strcasecmp.c (test_main): Run tests in several
17828         locales.
17829         * string/test-strncasecmp.c (test_main): Likewise.
17830
17831         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17832         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17833         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17834         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17835         (__strncasecmp_ssse3) [PIC]: Likewise.
17836
17837 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17838
17839         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17840
17841         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17842         instead of explicitly declaring xdecrypt.
17843         * nis/nss_nis/nis-publickey.c: Likewise.
17844
17845 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17846
17847         [BZ #15890]
17848         * nscd/aicache.c: Include res_hconf.h.
17849         (addhstaiX): Initialize res_hconf.
17850
17851 2013-08-26  Andreas Schwab  <schwab@suse.de>
17852
17853         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17854         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17855
17856 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17857
17858         * nscd/aicache.c (addhstaiX): Fix indentation.
17859
17860 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17861
17862         * configure.ac: Quote $build_pt_chown test.
17863         * configure: Regenerated.
17864
17865 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17866
17867         [BZ #15532]
17868         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17869         * math/s_cexpf.c (__cexpf): Likewise.
17870         * math/s_cexpl.c (__cexpl): Likewise.
17871         * math/libm-test.inc (cexp_test_data): Correct expected return
17872         value for NaN + i0.  Add another test.
17873
17874 2013-08-22  David S. Miller  <davem@davemloft.net>
17875
17876         * po/ca.po: Update Catalan translation from translation project.
17877         * po/uk.po: Add Ukrainian translations from translation project.
17878
17879 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17880
17881         [BZ #15797]
17882         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17883         is infinite, not alongside NaN test.
17884         * math/s_fdimf.c (__fdimf): Likewise.
17885         * math/s_fdiml.c (__fdiml): Likewise.
17886         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17887         errno is unchanged.
17888
17889 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17890
17891         * argp/argp-help.c: Fix typos.
17892         * crypt/speeds.c: Likewise.
17893         * csu/check_fds.c: Likewise.
17894         * elf/dl-load.c: Likewise.
17895         * elf/dl-open.c: Likewise.
17896         * elf/reldep3.c: Likewise.
17897         * elf/reldep.c: Likewise.
17898         * elf/sprof.c: Likewise.
17899         * iconv/iconv_charmap.c: Likewise.
17900         * iconv/skeleton.c: Likewise.
17901         * iconv/strtab.c: Likewise.
17902         * io/lockf64.c: Likewise.
17903         * libio/libioP.h: Likewise.
17904         * resolv/gai_notify.c: Likewise.
17905         * resolv/ns_name.c: Likewise.
17906         * resolv/ns_samedomain.c: Likewise.
17907         * resolv/res_send.c: Likewise.
17908         * stdlib/random.c: Likewise.
17909         * sunrpc/rpc/xdr.h: Likewise.
17910         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17911         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17912         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17913         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17914         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17915         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17916         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17917         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17918         * sysdeps/mach/hurd/check_fds.c: Likewise.
17919         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17920         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17921         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17922         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17923         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17924         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17925         * sysdeps/pthread/aio_notify.c: Likewise.
17926         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17927         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17928         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17929         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17930         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17931
17932 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17933
17934         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17935         version if bit_Slow_SSE4_2 is set.
17936         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17937         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17938
17939 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17940
17941         [BZ #15867]
17942         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17943         trampoline stack frame information.
17944         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17945         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17946         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17947         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17948         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17949         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17950         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17951         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17952         sa_flags value.
17953         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17954         interrupting a syscall and set with option SA_SIGINFO.
17955
17956 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17957
17958         [BZ #15531]
17959         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17960         argument is infinite.
17961         * math/s_cprojf.c (__cprojf): Likewise.
17962         * math/s_cprojl.c (__cprojl): Likewise.
17963         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17964         * math/libm-test.inc (cproj_test_data): Add more tests.
17965
17966         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17967
17968         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17969         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17970         size.  Use __ffs to determine corresponding shift.
17971
17972 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17973             Roland McGrath  <roland@hack.frob.com>
17974
17975         * Makefile (INSTALL): Remove trailing blank lines from output of
17976         makeinfo.
17977
17978 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17979
17980         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17981         Align 32 bit compat elf_greg to 8 bytes.
17982
17983 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17984
17985         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17986
17987 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17988
17989         * string/strcoll_l.c (coll_seq): New structure.
17990         (get_next_seq_cached): New function.
17991         (get_next_seq): New function.
17992         (do_compare): New function.
17993         (STRCOLL): Use GNU style definition.  Simplify implementation
17994         by using get_next_seq, get_next_seq_cached and do_compare.
17995
17996 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17997
17998         [BZ #14699]
17999         CVE-2013-4237
18000         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18001         member.
18002         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18003         member.
18004         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18005         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18006         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18007         conditional.
18008         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18009         GETDENTS_64BIT_ALIGNED.
18010         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18011         * manual/filesys.texi (Reading/Closing Directory): Document
18012         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18013         strongly.
18014         * manual/conf.texi (Limits for Files): Add portability note to
18015         NAME_MAX, PATH_MAX.
18016         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18017
18018 2013-08-13  Andreas Schwab  <schwab@suse.de>
18019
18020         [BZ #15749]
18021         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18022         of fabs.
18023         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18024         LDBL_MAX_EXP >= 16384]: Add tests for it.
18025
18026 2013-08-12  David S. Miller  <davem@davemloft.net>
18027
18028         * version.h (RELEASE): Set to "development".
18029         (VERSION): Set to "2.18.90".
18030         * NEWS: Add 2.19 section.
18031
18032 2013-08-03  David S. Miller  <davem@davemloft.net>
18033
18034         * po/ko.po: Update Korean translation from translation project.
18035
18036 2013-08-01  David S. Miller  <davem@davemloft.net>
18037
18038         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18039         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18040         Bilka.
18041
18042 2013-07-30  David S. Miller  <davem@davemloft.net>
18043
18044         * po/fr.po: Update French translation from translation project.
18045
18046 2013-07-28  David S. Miller  <davem@davemloft.net>
18047
18048         * po/cs.po: Update Czech translation from translation project.
18049
18050         * po/sv.po: Update Swedish translation from translation project.
18051
18052 2013-07-27  David S. Miller  <davem@davemloft.net>
18053
18054         * po/eo.po: Update Esperanto translation from translation project.
18055
18056         * po/vi.po: Update Vietnamese translation from translation project.
18057
18058         * po/de.po: Update German translation from translation project.
18059
18060 2013-07-26  David S. Miller  <davem@davemloft.net>
18061
18062         * po/bg.po: Update Bulgarian translation from translation project.
18063
18064         * po/nl.po: Update Dutch translation from translation project.
18065         * po/pl.po: Update Polish translation from translation project.
18066         * po/ru.po: Update Russian translation from translation project.
18067
18068 2013-07-24  David S. Miller  <davem@davemloft.net>
18069
18070         * po/libc.pot: Update.
18071
18072 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18073
18074         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18075         variable page size.
18076         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18077         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18078         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18079
18080 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18081
18082         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18083
18084 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18085             Andreas Schwab  <schwab@suse.de>
18086             Roland McGrath  <roland@hack.frob.com>
18087             Joseph Myers  <joseph@codesourcery.com>
18088             Carlos O'Donell  <carlos@redhat.com>
18089
18090         [BZ #15755]
18091         * config.h.in: Define HAVE_PT_CHOWN.
18092         * config.make.in (build-pt-chown): New variable.
18093         * configure.in (--enable-pt_chown): New configure option.
18094         * configure: Regenerate.
18095         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18096         build-pt-chown is enabled.
18097         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18098         pt_chown to fix pty ownership.
18099         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18100         CLOSE_ALL_FDS.
18101         * manual/install.texi (Configuring and compiling): Mention
18102         --enable-pt_chown. Add @findex for grantpt.
18103         * INSTALL: Regenerate.
18104
18105 2013-07-20  David S. Miller  <davem@davemloft.net>
18106
18107         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18108         difference between 32-bit and 64-bit.
18109
18110 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18111
18112         [BZ #15711]
18113         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18114         Avoid system header dependency with -ffreestanding.
18115         ($(objpfx)bits/syscall%d): Likewise.
18116
18117 2013-07-13  David S. Miller  <davem@davemloft.net>
18118
18119         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18120         underflows from atanl/atan2l due to bug 15319.
18121         (casinh_test_data): Likewise.
18122
18123 2013-07-07  David S. Miller  <davem@davemloft.net>
18124
18125         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18126
18127 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18128
18129         * sysdeps/i386/fpu/libm-test-ulps: Update.
18130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18131
18132 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18133
18134         * configure.in (--enable-lock-elision): Fix message text.
18135         * INSTALL: Regenerate.
18136         * configure: Regenerate.
18137
18138 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18139
18140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18141
18142 2013-07-03  Andreas Jaeger  <aj@suse.de>
18143
18144         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18145         define.
18146         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18147         (ptrace_peeksiginfo_args): Add.
18148         (__ptrace_peeksiginfo_flags): Add.
18149         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18150         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18151         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18152
18153 2013-07-03  Allan McRae  <allan@archlinux.org>
18154
18155         * sysdeps/i386/fpu/libm-test-ulps: Update.
18156
18157 2013-07-02  David S. Miller  <davem@davemloft.net>
18158
18159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18160
18161 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18162
18163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18164
18165 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18166
18167         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18169
18170 2013-07-02  Andi Kleen <ak@linux.intel.com>
18171
18172         * config.h.in (ENABLE_LOCK_ELISION): Add.
18173         * configure.in (--enable-lock-elision): Add option.
18174         * manual/install.texi: Document --enable lock elision.
18175         * configure: Regenerate
18176         * INSTALL: Regenerate.
18177
18178 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18179
18180         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18181         SSE4.2 strcasecmp for libc.a.
18182         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18183
18184 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18185
18186         [BZ #13304]
18187         * soft-fp/op-common.h (_FP_FMA): New macro.
18188         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18189         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18190         (_FP_MUL_MEAT_1_imm): ... here.
18191         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18192         (_FP_MUL_MEAT_1_wide): ... here.
18193         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18194         (_FP_MUL_MEAT_1_hard): ... here.
18195         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18196         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18197         (_FP_MUL_MEAT_2_wide): ... here.
18198         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18199         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18200         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18201         (_FP_MUL_MEAT_2_gmp): ... here.
18202         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18203         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18204         (_FP_MUL_MEAT_4_wide): ... here.
18205         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18206         (_FP_MUL_MEAT_4_gmp): ... here.
18207         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18208         (_FP_WFRACBITS_DW_S): Likewise.
18209         (_FP_WFRACXBITS_DW_S): Likewise.
18210         (_FP_HIGHBIT_DW_S): Likewise.
18211         (FP_FMA_S): Likewise.
18212         (_FP_FRAC_HIGH_DW_S): Likewise.
18213         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18214         (_FP_WFRACBITS_DW_D): Likewise.
18215         (_FP_WFRACXBITS_DW_D): Likewise.
18216         (_FP_HIGHBIT_DW_D): Likewise.
18217         (FP_FMA_D): Likewise.
18218         (_FP_FRAC_HIGH_DW_D): Likewise.
18219         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18220         (_FP_WFRACBITS_DW_E): Likewise.
18221         (_FP_WFRACXBITS_DW_E): Likewise.
18222         (_FP_HIGHBIT_DW_E): Likewise.
18223         (FP_FMA_E): Likewise.
18224         (_FP_FRAC_HIGH_DW_E): Likewise.
18225         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18226         (_FP_WFRACBITS_DW_Q): Likewise.
18227         (_FP_WFRACXBITS_DW_Q): Likewise.
18228         (_FP_HIGHBIT_DW_Q): Likewise.
18229         (FP_FMA_Q): Likewise.
18230         (_FP_FRAC_HIGH_DW_Q): Likewise.
18231         * soft-fp/fmasf4.c: New file.
18232         * soft-fp/fmadf4.c: Likewise.
18233         * soft-fp/fmatf4.c: Likewise.
18234
18235 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18236
18237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18238         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18239         Silvermont.
18240         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18241         macro.
18242         (index_Slow_SSE4_2): Likewise.
18243         (index_Prefer_PMINUB_for_stringop): Likewise.
18244         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18245         bit_Slow_SSE4_2 is set.
18246         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18247         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18248
18249 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18250
18251         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18252         rtld_global._dl_hwcap2.
18253         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18254         POWER8.
18255         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18256         POWER8 feature descriptions defined in _dl_hwcap2.
18257         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18258         string handling for POWER8 feature bits.
18259         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18260         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18261         _dl_powerpc_cap_flags.
18262         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18263         * sysdeps/powerpc/rtld-global-offsets.sym
18264         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18265         _dl_hwcap2 in the rtld_global_ro structure.
18266
18267 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18268
18269         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18270         hardware capabilities in support of AT_HWCAP2.
18271         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18272         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18273         GLRO(dl_hwcap2).
18274         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18275         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18276         explicitly the unknown a_type display mechanism is used.
18277         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18278         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18279         struct member.
18280         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18281         to macro prototype for AT_HWCAP2 support.
18282         * sysdeps/i386/dl-procinfo.h: Likewise.
18283         * sysdeps/s390/dl-procinfo.h: Likewise.
18284         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18285         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18286         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18287         return -1 for unknown a_type display fallback.
18288         * sysdeps/sparc/dl-procinfo.h: Likewise.
18289         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18290         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18291
18292 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18293
18294         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18295         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18296
18297 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18298
18299         [BZ #12492]
18300         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18301         mprotect making __stack_prot writable.
18302
18303 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18304             Joseph Myers  <joseph@codesourcery.com>
18305
18306         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18307         as being properly aligned.
18308
18309 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18310
18311         * dlfcn/modstatic5.c: New file.
18312         * dlfcn/tststatic5.c: New file.
18313         * dlfcn/Makefile (tests): Add tststatic5.
18314         (tests-static): Likewise.
18315         (modules-names): Add modstatic5.
18316         (tststatic5-ENV): New variable.
18317         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18318
18319         [BZ #15022]
18320         * elf/dl-support.c (_dl_main_map): New variable.
18321         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18322         (_dl_nns, _dl_load_adds): Set to 1.
18323         (_dl_initial_searchlist): Refer to _dl_main_map.
18324         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18325         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18326         call to _dl_get_origin.
18327         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18328         around call_map.
18329         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18330         * dlfcn/modstatic3.c: New file.
18331         * dlfcn/tststatic3.c: New file.
18332         * dlfcn/tststatic4.c: New file.
18333         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18334         (tests-static): Likewise.
18335         (modules-names): Add modstatic3.
18336         (tststatic3-ENV, tststatic4-ENV): New variables.
18337         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18338         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18339
18340 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18341
18342         * configure.in (CC): Require GCC version 4.4 or later.
18343         * configure: Regenerated.
18344         * manual/install.texi (Tools for Compilation): Update GCC version
18345         requirement.
18346         * INSTALL: Regenerated.
18347
18348 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18349
18350         [BZ #15674]
18351         * string/test-memcmp.c (check2): New.
18352         (main): Call check2.
18353
18354         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18355
18356 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18357
18358         [BZ #15022]
18359         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18360         over to...
18361         (dl_open_worker) [!SHARED]: ... here.
18362
18363 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18364
18365         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18366
18367 2013-06-25  Richard Henderson  <rth@redhat.com>
18368
18369         * locale/programs/locarchive.c: Include <libc-internal.h>
18370
18371 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18372
18373         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18374         trailing whitespace removed.
18375
18376 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18377
18378         [BZ #10283]
18379         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18380         * locale/programs/locarchive.c: Include libc-mmap.h.
18381         (prepare_address_space): Take two new outputs (the mmap base and len).
18382         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18383         values.
18384         (create_archive): Declare new mmap base and len values for
18385         prepare_address_space, and store the result in ah.
18386         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18387         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18388         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18389         Declare new mmap base and len values for
18390         prepare_address_space, and store the result in new_ah.
18391         (open_archive): Declare new mmap base and len values for
18392         prepare_address_space, and store the result in ah.
18393         (close_archive): If ah->mmap_base is not NULL, use that and
18394         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18395         * sysdeps/generic/libc-mmap.h: New file.
18396
18397 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18398
18399         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18400         (ALIGN_UP): Likewise.
18401         (PTR_ALIGN_DOWN): Likewise.
18402         (PTR_ALIGN_UP): Likewise.
18403
18404 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18405
18406         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18407         entry mapped to PPC_PLATFORM_POWER8.
18408         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18409         POWER8.
18410         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18411         (_dl_string_platform): Add case for exporting platform position for
18412         POWER8.
18413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18414         search path to sysdeps/powerpc/powerpc32/power8 directory.
18415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18416         search path to sysdeps/powerpc/powerpc64/power8 directory.
18417         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18418         power7 directories.
18419         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18420         power7 directories.
18421
18422 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18423
18424         * INSTALL: Regenerate.
18425
18426         * nscd/connections.c (nscd_init): Fix comment.
18427
18428 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18429
18430         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18431
18432         [BZ #15667]
18433         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18434         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18435
18436 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18437
18438         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18439         DL_DST_REQ_STATIC.
18440         (DL_DST_REQ_STATIC): Remove macro.
18441
18442 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18443
18444         [BZ #7006]
18445         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18446         with a shift of 0 bits.
18447
18448 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18449
18450         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18451         $(tststatic-ENV).
18452
18453 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18454
18455         [BZ #15655]
18456         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18457
18458 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18459
18460         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18461         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18462         accepts -fno-tree-loop-distribute-patterns.
18463         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18464         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18465         recursive call.
18466         * string/memset.c (memset): Likewise.
18467         * string/test-memmove.c (simple_memmove): Disable loop transformation
18468         to library calls.
18469         * string/test-memset.c (simple_memset): Likewise.
18470         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18471         * benchtests/bench-memset.c (simple_memset): Likewise.
18472         * configure: Regenerated.
18473
18474 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18475
18476         * math/test-misc.c (main): Ignore fesetround failure when failures
18477         of subsequent rounding tests would be ignored.
18478
18479         [BZ #15654]
18480         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18481         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18482         * math/fegetenv.c (__fegetenv): Return 0.
18483         * math/fegetexcept.c (fegetexcept): Return 0.
18484         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18485         FE_TONEAREST.
18486         * math/feholdexcpt.c (feholdexcept): Return 0.
18487         * math/fesetenv.c (__fesetenv): Return 0.
18488         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18489         argument FE_TONEAREST.
18490         * math/feupdateenv.c (__feupdateenv): Return 0.
18491         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18492
18493 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18494
18495         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18496         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18497         ($(objpfx)rtld-%.os rules): Use them.
18498
18499 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18500
18501         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18502         fields.
18503
18504 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18505
18506         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18507         length of target pattern, then descending length of dependency pattern.
18508         * configure.in (AWK): Require gawk 3.1.2 or newer.
18509         * manual/install.texi (Tools for Compilation): Say that we do.
18510         * configure: Regenerated.
18511
18512         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18513         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18514         * scripts/sysd-rules.awk: ... this new script.
18515         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18516         than a glob-style pattern.
18517
18518 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18519
18520         * math/test-misc.c (main): Do not treat incorrectly rounded
18521         conversions as failure unless ROUNDING_TESTS passes.
18522
18523 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18524
18525         [BZ #15631]
18526         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18527         restore exception state around main square root computation, then
18528         check for inexactness explicitly.
18529
18530         * math/libm-test.inc (fma_test_data): Add another test.
18531
18532 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18533
18534         * manual/threads.texi (Non-POSIX Extensions): New document
18535         node.  Document pthread_getattr_default_np and
18536         pthread_setattr_default_np.
18537
18538         * Versions.def (libpthread): Add GLIBC_2.18.
18539         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18541         Likewise.
18542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18543         Likewise.
18544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18545         Likewise.
18546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18547         Likewise.
18548         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18549         Likewise.
18550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18551         Likewise.
18552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18553         Likewise.
18554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18555         Likewise.
18556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18557         Likewise.
18558
18559 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18560
18561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18562         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18563
18564 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18565             H.J. Lu  <hjl.tools@gmail.com>
18566
18567         [BZ #15627]
18568         * sysdeps/x86_64/rtld-memset.c: Remove file.
18569         * sysdeps/x86_64/rtld-memset.S: New file.
18570
18571 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18572
18573         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18574         (test_in_one_mode): Take arguments for whether the rounding mode
18575         is supported for each floating-point type.
18576         (do_test): Pass new arguments to test_in_one_mode using
18577         ROUNDING_TESTS.
18578
18579 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18580
18581         * posix/tst-waitid.c (do_test): Distinguish different instances of
18582         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18583         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18584         before entering the kernel for waitpid.
18585
18586 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18587
18588         * NEWS: Fix note on clock function precision.  Text by Roland
18589         McGrath.
18590
18591 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18592
18593         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18594         it into place only when and if the sanity check passes.
18595
18596 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18597
18598         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18599         output for whether conversion result is exact.  Take argument
18600         indicating whether type is IBM long double.
18601         (round_for_all): Change need_exact field to ibm_ld.
18602         * stdlib/tst-strtod-round.c (struct exactness): New type.
18603         (struct test): Change bool ld_ok field to struct exactness exact.
18604         (TEST): Update all definitions for change to field.
18605         (tests): Regenerate array contents.
18606         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18607         field value.  Check for IBM long double here.
18608         (do_test): Update calls to test_in_one_mode.
18609
18610 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18611
18612         [BZ #12515]
18613         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18614         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18615
18616 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18617
18618         [BZ #15605]
18619         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18620         generated by the compiler on loop optimizations.
18621         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18622         general definitions.
18623
18624 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18625
18626         * math/bug-nextafter.c: Include <math-tests.h>.
18627         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18628         the relevant type.
18629         * math/bug-nexttoward.c: Include <math-tests.h>.
18630         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18631         the relevant type.
18632         * math/test-misc.c: Include <math-tests.h>.
18633         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18634         the relevant type.
18635
18636 2013-06-12  Andreas Jaeger  <aj@suse.de>
18637
18638         * po/ia.po: Update Interlingua translation from translation
18639         project.
18640
18641 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18642
18643         * include/fenv.h: Include stdbool.h.
18644         (struct rm_ctx): New structure.
18645         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18646         Define macro.
18647         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18648         (SET_RESTORE_ROUNDF): Likewise.
18649         (SET_RESTORE_ROUNDL): Likewise.
18650         (SET_RESTORE_ROUND_NOEX): Likewise.
18651         (SET_RESTORE_ROUND_NOEXF): Likewise.
18652         (SET_RESTORE_ROUND_NOEXL): Likewise.
18653         (SET_RESTORE_ROUND_53BIT): Likewise.
18654         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18655         (libc_feresetround_noexf_ctx): Likewise.
18656         (libc_feresetround_noexl_ctx): Likewise.
18657         (libc_feholdsetround_53bit_ctx): Likewise.
18658         (libc_feresetround_53bit_ctx): Likewise.
18659         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18660         (libc_feholdexcept_setround_sse_ctx): New function.
18661         (libc_fesetenv_sse_ctx): Likewise.
18662         (libc_feupdateenv_sse_ctx): Likewise.
18663         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18664         (libc_feholdexcept_setround_387_ctx): Likewise.
18665         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18666         (libc_feholdsetround_387_prec_ctx): Likewise.
18667         (libc_feholdsetround_387_ctx): Likewise.
18668         (libc_feholdsetround_387_53bit_ctx): Likewise.
18669         (libc_feholdsetround_sse_ctx): Likewise.
18670         (libc_feresetround_sse_ctx): Likewise.
18671         (libc_feresetround_387_ctx): Likewise.
18672         (libc_feupdateenv_387_ctx): Likewise.
18673         (libc_feholdexcept_setroundf_ctx): Define macro.
18674         (libc_fesetenvf_ctx): Likewise.
18675         (libc_feupdateenvf_ctx): Likewise.
18676         (libc_feholdsetroundf_ctx): Likewise.
18677         (libc_feresetroundf_ctx): Likewise.
18678         (libc_feholdexcept_setround_ctx): Likewise.
18679         (libc_fesetenv_ctx): Likewise.
18680         (libc_feupdateenv_ctx): Likewise.
18681         (libc_feholdsetround_ctx): Likewise.
18682         (libc_feresetround_ctx): Likewise.
18683         (libc_feholdexcept_setroundl_ctx): Likewise.
18684         (libc_feupdateenvl_ctx): Likewise.
18685         (libc_feholdsetroundl_ctx): Likewise.
18686         (libc_feresetroundl_ctx): Likewise.
18687         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18688         (libc_feresetround_53bit_ctx): Likewise.
18689
18690 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18691
18692         * locale/iso-639.def: Convert to UTF-8.
18693
18694 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18695
18696         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18697         (EXCEPTION_TESTS_double): Likewise.
18698         (EXCEPTION_TESTS_long_double): Likewise.
18699         (EXCEPTION_TESTS): Likewise.
18700         * math/libm-test.inc (test_exceptions): Only test exceptions if
18701         EXCEPTION_TESTS (FLOAT).
18702
18703 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18704
18705         * benchtests/Makefile (string-bench): Add strcpy_chk and
18706         stpcpy_chk.
18707         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18708         * benchtests/bench-stpcpy_chk.c: New file.
18709         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18710         * benchtests/bench-strcpy_chk.c: New file.
18711         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18712         code.
18713         (do_test): Likewise.
18714
18715 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18716
18717         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18718         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18719         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18720         with tabs where appropriate.
18721         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18722         dl-procinfo.h.
18723         [PPC_PLATFORM_PPC440]: Likewise.
18724         [PPC_PLATFORM_PPC464]: Likewise.
18725         [PPC_PLATFORM_PPC476]: Likewise.
18726         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18727         ppc464, and ppc476 platform strings merging from ports/
18728         dl-procinfo.h.
18729
18730 2013-06-11  Andreas Schwab  <schwab@suse.de>
18731
18732         [BZ #14991]
18733         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18734         (from_ucs4_idx): Regenerate.
18735         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18736         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18737         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18738         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18739         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18740         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18741         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18742         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18743         from FROM_LOOP and TO_LOOP specific macros.
18744         (BODY): Handle combining characters.
18745         * iconvdata/BIG5HKSCS.irreversible: Update.
18746         * iconvdata/BIG5HKSCS.precomposed: New file.
18747         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18748         characters.
18749         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18750
18751 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18752
18753         * include/sys/time.h: Fix indentation and add copyright header.
18754
18755         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18756         (do_test): Likewise.
18757         * string/test-memchr.c (do_one_test): Likewise.
18758         (do_test): Likewise.
18759         * string/test-memcmp.c (do_one_test): Likewise.
18760         (do_test): Likewise.
18761         * string/test-memcpy.c (do_one_test): Likewise.
18762         (do_test): Likewise.
18763         * string/test-memmem.c (do_one_test): Likewise.
18764         (do_test): Likewise.
18765         (do_random_tests): Likewise.
18766         * string/test-memmove.c (do_one_test): Likewise.
18767         (do_test): Likewise.
18768         * string/test-memset.c (do_one_test): Likewise.
18769         (do_test): Likewise.
18770         * string/test-rawmemchr.c (do_one_test): Likewise.
18771         (do_test): Likewise.
18772         * string/test-strcasecmp.c (do_one_test): Likewise.
18773         (do_test): Likewise.
18774         * string/test-strcasestr.c (do_one_test): Likewise.
18775         (do_test): Likewise.
18776         * string/test-strcat.c (do_one_test): Likewise.
18777         (do_test): Likewise.
18778         * string/test-strchr.c (do_one_test): Likewise.
18779         (do_test): Likewise.
18780         * string/test-strcmp.c (do_one_test): Likewise.
18781         (do_test): Likewise.
18782         * string/test-strcpy.c (do_one_test): Likewise.
18783         (do_test): Likewise.
18784         * string/test-string.h: Likewise.
18785         (test_init): Likewise.
18786         * string/test-strlen.c (do_one_test): Likewise.
18787         (do_test): Likewise.
18788         * string/test-strncasecmp.c (do_one_test): Likewise.
18789         (do_test): Likewise.
18790         * string/test-strncat.c (do_one_test): Likewise.
18791         (do_test): Likewise.
18792         * string/test-strncmp.c (do_one_test): Likewise.
18793         (do_test_limit): Likewise.
18794         (do_test): Likewise.
18795         * string/test-strncpy.c (do_one_test): Likewise.
18796         (do_test): Likewise.
18797         * string/test-strnlen.c (do_one_test): Likewise.
18798         (do_test): Likewise.
18799         * string/test-strpbrk.c (do_one_test): Likewise.
18800         (do_test): Likewise.
18801         * string/test-strrchr.c (do_one_test): Likewise.
18802         (do_test): Likewise.
18803         * string/test-strspn.c (do_one_test): Likewise.
18804         (do_test): Likewise.
18805         * string/test-strstr.c (do_one_test): Likewise.
18806         (do_test): Likewise.
18807
18808         * benchtests/Makefile (string-bench): Add string benchmarks.
18809         * benchtests/bench-bcopy-ifunc.c: New file.
18810         * benchtests/bench-bcopy.c: New file.
18811         * benchtests/bench-bzero-ifunc.c: New file.
18812         * benchtests/bench-bzero.c: New file.
18813         * benchtests/bench-memccpy-ifunc.c: New file.
18814         * benchtests/bench-memccpy.c: New file.
18815         * benchtests/bench-memchr-ifunc.c: New file.
18816         * benchtests/bench-memchr.c: New file.
18817         * benchtests/bench-memcmp-ifunc.c: New file.
18818         * benchtests/bench-memcmp.c: New file.
18819         * benchtests/bench-memmem-ifunc.c: New file.
18820         * benchtests/bench-memmem.c: New file.
18821         * benchtests/bench-memmove-ifunc.c: New file.
18822         * benchtests/bench-memmove.c: New file.
18823         * benchtests/bench-mempcpy-ifunc.c: New file.
18824         * benchtests/bench-mempcpy.c: New file.
18825         * benchtests/bench-memset-ifunc.c: New file.
18826         * benchtests/bench-memset.c: New file.
18827         * benchtests/bench-rawmemchr-ifunc.c: New file.
18828         * benchtests/bench-rawmemchr.c: New file.
18829         * benchtests/bench-stpcpy-ifunc.c: New file.
18830         * benchtests/bench-stpcpy.c: New file.
18831         * benchtests/bench-stpncpy-ifunc.c: New file.
18832         * benchtests/bench-stpncpy.c: New file.
18833         * benchtests/bench-strcasecmp-ifunc.c: New file.
18834         * benchtests/bench-strcasecmp.c: New file.
18835         * benchtests/bench-strcasestr-ifunc.c: New file.
18836         * benchtests/bench-strcasestr.c: New file.
18837         * benchtests/bench-strcat-ifunc.c: New file.
18838         * benchtests/bench-strcat.c: New file.
18839         * benchtests/bench-strchr-ifunc.c: New file.
18840         * benchtests/bench-strchr.c: New file.
18841         * benchtests/bench-strchrnul-ifunc.c: New file.
18842         * benchtests/bench-strchrnul.c: New file.
18843         * benchtests/bench-strcmp-ifunc.c: New file.
18844         * benchtests/bench-strcmp.c: New file.
18845         * benchtests/bench-strcpy-ifunc.c: New file.
18846         * benchtests/bench-strcpy.c: New file.
18847         * benchtests/bench-strcspn-ifunc.c: New file.
18848         * benchtests/bench-strcspn.c: New file.
18849         * benchtests/bench-strlen-ifunc.c: New file.
18850         * benchtests/bench-strlen.c: New file.
18851         * benchtests/bench-strncasecmp-ifunc.c: New file.
18852         * benchtests/bench-strncasecmp.c: New file.
18853         * benchtests/bench-strncat-ifunc.c: New file.
18854         * benchtests/bench-strncat.c: New file.
18855         * benchtests/bench-strncmp-ifunc.c: New file.
18856         * benchtests/bench-strncmp.c: New file.
18857         * benchtests/bench-strncpy-ifunc.c: New file.
18858         * benchtests/bench-strncpy.c: New file.
18859         * benchtests/bench-strnlen-ifunc.c: New file.
18860         * benchtests/bench-strnlen.c: New file.
18861         * benchtests/bench-strpbrk-ifunc.c: New file.
18862         * benchtests/bench-strpbrk.c: New file.
18863         * benchtests/bench-strrchr-ifunc.c: New file.
18864         * benchtests/bench-strrchr.c: New file.
18865         * benchtests/bench-strspn-ifunc.c: New file.
18866         * benchtests/bench-strspn.c: New file.
18867         * benchtests/bench-strstr-ifunc.c: New file.
18868         * benchtests/bench-strstr.c: New file.
18869
18870         * benchtests/Makefile: Disable parallel execution of targets.
18871         (string-bench): Add memcpy.
18872         (benchset): New variable to store a list of benchmark sets.
18873         (bench-func): Renamed from bench.
18874         (bench-set): New target.
18875         (bench): Depend on bench-func and bench-set.
18876         * benchtests/README: Add section on benchmark sets.
18877         * benchtests/bench-memcpy-ifunc.c: New file.
18878         * benchtests/bench-memcpy.c: New file.
18879         * benchtests/bench-string.h: New file.
18880
18881 2013-06-11  Andreas Schwab  <schwab@suse.de>
18882
18883         [BZ #15577]
18884         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18885         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18886         values in the triple.
18887         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18888         terminator in the group key.
18889
18890 2013-06-11  Andreas Jaeger  <aj@suse.de>
18891
18892         * po/zh_TW.po: Update Chinese (traditional) translation from
18893         translation project.
18894
18895 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18896
18897         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18898         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18899         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18900         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18901         (clock_getcpuclockid): Likewise.
18902         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18903         Add weak_alias and libc_hidden_def.
18904         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18905         * rt/clock_gettime.c (clock_gettime): Rename to
18906         __clock_gettime.  Add weak_alias and libc_hidden_def.
18907         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18908         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18909         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18910         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18911         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18912         Likewise.
18913         * rt/clock_settime.c (clock_settime): Rename to
18914         __clock_settime.  Add weak_alias and libc_hidden_def.
18915         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18916
18917 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18918
18919         * mach/err_boot.sub: Remove trailing whitespace.
18920         * mach/err_ipc.sub: Likewise.
18921         * mach/err_mach.sub: Likewise.
18922
18923         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18924         (ROUNDING_TESTS_double): Likewise.
18925         (ROUNDING_TESTS_long_double): Likewise.
18926         (ROUNDING_TESTS): Likewise.
18927         * math/libm-test.inc: Include <math-tests.h>.
18928         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18929         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18930         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18931         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18932
18933 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18934
18935         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18936         of assigning.
18937
18938 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18939
18940         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18941         otherwise empty TRANS lines.
18942         * sysdeps/gnu/errlist.c: Regenerated.
18943
18944         * catgets/gencat.c (error_print): Use (void) in function
18945         definition.
18946         * crypt/crypt_util.c (__init_des): Likewise.
18947         * crypt/speeds.c (Stop): Likewise.
18948         (main): Likewise.
18949         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18950         * inet/ruserpass.c (token): Likewise.
18951         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18952         * intl/localealias.c (extend_alias_table): Likewise.
18953         * intl/plural-exp.c (init_germanic_plural): Likewise.
18954         * libio/fcloseall.c (__fcloseall): Likewise.
18955         * libio/genops.c (_IO_flush_all): Likewise.
18956         (_IO_flush_all_linebuffered): Likewise.
18957         (_IO_cleanup): Likewise.
18958         (_IO_iter_begin): Likewise.
18959         (_IO_iter_end): Likewise.
18960         (_IO_list_lock): Likewise.
18961         (_IO_list_unlock): Likewise.
18962         (_IO_list_resetlock): Likewise.
18963         * libio/getchar.c (getchar): Likewise.
18964         * libio/getchar_u.c (getchar_unlocked): Likewise.
18965         * libio/getwchar.c (getwchar): Likewise.
18966         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18967         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18968         * login/getpt.c (__getpt): Likewise.
18969         * login/tst-utmp.c (main): Likewise.
18970         * malloc/hooks.c (__malloc_check_init): Likewise.
18971         * malloc/malloc.c (__malloc_stats): Likewise.
18972         * malloc/mtrace.c (tr_break): Likewise.
18973         (mtrace): Likewise.
18974         (muntrace): Likewise.
18975         * misc/fstab.c (endfsent): Likewise.
18976         * misc/getclktck.c (__getclktck): Likewise.
18977         * misc/getdtsz.c (__getdtablesize): Likewise.
18978         * misc/gethostid.c (gethostid): Likewise.
18979         * misc/getpagesize.c (__getpagesize): Likewise.
18980         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18981         (__get_nprocs): Likewise.
18982         (__get_phys_pages): Likewise.
18983         (__get_avphys_pages): Likewise.
18984         * misc/getttyent.c (getttyent): Likewise.
18985         (setttyent): Likewise.
18986         (endttyent): Likewise.
18987         * misc/getusershell.c (getusershell): Likewise.
18988         (endusershell): Likewise.
18989         (setusershell): Likewise.
18990         (initshells): Likewise.
18991         * misc/hsearch.c (__hdestroy): Likewise.
18992         * misc/sync.c (sync): Likewise.
18993         * misc/syslog.c (closelog_internal): Likewise.
18994         (closelog): Likewise.
18995         * misc/ttyslot.c (ttyslot): Likewise.
18996         * misc/vhangup.c (vhangup): Likewise.
18997         * posix/fork.c (__fork): Likewise.
18998         * posix/getegid.c (__getegid): Likewise.
18999         * posix/geteuid.c (__geteuid): Likewise.
19000         * posix/getgid.c (__getgid): Likewise.
19001         * posix/getpid.c (__getpid): Likewise.
19002         * posix/getppid.c (__getppid): Likewise.
19003         * posix/getuid.c (__getuid): Likewise.
19004         * posix/pause.c (pause): Likewise.
19005         * posix/setpgrp.c (setpgrp): Likewise.
19006         * posix/setsid.c (__setsid): Likewise.
19007         * posix/test-vfork.c (noop): Likewise.
19008         * resolv/gethnamaddr.c (_endhtent): Likewise.
19009         (_gethtent): Likewise.
19010         (ht_endhostent): Likewise.
19011         (gethostent): Likewise.
19012         (dns_service): Likewise.
19013         * stdlib/drand48.c (drand48): Likewise.
19014         * stdlib/lrand48.c (lrand48): Likewise.
19015         * stdlib/mrand48.c (mrand48): Likewise.
19016         * stdlib/rand.c (rand): Likewise.
19017         * stdlib/random.c (__random): Likewise.
19018         * stdlib/setenv.c (clearenv): Likewise.
19019         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19020         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19021         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19022         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19023         (__get_nprocs): Likewise.
19024         (__get_phys_pages): Likewise.
19025         (__get_avphys_pages): Likewise.
19026         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19027         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19028         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19029         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19030         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19031         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19032         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19033         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19034         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19035         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19036         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19037         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19038         * sysdeps/posix/clock.c (clock): Likewise.
19039         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19040         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19041         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19042         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19043         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19044         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19045         (__get_nprocs_conf): Likewise.
19046         (__get_phys_pages): Likewise.
19047         (__get_avphys_pages): Likewise.
19048         * time/clock.c (clock): Likewise.
19049         * time/tzset.c (__tzname_max): Likewise.
19050
19051 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19052
19053         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19054         (__bswap_32): Do not use "register".
19055         * crypt/crypt.c (_ufc_doit_r): Likewise.
19056         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19057         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19058         * gmon/gmon.c (__monstartup): Likewise.
19059         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19060         * hurd/hurdmalloc.c (more_memory): Likewise.
19061         (malloc): Likewise.
19062         (free): Likewise.
19063         (realloc): Likewise.
19064         (malloc_fork_prepare): Likewise.
19065         (malloc_fork_parent): Likewise.
19066         (malloc_fork_child): Likewise.
19067         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19068         (_svcauth_des): Likewise.
19069         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19070         * inet/inet_net.c (inet_network): Likewise.
19071         * inet/inet_netof.c (inet_netof): Likewise.
19072         * inet/rcmd.c (__validuser2_sa): Likewise.
19073         * io/fts.c (fts_open): Likewise.
19074         (fts_load): Likewise.
19075         (fts_close): Likewise.
19076         (fts_read): Likewise.
19077         (fts_children): Likewise.
19078         (fts_build): Likewise.
19079         (fts_stat): Likewise.
19080         (fts_sort): Likewise.
19081         (fts_alloc): Likewise.
19082         (fts_lfree): Likewise.
19083         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19084         (_IO_file_xsgetn): Likewise.
19085         (_IO_file_xsgetn_mmap): Likewise.
19086         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19087         (_IO_cookie_write): Likewise.
19088         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19089         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19090         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19091         * malloc/obstack.c (_obstack_begin): Likewise.
19092         (_obstack_begin_1): Likewise.
19093         (_obstack_newchunk): Likewise.
19094         (_obstack_allocated_p): Likewise.
19095         (obstack_free): Likewise.
19096         (_obstack_memory_used): Likewise.
19097         * misc/getttyent.c (getttynam): Likewise.
19098         (getttyent): Likewise.
19099         (skip): Likewise.
19100         (value): Likewise.
19101         * misc/getusershell.c (initshells): Likewise.
19102         * misc/syslog.c (__vsyslog_chk): Likewise.
19103         * misc/ttyslot.c (ttyslot): Likewise.
19104         * nis/nis_hash.c (__nis_hash): Likewise.
19105         * posix/fnmatch_loop.c (FCT): Likewise.
19106         * posix/getconf.c (print_all): Likewise.
19107         (main): Likewise.
19108         * posix/getopt.c (exchange): Likewise.
19109         * posix/glob.c (globfree): Likewise.
19110         (prefix_array): Likewise.
19111         (__glob_pattern_type): Likewise.
19112         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19113         (NS_GET32): Likewise.
19114         (NS_PUT16): Likewise.
19115         (NS_PUT32): Likewise.
19116         * resolv/gethnamaddr.c (getanswer): Likewise.
19117         (gethostbyname2): Likewise.
19118         (gethostbyaddr): Likewise.
19119         (_gethtent): Likewise.
19120         (_gethtbyname2): Likewise.
19121         (_gethtbyaddr): Likewise.
19122         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19123         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19124         * resolv/res_init.c (__res_vinit): Likewise.
19125         (net_mask): Likewise.
19126         * resolv/res_mkquery.c (outchar): Likewise.
19127         (PRINT): Likewise.
19128         * stdio-common/printf_fp.c (outchar): Likewise.
19129         (PRINT): Likewise.
19130         * stdio-common/printf_fphex.c (outchar): Likewise.
19131         (PRINT): Likewise.
19132         * stdio-common/printf_size.c (outchar): Likewise.
19133         (PRINT): Likewise.
19134         * stdio-common/test_rdwr.c (main): Likewise.
19135         * stdio-common/tfformat.c (matches): Likewise.
19136         * stdio-common/vfprintf.c (outchar): Likewise.
19137         (printf_unknown): Likewise.
19138         (buffered_vfprintf): Likewise.
19139         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19140         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19141         (ReadFile): Likewise.
19142         * stdlib/qsort.c (SWAP): Likewise.
19143         (_quicksort): Likewise.
19144         * stdlib/setenv.c (__add_to_environ): Likewise.
19145         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19146         * stdlib/strtol_l.c (__strtol_l): Likewise.
19147         * stdlib/tst-strtod.c (main): Likewise.
19148         * stdlib/tst-strtol.c (main): Likewise.
19149         * stdlib/tst-strtoll.c (main): Likewise.
19150         * string/bits/string2.h (__strcmp_cc): Likewise.
19151         (__strcmp_cg): Likewise.
19152         (__strcspn_c1): Likewise.
19153         (__strcspn_c2): Likewise.
19154         (__strcspn_c3): Likewise.
19155         (__strspn_c1): Likewise.
19156         (__strspn_c2): Likewise.
19157         (__strspn_c3): Likewise.
19158         (__strsep_1c): Likewise.
19159         (__strsep_2c): Likewise.
19160         (__strsep_3c): Likewise.
19161         * string/memccpy.c (__memccpy): Likewise.
19162         * string/stpcpy.c (__stpcpy): Likewise.
19163         * string/strcmp.c (strcmp): Likewise.
19164         * string/strrchr.c (strrchr): Likewise.
19165         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19166         Likewise.
19167         * sysdeps/mach/hurd/getcwd.c
19168         (_hurd_canonicalize_directory_name_internal): Likewise.
19169         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19170         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19171         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19172         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19173         Likewise, in both definitions.
19174         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19175         definitions.
19176         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19177         64] (__bswap_64): Likewise.
19178         * time/test_time.c (main): Likewise.
19179         * time/tzfile.c (__tzfile_read): Likewise.
19180         (__tzfile_compute): Likewise.
19181         * time/tzset.c (__tzset_parse_tz): Likewise.
19182         (tzset_internal): Likewise.
19183         (compute_change): Likewise.
19184         * wcsmbs/wcscat.c (__wcscat): Likewise.
19185         * wcsmbs/wcschr.c (wcschr): Likewise.
19186         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19187         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19188         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19189         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19190         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19191         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19192         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19193         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19194         * wcsmbs/wmemset.c (wmemset): Likewise.
19195
19196 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19197
19198         * scripts/config.guess: Update to version 2013-05-16.
19199         * scripts/config.sub: Update to version 2013-04-24.
19200         * scripts/install-sh: Update to version 2011-11-20.07.
19201         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19202         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19203
19204 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19205
19206         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19207         * elf/sln.c: Likewise.
19208         * hurd/hurd/ioctl.h: Likewise.
19209         * hurd/hurdmalloc.c: Likewise.
19210         * hurd/xattr.c: Likewise.
19211         * include/shlib-compat.h: Likewise.
19212         * inet/ruserpass.c: Likewise.
19213         * libio/iofgets_u.c: Likewise.
19214         * libio/iofgetws_u.c: Likewise.
19215         * locale/programs/ld-identification.c: Likewise.
19216         * locale/programs/ld-time.c: Likewise.
19217         * mach/msg-destroy.c: Likewise.
19218         * nss/nss_files/files-netgrp.c: Likewise.
19219         * resolv/res_data.c: Likewise.
19220         * soft-fp/op-1.h: Likewise.
19221         * soft-fp/op-2.h: Likewise.
19222         * soft-fp/op-4.h: Likewise.
19223         * soft-fp/op-common.h: Likewise.
19224         * stdio-common/printf_fphex.c: Likewise.
19225         * stdlib/strtod_l.c: Likewise.
19226         * sunrpc/rpc/clnt.h: Likewise.
19227         * sysdeps/generic/framestate.c: Likewise.
19228         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19229         * sysdeps/i386/bsd-setjmp.S: Likewise.
19230         * sysdeps/i386/__longjmp.S: Likewise.
19231         * sysdeps/i386/setjmp.S: Likewise.
19232         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19233         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19234         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19235         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19236         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19237         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19238         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19239         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19240         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19241         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19242         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19243         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19244         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19245         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19246         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19247         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19248         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19249         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19250         * sysdeps/ieee754/support.c: Likewise.
19251         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19252         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19253         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19254         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19255         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19256         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19257         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19258         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19259         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19260         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19261         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19262         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19263         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19264         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19265         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19266         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19267         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19269
19270 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19271
19272         * posix/transbug.c: Remove executable mode.
19273
19274 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19275
19276         * crypt/speeds.c: Remove trailing whitespace.
19277         * dlfcn/default.c: Likewise.
19278         * elf/ifuncdep2.c: Likewise.
19279         * elf/ifuncmain1.c: Likewise.
19280         * elf/ifuncmain1vis.c: Likewise.
19281         * elf/testobj.h: Likewise.
19282         * elf/tst-stackguard1.c: Likewise.
19283         * gmon/sys/gmon.h: Likewise.
19284         * hurd/hurdmsg.c: Likewise.
19285         * hurd/new-fd.c: Likewise.
19286         * hurd/ports-get.c: Likewise.
19287         * iconvdata/ibm1008_420.c: Likewise.
19288         * inet/tst-getni1.c: Likewise.
19289         * inet/tst-getni2.c: Likewise.
19290         * libio/ioungetc.c: Likewise.
19291         * libio/wfiledoalloc.c: Likewise.
19292         * manual/libm-err-tab.pl: Likewise.
19293         * math/w_dremf.c: Likewise.
19294         * misc/ftruncate.c: Likewise.
19295         * posix/bug-glob2.c: Likewise.
19296         * posix/tst-pcre.c: Likewise.
19297         * posix/wait4.c: Likewise.
19298         * resolv/README: Likewise.
19299         * resolv/res_debug.h: Likewise.
19300         * resolv/tst-inet_ntop.c: Likewise.
19301         * setjmp/bug269-setjmp.c: Likewise.
19302         * soft-fp/extended.h: Likewise.
19303         * soft-fp/op-1.h: Likewise.
19304         * soft-fp/op-2.h: Likewise.
19305         * soft-fp/op-4.h: Likewise.
19306         * soft-fp/op-8.h: Likewise.
19307         * soft-fp/testit.c: Likewise.
19308         * stdio-common/bug16.c: Likewise.
19309         * stdlib/random.c: Likewise.
19310         * sunrpc/rpcsvc/rquota.x: Likewise.
19311         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19312         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19313         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19314         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19315         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19316         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19317         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19318         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19319         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19320         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19321         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19322         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19323         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19324         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19325         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19326         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19327         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19328         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19329         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19330         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19331         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19332         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19333         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19334         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19335         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19336         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19337         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19338         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19339         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19340         * sysdeps/ieee754/s_lib_version.c: Likewise.
19341         * sysdeps/mach/hurd/check_fds.c: Likewise.
19342         * sysdeps/mach/hurd/getsockname.c: Likewise.
19343         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19344         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19345         * sysdeps/powerpc/bits/link.h: Likewise.
19346         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19347         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19348         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19349         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19350         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19351         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19352         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19353         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19354         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19355         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19356         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19357         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19358         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19359         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19360         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19361         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19362         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19363         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19364         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19365         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19366         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19367         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19368         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19369         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19370         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19371         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19372         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19373         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19374         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19375         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19376         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19377         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19378         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19379         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19380         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19381         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19382         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19383         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19384         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19385         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19386         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19387         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19388         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19389         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19390         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19391         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19392         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19393         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19394         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19395         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19396         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19397         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19398         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19399         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19400         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19401         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19402         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19403         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19404         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19405         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19406         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19407         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19408         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19409         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19410         * sysdeps/powerpc/sysdep.h: Likewise.
19411         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19412         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19413         * sysdeps/sh/dl-trampoline.S: Likewise.
19414         * sysdeps/sh/memset.S: Likewise.
19415         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19416         * sysdeps/sh/strlen.S: Likewise.
19417         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19418         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19419         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19420         * sysdeps/sparc/sparc32/rem.S: Likewise.
19421         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19422         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19423         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19424         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19425         * sysdeps/sparc/sparc32/urem.S: Likewise.
19426         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19427         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19428         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19429         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19430         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19431         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19432         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19433         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19434         * sysdeps/unix/bsd/times.c: Likewise.
19435         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19436         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19440         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19441         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19442         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19443         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19444         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19445         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19446         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19447         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19448         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19449         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19450         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19451         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19452         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19453         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19454         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19455         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19456         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19457         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19458         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19459         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19460         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19461         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19462         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19463         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19464         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19465         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19466         * sysdeps/x86_64/strcspn.S: Likewise.
19467
19468 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19469
19470         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19471         generated file.  Regenerate properly from gen-translit.pl.
19472         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19473         locale/C-translit.h.
19474
19475 2013-06-05  Andreas Schwab  <schwab@suse.de>
19476
19477         [BZ #15100]
19478         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19479         week as 6 instead of -1.
19480         * time/tst-strptime.c (day_tests): Add test case.
19481
19482 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19483
19484         * sysdeps/generic/math_private.h
19485         (libc_feholdexcept_setround_53bit): Replace with
19486         libc_feholdsetround_53bit.
19487         (libc_feupdateenv_53bit): Replace with
19488         libc_feresetround_53bit.
19489         (SET_RESTORE_ROUND_53BIT): Adjust.
19490
19491 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19492
19493         * string/test-strchrnul.c: Add copyright header.
19494
19495         * posix/tst-getaddrinfo4.c: Increase test timeout.
19496
19497 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19498
19499         [BZ #15536]
19500         * math/libm-test.inc (MAX_EXP): Remove
19501         (MIN_EXP): Define.
19502         (ulp): Use MIN_EXP - MANT_DIG.
19503         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19504
19505 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19506
19507         * po/be.po: Revert last change.
19508         * po/zh_CN.po: Likewise.
19509         * po/header.pot: Likewise.
19510
19511 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19512
19513         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19514         link-libc-deps to empty as target-specific variable.
19515         * Makerules (link-libc-args): New variable.
19516         (libc-for-link): Likewise.
19517         (link-libc-deps): Likewise.
19518         (lib%.so): Depend on $(link-libc-deps).  Link with
19519         $(link-libc-args).
19520         (build-module): Link with $(link-libc-args).
19521         (build-module-asneeded): Likewise.
19522         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19523         list of objects.
19524         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19525         target-specific variable.
19526         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19527         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19528         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19529         libc.
19530         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19531         libc and ld.so.
19532         ($(objpfx)libpcprofile.so): Likewise.
19533         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19534         libc_nonshared.a.
19535         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19536         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19537         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19538         $(link-libc-deps).
19539         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19540         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19541         * login/Makefile ($(objpfx)libutil.so): Likewise.
19542         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19543         * math/Makefile ($(objpfx)libm.so): Likewise.
19544         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19545         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19546         variable instead of depending directly on libc.
19547         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19548         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19549         $(link-libc-deps).
19550         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19551         libc.
19552         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19553         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19554         ($(objpfx)libanl.so): Likewise.
19555         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19556         ld.so.
19557         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19558         $(link-libc-deps).
19559         * sysdeps/i386/fpu/Makefile: Remove file.
19560         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19561         ($(objpfx)libm.so): Remove dependency on ld.so.
19562
19563 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19564
19565         [BZ # 15553]
19566         * nis/yp_xdr.c (XDRMAXNAME): Define.
19567         (XDRMAXRECORD): Define.
19568         (xdr_domainname): Use XDRMAXNAME.
19569         (xdr_mapname): Likewise.
19570         (xdr_peername): Likewise.
19571         (xdr_keydat): Use XDRMAXRECORD.
19572         (xdr_valdat): Likewise.
19573
19574 2013-05-30  Jeff Law  <law@redhat.com>
19575
19576         [BZ #14256]
19577         * manual/errno.texi (ESTALE): Update to account for more than
19578         just NFS file systems.
19579         * sysdeps/gnu/errlist.c: Regenerated.
19580
19581 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19582
19583         [BZ #15465]
19584         * elf/Makefile (tests): Add tst-null-argv.
19585         (modules-names):  Add tst-null-argv-lib.
19586         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19587         (tst-null-argv-ENV): Set environment for tst-null-argv.
19588         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19589         (RTLD_PROGNAME): New macro.
19590         * elf/tst-null-argv.c: New test case.
19591         * elf/tst-null-argv-lib.c: Library for test case.
19592         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19593         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19594         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19595         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19596         * elf/dl-init.c (call_init): Likewise.
19597         (_dl_init): Likewise.
19598         * elf/dl-load.c (print_search_path): Likewise.
19599         (_dl_map_object): Likewise.
19600         * elf/dl-lookup.c (do_lookup_x): Likewise.
19601         (add_dependency): Likewise.
19602         (_dl_lookup_symbol_x): Likewise.
19603         (_dl_debug_bindings): Likewise.
19604         * elf/dl-open.c (_dl_show_scope): Likewise.
19605         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19606         * elf/dl-version.c (match_symbol): Likewise.
19607         (_dl_check_map_versions): Likewise.
19608         * elf/rtld.c (dl_main): Likewise.
19609         (print_unresolved): Use RTLD_PROGNAME.
19610         (print_missing_version): Likewise.
19611         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19612         (elf_machine_rela): Likewise.
19613         * sysdeps/powerpc/powerpc32/dl-machine.c
19614         (__process_machine_rela): Likewise.
19615         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19616         Likewise.
19617         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19618         Likewise.
19619         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19620         Likewise.
19621         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19622         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19623         Likewise.
19624         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19625         Likewise.
19626         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19627
19628 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19629
19630         * po/be.po: Add descriptive title.
19631         * po/zh_CN.po: Likewise.
19632         * po/header.pot: Likewise.
19633
19634 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19635
19636         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19637         error message.
19638         (enlarge_archive): Likewise.
19639
19640 2013-05-28  Ben North  <ben@redfrontdoor.org>
19641
19642         * manual/arith.texi (frexp): It is the magnitude of the return
19643         value which lies in [0.5, 1), not the return value itself.
19644
19645 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19646
19647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19648
19649 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19650
19651         * stdio-common/bug26.c (main): Correct fscanf template.
19652
19653         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19654         declare _dl_skip_args.
19655
19656         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19657         Don't declare.
19658
19659         * manual/platform.texi: Add missing @end deftypefun.
19660
19661 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19662
19663         [BZ #15529]
19664         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19665         bit of mantissa of 2^16382.
19666         * math/libm-test.inc (hypot_test_data): Add more tests.
19667
19668         * math/libm-test.inc: Add drem and pow10 to list of tested
19669         functions.
19670         (pow10_test): New function.
19671         (drem_test): Likewise.
19672         (drem_test_tonearest): Likewise.
19673         (drem_test_towardzero): Likewise.
19674         (drem_test_downward): Likewise.
19675         (drem_test_upward): Likewise.
19676         (main): Call the new functions.
19677
19678         * math/libm-test.inc (finite_test_data): Remove.
19679         (finite_test): Run tests from isfinite_test_data.
19680         (gamma_test_data): Remove.
19681         (gamma_test): Run tests from lgamma_test_data.
19682         * sysdeps/i386/fpu/libm-test-ulps: Update.
19683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19684
19685 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19686
19687         * manual/platform.texi: Add PowerPC PPR function set documentation.
19688         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19689         implementation.
19690
19691 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19692
19693         * math/libm-test.inc (MAX_EXP): Define.
19694         (ULPDIFF): Define.
19695         (ulp): New function.
19696         (check_float_internal): Use ULPDIFF.
19697         (cpow_test): Disable failing test.
19698         (check_ulp): Test ulp() implemetnation.
19699         (main): Call check_ulp before starting tests.
19700
19701 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19702
19703         * math/gen-libm-test.pl (generate_testfile): Do not handle
19704         START_DATA and END_DATA.
19705         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19706         END_DATA.
19707         (acos_tonearest_test_data): Likewise.
19708         (acos_towardzero_test_data): Likewise.
19709         (acos_downward_test_data): Likewise.
19710         (acos_upward_test_data): Likewise.
19711         (acosh_test_data): Likewise.
19712         (asin_test_data): Likewise.
19713         (asin_tonearest_test_data): Likewise.
19714         (asin_towardzero_test_data): Likewise.
19715         (asin_downward_test_data): Likewise.
19716         (asin_upward_test_data): Likewise.
19717         (asinh_test_data): Likewise.
19718         (atan_test_data): Likewise.
19719         (atanh_test_data): Likewise.
19720         (atan2_test_data): Likewise.
19721         (cabs_test_data): Likewise.
19722         (cacos_test_data): Likewise.
19723         (cacosh_test_data): Likewise.
19724         (carg_test_data): Likewise.
19725         (casin_test_data): Likewise.
19726         (casinh_test_data): Likewise.
19727         (catan_test_data): Likewise.
19728         (catanh_test_data): Likewise.
19729         (cbrt_test_data): Likewise.
19730         (ccos_test_data): Likewise.
19731         (ccosh_test_data): Likewise.
19732         (ceil_test_data): Likewise.
19733         (cexp_test_data): Likewise.
19734         (cimag_test_data): Likewise.
19735         (clog_test_data): Likewise.
19736         (clog10_test_data): Likewise.
19737         (conj_test_data): Likewise.
19738         (copysign_test_data): Likewise.
19739         (cos_test_data): Likewise.
19740         (cos_tonearest_test_data): Likewise.
19741         (cos_towardzero_test_data): Likewise.
19742         (cos_downward_test_data): Likewise.
19743         (cos_upward_test_data): Likewise.
19744         (cosh_test_data): Likewise.
19745         (cosh_tonearest_test_data): Likewise.
19746         (cosh_towardzero_test_data): Likewise.
19747         (cosh_downward_test_data): Likewise.
19748         (cosh_upward_test_data): Likewise.
19749         (cpow_test_data): Likewise.
19750         (cproj_test_data): Likewise.
19751         (creal_test_data): Likewise.
19752         (csin_test_data): Likewise.
19753         (csinh_test_data): Likewise.
19754         (csqrt_test_data): Likewise.
19755         (ctan_test_data): Likewise.
19756         (ctan_tonearest_test_data): Likewise.
19757         (ctan_towardzero_test_data): Likewise.
19758         (ctan_downward_test_data): Likewise.
19759         (ctan_upward_test_data): Likewise.
19760         (ctanh_test_data): Likewise.
19761         (ctanh_tonearest_test_data): Likewise.
19762         (ctanh_towardzero_test_data): Likewise.
19763         (ctanh_downward_test_data): Likewise.
19764         (ctanh_upward_test_data): Likewise.
19765         (erf_test_data): Likewise.
19766         (erfc_test_data): Likewise.
19767         (exp_test_data): Likewise.
19768         (exp_tonearest_test_data): Likewise.
19769         (exp_towardzero_test_data): Likewise.
19770         (exp_downward_test_data): Likewise.
19771         (exp_upward_test_data): Likewise.
19772         (exp10_test_data): Likewise.
19773         (exp2_test_data): Likewise.
19774         (expm1_test_data): Likewise.
19775         (fabs_test_data): Likewise.
19776         (fdim_test_data): Likewise.
19777         (finite_test_data): Likewise.
19778         (floor_test_data): Likewise.
19779         (fma_test_data): Likewise.
19780         (fma_towardzero_test_data): Likewise.
19781         (fma_downward_test_data): Likewise.
19782         (fma_upward_test_data): Likewise.
19783         (fmax_test_data): Likewise.
19784         (fmin_test_data): Likewise.
19785         (fmod_test_data): Likewise.
19786         (fpclassify_test_data): Likewise.
19787         (frexp_test_data): Likewise.
19788         (gamma_test_data): Likewise.
19789         (hypot_test_data): Likewise.
19790         (ilogb_test_data): Likewise.
19791         (isfinite_test_data): Likewise.
19792         (isgreater_test_data): Likewise.
19793         (isgreaterequal_test_data): Likewise.
19794         (isinf_test_data): Likewise.
19795         (isless_test_data): Likewise.
19796         (islessequal_test_data): Likewise.
19797         (islessgreater_test_data): Likewise.
19798         (isnan_test_data): Likewise.
19799         (isnormal_test_data): Likewise.
19800         (issignaling_test_data): Likewise.
19801         (isunordered_test_data): Likewise.
19802         (j0_test_data): Likewise.
19803         (j1_test_data): Likewise.
19804         (jn_test_data): Likewise.
19805         (ldexp_test_data): Likewise.
19806         (lgamma_test_data): Likewise.
19807         (lrint_test_data): Likewise.
19808         (lrint_tonearest_test_data): Likewise.
19809         (lrint_towardzero_test_data): Likewise.
19810         (lrint_downward_test_data): Likewise.
19811         (lrint_upward_test_data): Likewise.
19812         (llrint_test_data): Likewise.
19813         (llrint_tonearest_test_data): Likewise.
19814         (llrint_towardzero_test_data): Likewise.
19815         (llrint_downward_test_data): Likewise.
19816         (llrint_upward_test_data): Likewise.
19817         (log_test_data): Likewise.
19818         (log10_test_data): Likewise.
19819         (log1p_test_data): Likewise.
19820         (log2_test_data): Likewise.
19821         (logb_test_data): Likewise.
19822         (logb_downward_test_data): Likewise.
19823         (lround_test_data): Likewise.
19824         (llround_test_data): Likewise.
19825         (modf_test_data): Likewise.
19826         (nearbyint_test_data): Likewise.
19827         (nextafter_test_data): Likewise.
19828         (nexttoward_test_data): Likewise.
19829         (pow_test_data): Likewise.
19830         (pow_tonearest_test_data): Likewise.
19831         (pow_towardzero_test_data): Likewise.
19832         (pow_downward_test_data): Likewise.
19833         (pow_upward_test_data): Likewise.
19834         (remainder_test_data): Likewise.
19835         (remainder_tonearest_test_data): Likewise.
19836         (remainder_towardzero_test_data): Likewise.
19837         (remainder_downward_test_data): Likewise.
19838         (remainder_upward_test_data): Likewise.
19839         (remquo_test_data): Likewise.
19840         (rint_test_data): Likewise.
19841         (rint_tonearest_test_data): Likewise.
19842         (rint_towardzero_test_data): Likewise.
19843         (rint_downward_test_data): Likewise.
19844         (rint_upward_test_data): Likewise.
19845         (round_test_data): Likewise.
19846         (scalb_test_data): Likewise.
19847         (scalbn_test_data): Likewise.
19848         (scalbln_test_data): Likewise.
19849         (signbit_test_data): Likewise.
19850         (sin_test_data): Likewise.
19851         (sin_tonearest_test_data): Likewise.
19852         (sin_towardzero_test_data): Likewise.
19853         (sin_downward_test_data): Likewise.
19854         (sin_upward_test_data): Likewise.
19855         (sincos_test_data): Likewise.
19856         (sinh_test_data): Likewise.
19857         (sinh_tonearest_test_data): Likewise.
19858         (sinh_towardzero_test_data): Likewise.
19859         (sinh_downward_test_data): Likewise.
19860         (sinh_upward_test_data): Likewise.
19861         (sqrt_test_data): Likewise.
19862         (tan_test_data): Likewise.
19863         (tan_tonearest_test_data): Likewise.
19864         (tan_towardzero_test_data): Likewise.
19865         (tan_downward_test_data): Likewise.
19866         (tan_upward_test_data): Likewise.
19867         (tanh_test_data): Likewise.
19868         (tgamma_test_data): Likewise.
19869         (trunc_test_data): Likewise.
19870         (y0_test_data): Likewise.
19871         (y1_test_data): Likewise.
19872         (yn_test_data): Likewise.
19873         (significand_test_data): Likewise.
19874
19875         * math/gen-libm-test.pl (@functions): Remove variable.
19876         (generate_testfile): Don't handle START and END lines.
19877         * math/libm-test.inc (START): New macro.
19878         (END): Likewise.
19879         (END_COMPLEX): Likewise.
19880         (acos_test): Use END macro without arguments.
19881         (acos_test_tonearest): Likewise.
19882         (acos_test_towardzero): Likewise.
19883         (acos_test_downward): Likewise.
19884         (acos_test_upward): Likewise.
19885         (acosh_test): Likewise.
19886         (asin_test): Likewise.
19887         (asin_test_tonearest): Likewise.
19888         (asin_test_towardzero): Likewise.
19889         (asin_test_downward): Likewise.
19890         (asin_test_upward): Likewise.
19891         (asinh_test): Likewise.
19892         (atan_test): Likewise.
19893         (atanh_test): Likewise.
19894         (atan2_test): Likewise.
19895         (cabs_test): Likewise.
19896         (cacos_test): Use END_COMPLEX macro without arguments.
19897         (cacosh_test): Likewise.
19898         (carg_test): Use END macro without arguments.
19899         (casin_test): Use END_COMPLEX macro without arguments.
19900         (casinh_test): Likewise.
19901         (catan_test): Likewise.
19902         (catanh_test): Likewise.
19903         (cbrt_test): Use END macro without arguments.
19904         (ccos_test): Use END_COMPLEX macro without arguments.
19905         (ccosh_test): Likewise.
19906         (ceil_test): Use END macro without arguments.
19907         (cexp_test): Use END_COMPLEX macro without arguments.
19908         (cimag_test): Use END macro without arguments.
19909         (clog_test): Use END_COMPLEX macro without arguments.
19910         (clog10_test): Likewise.
19911         (conj_test): Likewise.
19912         (copysign_test): Use END macro without arguments.
19913         (cos_test): Likewise.
19914         (cos_test_tonearest): Likewise.
19915         (cos_test_towardzero): Likewise.
19916         (cos_test_downward): Likewise.
19917         (cos_test_upward): Likewise.
19918         (cosh_test): Likewise.
19919         (cosh_test_tonearest): Likewise.
19920         (cosh_test_towardzero): Likewise.
19921         (cosh_test_downward): Likewise.
19922         (cosh_test_upward): Likewise.
19923         (cpow_test): Use END_COMPLEX macro without arguments.
19924         (cproj_test): Likewise.
19925         (creal_test): Use END macro without arguments.
19926         (csin_test): Use END_COMPLEX macro without arguments.
19927         (csinh_test): Likewise.
19928         (csqrt_test): Likewise.
19929         (ctan_test): Likewise.
19930         (ctan_test_tonearest): Likewise.
19931         (ctan_test_towardzero): Likewise.
19932         (ctan_test_downward): Likewise.
19933         (ctan_test_upward): Likewise.
19934         (ctanh_test): Likewise.
19935         (ctanh_test_tonearest): Likewise.
19936         (ctanh_test_towardzero): Likewise.
19937         (ctanh_test_downward): Likewise.
19938         (ctanh_test_upward): Likewise.
19939         (erf_test): Use END macro without arguments.
19940         (erfc_test): Likewise.
19941         (exp_test): Likewise.
19942         (exp_test_tonearest): Likewise.
19943         (exp_test_towardzero): Likewise.
19944         (exp_test_downward): Likewise.
19945         (exp_test_upward): Likewise.
19946         (exp10_test): Likewise.
19947         (exp2_test): Likewise.
19948         (expm1_test): Likewise.
19949         (fabs_test): Likewise.
19950         (fdim_test): Likewise.
19951         (finite_test): Likewise.
19952         (floor_test): Likewise.
19953         (fma_test): Likewise.
19954         (fma_test_towardzero): Likewise.
19955         (fma_test_downward): Likewise.
19956         (fma_test_upward): Likewise.
19957         (fmax_test): Likewise.
19958         (fmin_test): Likewise.
19959         (fmod_test): Likewise.
19960         (fpclassify_test): Likewise.
19961         (frexp_test): Likewise.
19962         (gamma_test): Likewise.
19963         (hypot_test): Likewise.
19964         (ilogb_test): Likewise.
19965         (isfinite_test): Likewise.
19966         (isgreater_test): Likewise.
19967         (isgreaterequal_test): Likewise.
19968         (isinf_test): Likewise.
19969         (isless_test): Likewise.
19970         (islessequal_test): Likewise.
19971         (islessgreater_test): Likewise.
19972         (isnan_test): Likewise.
19973         (isnormal_test): Likewise.
19974         (issignaling_test): Likewise.
19975         (isunordered_test): Likewise.
19976         (j0_test): Likewise.
19977         (j1_test): Likewise.
19978         (jn_test): Likewise.
19979         (ldexp_test): Likewise.
19980         (lgamma_test): Likewise.
19981         (lrint_test): Likewise.
19982         (lrint_test_tonearest): Likewise.
19983         (lrint_test_towardzero): Likewise.
19984         (lrint_test_downward): Likewise.
19985         (lrint_test_upward): Likewise.
19986         (llrint_test): Likewise.
19987         (llrint_test_tonearest): Likewise.
19988         (llrint_test_towardzero): Likewise.
19989         (llrint_test_downward): Likewise.
19990         (llrint_test_upward): Likewise.
19991         (log_test): Likewise.
19992         (log10_test): Likewise.
19993         (log1p_test): Likewise.
19994         (log2_test): Likewise.
19995         (logb_test): Likewise.
19996         (logb_test_downward): Likewise.
19997         (lround_test): Likewise.
19998         (llround_test): Likewise.
19999         (modf_test): Likewise.
20000         (nearbyint_test): Likewise.
20001         (nextafter_test): Likewise.
20002         (nexttoward_test): Likewise.
20003         (pow_test): Likewise.
20004         (pow_test_tonearest): Likewise.
20005         (pow_test_towardzero): Likewise.
20006         (pow_test_downward): Likewise.
20007         (pow_test_upward): Likewise.
20008         (remainder_test): Likewise.
20009         (remainder_test_tonearest): Likewise.
20010         (remainder_test_towardzero): Likewise.
20011         (remainder_test_downward): Likewise.
20012         (remainder_test_upward): Likewise.
20013         (remquo_test): Likewise.
20014         (rint_test): Likewise.
20015         (rint_test_tonearest): Likewise.
20016         (rint_test_towardzero): Likewise.
20017         (rint_test_downward): Likewise.
20018         (rint_test_upward): Likewise.
20019         (round_test): Likewise.
20020         (scalb_test): Likewise.
20021         (scalbn_test): Likewise.
20022         (scalbln_test): Likewise.
20023         (signbit_test): Likewise.
20024         (sin_test): Likewise.
20025         (sin_test_tonearest): Likewise.
20026         (sin_test_towardzero): Likewise.
20027         (sin_test_downward): Likewise.
20028         (sin_test_upward): Likewise.
20029         (sincos_test): Likewise.
20030         (sinh_test): Likewise.
20031         (sinh_test_tonearest): Likewise.
20032         (sinh_test_towardzero): Likewise.
20033         (sinh_test_downward): Likewise.
20034         (sinh_test_upward): Likewise.
20035         (sqrt_test): Likewise.
20036         (tan_test): Likewise.
20037         (tan_test_tonearest): Likewise.
20038         (tan_test_towardzero): Likewise.
20039         (tan_test_downward): Likewise.
20040         (tan_test_upward): Likewise.
20041         (tanh_test): Likewise.
20042         (tgamma_test): Likewise.
20043         (trunc_test): Likewise.
20044         (y0_test): Likewise.
20045         (y1_test): Likewise.
20046         (yn_test): Likewise.
20047         (significand_test): Likewise.
20048
20049 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20050
20051         [BZ #15381]
20052         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20053
20054 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20055
20056         [BZ #14894]
20057         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20058         __ppc_mdoio and __ppc_mdoom.
20059         * manual/platform.texi: Document new functions __ppc_yield,
20060         __ppc_mdoio and __ppc_mdoom.
20061
20062 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20063
20064         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20065         (main): Mention "tls" pseudo-hwcap is legacy.
20066         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20067
20068 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20069
20070         * math/gen-libm-test.pl (parse_args): Output only string of
20071         arguments as text for test name, not full call or descriptions of
20072         tests for extra outputs.
20073         (generate_testfile): Do not pass function name to parse_args.
20074         Generate this_func variable from START.
20075         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20076         field to arg_str.
20077         (struct test_ff_f_data): Likewise.
20078         (test_ff_f_data_nexttoward): Likewise.
20079         (struct test_fi_f_data): Likewise.
20080         (struct test_fl_f_data): Likewise.
20081         (struct test_if_f_data): Likewise.
20082         (struct test_fff_f_data): Likewise.
20083         (struct test_c_f_data): Likewise.
20084         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20085         (struct test_fF_f1_data): Likewise.
20086         (struct test_ffI_f1_data): Likewise.
20087         (struct test_c_c_data): Rename test_name field to arg_str.
20088         (struct test_cc_c_data): Likewise.
20089         (struct test_f_i_data): Likewise.
20090         (struct test_ff_i_data): Likewise.
20091         (struct test_f_l_data): Likewise.
20092         (struct test_f_L_data): Likewise.
20093         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20094         and extra2_name.
20095         (COMMON_TEST_SETUP): New macro.
20096         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20097         (COMMON_TEST_CLEANUP): Likewise.
20098         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20099         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20100         macros.
20101         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20102         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20103         macros.
20104         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20105         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20106         cleanup macros.
20107         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20108         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20109         macros.
20110         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20111         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20112         macros.
20113         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20114         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20115         cleanup macros.
20116         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20117         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20118         cleanup macros.
20119         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20120         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20121         cleanup macros.
20122         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20123         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20124         macros.
20125         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20126         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20127         macros.
20128         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20129         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20130         macros.
20131         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20132         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20133         cleanup macros.
20134         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20135         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20136         cleanup macros.
20137         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20138         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20139         macros.
20140         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20141         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20142         cleanup macros.
20143         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20144         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20145         macros.
20146         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20147         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20148         macros.
20149         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20150         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20151         cleanup macros.
20152         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20153
20154 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20155
20156         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20157         to _sifields.sigfault.
20158         (si_addr_lsb): Define new macro.
20159         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20160         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20161         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20162
20163 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20164
20165         [BZ #15441]
20166         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20167         returns -1.
20168         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20169         null return -1.
20170         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20171         loading the domain.
20172
20173 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20174
20175         * math/gen-libm-test.pl (parse_args): Do not include expected
20176         result in test name.
20177         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20178         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20179         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20180         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20181         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20183
20184 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20185
20186         * benchtests/Makefile: Sort function entries.
20187
20188         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20189         tanh, asinh, acosh, atanh.
20190         * benchtests/acos-inputs: New file.
20191         * benchtests/acosh-inputs: New file.
20192         * benchtests/asin-inputs: New file.
20193         * benchtests/asinh-inputs: New file.
20194         * benchtests/atanh-inputs: New file.
20195         * benchtests/cosh-inputs: New file.
20196         * benchtests/log-inputs: New file.
20197         * benchtests/sinh-inputs: New file.
20198         * benchtests/tanh-inputs: New file.
20199
20200 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20201
20202         [BZ #15339]
20203         * posix/tst-getaddrinfo4.c: New test.
20204         * posix/Makefile (tests): Add it.
20205
20206 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20207
20208         [BZ #15339]
20209         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20210         when no services were used.
20211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20212         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20213
20214 2013-05-21  Andreas Schwab  <schwab@suse.de>
20215
20216         [BZ #15014]
20217         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20218         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20219         successful.
20220         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20221         redundant variable declarations and reallocation of buffer when
20222         parsing as IPv6 address.  Always set NSS status when called from
20223         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20224         buffer too small.  Correct computation of needed size.
20225         * nss/Makefile (tests): Add test-digits-dots.
20226         * nss/test-digits-dots.c: New test.
20227
20228 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20229
20230         * benchtests/Makefile: Remove instructions for adding
20231         benchmark tests.
20232         * benchtests/README: New file to explain how to execute and
20233         enhance the benchmark tests.
20234
20235 2013-05-21  Andreas Schwab  <schwab@suse.de>
20236
20237         [BZ #15493]
20238         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20239         * setjmp/tst-sigsetjmp.c: New test.
20240
20241 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20242
20243         * sysdeps/x86_64/memset.S (memset): New implementation.
20244         (__bzero): Likewise.
20245         (__memset_tail): New function.
20246
20247 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20248
20249         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20250         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20251         __memcpy_sse2_unaligned ifunc selection.
20252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20253         Add memcpy-sse2-unaligned.S.
20254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20255         Add: __memcpy_sse2_unaligned.
20256
20257 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20258
20259         [BZ #15490]
20260         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20261         math_force_eval before restoring floating-point envrionment.
20262         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20263         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20264         Likewise.
20265         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20266         <math_private.h>.
20267         (__nearbyintl): Use math_force_eval before restoring
20268         floating-point environment.
20269         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20270
20271         * math/gen-libm-test.pl (special_functions): Remove.
20272         (parse_args): Don't handle TEST_extra.  Handle functions with no
20273         return value.
20274         * math/libm-test.inc (struct test_sincos_data): Replace with
20275         struct test_fFF_11_data.
20276         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20277         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20278         (sincos_test_data): Change element type to struct
20279         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20280         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20281         RUN_TEST_LOOP_sincos.
20282         * math/README.libm-test: Don't mention special handling of
20283         individual functions.
20284         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20285         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20286         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20287         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20288         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20290
20291         * math/gen-libm-test.pl (get_variable): Remove function.
20292         (parse_args): Don't show pointer parameters to call in test
20293         names.  Use "extra output N" in test names for extra outputs
20294         rather than naming variables.
20295
20296 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20297
20298         [BZ #15488]
20299         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20300         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20301         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20302         double tests.
20303         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20304         disable.
20305         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20306         check_long_double.
20307
20308         * math/gen-libm-test.pl (@tests): Remove variable.
20309         ($count): Likewise.
20310         (new_test): Remove function.
20311         (show_exceptions): New function.
20312         (special_functions): Use show_exceptions instead of new_test.
20313         (parse_args): Likewise.
20314         (generate_testfile): Pass only function name in generated call to
20315         print_max_error or print_complex_max_error.
20316         (get_ulps): Do not handle complex tests specially.
20317         (output_test): Rename to ...
20318         (get_all_ulps_for_test): ... this.  Return a string rather than
20319         printing to a file.  Require ulps to be present.
20320         (output_ulps): Generate arrays rather than #defines.
20321         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20322         (struct ulp_data): New type.
20323         (BUILD_COMPLEX_ULP): Remove macro.
20324         (compare_ulp_data): New function.
20325         (find_ulps): Likewise.
20326         (find_test_ulps): Likewise.
20327         (find_function_ulps): Likewise.
20328         (find_complex_function_ulps): Likewise.
20329         (print_max_error): Determine allowed ulps using
20330         find_function_ulps.
20331         (print_complex_max_error): Determine allowed ulps using
20332         find_complex_function_ulps.
20333         (check_float_internal): Determine max ulps using find_test_ulps.
20334         (check_float): Do not take max_ulp parameter.  Update call to
20335         check_float_internal.
20336         (check_complex): Likewise.
20337         (check_int): Do not take max_ulp parameter.
20338         (check_long): Likewise.
20339         (check_bool): Likewise.
20340         (check_longlong): Likewise.
20341         (struct test_f_f_data): Remove max_ulp field.
20342         (struct test_ff_f_data): Likewise.
20343         (struct test_ff_f_data_nexttoward): Likewise.
20344         (struct test_fi_f_data): Likewise.
20345         (struct test_fl_f_data): Likewise.
20346         (struct test_if_f_data): Likewise.
20347         (struct test_fff_f_data): Likewise.
20348         (struct test_c_f_data): Likewise.
20349         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20350         (struct test_fF_f1_data): Likewise.
20351         (struct test_ffI_f1_data): Likewise.
20352         (struct test_c_c_data): Remove max_ulp field.
20353         (struct test_cc_c_data): Likewise.
20354         (struct test_f_i_data): Likewise.
20355         (struct test_ff_i_data): Likewise.
20356         (struct test_f_l_data): Likewise.
20357         (struct test_f_L_data): Likewise.
20358         (struct test_sincos_data): Likewise.
20359         (RUN_TEST_f_f): Do not handle ulps.
20360         (RUN_TEST_LOOP_f_f): Likewise.
20361         (RUN_TEST_2_f): Likewise.
20362         (RUN_TEST_LOOP_2_f): Likewise.
20363         (RUN_TEST_fff_f): Likewise.
20364         (RUN_TEST_LOOP_fff_f): Likewise.
20365         (RUN_TEST_c_f): Likewise.
20366         (RUN_TEST_LOOP_c_f): Likewise.
20367         (RUN_TEST_f_f1): Likewise.
20368         (RUN_TEST_LOOP_f_f1): Likewise.
20369         (RUN_TEST_fF_f1): Likewise.
20370         (RUN_TEST_LOOP_fF_f1): Likewise.
20371         (RUN_TEST_fI_f1): Likewise.
20372         (RUN_TEST_LOOP_fI_f1): Likewise.
20373         (RUN_TEST_ffI_f1): Likewise.
20374         (RUN_TEST_LOOP_ffI_f1): Likewise.
20375         (RUN_TEST_c_c): Likewise.
20376         (RUN_TEST_LOOP_c_c): Likewise.
20377         (RUN_TEST_cc_c): Likewise.
20378         (RUN_TEST_LOOP_cc_c): Likewise.
20379         (RUN_TEST_f_i): Likewise.
20380         (RUN_TEST_LOOP_f_i): Likewise.
20381         (RUN_TEST_f_i_tg): Likewise.
20382         (RUN_TEST_LOOP_f_i_tg): Likewise.
20383         (RUN_TEST_ff_i_tg): Likewise.
20384         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20385         (RUN_TEST_f_b): Likewise.
20386         (RUN_TEST_LOOP_f_b): Likewise.
20387         (RUN_TEST_f_b_tg): Likewise.
20388         (RUN_TEST_LOOP_f_b_tg): Likewise.
20389         (RUN_TEST_f_l): Likewise.
20390         (RUN_TEST_LOOP_f_l): Likewise.
20391         (RUN_TEST_f_L): Likewise.
20392         (RUN_TEST_LOOP_f_L): Likewise.
20393         (RUN_TEST_sincos): Likewise.
20394         (RUN_TEST_LOOP_sincos): Likewise.
20395
20396 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20397
20398         [BZ #15480]
20399         [BZ #15485]
20400         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20401         main case of finite arguments, set rounding mode to FE_TONEAREST
20402         and discard exceptions.
20403         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20404         exceptions.
20405         (remainder_tonearest_test_data): New variable.
20406         (remainder_test_tonearest): New function.
20407         (remainder_towardzero_test_data): New variable.
20408         (remainder_test_towardzero): New function.
20409         (remainder_downward_test_data): New variable.
20410         (remainder_test_downward): New function.
20411         (remainder_upward_test_data): New variable.
20412         (remainder_test_upward): New function.
20413         (main): Call the new test functions.
20414
20415         * math/libm-test.inc (struct test_f_f1_data): Remove field
20416         extra_init.
20417         (struct test_fF_f1_data): Likewise.
20418         (struct test_ffI_f1_data): Likewise.
20419         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20420         based on value of EXTRA_EXPECTED.
20421         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20422         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20423         EXTRA_VAR based on value of EXTRA_EXPECTED.
20424         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20425         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20426         EXTRA_VAR based on value of EXTRA_EXPECTED.
20427         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20428         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20429         EXTRA_VAR based on value of EXTRA_EXPECTED.
20430         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20431         * math/gen-libm-test.pl (parse_args): Don't output initializers
20432         for extra output values.
20433
20434         * math/libm-test.inc (check_int): Expect result to be exactly
20435         equal to expected value and do not handle ulps.
20436         (check_long): Likewise.
20437         (check_longlong): Likewise.
20438
20439         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20440         exceptions.
20441         (cimag_test_data): Likewise.
20442         (conj_test_data): Likewise.
20443         (copysign_test_data): Likewise.
20444         (cproj_test_data): Likewise.
20445         (creal_test_data): Likewise.
20446         (fabs_test_data): Likewise.
20447         (fdim_test_data): Likewise.
20448         (finite_test_data): Likewise.
20449         (floor_test_data): Likewise.
20450         (fmax_test_data): Likewise.
20451         (fmin_test_data): Likewise.
20452         (fmod_test_data): Likewise.
20453         (fpclassify_test_data): Likewise.
20454         (frexp_test_data): Likewise.
20455         (ilogb_test_data): Likewise.
20456         (isfinite_test_data): Likewise.
20457         (isgreater_test_data): Likewise.
20458         (isgreaterequal_test_data): Likewise.
20459         (isinf_test_data): Likewise.
20460         (isless_test_data): Likewise.
20461         (islessequal_test_data): Likewise.
20462         (islessgreater_test_data): Likewise.
20463         (isnan_test_data): Likewise.
20464         (isnormal_test_data): Likewise.
20465         (issignaling_test_data): Likewise.
20466         (isunordered_test_data): Likewise.
20467         (ldexp_test_data): Likewise.
20468         (lrint_test_data): Likewise.
20469         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20470         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20471         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20472         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20473         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20474         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20475         test input.
20476         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20477         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20478         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20479         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20480         that test input.
20481         (lrint_downward_test_data): Test for "inexact" exceptions.
20482         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20483         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20484         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20485         test input.
20486         (lrint_upward_test_data): Test for "inexact" exceptions.
20487         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20488         test input.
20489         (llrint_test_data): Test for "inexact" exceptions.
20490         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20491         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20492         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20493         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20494         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20495         (llrint_downward_test_data): Test for "inexact" exceptions.
20496         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20497         (llrint_upward_test_data): Test for "inexact" exceptions.
20498         (logb_test_data): Likewise.
20499         (logb_downward_test_data): Likewise.
20500         (nextafter_test_data): Likewise.
20501         (nexttoward_test_data): Likewise.
20502         (remainder_test_data): Likewise.
20503         (remquo_test_data): Likewise.
20504         (scalbn_test_data): Likewise.
20505         (scalbln_test_data): Likewise.
20506         (signbit_test_data): Likewise.
20507         (sqrt_test_data): Likewise.
20508         (significand_test_data): Likewise.
20509
20510 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20511
20512         [BZ #15424]
20513         * benchtests/bench-modf.c (struct args): Mark arg0 as
20514         volatile.
20515         * scripts/bench.pl: Mark members of struct args as volatile.
20516
20517 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20518
20519         [BZ # 15497]
20520         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20521         negative infinity on POWER6 or lower.
20522         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20523
20524 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20525
20526         [BZ #15442]
20527         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20528         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20529         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20530         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20531         (_FP_SETQNAN): New macro.
20532         (_FP_SETQNAN_SEMIRAW): Likewise.
20533         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20534         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20535         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20536         (FP_EXTEND): Use _FP_FRAC_SNANP.
20537         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20538         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20539         into account.
20540         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20541         New macro.
20542         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20543         Likewise.
20544
20545 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20546
20547         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20548         with DIVIDE_BY_ZERO_EXCEPTION.
20549         (gamma_test_data): Likewise.
20550         (lgamma_test_data): Likewise.
20551         (log_test_data): Likewise.
20552         (log10_test_data): Likewise.
20553         (log2_test_data): Likewise.
20554         (tgamma_test_data): Likewise.
20555
20556         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20557         (acos_test_tonearest): Likewise.
20558         (acos_test_towardzero): Likewise.
20559         (acos_test_downward): Likewise.
20560         (acos_test_upward): Likewise.
20561         (acosh_test): Likewise.
20562         (asin_test): Likewise.
20563         (asin_test_tonearest): Likewise.
20564         (asin_test_towardzero): Likewise.
20565         (asin_test_downward): Likewise.
20566         (asin_test_upward): Likewise.
20567         (asinh_test): Likewise.
20568         (atan_test): Likewise.
20569         (atanh_test): Likewise.
20570         (atan2_test): Likewise.
20571         (cabs_test): Likewise.
20572         (cacos_test): Likewise.
20573         (cacosh_test): Likewise.
20574         (casin_test): Likewise.
20575         (casinh_test): Likewise.
20576         (catan_test): Likewise.
20577         (catanh_test): Likewise.
20578         (cbrt_test): Likewise.
20579         (ccos_test): Likewise.
20580         (ccosh_test): Likewise.
20581         (cexp_test): Likewise.
20582         (clog_test): Likewise.
20583         (clog10_test): Likewise.
20584         (cos_test): Likewise.
20585         (cos_test_tonearest): Likewise.
20586         (cos_test_towardzero): Likewise.
20587         (cos_test_downward): Likewise.
20588         (cos_test_upward): Likewise.
20589         (cosh_test): Likewise.
20590         (cosh_test_tonearest): Likewise.
20591         (cosh_test_towardzero): Likewise.
20592         (cosh_test_downward): Likewise.
20593         (cosh_test_upward): Likewise.
20594         (cpow_test): Likewise.
20595         (csin_test): Likewise.
20596         (csinh_test): Likewise.
20597         (csqrt_test): Likewise.
20598         (ctan_test): Likewise.
20599         (ctan_test_tonearest): Likewise.
20600         (ctan_test_towardzero): Likewise.
20601         (ctan_test_downward): Likewise.
20602         (ctan_test_upward): Likewise.
20603         (ctanh_test): Likewise.
20604         (ctanh_test_tonearest): Likewise.
20605         (ctanh_test_towardzero): Likewise.
20606         (ctanh_test_downward): Likewise.
20607         (ctanh_test_upward): Likewise.
20608         (erf_test): Likewise.
20609         (erfc_test): Likewise.
20610         (exp_test): Likewise.
20611         (exp_test_tonearest): Likewise.
20612         (exp_test_towardzero): Likewise.
20613         (exp_test_downward): Likewise.
20614         (exp_test_upward): Likewise.
20615         (exp10_test): Likewise.
20616         (exp2_test): Likewise.
20617         (expm1_test): Likewise.
20618         (fmod_test): Likewise.
20619         (gamma_test): Likewise.
20620         (hypot_test): Likewise.
20621         (j0_test): Likewise.
20622         (j1_test): Likewise.
20623         (jn_test): Likewise.
20624         (lgamma_test): Likewise.
20625         (log_test): Likewise.
20626         (log10_test): Likewise.
20627         (log1p_test): Likewise.
20628         (log2_test): Likewise.
20629         (logb_test_downward): Likewise.
20630         (pow_test): Likewise.
20631         (pow_test_tonearest): Likewise.
20632         (pow_test_towardzero): Likewise.
20633         (pow_test_downward): Likewise.
20634         (pow_test_upward): Likewise.
20635         (remainder_test): Likewise.
20636         (remquo_test): Likewise.
20637         (sin_test): Likewise.
20638         (sin_test_tonearest): Likewise.
20639         (sin_test_towardzero): Likewise.
20640         (sin_test_downward): Likewise.
20641         (sin_test_upward): Likewise.
20642         (sincos_test): Likewise.
20643         (sinh_test): Likewise.
20644         (sinh_test_tonearest): Likewise.
20645         (sinh_test_towardzero): Likewise.
20646         (sinh_test_downward): Likewise.
20647         (sinh_test_upward): Likewise.
20648         (sqrt_test): Likewise.
20649         (tan_test): Likewise.
20650         (tan_test_tonearest): Likewise.
20651         (tan_test_towardzero): Likewise.
20652         (tan_test_downward): Likewise.
20653         (tan_test_upward): Likewise.
20654         (tanh_test): Likewise.
20655         (tgamma_test): Likewise.
20656         (y0_test): Likewise.
20657         (y1_test): Likewise.
20658         (yn_test): Likewise.
20659
20660         * math/gen-libm-test.pl (adjust_arg): Remove function.
20661         (special_function): Remove argument $in_func.  Only handle
20662         generating output for tables of tests, not inside functions.
20663         (parse_args): Likewise.
20664         (generate_testfile): Remove variable $in_func.  Update call to
20665         parse_args.
20666         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20667         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20668         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20669         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20670         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20671         (MAX_VALUE_INIT): Rename macro to max_value.
20672         (MIN_VALUE_INIT): Rename macro to min_value.
20673         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20674         (plus_zero): Remove variable.
20675         (minus_zero): Likewise.
20676         (plus_infty): Likewise.
20677         (minus_infty): Likewise.
20678         (qnan_value): Likewise.
20679         (max_value): Likewise.
20680         (min_value): Likewise.
20681         (min_subnorm_value): Likewise.
20682
20683 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20684
20685         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20686         uint64_t or uint32_t usage.
20687         * crypt/sha256-block.c: Likewise.
20688         * crypt/sha256-crypt.c: Likewise.
20689         * crypt/sha256.c: Likewise.
20690         * crypt/sha512-block.c: Likewise.
20691         * crypt/sha512-crypt.c: Likewise.
20692         * crypt/sha512.c: Likewise.
20693         * debug/backtrace-tst.c: Likewise.
20694         * debug/pcprofiledump.c: Likewise.
20695         * elf/cache.c: Likewise.
20696         * elf/dl-cache.c: Likewise.
20697         * elf/dl-misc.c: Likewise.
20698         * elf/dl-profile.c: Likewise.
20699         * elf/dl-support.c: Likewise.
20700         * elf/ldconfig.c: Likewise.
20701         * elf/sprof.c: Likewise.
20702         * iconv/dummy-repertoire.c: Likewise.
20703         * iconv/iconv_charmap.c: Likewise.
20704         * iconv/skeleton.c: Likewise.
20705         * iconvdata/8bit-generic.c: Likewise.
20706         * iconvdata/cp737.h: Likewise.
20707         * iconvdata/cp775.h: Likewise.
20708         * iconvdata/ibm1008.h: Likewise.
20709         * iconvdata/ibm1025.h: Likewise.
20710         * iconvdata/ibm1046.h: Likewise.
20711         * iconvdata/ibm1097.h: Likewise.
20712         * iconvdata/ibm1112.h: Likewise.
20713         * iconvdata/ibm1122.h: Likewise.
20714         * iconvdata/ibm1123.h: Likewise.
20715         * iconvdata/ibm1124.h: Likewise.
20716         * iconvdata/ibm1129.h: Likewise.
20717         * iconvdata/ibm1130.h: Likewise.
20718         * iconvdata/ibm1132.h: Likewise.
20719         * iconvdata/ibm1133.h: Likewise.
20720         * iconvdata/ibm1137.h: Likewise.
20721         * iconvdata/ibm1140.h: Likewise.
20722         * iconvdata/ibm1141.h: Likewise.
20723         * iconvdata/ibm1142.h: Likewise.
20724         * iconvdata/ibm1143.h: Likewise.
20725         * iconvdata/ibm1144.h: Likewise.
20726         * iconvdata/ibm1145.h: Likewise.
20727         * iconvdata/ibm1146.h: Likewise.
20728         * iconvdata/ibm1147.h: Likewise.
20729         * iconvdata/ibm1148.h: Likewise.
20730         * iconvdata/ibm1149.h: Likewise.
20731         * iconvdata/ibm1153.h: Likewise.
20732         * iconvdata/ibm1154.h: Likewise.
20733         * iconvdata/ibm1155.h: Likewise.
20734         * iconvdata/ibm1156.h: Likewise.
20735         * iconvdata/ibm1157.h: Likewise.
20736         * iconvdata/ibm1158.h: Likewise.
20737         * iconvdata/ibm1160.h: Likewise.
20738         * iconvdata/ibm1161.h: Likewise.
20739         * iconvdata/ibm1162.h: Likewise.
20740         * iconvdata/ibm1163.h: Likewise.
20741         * iconvdata/ibm1164.h: Likewise.
20742         * iconvdata/ibm1166.h: Likewise.
20743         * iconvdata/ibm1167.h: Likewise.
20744         * iconvdata/ibm12712.h: Likewise.
20745         * iconvdata/ibm1390.h: Likewise.
20746         * iconvdata/ibm1399.h: Likewise.
20747         * iconvdata/ibm16804.h: Likewise.
20748         * iconvdata/ibm4517.h: Likewise.
20749         * iconvdata/ibm4899.h: Likewise.
20750         * iconvdata/ibm4909.h: Likewise.
20751         * iconvdata/ibm4971.h: Likewise.
20752         * iconvdata/ibm5347.h: Likewise.
20753         * iconvdata/ibm803.h: Likewise.
20754         * iconvdata/ibm856.h: Likewise.
20755         * iconvdata/ibm901.h: Likewise.
20756         * iconvdata/ibm902.h: Likewise.
20757         * iconvdata/ibm9030.h: Likewise.
20758         * iconvdata/ibm9066.h: Likewise.
20759         * iconvdata/ibm921.h: Likewise.
20760         * iconvdata/ibm922.h: Likewise.
20761         * iconvdata/ibm9448.h: Likewise.
20762         * iconvdata/isiri-3342.h: Likewise.
20763         * iconvdata/jis0201.h: Likewise.
20764         * include/link.h: Likewise.
20765         * include/netdb.h: Likewise.
20766         * inet/check_native.c: Likewise.
20767         * inet/check_pf.c: Likewise.
20768         * inet/getipv4sourcefilter.c: Likewise.
20769         * inet/getnameinfo.c: Likewise.
20770         * inet/getsourcefilter.c: Likewise.
20771         * inet/htonl.c: Likewise.
20772         * inet/setipv4sourcefilter.c: Likewise.
20773         * inet/setsourcefilter.c: Likewise.
20774         * inet/test-inet6_opt.c: Likewise.
20775         * inet/tst-network.c: Likewise.
20776         * locale/C-collate.c: Likewise.
20777         * locale/C-ctype.c: Likewise.
20778         * locale/C-time.c: Likewise.
20779         * locale/C-translit.h: Likewise.
20780         * locale/loadarchive.c: Likewise.
20781         * locale/programs/3level.h: Likewise.
20782         * locale/programs/charmap.c: Likewise.
20783         * locale/programs/charmap.h: Likewise.
20784         * locale/programs/ld-address.c: Likewise.
20785         * locale/programs/ld-collate.c: Likewise.
20786         * locale/programs/ld-ctype.c: Likewise.
20787         * locale/programs/ld-identification.c: Likewise.
20788         * locale/programs/ld-measurement.c: Likewise.
20789         * locale/programs/ld-messages.c: Likewise.
20790         * locale/programs/ld-monetary.c: Likewise.
20791         * locale/programs/ld-name.c: Likewise.
20792         * locale/programs/ld-numeric.c: Likewise.
20793         * locale/programs/ld-paper.c: Likewise.
20794         * locale/programs/ld-telephone.c: Likewise.
20795         * locale/programs/ld-time.c: Likewise.
20796         * locale/programs/linereader.c: Likewise.
20797         * locale/programs/locale.c: Likewise.
20798         * locale/programs/locarchive.c: Likewise.
20799         * locale/programs/locfile.h: Likewise.
20800         * locale/programs/repertoire.c: Likewise.
20801         * locale/programs/simple-hash.c: Likewise.
20802         * locale/programs/simple-hash.h: Likewise.
20803         * malloc/memusage.c: Likewise.
20804         * malloc/memusagestat.c: Likewise.
20805         * nis/nis_defaults.c: Likewise.
20806         * nis/nis_hash.c: Likewise.
20807         * nis/nis_print.c: Likewise.
20808         * nis/nis_xdr.c: Likewise.
20809         * nscd/connections.c: Likewise.
20810         * nscd/hstcache.c: Likewise.
20811         * nscd/nscd_gethst_r.c: Likewise.
20812         * nscd/nscd_getserv_r.c: Likewise.
20813         * nscd/nscd_helper.c: Likewise.
20814         * nscd/servicescache.c: Likewise.
20815         * nss/makedb.c: Likewise.
20816         * nss/nss_db/db-XXX.c: Likewise.
20817         * nss/nss_db/db-initgroups.c: Likewise.
20818         * nss/nss_db/db-netgrp.c: Likewise.
20819         * nss/nss_files/files-network.c: Likewise.
20820         * nss/nss_files/files-parse.c: Likewise.
20821         * posix/bug-regex5.c: Likewise.
20822         * posix/fnmatch_loop.c: Likewise.
20823         * posix/regcomp.c: Likewise.
20824         * posix/regexec.c: Likewise.
20825         * posix/tst-rfc3484-2.c: Likewise.
20826         * posix/tst-rfc3484-3.c: Likewise.
20827         * posix/tst-rfc3484.c: Likewise.
20828         * resolv/nss_dns/dns-canon.c: Likewise.
20829         * resolv/nss_dns/dns-network.c: Likewise.
20830         * resolv/res_init.c: Likewise.
20831         * resolv/res_mkquery.c: Likewise.
20832         * resolv/tst-aton.c: Likewise.
20833         * stdlib/cxa_atexit.c: Likewise.
20834         * stdlib/cxa_finalize.c: Likewise.
20835         * stdlib/gen-fpioconst.c: Likewise.
20836         * stdlib/strtol_l.c: Likewise.
20837         * string/tst-endian.c: Likewise.
20838         * sunrpc/auth_des.c: Likewise.
20839         * sunrpc/clnt_udp.c: Likewise.
20840         * sunrpc/rtime.c: Likewise.
20841         * sunrpc/svcauth_des.c: Likewise.
20842         * sunrpc/xdr.c: Likewise.
20843         * sunrpc/xdr_intXX_t.c: Likewise.
20844         * sunrpc/xdr_rec.c: Likewise.
20845         * sysdeps/generic/ldconfig.h: Likewise.
20846         * sysdeps/generic/ldsodefs.h: Likewise.
20847         * sysdeps/generic/memusage.h: Likewise.
20848         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20849         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20850         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20851         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20852         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20853         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20854         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20855         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20856         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20857         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20858         * sysdeps/posix/getaddrinfo.c: Likewise.
20859         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20860         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20861         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20862         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20863         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20864         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20865         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20866         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20867         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20868         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20869         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20870         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20871         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20872         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20873         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20874         * sysdeps/x86_64/dl-tls.h: Likewise.
20875         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20876         * time/alt_digit.c: Likewise.
20877         * time/era.c: Likewise.
20878         * wcsmbs/tst-c16c32-1.c: Likewise.
20879
20880 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20881
20882         * math/libm-test.inc (struct test_sincos_data): New type.
20883         (RUN_TEST_LOOP_sincos): New macro.
20884         (sincos_test_data): New variable.
20885         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20886
20887 2013-05-16  Richard Henderson  <rth@redhat.com>
20888
20889         * math/atest-exp2.c (LIMB64): New macro.
20890         (CONSTSZ): New macro.
20891         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20892         (hexdig): Move ...
20893         (print_mpn_fp): ... to function scope.
20894         (read_mpn_hex): Remove.
20895         (get_log2): Remove.
20896         (exp2_mpn): Use mp_log2.
20897         (main): Use mp_exp1.
20898
20899 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20900
20901         * math/libm-test.inc: Remove comment about not testing "inexact"
20902         exceptions.
20903         (INEXACT_EXCEPTION): New macro.
20904         (NO_INEXACT_EXCEPTION): Likewise.
20905         (INVALID_EXCEPTION_OK): Update value.
20906         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20907         (OVERFLOW_EXCEPTION_OK): Likewise.
20908         (UNDERFLOW_EXCEPTION_OK): Likewise.
20909         (IGNORE_ZERO_INF_SIGN): Likewise.
20910         (ERRNO_UNCHANGED): Likewise.
20911         (ERRNO_EDOM): Likewise.
20912         (ERRNO_ERANGE): Likewise.
20913         (test_exceptions): Handle testing "inexact" exceptions.
20914         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20915         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20916         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20917         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20918         INEXACT_EXCEPTION.
20919         (rint_towardzero_test_data): Likewise.
20920         (rint_downward_test_data): Likewise.
20921         (rint_upward_test_data): Likewise.
20922
20923         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20924         with OVERFLOW_EXCEPTION.
20925         (exp10_test_data): Likewise.
20926         (exp2_test_data): Likewise.
20927         (expm1_test_data): Likewise.
20928         (lgamma_test_data): Likewise.
20929         (pow_test_data): Likewise.
20930         (tgamma_test_data): Likewise.
20931         (yn_test_data): Remove duplicate test of overflow.
20932
20933         * math/libm-test.inc (struct test_cc_c_data): New type.
20934         (RUN_TEST_LOOP_cc_c): New macro.
20935         (cpow_test_data): New variable.
20936         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20937
20938         * math/libm-test.inc (struct test_f_L_data): New type.
20939         (RUN_TEST_LOOP_f_L): New macro.
20940         (llrint_test_data): New variable.
20941         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20942         (llrint_tonearest_test_data): New variable.
20943         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20944         (llrint_towardzero_test_data): New variable.
20945         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20946         (llrint_downward_test_data): New variable.
20947         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20948         (llrint_upward_test_data): New variable.
20949         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20950         (llround_test_data): New variable.
20951         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20952
20953 2013-05-13  Peter Collingbourne  <pcc@google.com>
20954
20955         * math/atest-exp2.c (get_log2): Remove const attribute.
20956
20957 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20958
20959         * math/libm-test.inc (struct test_f_l_data): New type.
20960         (RUN_TEST_LOOP_f_l): New macro.
20961         (lrint_test_data): New variable.
20962         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20963         (lrint_tonearest_test_data): New variable.
20964         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20965         (lrint_towardzero_test_data): New variable.
20966         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20967         (lrint_downward_test_data): New variable.
20968         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20969         (lrint_upward_test_data): New variable.
20970         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20971         (lround_test_data): New variable.
20972         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20973
20974 2013-05-15  Peter Collingbourne  <pcc@google.com>
20975
20976         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20977         (EXTRACT_WORDS64) Use where appropriate.
20978         (INSERT_WORDS64) Likewise.
20979
20980         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20981         constraints with x constraints.
20982         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20983
20984         * malloc/obstack.c (_obstack_compat): Add initializer.
20985
20986 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20987
20988         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20989         si_trapno and add si_addr_lsb to _sifields.sigfault.
20990         (si_trapno): Remove macro.
20991         (si_addr_lsb): Define new macro.
20992         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20993
20994 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20995
20996         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20997         instead of TEST_f_l.
20998         (llrint_test_tonearest): Likewise.
20999         (llrint_test_towardzero): Likewise.
21000         (llrint_test_downward): Likewise.
21001         (llrint_test_upward): Likewise.
21002         (llround_test): Likewise.
21003
21004         * math/libm-test.inc (struct test_f_i_data): Add comment.
21005         (RUN_TEST_LOOP_f_b): New macro.
21006         (RUN_TEST_LOOP_f_b_tg): Likewise.
21007         (finite_test_data): New variable.
21008         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21009         (isfinite_test_data): New variable.
21010         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21011         (isinf_test_data): New variable.
21012         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21013         (isnan_test_data): New variable.
21014         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21015         (isnormal_test_data): New variable.
21016         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21017         (issignaling_test_data): New variable.
21018         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21019         (signbit_test_data): New variable.
21020         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21021
21022         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21023         with INVALID_EXCEPTION.
21024         (acosh_test_data): Likewise.
21025         (asin_test_data): Likewise.
21026         (atanh_test_data): Likewise.
21027         (fmod_test_data): Likewise.
21028         (log_test_data): Likewise.
21029         (log10_test_data): Likewise.
21030         (log2_test_data): Likewise.
21031         (pow_test_data): Likewise.
21032         (sqrt_test_data): Likewise.
21033         (y0_test_data): Likewise.
21034         (y1_test_data): Likewise.
21035         (yn_test_data): Likewise.
21036
21037         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21038         function contents.
21039
21040         * math/libm-test.inc (struct test_ff_i_data): New type.
21041         (RUN_TEST_LOOP_ff_i_tg): New macro.
21042         (isgreater_test_data): New variable.
21043         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21044         (isgreaterequal_test_data): New variable.
21045         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21046         (isless_test_data): New variable.
21047         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21048         (islessequal_test_data): New variable.
21049         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21050         (islessgreater_test_data): New variable.
21051         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21052         (isunordered_test_data): New variable.
21053         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21054
21055 2013-05-14  David S. Miller  <davem@davemloft.net>
21056
21057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21058
21059 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21060
21061         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21062
21063         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21064         extra_test to int.
21065         (struct test_f_i_data): Change type of max_ulp to int.
21066
21067         * math/libm-test.inc (test_ffI_f1_data): New type.
21068         (RUN_TEST_LOOP_ffI_f1): New macro.
21069         (remquo_test_data): New variable.
21070         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21071
21072         * setjmp/tst-setjmp-fp.c: New file.
21073         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21074         (link-libm): New variable.
21075         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21076
21077         * math/libm-test.inc (struct test_f_i_data): New type.
21078         (RUN_TEST_LOOP_f_i): New macro.
21079         (RUN_TEST_LOOP_f_i_tg): Likewise.
21080         (fpclassify_test_data): New variable.
21081         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21082         (ilogb_test_data): New variable.
21083         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21084
21085         * math/libm-test.inc (scalbln_test): Correct function name in END
21086         call.
21087
21088         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21089         (RUN_TEST_LOOP_fI_f1): New macro.
21090         (frexp_test_data): New variable.
21091         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21092
21093         * math/libm-test.inc (struct test_fF_f1_data): New type.
21094         (RUN_TEST_LOOP_fF_f1): New macro.
21095         (modf_test_data): New variable.
21096         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21097
21098         * math/libm-test.inc (struct test_f_f1_data): New type.
21099         (RUN_TEST_LOOP_f_f1): New macro.
21100         (gamma_test_data): New variable.
21101         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21102         (lgamma_test_data): New variable.
21103         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21104
21105 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21106
21107         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21108         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21109         (main): Comment "tls" pseudo-hwcap.
21110
21111 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21112
21113         * math/libm-test.inc (struct test_fl_f_data): New type.
21114         (RUN_TEST_LOOP_fl_f): New variable.
21115         (scalbln_test_data): New variable.
21116         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21117
21118         * math/libm-test.inc (struct test_fi_f_data): New type.
21119         (RUN_TEST_LOOP_fi_f): New macro.
21120         (ldexp_test_data): New variable.
21121         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21122         (scalbn_test_data): New variable.
21123         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21124
21125         * math/libm-test.inc (struct test_c_f_data): New type.
21126         (RUN_TEST_LOOP_c_f): New macro.
21127         (cabs_test_data): New variable.
21128         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21129         (carg_test_data): New variable.
21130         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21131         (cimag_test_data): New variable.
21132         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21133         (creal_test_data): New variable.
21134         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21135
21136         * math/libm-test.inc (struct test_if_f_data): New type.
21137         (RUN_TEST_LOOP_if_f): New macro.
21138         (jn_test_data): New variable.
21139         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21140         (yn_test_data): New variable.
21141         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21142
21143         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21144
21145 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21146
21147         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21148         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21149
21150 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21151
21152         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21153         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21154         (bench-deps): Add bench-timing.h.
21155         * benchtests-bench-skeleton.c: Include bench-timing.h.
21156         (main): Use TIMING_* macros instead of clock_gettime.
21157         * benchtests/bench-timing.h: New file.
21158
21159         [BZ #14582]
21160         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21161         Renamed from _LIB_VERSION.
21162         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21163
21164 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21165
21166         * math/libm-test.inc (struct test_fff_f_data): New type.
21167         (RUN_TEST_LOOP_fff_f): New macro.
21168         (fma_test_data): New variable.
21169         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21170         (fma_towardzero_test_data): New variable.
21171         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21172         (fma_downward_test_data): New variable.
21173         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21174         (fma_upward_test_data): New variable.
21175         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21176
21177         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21178         (struct test_c_c_data): New type.
21179         (RUN_TEST_LOOP_c_c): New macro.
21180         (cacos_test_data): New variable.
21181         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21182         (cacosh_test_data): New variable.
21183         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21184         (casin_test_data): New variable.
21185         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21186         (casinh_test_data): New variable.
21187         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21188         (catan_test_data): New variable.
21189         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21190         (catanh_test_data): New variable.
21191         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21192         (ccos_test_data): New variable.
21193         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21194         (ccosh_test_data): New variable.
21195         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21196         (cexp_test_data): New variable.
21197         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21198         (clog_test_data): New variable.
21199         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21200         (clog10_test_data): New variable.
21201         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21202         (conj_test_data): New variable.
21203         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21204         (cproj_test_data): New variable.
21205         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21206         (csin_test_data): New variable.
21207         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21208         (csinh_test_data): New variable.
21209         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21210         (csqrt_test_data): New variable.
21211         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21212         (ctan_test_data): New variable.
21213         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21214         (ctan_tonearest_test_data): New variable.
21215         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21216         (ctan_towardzero_test_data): New variable.
21217         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21218         (ctan_downward_test_data): New variable.
21219         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21220         (ctan_upward_test_data): New variable.
21221         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21222         (ctanh_test_data): New variable.
21223         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21224         (ctanh_tonearest_test_data): New variable.
21225         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21226         (ctanh_towardzero_test_data): New variable.
21227         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21228         (ctanh_downward_test_data): New variable.
21229         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21230         (ctanh_upward_test_data): New variable.
21231         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21232         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21233         of BUILD_COMPLEX.
21234
21235         * math/libm-test.inc (struct test_ff_f_data): New type.
21236         (struct test_ff_f_data_nexttoward): Likewise.
21237         (RUN_TEST_LOOP_2_f): New macro.
21238         (RUN_TEST_LOOP_ff_f): Likewise.
21239         (atan2_test_data): New variable.
21240         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21241         (copysign_test_data): New variable.
21242         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21243         (fdim_test_data): New variable.
21244         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21245         (fmax_test_data): New variable.
21246         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21247         (fmin_test_data): New variable.
21248         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21249         (fmod_test_data): New variable.
21250         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21251         (hypot_test_data): New variable.
21252         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21253         (nextafter_test_data): New variable.
21254         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21255         (nexttoward_test_data): New variable.
21256         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21257         (pow_test_data): New variable.
21258         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21259         (pow_tonearest_test_data): New variable.
21260         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21261         (pow_towardzero_test_data): New variable.
21262         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21263         (pow_downward_test_data): New variable.
21264         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21265         (pow_upward_test_data): New variable.
21266         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21267         (remainder_test_data): New variable.
21268         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21269         (scalb_test_data): New variable.
21270         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21271         * sysdeps/i386/fpu/libm-test-ulps: Update.
21272
21273 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21274
21275         * math/libm-test.inc (fma_test): Use max_value instead of local
21276         variable fltmax.
21277         (nextafter_test): Likewise.
21278
21279         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21280         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21281         (acos_downward_test_data): New variable.
21282         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21283         (acos_upward_test_data): New variable.
21284         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21285         (acosh_test_data): New variable.
21286         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21287         (asin_test_data): New variable.
21288         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21289         (asin_tonearest_test_data): New variable.
21290         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21291         (asin_towardzero_test_data): New variable.
21292         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21293         (asin_downward_test_data): New variable.
21294         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21295         (asin_upward_test_data): New variable.
21296         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21297         (asinh_test_data): New variable.
21298         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21299         (atan_test_data): New variable.
21300         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21301         (atanh_test_data): New variable.
21302         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21303         (cbrt_test_data): New variable.
21304         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21305         (ceil_test_data): New variable.
21306         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21307         (cos_test_data): New variable.
21308         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21309         (cos_tonearest_test_data): New variable.
21310         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21311         (cos_towardzero_test_data): New variable.
21312         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21313         (cos_downward_test_data): New variable.
21314         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21315         (cos_upward_test_data): New variable.
21316         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21317         (cosh_test_data): New variable.
21318         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21319         (cosh_tonearest_test_data): New variable.
21320         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21321         (cosh_towardzero_test_data): New variable.
21322         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21323         (cosh_downward_test_data): New variable.
21324         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21325         (cosh_upward_test_data): New variable.
21326         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21327         (erf_test_data): New variable.
21328         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21329         (erfc_test_data): New variable.
21330         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21331         (exp_test_data): New variable.
21332         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21333         (exp_tonearest_test_data): New variable.
21334         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21335         (exp_towardzero_test_data): New variable.
21336         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21337         (exp_downward_test_data): New variable.
21338         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21339         (exp_upward_test_data): New variable.
21340         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21341         (exp10_test_data): New variable.
21342         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21343         (exp2_test_data): New variable.
21344         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21345         (expm1_test_data): New variable.
21346         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21347         (fabs_test_data): New variable.
21348         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21349         (floor_test_data): New variable.
21350         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21351         (j0_test_data): New variable.
21352         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21353         (j1_test_data): New variable.
21354         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21355         (log_test_data): New variable.
21356         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21357         (log10_test_data): New variable.
21358         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21359         (log1p_test_data): New variable.
21360         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21361         (log2_test_data): New variable.
21362         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21363         (logb_test_data): New variable.
21364         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21365         (logb_downward_test_data): New variable.
21366         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21367         (nearbyint_test_data): New variable.
21368         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21369         (rint_test_data): New variable.
21370         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21371         (rint_tonearest_test_data): New variable.
21372         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21373         (rint_towardzero_test_data): New variable.
21374         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21375         (rint_downward_test_data): New variable.
21376         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21377         (rint_upward_test_data): New variable.
21378         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21379         (round_test_data): New variable.
21380         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21381         (sin_test_data): New variable.
21382         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21383         (sin_tonearest_test_data): New variable.
21384         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21385         (sin_towardzero_test_data): New variable.
21386         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21387         (sin_downward_test_data): New variable.
21388         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21389         (sin_upward_test_data): New variable.
21390         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21391         (sinh_test_data): New variable.
21392         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21393         (sinh_tonearest_test_data): New variable.
21394         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21395         (sinh_towardzero_test_data): New variable.
21396         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21397         (sinh_downward_test_data): New variable.
21398         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21399         (sinh_upward_test_data): New variable.
21400         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21401         (sqrt_test_data): New variable.
21402         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21403         (tan_test_data): New variable.
21404         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21405         (tan_tonearest_test_data): New variable.
21406         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21407         (tan_towardzero_test_data): New variable.
21408         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21409         (tan_downward_test_data): New variable.
21410         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21411         (tan_upward_test_data): New variable.
21412         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21413         (tanh_test_data): New variable.
21414         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21415         (tgamma_test_data): New variable.
21416         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21417         (trunc_test_data): New variable.
21418         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21419         (y0_test_data): New variable.
21420         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21421         (y1_test_data): New variable.
21422         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21423         (significand_test_data): New variable.
21424         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21425
21426 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21427
21428         [BZ #12387]
21429         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21430
21431 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21432
21433         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21434
21435 2013-05-10  Andreas Jaeger  <aj@suse.de>
21436
21437         [BZ #15448]
21438         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21439         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21440
21441 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21442
21443         * math/gen-libm-test.pl (adjust_arg): New function.
21444         (special_functions): Handle generating output in both functions
21445         and arrays.
21446         (parse_args): Likewise.
21447         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21448         $in_func argument to parse_args.
21449         * math/libm-test.inc (struct test_f_f_data): New type.
21450         (IF_ROUND_INIT_): New macro.
21451         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21452         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21453         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21454         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21455         (ROUND_RESTORE_): Likewise.
21456         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21457         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21458         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21459         (ROUND_RESTORE_FE_UPWARD): Likewise.
21460         (RUN_TEST_LOOP_f_f): New macro.
21461         (acos_test_data): New variable.
21462         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21463         (acos_tonearest_test_data): New variable.
21464         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21465
21466 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21467
21468         * benchtests/bench-skeleton.c (startup): Fix coding style.
21469
21470 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21471
21472         [BZ #6809]
21473         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21474         negative infinity argument.
21475         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21476         negative infinity argument.
21477         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21478         negative infinity argument.
21479         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21480         domain errors.
21481
21482 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21483
21484         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21485         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21486         * iconv/iconv_prog.c (main): Likewise.
21487         * locale/programs/charmap-dir.c (charmap_readdir)
21488         (fopen_uncompressed): Likewise.
21489         * locale/programs/locfile.c (siblings_uncached)
21490         (write_locale_data): Use lstat64 instead of lstat.
21491         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21492         stat.
21493
21494 2013-05-10  Andreas Jaeger  <aj@suse.de>
21495
21496         [BZ #15395]
21497         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21498         localization.
21499         Include <locale.h>.
21500
21501 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21502
21503         * elf/dl-close.c (_dl_close_worker): Add comments.
21504
21505 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21506
21507         [BZ #15359]
21508         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21509         high part of pi/2.
21510         (__ieee754_rem_pio2l): Update comments.
21511
21512         [BZ #15429]
21513         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21514         high part of pi/2.
21515         (__ieee754_rem_pio2l): Update comments.
21516
21517         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21518         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21519
21520         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21521         M_PI_4l.
21522
21523         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21524         (M_PI_34_LOG10El): Likewise.
21525         (M_PI2_LOG10El): Likewise.
21526         (M_PI4_LOG10El): Likewise.
21527         (M_PI_LOG10El): Likewise.
21528
21529 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21530
21531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21532
21533 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21534
21535         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21536         (MINUS_ZERO_INIT): Likewise.
21537         (PLUS_INFTY_INIT): Likewise.
21538         (MINUS_INFTY_INIT): Likewise.
21539         (QNAN_VALUE_INIT): Likewise.
21540         (MAX_VALUE_INIT): Likewise.
21541         (MIN_VALUE_INIT): Likewise.
21542         (MIN_SUBNORM_VALUE_INIT): Likewise.
21543         (plus_zero): Initialize with PLUS_ZERO_INIT.
21544         (minus_zero): Initialize with MINUS_ZERO_INIT.
21545         (plus_infty): Initialize with PLUS_INFTY_INIT.
21546         (minus_infty): Initialize with MINUS_INFTY_INIT.
21547         (qnan_value): Initialize with QNAN_VALUE_INIT.
21548         (max_value): Initialize with MAX_VALUE_INIT.
21549         (min_value): Initialize with MIN_VALUE_INIT.
21550         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21551
21552         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21553         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21554         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21555         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21556
21557         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21558         (RUN_TEST_2_f): Likewise.
21559         (RUN_TEST_ff_f): Likewise.
21560         (RUN_TEST_fi_f): Likewise.
21561         (RUN_TEST_fl_f): Likewise.
21562         (RUN_TEST_fff_f): Likewise.
21563         (RUN_TEST_c_f): Likewise.
21564         (RUN_TEST_f_f1): Likewise.
21565         (RUN_TEST_fF_f1): Likewise.
21566         (RUN_TEST_fI_f1): Likewise.
21567         (RUN_TEST_ffI_f1): Likewise.
21568         (RUN_TEST_c_c): Likewise.
21569         (RUN_TEST_cc_c): Likewise.
21570         (RUN_TEST_f_i): Likewise.
21571         (RUN_TEST_f_i_tg): Likewise.
21572         (RUN_TEST_ff_i_tg): Likewise.
21573         (RUN_TEST_f_b): Likewise.
21574         (RUN_TEST_f_b_tg): Likewise.
21575         (RUN_TEST_f_l): Likewise.
21576         (RUN_TEST_f_L): Likewise.
21577         (RUN_TEST_sincos): Likewise.
21578         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21579         whether to show exceptions.  Do not include ");\n" in return
21580         value.
21581         (special_functions): Output call to RUN_TEST_sincos instead of
21582         check_float calls.  Update calls to new_test.
21583         (parse_args): Output call to single RUN_TEST_* macro instead of
21584         check_* calls and other assignments.  Update calls to new_test.
21585
21586         [BZ #2546]
21587         [BZ #2560]
21588         [BZ #5159]
21589         [BZ #15426]
21590         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21591         input to result for tgamma overflow.
21592         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21593         (gamma_coeff): New variable.
21594         (NCOEFF): New macro.
21595         (gamma_positive): New function.
21596         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21597         underflow here.  Use gamma_positive instead of exp (lgamma) for
21598         other arguments.
21599         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21600         (gamma_coeff): New variable.
21601         (NCOEFF): New macro.
21602         (gammaf_positive): New function.
21603         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21604         underflow here.  Use gamma_positive instead of exp (lgamma) for
21605         other arguments.
21606         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21607         (gamma_coeff): New variable.
21608         (NCOEFF): New macro.
21609         (gammal_positive): New function.
21610         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21611         underflow here.  Use gamma_positive instead of exp (lgamma) for
21612         other arguments.
21613         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21614         (gamma_coeff): New variable.
21615         (NCOEFF): New macro.
21616         (gammal_positive): New function.
21617         (__ieee754_gammal_r): Handle positive infinity, overflow and
21618         underflow here.  Handle NaN the same as positive infinity.  Remove
21619         check x < 0xffffffff for negative integers.  Use gamma_positive
21620         instead of exp (lgamma) for other arguments.
21621         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21622         (gamma_coeff): New variable.
21623         (NCOEFF): New macro.
21624         (gammal_positive): New function.
21625         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21626         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21627         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21628         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21629         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21630         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21631         * sysdeps/generic/math_private.h (__gamma_productf): New
21632         prototype.
21633         (__gamma_product): Likewise.
21634         (__gamma_productl): Likewise.
21635         * math/Makefile (libm-calls): Add gamma_product.
21636         * math/libm-test.inc (tgamma_test): Add more tests.
21637         * sysdeps/i386/fpu/libm-test-ulps: Update.
21638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21639
21640 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21641
21642         * benchtests/bench-skeleton.c (main): Preheat CPU.
21643
21644 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21645
21646         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21647
21648 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21649
21650         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21651         and _dl_skip_args_internal.
21652
21653 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21654
21655         * manual/message.texi (Message Translation): Talk about users.
21656         Message to key mapping impacts design.
21657
21658 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21659
21660         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21661
21662         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21663
21664         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21665         * sysdeps/wordsize-64/glob64.c: ... here.
21666
21667         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21668         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21669         New macros.
21670
21671         * debug/getlogin_r_chk.c: Moved to ...
21672         * login/getlogin_r_chk.c: ... here.
21673         * debug/Makefile (routines): Move getlogin_r_chk to ...
21674         * login/Makefile (routines): ... here.
21675         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21676         * login/Versions (libc: GLIBC_2.4): ... here.
21677
21678         * io/poll.c (__poll): Renamed from poll.
21679         Add libc_hidden_def.
21680         (poll): Define as weak alias.
21681
21682         * debug/ptsname_r_chk.c: Moved to ...
21683         * login/ptsname_r_chk.c: ... here.
21684         * debug/Makefile (routines): Move ptsname_r_chk to ...
21685         * login/Makefile (routines): ... here.
21686         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21687         * login/Versions (libc: GLIBC_2.4): ... here.
21688
21689         * posix/getlogin.c: Moved to ...
21690         * login/getlogin.c: ... here.
21691         * posix/getlogin_r.c: Moved to ...
21692         * login/getlogin_r.c: ... here.
21693         * posix/getlogin_r.c: Moved to ...
21694         * login/getlogin_r.c: ... here.
21695         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21696         * login/Makefile (routines): ... here.
21697         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21698         * login/Versions (libc: GLIBC_2.0): ... here.
21699
21700         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21701         (setrlimit): Define as weak alias.
21702
21703         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21704         Call __ names for open, ftruncate, and close.
21705         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21706         (truncate): Define as weak alias.
21707
21708 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21709
21710         * math/gen-libm-test.pl (parse_args): Initialize x before each
21711         test of frexp, modf and remquo.
21712
21713         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21714         test signgam value.
21715
21716 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21717
21718         [BZ #15418]
21719         [BZ #15419]
21720         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21721         internal tests.
21722         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21723
21724 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21725
21726         * elf/dl-writev.h: New file.
21727         * elf/dl-misc.c: Include it.
21728         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21729         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21730
21731 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21732
21733         * math/libm-test.inc (noXFails): Remove variable.
21734         (noXPasses): Likewise.
21735         (BUILD_COMPLEX_INT): Remove macro.
21736         (print_screen): Remove xfail argument.
21737         (print_screen_max_error): Likewise.
21738         (update_stats): Likewise.
21739         (print_max_error): Likewise.  Update calls to other affected
21740         functions.
21741         (print_complex_max_error): Likewise.
21742         (test_single_exception): Update calls to print_screen.
21743         (test_single_errno): Likewise.
21744         (check_float_internal): Remove xfail argument.  Update calls to
21745         other affected functions.
21746         (check_float): Likewise.
21747         (check_complex): Likewise.
21748         (check_int): Likewise.
21749         (check_long): Likewise.
21750         (check_bool): Likewise.
21751         (check_longlong): Likewise.
21752         (main): Don't print noXFails and noXPasses.
21753         * math/gen-libm-test.pl (top level): Don't mention expected
21754         failure handling in comment.
21755         (new_test): Don't handle expected failures.
21756         (parse_args): Don't mention expected failure handling in comment.
21757         (generate_testfile): Don't handle expected failures.
21758         (parse_ulps): Likewise.
21759         (print_ulps_file): Likewise.
21760         (get_failure): Remove function.
21761         (output_test): Don't handle expected failures.
21762         * make/README.libm-test: Don't mention expected failure handling.
21763
21764         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21765         (minus_zero): Likewise.
21766         (plus_infty): Likewise.
21767         (minus_infty): Likewise.
21768         (qnan_value): Likewise.
21769         (max_value): Likewise.
21770         (min_value): Likewise.
21771         (min_subnorm_value): Likewise.
21772         (initialize): Do not initialize those variables dynamically.
21773
21774 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21775
21776         * io/open.c (__open_2): Moved to ...
21777         * io/open_2.c: ... this new file.
21778         * io/open64.c (__open64_2): Moved to ...
21779         * io/open64_2.c: ... this new file.
21780         * io/openat.c (__openat_2): Moved to ...
21781         * io/openat_2.c: ... this new file.
21782         * io/openat64.c (__openat64_2): Moved to ...
21783         * io/openat64_2.c: ... this new file.
21784         * io/Makefile (routines): Add them.
21785         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21786         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21787         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21788         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21789         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21790         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21791         (__openat64): Add hidden_ver.
21792         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21793         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21794
21795         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21796         Separately conditionalize setting of GLRO(dl_sysinfo) so
21797         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21798         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21799
21800 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21801
21802         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21803         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21804         definition.
21805         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21806         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21807         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21808         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21809         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21810
21811 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21812
21813         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21814         test signgam value.
21815
21816         * math/libm-test.inc (hypot_test): Do not use
21817         IGNORE_ZERO_INF_SIGN.
21818
21819 2013-05-03  Andreas Jaeger  <aj@suse.de>
21820
21821         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21822         Linux 3.9.
21823         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21824         (PF_MAX): Adjust for VSOCK change.
21825
21826 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21827
21828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21829
21830 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21831
21832         [BZ #15264]
21833         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21834         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21835         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21836
21837 2013-05-02  David S. Miller  <davem@davemloft.net>
21838
21839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21840
21841 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21842
21843         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21844
21845 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21846
21847         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21848
21849 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21850
21851         [BZ #14952]
21852         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21853         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21854         Use __attribute__ ((__gnu_inline__)).
21855         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21856         Don't use __attribute__ ((__gnu_inline__)).
21857
21858 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21859
21860         [BZ #15423]
21861         * math/s_catan.c (__catan): Handle small real or imaginary part of
21862         input specially to avoid spurious underflow.
21863         * math/s_catanf.c (__catanf): Likewise.
21864         * math/s_catanh.c (__catanh): Likewise.
21865         * math/s_catanhf.c (__catanhf): Likewise.
21866         * math/s_catanhl.c (__catanhl): Likewise.
21867         * math/s_catanl.c (__catanl): Likewise.
21868         * math/libm-test.inc (catan_test): Add more tests.
21869         (catanh_test): Likewise.
21870         * sysdeps/i386/fpu/libm-test-ulps: Update.
21871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21872
21873 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21874
21875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21876
21877 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21878
21879         [BZ #15416]
21880         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21881         accurately for denominator in atan2.
21882         * math/s_catanf.c (__catanf): Likewise.
21883         * math/s_catanh.c (__catanh): Likewise.
21884         * math/s_catanhf.c (__catanhf): Likewise.
21885         * math/s_catanhl.c (__catanhl): Likewise.
21886         * math/s_catanl.c (__catanl): Likewise.
21887         * math/libm-test.inc (catan_test): Add more tests.
21888         (catanh_test): Likewise.
21889         * sysdeps/i386/fpu/libm-test-ulps: Update.
21890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21891
21892 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21893
21894         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21895
21896         * benchtests/Makefile (bench): Remove slow benchmarks.
21897         * benchtests/atan-inputs: Add slow benchmark inputs.
21898         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21899         (BENCH_FUNC): Accept variant offset.
21900         (VARIANT): Define.
21901         * benchtests/bench-skeleton.c (main): Run benchmark for each
21902         variant.
21903         * benchtests/cos-inputs: Add slow benchmark inputs.
21904         * benchtests/exp-inputs: Likewise.
21905         * benchtests/pow-inputs: Likewise.
21906         * benchtests/sin-inputs: Likewise.
21907         * benchtests/slowatan-inputs: Remove.
21908         * benchtests/slowatan.c: Remove.
21909         * benchtests/slowcos-inputs: Remove.
21910         * benchtests/slowcos.c: Remove.
21911         * benchtests/slowexp-inputs: Remove.
21912         * benchtests/slowexp.c: Remove.
21913         * benchtests/slowpow-inputs: Remove.
21914         * benchtests/slowpow.c: Remove.
21915         * benchtests/slowsin-inputs: Remove.
21916         * benchtests/slowsin.c: Remove.
21917         * benchtests/slowtan-inputs: Remove.
21918         * benchtests/slowtan.c: Remove.
21919         * benchtests/tan-inputs: Add slow benchmark inputs.
21920         * scripts/bench.pl: Parse comments and directives.
21921
21922         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21923         in CPPFLAGS.
21924         ($(objpfx)bench-%.c): Remove *-ITER.
21925         * benchtests/bench-modf.c: Remove definition of ITER.
21926         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21927         (main): Loop for DURATION seconds instead of fixed number of
21928         iterations.
21929         * scripts/bench.pl: Don't expect iterations in parameters.
21930
21931 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21932
21933         * io/fchdir.c (__fchdir): Renamed from fchdir.
21934         (fchdir): Define as weak alias.
21935
21936 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21937
21938         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21939         (ERRNO_EDOM): Likewise.
21940         (ERRNO_ERANGE): Likewise.
21941         (noErrnoTests): New variable.
21942         (init_max_error): Set errno to 0.
21943         (test_single_errno): New function.
21944         (test_errno): Likewise.
21945         (check_float_internal): Call test_errno.  Set errno to 0.
21946         (check_complex): Refer to errno tests in comment.
21947         (check_int): Call test_errno.  Set errno to 0.
21948         (check_long): Likewise.
21949         (check_bool): Likewise.
21950         (check_longlong): Likewise.
21951         (cos_test): Use ERRNO_* flags for errno tests instead of
21952         check_int.
21953         (expm1_test): Likewise.
21954         (fmod_test): Likewise.
21955         (ilogb_test): Likewise.
21956         (lgamma_test): Likewise.
21957         (pow_test): Likewise.
21958         (remainder_test): Likewise.
21959         (sin_test): Likewise.
21960         (tan_test): Likewise.
21961         (yn_test): Likewise.
21962         (initialize): Set errno to 0.
21963         (main): Print number of errno tests.
21964         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21965
21966 2013-04-29  Andreas Jaeger  <aj@suse.de>
21967
21968         [BZ #15084]
21969         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21970         and RES_USEVC.
21971
21972         [BZ #15085]
21973         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21974         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21975         unimplemented.
21976
21977         [BZ #15380]
21978         * stdlib/random.c (__initstate): Return NULL if
21979         __initstate fails.
21980
21981         [BZ #15086]
21982         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21983         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21984         RES_SNGLKUPREOP.
21985
21986 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21987
21988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21989
21990 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21991
21992         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21993         of individual tests.
21994         (casin_test): Likewise.
21995         (casinh_test): Likewise.
21996
21997 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21998
21999         [BZ #15409]
22000         * math/s_catan.c (__catan): Handle arguments with large real or
22001         imaginary part separately without squaring.
22002         * math/s_catanf.c (__catanf): Likewise.
22003         * math/s_catanh.c (__catanh): Likewise.
22004         * math/s_catanhf.c (__catanhf): Likewise.
22005         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22006         and redefine.
22007         (__catanhl): Handle arguments with large real or imaginary part
22008         separately without squaring.
22009         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22010         and redefine.
22011         (__catanl): Handle arguments with large real or imaginary part
22012         separately without squaring.
22013         * math/libm-test.inc (catan_test): Add more tests.
22014         (catanh_test): Likewise.
22015         * sysdeps/i386/fpu/libm-test-ulps: Update.
22016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22017
22018 2013-04-27  Andreas Jaeger  <aj@suse.de>
22019
22020         [BZ #15007]
22021         * stdlib/stdlib.h: Update guards for qecvt.
22022         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22023         <stdlib.h>.
22024
22025 2013-04-27  Allan McRae  <allan@archlinux.org>
22026
22027         * sysdeps/i386/fpu/libm-test-ulps: Update.
22028
22029 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22030
22031         [BZ #15406]
22032         * math/s_catan.c: Include <float.h>.
22033         (__catan): Ensure underflow exception occurs for underflowed
22034         result.
22035         * math/s_catanf.c: Include <float.h>.
22036         (__catanf): Ensure underflow exception occurs for underflowed
22037         result.
22038         * math/s_catanh.c: Include <float.h>.
22039         (__catanh): Ensure underflow exception occurs for underflowed
22040         result.
22041         * math/s_catanhf.c: Include <float.h>.
22042         (__catanhf): Ensure underflow exception occurs for underflowed
22043         result.
22044         * math/s_catanhl.c: Include <float.h>.
22045         (__catanhl): Ensure underflow exception occurs for underflowed
22046         result.
22047         * math/s_catanl.c: Include <float.h>.
22048         (__catanl): Ensure underflow exception occurs for underflowed
22049         result.
22050         * math/libm-test.inc (catan_test): Add more tests.
22051         (catanh_test): Likewise.
22052
22053         [BZ #15405]
22054         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22055         underflowed result.
22056         * math/s_ccoshf.c (__ccoshf): Likewise.
22057         * math/s_ccoshl.c (__ccoshl): Likewise.
22058         * math/s_csin.c (__csin): Likewise.
22059         * math/s_csinf.c (__csinf): Likewise.
22060         * math/s_csinh.c (__csinh): Likewise.
22061         * math/s_csinhf.c (__csinhf): Likewise.
22062         * math/s_csinhl.c (__csinhl): Likewise.
22063         * math/s_csinl.c (__csinl): Likewise.
22064         * math/libm-test.inc (ccos_test): Add more tests.
22065         (ccosh_test): Likewise.
22066         (csin_test): Likewise.
22067         (csinh_test): Likewise.
22068
22069 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22070
22071         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22072         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22073         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22074         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22075         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22076         powerpc/power5+/fpu folders.
22077         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22078
22079
22080 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22081
22082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22083
22084 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22085
22086         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22087         additions to variable.
22088         [$(config-machine) = x86_64] (modules-names): Likewise.
22089         ($(objpfx)tst-audit3): Remove dependency.
22090         ($(objpfx)tst-audit3.out): Likewise.
22091         ($(objpfx)tst-audit4): Likewise.
22092         ($(objpfx)tst-audit4.out): Likewise.
22093         ($(objpfx)tst-audit5): Likewise.
22094         ($(objpfx)tst-audit5.out): Likewise.
22095         ($(objpfx)tst-audit6): Likewise.
22096         ($(objpfx)tst-audit6.out): Likewise.
22097         ($(objpfx)tst-audit7): Likewise.
22098         ($(objpfx)tst-audit7.out): Likewise.
22099         (tst-audit3-ENV): Remove variable.
22100         (tst-audit4-ENV): Likewise.
22101         (tst-audit5-ENV): Likewise.
22102         (tst-audit6-ENV): Likewise.
22103         (tst-audit7-ENV): Likewise.
22104         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22105         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22106         addition to variable.
22107         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22108         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22109         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22110         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22111         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22112         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22113         tst-audit3, tst-audit4 and tst-audit5.
22114         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22115         tst-audit6 and tst-audit7.
22116         [$(subdir) = elf] (modules-names): Add audit modules for those
22117         tests.
22118         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22119         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22120         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22121         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22122         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22123         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22124         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22125         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22126         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22127         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22128         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22129         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22130         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22131         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22132         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22133         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22134         Likewise.
22135         [$(subdir) = elf && $(config-cflags-avx) = yes]
22136         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22137         [$(subdir) = elf && $(config-cflags-avx) = yes]
22138         (CFLAGS-tst-auditmod4a.c): Likewise.
22139         [$(subdir) = elf && $(config-cflags-avx) = yes]
22140         (CFLAGS-tst-auditmod4b.c): Likewise.
22141         [$(subdir) = elf && $(config-cflags-avx) = yes]
22142         (CFLAGS-tst-auditmod6b.c): Likewise.
22143         [$(subdir) = elf && $(config-cflags-avx) = yes]
22144         (CFLAGS-tst-auditmod6c.c): Likewise.
22145         [$(subdir) = elf && $(config-cflags-avx) = yes]
22146         (CFLAGS-tst-auditmod7b.c): Likewise.
22147         * elf/tst-audit3.c: Move to ...
22148         * sysdeps/x86_64/tst-audit3.c: ... here.
22149         * elf/tst-audit4.c: Move to ...
22150         * sysdeps/x86_64/tst-audit4.c: ... here.
22151         * elf/tst-audit5.c: Move to ...
22152         * sysdeps/x86_64/tst-audit5.c: ... here.
22153         * elf/tst-audit6.c: Move to ...
22154         * sysdeps/x86_64/tst-audit6.c: ... here.
22155         * elf/tst-audit7.c: Move to ...
22156         * sysdeps/x86_64/tst-audit7.c: ... here.
22157         * elf/tst-auditmod3a.c: Move to ...
22158         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22159         * elf/tst-auditmod3b.c: Move to ...
22160         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22161         * elf/tst-auditmod4a.c: Move to ...
22162         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22163         * elf/tst-auditmod4b.c: Move to ...
22164         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22165         * elf/tst-auditmod5a.c: Move to ...
22166         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22167         * elf/tst-auditmod5b.c: Move to ...
22168         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22169         * elf/tst-auditmod6a.c: Move to ...
22170         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22171         * elf/tst-auditmod6b.c: Move to ...
22172         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22173         * elf/tst-auditmod6c.c: Move to ...
22174         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22175         * elf/tst-auditmod7a.c: Move to ...
22176         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22177         * elf/tst-auditmod7b.c: Move to ...
22178         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22179
22180 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22181
22182         [BZ #15366]
22183         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22184         define unconditionally.
22185         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22186         define unconditionally.
22187         (INT8_C, INT16_C, etc.): Likewise.
22188
22189 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22190
22191         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22192         __ehdr_start with hidden visibility.
22193
22194         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22195
22196 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22197
22198         * math/libm-test.inc (cos_test): Use accurate hex constants.
22199         (sincost_test): Likewise.
22200
22201 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22202
22203         * math/libm-test.inc (catan_test): Add more tests.
22204         (catanh_test): Likewise.
22205
22206         * math/s_catanf.c (__catanf): Use suffixed floating-point
22207         constants.
22208         * math/s_catanhf.c (__catanhf): Likewise.
22209         * math/s_catanhl.c (__catanhl): Likewise.
22210         * math/s_catanl.c (__catanl): Likewise.
22211
22212         [BZ #15394]
22213         * math/s_catan.c (__catan): Calculate imaginary part of result
22214         with log1p not log unless computing log of number close to 0.
22215         * math/s_catanf.c (__catanf): Likewise.
22216         * math/s_catanl.c (__catanl): Likewise.
22217         * math/s_catanh.c (__catanh): Calculate real part of result with
22218         log1p not log unless computing log of number close to 0.
22219         * math/s_catanhf.c (__catanhf): Likewise.
22220         * math/s_catanhl.c (__catanhl): Likewise.
22221         * math/libm-test.inc (catan_test): Add more tests.
22222         (catanh_test): Likewise.
22223         * sysdeps/i386/fpu/libm-test-ulps: Update.
22224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22225
22226 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22227
22228         * benchtests/Makefile: Mention files in which fast and slow
22229         paths of math functions are implemented.
22230
22231 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22232
22233         * sysdeps/posix/timespec_get.c: New file.
22234
22235 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22236
22237         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22238         POWER.
22239         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22240         for POWER.
22241         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22242         powerpc/power5/fpu folders.
22243         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22244         * benchtests/Makefile: Add modf testcase.
22245         * benchtests/bench-modf.c: New file: Benchmark test for mo
22246
22247 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22248
22249         [BZ #14888]
22250         * time/Makefile (tests): Add tst-strptime-whitespace.
22251         * time/strptime_l.c (get_number): Use ISSPACE.
22252         (__strptime_internal): Likewise.
22253         * time/tst-strptime-whitespace.c: New test case.
22254
22255 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22256
22257         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22258         member.
22259         (_nss_files_init): Set it here.
22260
22261 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22262
22263         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22264         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22265         unsigned.
22266
22267 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22268
22269         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22270
22271 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22272
22273         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22274         size just once.
22275
22276 2013-04-21  David S. Miller  <davem@davemloft.net>
22277
22278         * po/ru.po: Update Russion translation from translation project.
22279
22280 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22281
22282         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22283         and setfsgid.
22284
22285 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22286
22287         * configure.in: Remove i386 configure warning. Remove i386 case.
22288         * configure: Regenerate.
22289         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22290         Add example to error message.
22291         * sysdeps/i386/configure: Regenerate.
22292
22293 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22294
22295         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22296         slowtan.
22297         * benchtests/cos-inputs: New file.
22298         * benchtests/slowcos-inputs: New file.
22299         * benchtests/slowcos.c: New file.
22300         * benchtests/slowtan-inputs: New file.
22301         * benchtests/slowtan.c: New file.
22302         * benchtests/tan-inputs: New file.
22303
22304 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22305
22306         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22307         considered kosher.
22308
22309 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22310
22311         * benchtests/Makefile: Include cppflags-iterator.mk to add
22312         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22313
22314         * Makefile.in (bench-clean): New target.
22315         * benchtests/Makefile (bench-clean): Likewise.
22316
22317 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22318
22319         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22320
22321 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22322
22323         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22324
22325 2013-04-15  Andreas Schwab  <schwab@suse.de>
22326
22327         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22328         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22329         * nscd/pwdcache.c (cache_addpw): Likewise.
22330         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22331         more than recsize.
22332
22333 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22334
22335         * benchtests/Makefile (bench): Write all output to
22336         bench-out.tmp together.
22337
22338 2013-04-15  Andreas Schwab  <schwab@suse.de>
22339
22340         * nscd/nscd.c (main): Don't fork again after closing files.
22341
22342 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22343
22344         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22345
22346         * benchtests/Rules (bench-deps): Collect dependencies into a
22347         single variable.  Add Makefile to dependencies.
22348         ($(objpfx)bench-%.c): Depend on bench-deps.
22349
22350 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22351             Xavier Roche  <roche+kml2@exalead.com>
22352
22353         [BZ #15361]
22354         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22355         just that it's a file descriptor.
22356         * manual/llio.texi (Synchronizing AIO Operations): Update description
22357         for EBADF error from aio_fsync.
22358
22359 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22360
22361         * Rules (bench): Move target definition...
22362         * benchtests/Makefile: ... here.
22363
22364 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22365
22366         * math/libm-test.inc (cos_test): Fix PI/2 test.
22367         (sincos_test): Likewise.
22368         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22369         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22370
22371 2013-04-11  Andreas Schwab  <schwab@suse.de>
22372
22373         [BZ #13988]
22374         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22375         accept exponent character only when digits were seen.
22376         * stdio-common/Makefile (tests): Add bug26.
22377         * stdio-common/bug26.c: New file.
22378
22379         [BZ #14293]
22380         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22381         non-freeable.
22382
22383 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22384
22385         * Makeconfig (rtld-prefix): Define built linker prefix.
22386         * Rules (run-bench): Use it.
22387         * math/Makefile (run-regen-ulps): Likewise.
22388
22389         * Rules (bench): Remove eval.
22390
22391 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22392             Roland McGrath  <roland@hack.frob.com>
22393             Ondrej Bilka  <neleai@seznam.cz>
22394
22395         [BZ #15346]
22396         * time/getdate.c: Include ctype.h and alloca.h.
22397         (__getdate_r): Trim leading and trailing spaces of input.
22398         * time/tst-getdate.c (tests): Add tests with leading and
22399         trailing spaces.
22400
22401 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22402
22403         [BZ #14280]
22404         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22405         when computing value.
22406
22407 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22408
22409         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22410         Use testrun.sh to run libm tests.
22411
22412         [BZ #15309]
22413         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22414
22415 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22416
22417         [BZ #15264]
22418         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22419
22420 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22421
22422         * Makefile.in (regen-ulps): New target.
22423         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22424         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22425         [ifneq (no,$(PERL)] (regen-ulps): New target.
22426         [ifeq (no,$(PERL)] (regen-ulps): New target.
22427         * math/libm-test.inc (ulps_file_name): Define.
22428         (output_dir): New variable.
22429         (options): Add "output-dir" option.
22430         (parse_opt): Handle 'o' case.
22431         (main): If output_dir is non-NULL use it as a prefix
22432         otherwise use "".
22433         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22434
22435 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22436
22437         [BZ #10060, #10062]
22438         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22439         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22440         fail configure if __sync_val_compare_and_swap is not inlined.
22441         * sysdeps/i386/configure: Regenerate.
22442         * configure.in: Build for i686 when configured for i386.
22443         * configure: Regenerate.
22444         * README: Remove i386 reference.
22445
22446 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22447
22448         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22449         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22450
22451 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22452
22453         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22454         (lmsnanval): New variables.
22455         (F): Add conversion tests.
22456         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22457         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22458
22459         * stdio-common/tstdiomisc.c (F): Properly collect individual
22460         tests' results.
22461
22462         [BZ #14686, #15336]
22463         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22464         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22465         Instead, use input NaN values or generate a qNaN by arithmetic
22466         operation.  Also fix bugs to comply with the standard.
22467         * math/libm-test.inc (remainder_test): Add more tests.
22468
22469         [BZ #15335, #15342]
22470         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22471         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22472         input NaN values or generate a qNaN by arithmetic operation.
22473
22474         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22475         unreachable code.
22476
22477         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22478         definitions.
22479
22480 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22481
22482         [BZ #14478]
22483         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22484         underflowed result.
22485         * math/s_cexpf.c (__cexpf): Likewise.
22486         * math/s_cexpl.c (__cexpl): Likewise.
22487         * math/libm-test.inc (cexp_test): Add more tests.
22488
22489 2013-04-03  Andreas Schwab  <schwab@suse.de>
22490
22491         [BZ #15330]
22492         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22493         order arrays from heap if bigger than alloca cutoff.
22494
22495 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22496
22497         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22498         (SNAN_TESTS_double): Refer to GCC PR56831.
22499         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22500         GCC PR56828.
22501
22502 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22503
22504         * Rules (bench): Move bench.out after the run is complete.
22505
22506         * Rules (bench): Echo currently running benchmark.
22507
22508         * benchtests/Makefile (bench): Add atan and slowatan.
22509         * benchtests/atan-inputs: New file.
22510         * benchtests/slowatan-inputs: New file.
22511         * benchtests/slowatan.c: New file.
22512
22513         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22514         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22515         its value.
22516
22517         [BZ #15305]
22518         * sysdeps/unix/sysv/linux/kernel-features.h
22519         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22520         __ASSUME_XFS_RESTRICTED_CHOWN.
22521         * sysdeps/unix/sysv/linux/pathconf.c
22522         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22523         Save and restore errno.
22524
22525 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22526
22527         [BZ #15327]
22528         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22529         arguments using __kernel_casinh.
22530         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22531         arguments using __kernel_casinhf.
22532         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22533         arguments using __kernel_casinhl.
22534         * math/libm-test.inc (cacosh_test): Add more tests.
22535         * sysdeps/i386/fpu/libm-test-ulps: Update.
22536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22537
22538 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22539
22540         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22542
22543         * bench/Makefile (bench): Add sin and slowsin.
22544         * benchtests/sin-inputs: New file.
22545         * benchtests/slowsin-inputs: New file.
22546         * benchtests/slowsin.c: New file.
22547
22548         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22549         (bench): Add slowexp and slowpow.
22550         (exp-ITER): Increase iterations.
22551         (pow-ITER): Likewise.
22552         * benchtests/exp-inputs: Change input.
22553         * benchtests/pow-inputs: Likewise.
22554         * benchtests/slowexp-inputs: New file.
22555         * benchtests/slowexp.c: New file.
22556         * benchtests/slowpow-inputs: New file.
22557         * benchtests/slowpow.c: New file.
22558
22559 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22560
22561         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22562         instructions.
22563         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22564         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22565         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22566         * benchtests/Makefile: Add rint benchtest.
22567         * benchtests/rint-inputs: Input for rint benchtest.
22568
22569 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22570
22571         * Versions.def (libm): Add GLIBC_2.18.
22572         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22573         hidden libm prototypes.
22574         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22575         * math/Makefile (libm-calls): Add s_issignaling.
22576         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22577         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22578         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22579         declaration.
22580         * math/math.h [__USE_GNU] (issignaling): New macro.
22581         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22582         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22583         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22584         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22585         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22586         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22587         * manual/arith.texi (issignaling): New section.
22588         * manual/libm-err-tab.pl (@all_functions): Update comment.
22589         * math/gen-libm-test.pl (parse_args): Apply special handling for
22590         issignaling.
22591         * math/libm-test.inc (print_float, issignaling_test): New
22592         functions.
22593         (check_float_internal): Add issignaling checks.
22594         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22595         default definition.
22596         * sysdeps/powerpc/math-tests.h: New file.
22597         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22598         tests.
22599         * math/test-snan.c (TEST_FUNC): Likewise.
22600
22601 2013-03-30  David S. Miller  <davem@davemloft.net>
22602
22603         * po/de.po: Update from translation team.
22604
22605 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22606
22607         [BZ #10357]
22608         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22609         imaginary part less than 1.0 and real part less than 0.5
22610         specially.
22611         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22612         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22613         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22614         (cacos_test): Add more tests.
22615         (casin_test): Likewise.
22616         (casinh_test): Likewise.
22617         * sysdeps/i386/fpu/libm-test-ulps: Update.
22618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22619
22620 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22621
22622         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22623         ONE with its value.
22624
22625         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22626         (__pow_mp): Replace ONE and MONE with their values.
22627         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22628         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22629         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22630         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22631         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22632         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22633
22634         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22635
22636         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22637         (__pow_mp): Replace ZERO and MZERO with their values.
22638         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22639         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22640         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22642         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22643         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22644         (__sqr): Likewise.
22645
22646         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22647
22648         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22649
22650 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22651
22652         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22653         Declare with __attribute__ ((weak)).
22654         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22655         Call __call_tls_dtors only if it's not NULL.
22656
22657 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22658
22659         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22660         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22661         magic __ehdr_start linker symbol if it's defined.
22662         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22663         them up here if it was already done.
22664
22665         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22666         (_dl_aux_init): Use const in cast when setting it.
22667         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22668         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22669         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22670
22671         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22672         Declare them here.
22673         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22674         * csu/libc-tls.c: Nor here.
22675         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22676
22677         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22678         (__libc_message): Never call vsyslog.
22679
22680 2013-03-28  Alan Modra  <amodra@gmail.com>
22681
22682         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22683         Define as empty.
22684         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22685         Likewise.
22686
22687 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22688
22689         [BZ #15214]
22690         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22691         underflow.
22692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22693
22694 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22695
22696         [BZ #15304]
22697         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22698         Don't add gid passed as argument.
22699
22700         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22701
22702 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22703
22704         [BZ #15307]
22705         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22706         imaginary part between 1.0 and 1.5 and real part less than 0.5
22707         specially.
22708         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22709         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22710         * math/libm-test.inc (cacos_test): Add more tests.
22711         (casin_test): Likewise.
22712         (casinh_test): Likewise.
22713         * sysdeps/i386/fpu/libm-test-ulps: Update.
22714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22715
22716 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22717
22718         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22719         constants.
22720         (norm): Likewise.
22721         (denorm): Likewise.
22722         (__dbl_mp): Likewise.
22723         (add_magnitudes): Likewise.
22724         (sub_magnitudes): Likewise.
22725         (__add): Likewise.
22726         (__sub): Likewise.
22727         (__mul): Likewise.
22728         (__sqr): Likewise.
22729         (__inv): Likewise.
22730         (__dvd): Likewise.
22731
22732         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22733         commented code.
22734         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22735         (__dubcos): Likewise.
22736         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22737         (__ieee754_acos): Likewise.
22738         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22739         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22740         (__exp1): Likewise.
22741         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22742         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22743         (log1): Likewise.
22744         (my_log2): Likewise.
22745         (checkint): Likewise.
22746         * sysdeps/ieee754/dbl-64/e_remainder.c
22747         (__ieee754_remainder): Likewise.
22748         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22749         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22750         (bsloww): Likewise.
22751         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22752
22753         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22754         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22755         MANTISSA_STORE_T to store computations on mantissa.  Use
22756         macros for rounding and division.
22757         (denorm): Likewise.
22758         (__dbl_mp): Likewise.
22759         (add_magnitudes): Likewise.
22760         (sub_magnitudes): Likewise.
22761         (__mul): Likewise.
22762         (__sqr): Likewise.
22763         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22764         powers of two in terms of TWOPOW macro.
22765         (mp_no): Make type of mantissa as MANTISSA_T.
22766         [!RADIXI]: Define RADIXI.
22767         [!TWO52]: Define TWO52.
22768         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22769
22770 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22771
22772         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22773         llroundl symbol when building for PPC32.
22774
22775 2013-03-24  Mark H Weaver  <mhw@netris.org>
22776
22777         * manual/arith.texi (Normalization Functions): Fix prototypes for
22778         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22779
22780 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22781
22782         [BZ #13889]
22783         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22784         high value to check if expl overflow.
22785         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22786         to check for underflow and overflow.
22787         * math/libm-test.inc: Add exp test.
22788
22789 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22790
22791         [BZ #11120]
22792         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22793         with NOT_IN_libc.
22794
22795 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22796
22797         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22798         symbol.
22799
22800 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22801
22802         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22803         wrap blocks consisting of several statements.
22804
22805         * sysdeps/generic/math-tests.h: New file.
22806         * sysdeps/i386/fpu/math-tests.h: Likewise.
22807         * math/test-snan.c: Include it.
22808         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22809
22810 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22811
22812         [BZ #15285]
22813         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22814         (__ieee754_j0l): Do not improve calculations using cos of twice
22815         input for inputs above LDBL_MAX / 2.0L.
22816         (__ieee754_y0l): Likewise.
22817         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22818         (__ieee754_j1l): Do not improve calculations using cos of twice
22819         input for inputs above LDBL_MAX / 2.0L.
22820         (__ieee754_y1l): Likewise.
22821         * math/libm-test.inc (j0_test): Add another test.
22822         (j1_test): Likewise.
22823         (y0_test): Likewise.
22824         (y1_test): Likewise.
22825         * sysdeps/i386/fpu/libm-test-ulps: Update.
22826
22827 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22828
22829         * Rules ($(objpfx)bench-%.c): Include code from a C source
22830         file.
22831
22832 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22833
22834         [BZ #15287]
22835         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22836         imaginary part 1.0 and real part less than 0.5 specially.
22837         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22838         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22839         * math/libm-test.inc (cacos_test): Add more tests.
22840         (casin_test): Likewise.
22841         (casinh_test): Likewise.
22842         * sysdeps/i386/fpu/libm-test-ulps: Update.
22843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22844
22845 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22846
22847         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22848         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22849
22850 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22851
22852         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22853         * config.make.in (config-cflags-sse4): Remove variable.
22854         (config-cflags-avx): Likewise.
22855         (config-cflags-sse2avx): Likewise.
22856         (config-cflags-novzeroupper): Likewise.
22857         (config-asflags-i686): Likewise.
22858         (have-mfma4): Likewise.
22859         (have-as-vis3): Likewise.
22860         (MIG): Likewise.
22861         * configure.in (MIG): Do not AC_SUBST.
22862         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22863         (libc_cv_cc_sse4): Do not AC_SUBST.
22864         (libc_cv_cc_avx): Likewise.
22865         (libc_cv_cc_sse2avx): Likewise.
22866         (libc_cv_cc_novzeroupper): Likewise.
22867         (libc_cv_cc_fma4): Likewise.
22868         (libc_cv_as_i686): Likewise.
22869         (libc_cv_sparc_as_vis3): Likewise.
22870         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22871         LIBC_CONFIG_VAR.
22872         (config-asflags-i686): Likewise.
22873         (config-cflags-avx): Likewise.
22874         (config-cflags-sse2avx): Likewise.
22875         (have-mfma4): Likewise.
22876         (config-cflags-novzeroupper): Likewise.
22877         * sysdeps/mach/configure.in (MIG): Likewise.
22878         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22879         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22880         LIBC_CONFIG_VAR.
22881         (config-cflags-avx): Likewise.
22882         (config-cflags-sse2avx): Likewise.
22883         (have-mfma4): Likewise.
22884         (config-cflags-novzeroupper): Likewise.
22885         * configure: Regenerated.
22886         * sysdeps/i386/configure: Likewise.
22887         * sysdeps/mach/configure: Likewise.
22888         * sysdeps/sparc/configure: Likewise.
22889         * sysdeps/x86_64/configure: Likewise.
22890
22891 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22892
22893         [BZ #14812]
22894         * locale/programs/localedef.c (options): Put N_ translation marker
22895         on argument names, not just descriptions.
22896
22897 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22898
22899         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22900
22901 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22902
22903         [BZ #14176]
22904         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22905
22906 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22907
22908         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22909         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22910         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22911         [!BEFORE_ABORT] (before_abort): New function.
22912         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22913         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22914         (writev_for_fatal): New function.
22915         (WRITEV_FOR_FATAL): New macro; call that.
22916         (backtrace_and_maps): New function.
22917         (BEFORE_ABORT): New macro; call that.
22918         (struct str_list): Type removed.
22919         (__libc_message, __libc_fatal): Functions removed.
22920         Include <sysdeps/posix/libc_fatal.c> instead.
22921
22922 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22923
22924         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22925         constants.
22926         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22927         double constants.
22928
22929 2013-03-19  Andreas Schwab  <schwab@suse.de>
22930
22931         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22932         * sysdeps/gnu/configure: Regenerate.
22933
22934         * configure.in: Substitute libc_cv_rtlddir.
22935         * configure: Regenerate.
22936         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22937         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22938         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22939         * elf/Makefile (install-others, CFLAGS-interp.c)
22940         (ldso_install, common-ldd-rewrite): Likewise.
22941         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22942         $(inst_slibdir)/$(rtld-installed-name).
22943         * scripts/rellns-sh: Add -p option.
22944         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22945         for source.
22946
22947 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22948
22949         * manual/nptl.texi: Renamed to ...
22950         * manual/threads.texi: ... this.
22951         * manual/Makefile (chapters): Update.
22952
22953 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22954
22955         [BZ #14812]
22956         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22957         on argument names, not just descriptions.
22958         * malloc/memusagestat.c (options): Likewise.
22959         * nss/getent.c (options): Likewise.
22960
22961 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22962
22963         [BZ #14812]
22964         * iconv/iconv_prog.c (options): Put N_ translation marker
22965         on argument names, not just descriptions.
22966         * iconv/iconvconfig.c (options): Likewise.
22967
22968 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22969
22970         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22971         implementation which is faster on all x86_64 architectures.
22972         Tested on AMD, Intel Nehalem, SNB, IVB.
22973         * sysdeps/x86_64/strnlen.S: Likewise.
22974
22975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22976         Remove all multiarch strlen and strnlen versions.
22977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22978         Remove strlen and strnlen related parts.
22979
22980         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22981         Inline strlen part.
22982         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22983
22984         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22985         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22986         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22987         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22988         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22989         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22990
22991 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22992
22993         * manual/memory.texi (Malloc Tunable Parameters):
22994         Sort parameters alphabetically. Add comments for missing entries.
22995
22996 2013-03-17  David S. Miller  <davem@davemloft.net>
22997
22998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22999
23000 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23001
23002         [BZ #15283]
23003         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23004         for arguments at most half maximum finite value.
23005         * math/libm-test.inc (j0_test): Add more tests.
23006         (j1_test): Likewise.
23007         (y0_test): Likewise.
23008         (y1_test): Likewise.
23009         * sysdeps/i386/fpu/libm-test-ulps: Update.
23010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23011
23012         [BZ #14155]
23013         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23014         1 / x and functions P and Q for arguments above 0x1p256L.
23015         (__ieee754_y0l): Likewise.
23016         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23017         (__ieee754_y1l): Likewise.
23018         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23019         (j1_test): Likewise.
23020         (y0_test): Likewise.
23021         (y1_test): Likewise.
23022
23023 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23024
23025         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23026         variable.
23027
23028 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23029
23030         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23031         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23032         zero since it's initialized to EXEC_PAGESIZE.
23033
23034         * sysdeps/unix/sysv/linux/ldsodefs.h
23035         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23036         * sysdeps/generic/ldsodefs.h: ... here.
23037
23038 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23039
23040         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23041
23042         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23043         math/test-snan.c.
23044         * math/test-snan.c: Renamed from
23045         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23046         * math/Makefile (tests): Add test-snan.
23047         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23048         test-powerpc-snan.
23049
23050         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23051         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23052         functions.
23053         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23054         __builtin_nan family of functions.
23055         * math/libm-test.inc (initialize): Initialize qnan_value with
23056         __builtin_nan family of functions.
23057         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23058         Remove variables.
23059         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23060         Remove functions.
23061         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23062         storage class.  Initialize qNaN_var and sNaN_var with
23063         __builtin_nan and __builtin_nans families of functions,
23064         respectively.
23065
23066         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23067         (sqrt_test): Remove duplicate test with qNaN input.
23068         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23069         (round_test, signbit_test, significand_test): Note missing +/-Inf
23070         as well as qNaN tests.
23071
23072         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23073         qNaN_var.  Fix a few strings, too.
23074         * math/libm-test.inc (nan_value): Rename to qnan_value.
23075         * math/gen-libm-test.pl (%beautify): Adjust to that.
23076         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23077         * math/test-misc.c (main): Likewise.
23078         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23079         to __qnan_bytes, and __qnan_union, respectively.
23080         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23081         Likewise.
23082         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23083         and lqnanval, respectively.
23084         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23085         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23086         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23087         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23088
23089         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23090         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23091         doubles.
23092
23093         * math/test-misc.c (main): Fix copy'n'pastos.
23094         * misc/tst-efgcvt.c (special): Likewise.
23095
23096         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23097         Remove declarations.
23098
23099 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23100
23101         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23102         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23103         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23104         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23105
23106 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23107
23108         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23109         macro to return vdso values correctly in IFUNC implementations.
23110         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23111         Optimization by using IFUNC.
23112
23113 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23114             Richard Henderson  <rth@redhat.com>
23115             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23116
23117         * Makefile.in (bench): New target.
23118         * NEWS: Mention the benchmark framework.
23119         * Rules (bench): Likewise.
23120         (binaries-bench): Generate binaries for functions to
23121         benchmark.
23122         * benchtests/Makefile: New makefile for benchmark tests.
23123         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23124         programs.
23125         * benchtests/exp-inputs: New input file for EXP function.
23126         * benchtests/pow-inputs: New input file for POW function.
23127         * scripts/bench.pl: New script to generate source files for
23128         benchmark programs.
23129
23130 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23131
23132         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23133         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23134         computations on mantissa.  Use macros for rounding and
23135         division.
23136         (denorm): Likewise.
23137         (__dbl_mp): Likewise.
23138         (add_magnitudes): Likewise.
23139         (sub_magnitudes): Likewise.
23140         (__mul): Likewise.
23141         (__sqr): Likewise.
23142         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23143         powers of two in terms of TWOPOW macro.
23144         (mp_no): Make type of mantissa as MANTISSA_T.
23145         [!RADIXI]: Define RADIXI.
23146         [!TWO52]: Define TWO52.
23147         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23148
23149         * manual/nptl.texi (cindex): Modify threads to pthreads.
23150
23151 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23152
23153         * sysdeps/x86_64/preconfigure: Regenerated.
23154
23155 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23156
23157         [BZ #14155]
23158         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23159         0x1p28 and above.
23160         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23161         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23162         0x1p28 and above.
23163         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23164         * math/libm-test.inc (j0_test): Do not allow one spurious
23165         underflow exception.
23166         (y1_test): Likewise.
23167
23168 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23169
23170         * manual/Makefile (chapters): Add nptl.
23171         * manual/debug.texi (Debugging Support): Add link to Threads
23172         chapter.
23173         * manual/nptl.texi: New file.
23174
23175         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23176
23177 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23178
23179         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23180         for non-NULL pointer before the memory validity test. Pointed
23181         out by Holger Brunck <holger.brunck@keymile.com>.
23182
23183 2013-03-13  Andreas Schwab  <schwab@suse.de>
23184
23185         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23186         instead of .os.
23187
23188 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23189
23190         * timezone/zic.c: Update from tzcode 2013b.
23191
23192 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23193
23194         * manual/install.texi (Configuring and compiling):
23195         Mention i686 and i586.
23196         * INSTALL: Regenerate.
23197
23198 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23199
23200         * sysdeps/init_array/elf-init.c: New file.
23201         * csu/elf-init.c
23202         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23203         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23204
23205         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23206         __gmon_start__ as global, but as static with a .preinit_array pointer.
23207         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23208         * sysdeps/init_array/crti.S: New file, empty except for comments.
23209         * sysdeps/init_array/crtn.S: Likewise.
23210
23211 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23212
23213         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23214         definining bcopy.
23215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23216         Remove Prefer_SSE_for_memop.
23217         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23218         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23219         HAS_PREFER_SSE_FOR_MEMOP.
23220         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23221         memset-x86-64.
23222         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23223         Remove bzero, memset ifunc support.
23224         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23225         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23226         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23227         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23228
23229 2013-03-11  Andreas Schwab  <schwab@suse.de>
23230
23231         [BZ #15234]
23232         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23233         by SHLIB_COMPAT.
23234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23235         (GLIBC_2.16): Remove pthread_atfork.
23236
23237 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23238
23239         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23240         (ptestcases.h): Likewise.
23241
23242 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23243
23244         * Makeconfig ($(common-objpfx)config.status): Depend on
23245         sysdeps/*/preconfigure{,.in} too.
23246
23247 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23248
23249         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23250         (__free_hook): Use void * instead of __malloc_ptr_t.
23251         (__malloc_hook): Likewise.
23252         (__realloc_hook): Likewise.
23253         (__memalign_hook): Likewise.
23254         (__after_morecore_hook): Likewise.
23255         * malloc/arena.c (save_malloc_hook): Likewise.
23256         (save_free_hook): Likewise.
23257         * malloc/hooks.c (malloc_hook_ini): Likewise.
23258         (realloc_hook_ini): Likewise.
23259         (memalign_hook_ini): Likewise.
23260         * malloc/malloc.c (malloc_hook_ini): Likewise.
23261         (realloc_hook_ini): Likewise.
23262         (memalign_hook_ini): Likewise.
23263         (__free_hook): Likewise.
23264         (__malloc_hook): Likewise.
23265         (__realloc_hook): Likewise.
23266         (__memalign_hook): Likewise.
23267         (__libc_malloc): Likewise.
23268         (__libc_free): Likewise.
23269         (__libc_realloc): Likewise.
23270         (__libc_memalign): Likewise.
23271         (__libc_valloc): Likewise.
23272         (__libc_pvalloc): Likewise.
23273         (__libc_calloc): Likewise.
23274         (__posix_memalign): Likewise.
23275         * malloc/morecore.c (__sbrk): Likewise.
23276         (__default_morecore): Likewise.
23277
23278         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23279
23280         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23281         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23282         __malloc_ptrdiff_t.
23283
23284         * malloc/malloc.h (__malloc_size_t): Remove macro.
23285         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23286         __malloc_size_t.
23287         (old_memalign_hook): Likewise.
23288         (old_realloc_hook): Likewise.
23289         (struct hdr): Likewise.
23290         (flood): Likewise.
23291         (mallochook): Likewise.
23292         (memalignhook): Likewise.
23293         (reallochook): Likewise.
23294         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23295         (tr_old_realloc_hook): Likewise.
23296         (tr_old_memalign_hook): Likewise.
23297         (tr_mallochook): Likewise.
23298         (tr_reallochook): Likewise.
23299         (tr_memalignhook): Likewise.
23300
23301 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23302
23303         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23304         default_ldbl_pack and using as default implementation.
23305         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23306         implementation.
23307         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23308         redundant definition.
23309         (ldbl_insert_mantissa): Likewise.
23310         (ldbl_canonicalize): Likewise.
23311         (ldbl_nearbyint): Likewise.
23312         (ldbl_pack): Rename to ldbl_pack_ppc.
23313         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23314         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23315         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23316
23317 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23318
23319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23320         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23321         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23322         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23324         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23325         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23326         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23327
23328 2013-03-07  Andreas Jaeger  <aj@suse.de>
23329
23330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23331         bits/mman-linux.h.
23332
23333 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23334
23335         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23336         Include mpa.h and declare __MPEXP.
23337         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23338         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23339         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23340         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23341         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23342         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23343         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23344
23345         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23346         (__slowpow): Use long double EXPL and LOGL functions to
23347         compute POW.
23348         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23349         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23350         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23351         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23352         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23353         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23354
23355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23356         intermediate variable to calculate exponent.
23357         (__sqr): Likewise.
23358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23359         Likewise.
23360         (__sqr): Likewise.
23361
23362         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23363         [!NO__SQR]: Define __sqr.
23364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23365         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23366         sysdeps/ieee754/dbl-64/mpa.c.
23367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23368
23369         [BZ #12723]
23370         * posix/Makefile (tests): Add tst-pathconf.
23371         * posix/tst-pathconf.c: New test case.
23372         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23373         _PC_PIPE_BUF.
23374         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23375
23376 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23377
23378         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23379
23380 2013-03-06  Andreas Jaeger  <aj@suse.de>
23381
23382         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23383         definition via __MAP_ANONYMOUS.
23384
23385         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23386         it's not part of Linux headers.
23387
23388         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23389         (MAP_HUGE_MASK): Define.
23390
23391         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23392         Define.
23393         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23395         Define.
23396         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23397         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23398         Define.
23399         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23400         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23401         Define.
23402         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23403
23404         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23405         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23406         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23407         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23408         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23409         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23410
23411         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23412         Handle f2fs.
23413
23414         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23415         Handle f2fs and efivarfs.
23416
23417         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23418         f2fs.
23419
23420         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23421         (EFIVARFS_MAGIC): Add.
23422         (F2FS_LINK_MAX): Add.
23423
23424 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23425
23426         * stdio-common/vfprintf.c: Replace __builtin_expect with
23427         __glibc_unlikely.
23428
23429 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23430
23431         [BZ #13550]
23432         * sysdeps/generic/bp-sym.h: Remove file.
23433         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23434         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23435         <bp-sym.h> and <bp-asm.h>.
23436         (__longjmp): Don't use BP_SYM.
23437         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23438         and <bp-asm.h>.
23439         (memcpy): Don't use BP_SYM.
23440         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23441         <bp-sym.h> and <bp-asm.h>.
23442         (memcpy): Don't use BP_SYM.
23443         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23444         <bp-asm.h>.
23445         (memcpy): Don't use BP_SYM.
23446         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23447         <bp-asm.h>.
23448         (memset): Don't use BP_SYM.
23449         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23450         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23451         (__bzero): Don't use BP_SYM.
23452         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23453         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23454         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23455         <bp-sym.h> and <bp-asm.h>.
23456         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23457         pointers.
23458         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23459         <bp-sym.h> and <bp-asm.h>.
23460         (memcpy): Don't use BP_SYM.
23461         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23462         <bp-sym.h> and <bp-asm.h>.
23463         (memset): Don't use BP_SYM.
23464         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23465         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23466         (__bzero): Don't use BP_SYM.
23467         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23468         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23469         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23470         <bp-sym.h> and <bp-asm.h>.
23471         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23472         pointers.
23473         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23474         <bp-sym.h> and <bp-asm.h>.
23475         (memcpy): Don't use BP_SYM.
23476         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23477         <bp-sym.h> and <bp-asm.h>.
23478         (memset): Don't use BP_SYM.
23479         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23480         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23481         (__bzero): Don't use BP_SYM.
23482         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23483         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23484         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23485         <bp-sym.h> and <bp-asm.h>.
23486         (__memchr): Don't use BP_SYM.
23487         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23488         <bp-sym.h> and <bp-asm.h>.
23489         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23490         pointers.
23491         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23492         <bp-sym.h> and <bp-asm.h>.
23493         (memcpy): Don't use BP_SYM.
23494         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23495         <bp-sym.h> and <bp-asm.h>.
23496         (__mempcpy): Don't use BP_SYM.
23497         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23498         <bp-sym.h> and <bp-asm.h>.
23499         (__memrchr): Don't use BP_SYM.
23500         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23501         <bp-sym.h> and <bp-asm.h>.
23502         (memset): Don't use BP_SYM.
23503         (__bzero): Likewise.
23504         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23505         <bp-sym.h> and <bp-asm.h>.
23506         (__rawmemchr): Don't use BP_SYM.
23507         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23508         <bp-sym.h> and <bp-asm.h>.
23509         (__STRCMP): Don't use BP_SYM.
23510         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23511         <bp-sym.h> and <bp-asm.h>.
23512         (strchr): Don't use BP_SYM.
23513         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23514         <bp-sym.h> and <bp-asm.h>.
23515         (__strchrnul): Don't use BP_SYM.
23516         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23517         <bp-sym.h> and <bp-asm.h>.
23518         (strlen): Don't use BP_SYM.
23519         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23520         <bp-sym.h> and <bp-asm.h>.
23521         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23522         pointers.
23523         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23524         <bp-sym.h> and <bp-asm.h>.
23525         (__strnlen): Don't use BP_SYM.
23526         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23527         <bp-sym.h> and <bp-asm.h>.
23528         (__GI__setjmp): Don't use BP_SYM.
23529         (_setjmp): Likewise.
23530         (__sigsetjmp): Likewise.
23531         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23532         (L(start_addresses)): Don't use BP_SYM.
23533         (_start): Likewise.
23534         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23535         <bp-asm.h>.
23536         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23537         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23538         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23539         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23540         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23541         <bp-asm.h>.
23542         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23543         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23544         about bounded pointers.
23545         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23546         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23547         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23548         <bp-asm.h>.
23549         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23550         about bounded pointers.  Remove GKM FIXME comments.
23551         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23552         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23553         <bp-asm.h>.
23554         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23555         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23556         Remove GKM FIXME comments.
23557         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23558         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23559         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23560         <bp-asm.h>.
23561         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23562         about bounded pointers.  Remove GKM FIXME comment.
23563         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23564         and <bp-asm.h>.
23565         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23566         pointers.
23567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23568         <bp-sym.h> and <bp-asm.h>.
23569         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23571         <bp-sym.h> and <bp-asm.h>.
23572         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23573         comment.
23574
23575 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23576
23577         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23578         call free(NULL).
23579
23580 2013-03-05  David S. Miller  <davem@davemloft.net>
23581
23582         * po/es.po: Update from translation team.
23583
23584 2013-03-05  Andreas Jaeger  <aj@suse.de>
23585
23586         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23587         <bits/mman-linux.h>.
23588         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23589         is fine.
23590         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23591         <bits/mman-linux.h> to end of file.
23592         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23593         is fine.
23594         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23595         <bits/mman-linux.h> to end of file.
23596         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23597         is fine.
23598         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23599         <bits/mman-linux.h> to end of file.
23600
23601         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23602         (MCL_CURRENT, MCL_FUTURE): Define here.
23603
23604 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23605
23606         [BZ #15232]
23607         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23608         attribute_hidden.
23609         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23610
23611 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23612
23613         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23614         fourth parameter needed for rt_sigprocmask syscall.
23615         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23616         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23617         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23618         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23619         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23620         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23621
23622 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23623
23624         [BZ #13550]
23625         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23626         comment about bounded pointers.
23627         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23628         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23629
23630 2013-03-04  Andreas Jaeger  <aj@suse.de>
23631
23632         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23633         common definitions.
23634
23635         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23636         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23637         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23638         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23639         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23640         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23641
23642 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23643
23644         [BZ #15055]
23645         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23646         __ieee754_sqrl instead of __sqrl.
23647
23648 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23649
23650         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23651         * sysdeps/powerpc/fpu_control.h: ... here.
23652         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23653         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23654         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23655         * sysdeps/powerpc/bits/mathinline.h: ... here.
23656
23657 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23658
23659         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23660         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23661         to just [NEED_DL_SYSINFO_DSO].
23662         * elf/dl-support.c: Likewise.
23663         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23664         * elf/rtld.c (dl_main): Likewise.
23665         * elf/setup-vdso.h (setup_vdso): Likewise.
23666         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23667         * sysdeps/unix/sysv/linux/dl-sysdep.c
23668         (_dl_discover_osversion): Likewise.
23669
23670 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23671
23672         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23673         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23674
23675 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23676
23677         * NEWS: Mention libm performance improvements and non-x86 PI
23678         futex support.
23679
23680         * csu/libc-start.c (__pthread_initialize_minimal): Change
23681         function arguments.
23682         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23683
23684 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23685
23686         [BZ #13550]
23687         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23688         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23689         <bp-sym.h> and <bp-asm.h>.
23690         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23691         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23692         and <bp-asm.h>.
23693         (memcpy): Don't use BP_SYM.
23694         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23695         <bp-asm.h>.
23696         (__mpn_add_n): Don't use BP_SYM.
23697         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23698         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23699         and <bp-asm.h>.
23700         (__mpn_addmul_1): Don't use BP_SYM.
23701         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23702         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23703         <bp-sym.h>.
23704         (_setjmp): Don't use BP_SYM.
23705         (__novmx_setjmp): Likewise.
23706         (__GI__setjmp): Likewise.
23707         (__vmx_setjmp): Likewise.
23708         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23709         <bp-sym.h>.
23710         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23711         (__bzero): Don't use BP_SYM.
23712         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23713         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23714         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23715         <bp-sym.h> and <bp-asm.h>.
23716         (memcpy): Don't use BP_SYM.
23717         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23718         <bp-sym.h> and <bp-asm.h>.
23719         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23720         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23721         <bp-sym.h> and <bp-asm.h>.
23722         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23723         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23724         <bp-asm.h>.
23725         (__mpn_lshift): Don't use BP_SYM.
23726         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23727         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23728         <bp-asm.h>.
23729         (memset): Don't use BP_SYM.
23730         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23731         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23732         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23733         <bp-asm.h>.
23734         (__mpn_mul_1): Don't use BP_SYM.
23735         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23736         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23737         <bp-sym.h> and <bp-asm.h>.
23738         (memcmp): Don't use BP_SYM.
23739         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23740         <bp-sym.h> and <bp-asm.h>.
23741         (memcpy): Don't use BP_SYM.
23742         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23743         <bp-sym.h> and <bp-asm.h>.
23744         (memset): Don't use BP_SYM.
23745         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23746         <bp-sym.h> and <bp-asm.h>.
23747         (strncmp): Don't use BP_SYM.
23748         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23749         <bp-sym.h> and <bp-asm.h>.
23750         (memcpy): Don't use BP_SYM.
23751         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23752         <bp-sym.h> and <bp-asm.h>.
23753         (memset): Don't use BP_SYM.
23754         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23755         <bp-sym.h> and <bp-asm.h>.
23756         (__memchr): Don't use BP_SYM.
23757         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23758         <bp-sym.h> and <bp-asm.h>.
23759         (memcmp): Don't use BP_SYM.
23760         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23761         <bp-sym.h> and <bp-asm.h>.
23762         (memcpy): Don't use BP_SYM.
23763         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23764         <bp-sym.h> and <bp-asm.h>.
23765         (__mempcpy): Don't use BP_SYM.
23766         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23767         <bp-sym.h> and <bp-asm.h>.
23768         (__memrchr): Don't use BP_SYM.
23769         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23770         <bp-sym.h> and <bp-asm.h>.
23771         (memset): Don't use BP_SYM.
23772         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23773         <bp-sym.h> and <bp-asm.h>.
23774         (__rawmemchr): Don't use BP_SYM.
23775         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23776         <bp-sym.h> and <bp-asm.h>.
23777         (__STRCMP): Don't use BP_SYM.
23778         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23779         <bp-sym.h> and <bp-asm.h>.
23780         (strchr): Don't use BP_SYM.
23781         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23782         <bp-sym.h> and <bp-asm.h>.
23783         (__strchrnul): Don't use BP_SYM.
23784         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23785         <bp-sym.h> and <bp-asm.h>.
23786         (strlen): Don't use BP_SYM.
23787         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23788         <bp-sym.h> and <bp-asm.h>.
23789         (strncmp): Don't use BP_SYM.
23790         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23791         <bp-sym.h> and <bp-asm.h>.
23792         (__strnlen): Don't use BP_SYM.
23793         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23794         <bp-asm.h>.
23795         (__mpn_rshift): Don't use BP_SYM.
23796         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23797         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23798         <bp-sym.h> and <bp-asm.h>.
23799         (__sigsetjmp): Don't use BP_SYM.
23800         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23801         (L(start_addresses)): Don't use BP_SYM.
23802         (_start): Likewise.
23803         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23804         <bp-asm.h>.
23805         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23806         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23807         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23808         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23809         <bp-asm.h>.
23810         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23811         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23812         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23813         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23814         <bp-asm.h>.
23815         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23816         comments.
23817         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23818         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23819         <bp-asm.h>.
23820         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23821         FIXME comments.
23822         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23823         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23824         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23825         <bp-asm.h>.
23826         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23827         comment.
23828         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23829         and <bp-asm.h>.
23830         (strncmp): Don't use BP_SYM,
23831         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23832         <bp-asm.h>.
23833         (__mpn_sub_n): Don't use BP_SYM.
23834         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23835         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23836         and <bp-asm.h>.
23837         (__mpn_submul_1): Don't use BP_SYM.
23838         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23840         <bp-sym.h> and <bp-asm.h>.
23841         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23843         <bp-sym.h> and <bp-asm.h>.
23844         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23845         comment.
23846
23847 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23848
23849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23850         Use ZK to minimize writes to Z.
23851         (sub_magnitudes): Simplify code a bit.
23852         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23853         Use ZK to minimize writes to Z.
23854         (sub_magnitudes): Simplify code a bit.
23855
23856 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23857
23858         * csu/gmon-start.c: Add special exception to license text.
23859
23860 2013-02-27  Richard Henderson  <rth@redhat.com>
23861
23862         * scripts/config.guess: Update from config.git.
23863         * scripts/config.sub: Likewise.
23864
23865 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23866
23867         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23868
23869         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23870
23871         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23872
23873         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23874
23875         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23876
23877 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23878
23879         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23880         [$(build-shared = yes].
23881
23882 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23883
23884         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23885         (__mul): Reduce iterations for calculating mantissa.
23886
23887         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23888         MPTWO.
23889         (__mpranred): Likewise.
23890
23891         [BZ #15160]
23892         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23893         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23894
23895 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23896
23897         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23898         Define __attribute__.
23899
23900 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23901
23902         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23903         unused.
23904         * posix/regex_internal.h (__attribute): Remove.
23905         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23906         (re_string_context_at): Likewise.
23907         (bitset_not): Use __attribute__ and mark function as possibly
23908         unused.
23909         (bitset_merge): Likewise.
23910         (bitset_mask): Likewise.
23911         (re_string_char_size_at): Likewise.
23912         (re_string_wchar_at): Likewise.
23913         (re_string_elem_size_at): Likewise.
23914
23915 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23916
23917         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23918         code.
23919         (cc32): Likewise.
23920
23921         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23922         (__acr): Likewise.
23923         (__cpy): Likewise.
23924         (norm): Likewise.
23925         (denorm): Likewise.
23926         (__dbl_mp): Likewise.
23927         (add_magnitudes): Likewise.
23928         (sub_magnitudes): Likewise.
23929         (__mul): Likewise.
23930         (__inv): Likewise.
23931
23932         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23933         style.
23934
23935         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23936         style.
23937
23938         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23939         code.
23940
23941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23942         up changes with default code.
23943         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23944         Likewise.
23945
23946 2013-02-24  Allan McRae  <allan@archlinux.org>
23947
23948         * manual/socket.texi (The Internet Namespace): Order menu items
23949         to match that in the file.
23950
23951         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23952         node listing of the info page menu.
23953
23954 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23955
23956         [BZ #13550]
23957         * sysdeps/i386/bp-asm.h: Remove file.
23958         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23959         (PARMS): Do not use macros from bp-asm.h.
23960         (S1): Likewise.
23961         (S2): Likewise.
23962         (SIZE): Likewise.
23963         (__mpn_add_n): Do not use BP_SYM
23964         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23965         "bp-asm.h".
23966         (PARMS): Do not use macros from bp-asm.h.
23967         (S1): Likewise.
23968         (SIZE): Likewise.
23969         (__mpn_addmul_1): Do not use BP_SYM
23970         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23971         "bp-asm.h".
23972         (PARMS): Do not use macros from bp-asm.h.
23973         (SIGMSK): Likewise.
23974         (_setjmp): Likewise.  Do not use BP_SYM.
23975         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23976         "bp-asm.h".
23977         (PARMS): Do not use macros from bp-asm.h.
23978         (SIGMSK): Likewise.
23979         (setjmp): Likewise.  Do not use BP_SYM.
23980         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23981         "bp-asm.h".
23982         (PARMS): Do not use macros from bp-asm.h.
23983         (__frexp): Do not use BP_SYM.
23984         (frexp): Likewise.
23985         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23986         "bp-asm.h".
23987         (PARMS): Do not use macros from bp-asm.h.
23988         (__frexpf): Do not use BP_SYM.
23989         (frexpf): Likewise.
23990         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23991         "bp-asm.h".
23992         (PARMS): Do not use macros from bp-asm.h.
23993         (__frexpl): Do not use BP_SYM.
23994         (frexpl): Likewise.
23995         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23996         "bp-asm.h".
23997         (PARMS): Do not use macros from bp-asm.h.
23998         (__remquo): Do not use BP_SYM.
23999         (remquo): Likewise.
24000         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24001         "bp-asm.h".
24002         (PARMS): Do not use macros from bp-asm.h.
24003         (__remquof): Do not use BP_SYM.
24004         (remquof): Likewise.
24005         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24006         "bp-asm.h".
24007         (PARMS): Do not use macros from bp-asm.h.
24008         (__remquol): Do not use BP_SYM.
24009         (remquol): Likewise.
24010         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24011         "bp-asm.h".
24012         (PARMS): Do not use macros from bp-asm.h.
24013         (DEST): Likewise.
24014         (SRC): Likewise.
24015         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24016         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24017         "bp-asm.h".
24018         (PARMS): Do not use macros from bp-asm.h.
24019         (strlen): Do not use BP_SYM.
24020         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24021         "bp-asm.h".
24022         (PARMS): Do not use macros from bp-asm.h.
24023         (S1): Likewise.
24024         (S2): Likewise.
24025         (SIZE): Likewise.
24026         (__mpn_add_n): Do not use BP_SYM.
24027         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24028         "bp-asm.h".
24029         (PARMS): Do not use macros from bp-asm.h.
24030         (S1): Likewise.
24031         (SIZE): Likewise.
24032         (__mpn_addmul_1): Do not use BP_SYM.
24033         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24034         weak_alias.
24035         (bzero): Likewise.
24036         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24037         "bp-asm.h".
24038         (PARMS): Do not use macros from bp-asm.h.
24039         (S): Likewise.
24040         (SIZE): Likewise.
24041         (__mpn_lshift): Do not use BP_SYM.
24042         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24043         "bp-asm.h".
24044         (PARMS): Do not use macros from bp-asm.h.
24045         (DEST): Likewise.
24046         (SRC): Likewise.
24047         (LEN): Likewise.
24048         (memcpy): Likewise.  Do not use BP_SYM.
24049         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24050         libc_hidden_def and weak_alias.
24051         (mempcpy): Do not use BP_SYM in weak_alias.
24052         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24053         "bp-asm.h".
24054         (PARMS): Do not use macros from bp-asm.h.
24055         (DEST): Likewise.
24056         (LEN): Likewise.
24057         [!BZERO_P] (CHR): Likewise.
24058         (memset): Likewise.  Do not use BP_SYM.
24059         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24060         "bp-asm.h".
24061         (PARMS): Do not use macros from bp-asm.h.
24062         (S1): Likewise.
24063         (SIZE): Likewise.
24064         (__mpn_mul_1): Do not use BP_SYM.
24065         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24066         "bp-asm.h".
24067         (PARMS): Do not use macros from bp-asm.h.
24068         (S): Likewise.
24069         (SIZE): Likewise.
24070         (__mpn_rshift): Do not use BP_SYM.
24071         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24072         "bp-asm.h".
24073         (PARMS): Do not use macros from bp-asm.h.
24074         (STR): Likewise.
24075         (CHR): Likewise.
24076         (strchr): Likewise.  Do not use BP_SYM.
24077         (index): Do not use BP_SYM in weak_alias.
24078         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24079         "bp-asm.h".
24080         (PARMS): Do not use macros from bp-asm.h.
24081         (DEST): Likewise.
24082         (SRC): Likewise.
24083         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24084         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24085         "bp-asm.h".
24086         (PARMS): Do not use macros from bp-asm.h.
24087         (strlen): Do not use BP_SYM.
24088         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24089         "bp-asm.h".
24090         (PARMS): Do not use macros from bp-asm.h.
24091         (S1): Likewise.
24092         (S2): Likewise.
24093         (SIZE): Likewise.
24094         (__mpn_sub_n): Do not use BP_SYM.
24095         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24096         "bp-asm.h".
24097         (PARMS): Do not use macros from bp-asm.h.
24098         (S1): Likewise.
24099         (SIZE): Likewise.
24100         (__mpn_submul_1): Do not use BP_SYM.
24101         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24102         "bp-asm.h".
24103         (PARMS): Do not use macros from bp-asm.h.
24104         (S1): Likewise.
24105         (S2): Likewise.
24106         (SIZE): Likewise.
24107         (__mpn_add_n): Do not use BP_SYM.
24108         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24109         weak_alias.
24110         (bzero): Likewise.
24111         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24112         "bp-asm.h".
24113         (PARMS): Do not use macros from bp-asm.h.
24114         (BLK2): Likewise.
24115         (LEN): Likewise.
24116         (memcmp): Do not use BP_SYM.
24117         (bcmp): Do not use BP_SYM in weak_alias.
24118         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24119         "bp-asm.h".
24120         (PARMS): Do not use macros from bp-asm.h.
24121         (DEST): Likewise.
24122         (SRC): Likewise.
24123         (LEN): Likewise.
24124         (memcpy): Likewise.  Do not use BP_SYM.
24125         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24126         "bp-asm.h".
24127         (PARMS): Do not use macros from bp-asm.h.
24128         (DEST): Likewise.
24129         (SRC): Likewise.
24130         (LEN): Likewise.
24131         (memmove): Likewise.  Do not use BP_SYM.
24132         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24133         "bp-asm.h".
24134         (PARMS): Do not use macros from bp-asm.h.
24135         (DEST): Likewise.
24136         (SRC): Likewise.
24137         (LEN): Likewise.
24138         (__mempcpy): Likewise.  Do not use BP_SYM.
24139         (mempcpy): Do not use BP_SYM in weak_alias.
24140         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24141         "bp-asm.h".
24142         (PARMS): Do not use macros from bp-asm.h.
24143         (DEST): Likewise.
24144         (LEN): Likewise.
24145         [!BZERO_P] (CHR): Likewise.
24146         (memset): Likewise.  Do not use BP_SYM.
24147         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24148         "bp-asm.h".
24149         (PARMS): Do not use macros from bp-asm.h.
24150         (STR2): Likewise.
24151         (strcmp): Do not use BP_SYM.
24152         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24153         "bp-asm.h".
24154         (PARMS): Do not use macros from bp-asm.h.
24155         (STR): Likewise.
24156         (DELIM): Likewise.
24157         [USE_AS_STRTOK_R] (SAVE): Likewise.
24158         (FUNCTION): Likewise.  Do not use BP_SYM.
24159         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24160         aliases.
24161         (strtok_r): Likewise.
24162         (__GI___strtok_r): Likewise.
24163         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24164         (PARMS): Do not use macros from bp-asm.h.
24165         (S): Likewise.
24166         (SIZE): Likewise.
24167         (__mpn_lshift): Do not use BP_SYM.
24168         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24169         (PARMS): Do not use macros from bp-asm.h.
24170         (STR): Likewise.
24171         (CHR): Likewise.
24172         (__memchr): Do not use BP_SYM.
24173         (memchr): Do not use BP_SYM in weak_alias.
24174         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24175         (PARMS): Do not use macros from bp-asm.h.
24176         (BLK2): Likewise.
24177         (LEN): Likewise.
24178         (memcmp): Do not use BP_SYM.
24179         (bcmp): Do not use BP_SYM in weak_alias.
24180         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24181         (PARMS): Do not use macros from bp-asm.h.
24182         (S1): Likewise.
24183         (SIZE): Likewise.
24184         (__mpn_mul_1): Do not use BP_SYM.
24185         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24186         "bp-asm.h".
24187         (PARMS): Do not use macros from bp-asm.h.
24188         (STR): Likewise.
24189         (CHR): Likewise.
24190         (__rawmemchr): Do not use BP_SYM.
24191         (rawmemchr): Do not use BP_SYM in weak_alias.
24192         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24193         (PARMS): Do not use macros from bp-asm.h.
24194         (S): Likewise.
24195         (SIZE): Likewise.
24196         (__mpn_rshift): Do not use BP_SYM.
24197         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24198         (PARMS): Do not use macros from bp-asm.h.
24199         (SIGMSK): Likewise.
24200         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24201         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24202         (_start): Do not use BP_SYM.
24203         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24204         (PARMS): Do not use macros from bp-asm.h.
24205         (DEST): Likewise.
24206         (SRC): Likewise.
24207         (__stpcpy): Likewise.  Do not use BP_SYM.
24208         (stpcpy): Do not use BP_SYM in weak_alias.
24209         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24210         "bp-asm.h".
24211         (PARMS): Do not use macros from bp-asm.h.
24212         (DEST): Likewise.
24213         (SRC): Likewise.
24214         (LEN): Likewise.
24215         (__stpncpy): Likewise.  Do not use BP_SYM.
24216         (stpncpy): Do not use BP_SYM in weak_alias.
24217         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24218         (PARMS): Do not use macros from bp-asm.h.
24219         (STR): Likewise.
24220         (CHR): Likewise.
24221         (strchr): Likewise.  Do not use BP_SYM.
24222         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24223         "bp-asm.h".
24224         (PARMS): Do not use macros from bp-asm.h.
24225         (STR): Likewise.
24226         (CHR): Likewise.
24227         (__strchrnul): Likewise.  Do not use BP_SYM.
24228         (strchrnul): Do not use BP_SYM in weak_alias.
24229         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24230         "bp-asm.h".
24231         (PARMS): Do not use macros from bp-asm.h.
24232         (STOP): Likewise.
24233         (strcspn): Do not use BP_SYM.
24234         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24235         "bp-asm.h".
24236         (PARMS): Do not use macros from bp-asm.h.
24237         (STR): Likewise.
24238         (STOP): Likewise.
24239         (strpbrk): Likewise.  Do not use BP_SYM.
24240         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24241         "bp-asm.h".
24242         (PARMS): Do not use macros from bp-asm.h.
24243         (STR): Likewise.
24244         (CHR): Likewise.
24245         (strrchr): Likewise.  Do not use BP_SYM.
24246         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24247         (PARMS): Do not use macros from bp-asm.h.
24248         (SKIP): Likewise.
24249         (strspn): Do not use BP_SYM.
24250         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24251         (PARMS): Do not use macros from bp-asm.h.
24252         (STR): Likewise.
24253         (DELIM): Likewise.
24254         (SAVE): Likewise.
24255         (FUNCTION): Likewise.  Do not use BP_SYM.
24256         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24257         aliases.
24258         (strtok_r): Likewise.
24259         (__GI___strtok_r): Likewise.
24260         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24261         (PARMS): Do not use macros from bp-asm.h.
24262         (S1): Likewise.
24263         (S2): Likewise.
24264         (SIZE): Likewise.
24265         (__mpn_sub_n): Do not use BP_SYM.
24266         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24267         "bp-asm.h".
24268         (PARMS): Do not use macros from bp-asm.h.
24269         (S1): Likewise.
24270         (SIZE): Likewise.
24271         (__mpn_submul_1): Do not use BP_SYM.
24272         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24273         <bp-sym.h>.
24274         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24275         and <bp-asm.h>.
24276         (PARMS): Do not use macros from bp-asm.h.
24277         (FLAGS): Likewise.
24278         (PTID): Likewise.
24279         (TLS): Likewise.
24280         (CTID): Likewise.
24281         (__clone): Do not use BP_SYM.
24282         (clone): Do not use BP_SYM in weak_alias.
24283         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24284         and <bp-asm.h>.
24285         (PARMS): Do not use macros from bp-asm.h.
24286         (LEN): Likewise.
24287         (__mmap64): Do not use BP_SYM.
24288         (mmap64): Do not use BP_SYM in weak_alias.
24289         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24290         <bp-sym.h> and <bp-asm.h>.
24291         (PARMS): Do not use macros from bp-asm.h.
24292         (__posix_fadvise64_l64): Do not use BP_SYM.
24293         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24294         (PARMS): Do not use macros from bp-asm.h.
24295         (NSOPS): Likewise.
24296         (semtimedop): Do not use BP_SYM.
24297         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24298         and <bp-asm.h>.
24299
24300 2013-02-21  Allan McRae  <allan@archlinux.org>
24301
24302         * manual/message.texi (Charset conversion in gettext):
24303         Move @end statement to beginning of line.
24304
24305 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24306
24307         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24308         static.
24309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24310         Likewise.
24311
24312         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24313         (denorm): Likewise.
24314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24316
24317 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24318
24319         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24320         tail-call to the resolved function if pltexit isn't needed.
24321
24322 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24323
24324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24325         or Y being zero as being unlikely.
24326         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24327         Likewise.
24328
24329 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24330
24331         * manual/nss.texi (System Databases and Name Service Switch):
24332         Remove frobnicate @pxref.
24333
24334 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24335
24336         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24337         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24338
24339 2013-02-20  Petr Machata  <pmachata@redhat.com>
24340
24341         * elf/elf.h (R_ARM_TARGET1): New macro.
24342         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24343         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24344         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24345         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24346         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24347         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24348         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24349         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24350         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24351         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24352         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24353         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24354         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24355         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24356         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24357         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24358         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24359         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24360         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24361         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24362         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24363         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24364         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24365         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24366         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24367         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24368         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24369         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24370         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24371         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24372         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24373         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24374         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24375         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24376         (R_ARM_THM_GOT_BREL12): Likewise.
24377         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24378         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24379         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24380         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24381         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24382         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24383         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24384         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24385         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24386
24387 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24388
24389         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24390         __attribute_used__ to __attribute__ ((unused)).
24391
24392 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24393
24394         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24395         powerpc mpa.c.
24396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24397         comment formatting.
24398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24399
24400 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24401
24402         [BZ #13550]
24403         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24404         Remove macro.
24405         (ENTER): Remove both macro definitions.
24406         (LEAVE): Likewise.
24407         (CHECK_BOUNDS_LOW): Likewise.
24408         (CHECK_BOUNDS_HIGH): Likewise.
24409         (CHECK_BOUNDS_BOTH): Likewise.
24410         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24411         (RETURN_BOUNDED_POINTER): Likewise.
24412         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24413         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24414         (POP_ERRNO_LOCATION_RETURN): Likewise.
24415         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24416         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24417         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24418         macros.
24419         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24420         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24421         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24422         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24423         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24424         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24425         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24426         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24427         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24428         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24429         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24430         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24431         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24432         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24433         removed macros.
24434         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24435         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24436         macros.
24437         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24438         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24439         * sysdeps/i386/i586/memset.S (memset): Likewise.
24440         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24441         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24442         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24443         macros.
24444         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24445         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24446         Change uses of L(2) to L(out).
24447         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24448         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24449         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24450         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24451         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24452         removed macros.
24453         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24454         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24455         macros.
24456         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24457         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24458         (RETURN): Do not use macro LEAVE.
24459         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24460         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24461         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24462         * sysdeps/i386/i686/memset.S (memset): Likewise.
24463         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24464         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24465         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24466         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24467         Likewise.
24468         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24469         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24470         L(1_2) and L(1_3) into L(1).
24471         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24472         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24473         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24474         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24475         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24476         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24477         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24478         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24479         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24480         macros.
24481         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24482         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24483         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24484         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24485         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24486         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24487         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24488         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24489         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24490         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24491         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24492         * sysdeps/i386/strspn.S (strspn): Likewise.
24493         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24494         conditional code.
24495         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24496         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24497         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24498         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24499         L(1_3) into L(1_1).
24500         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24501         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24502         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24503         macros.
24504         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24505
24506 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24507
24508         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24509         macro.
24510
24511 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24512
24513         * math/atest-exp.c (exp_mpn): Remove ROUND.
24514         * math/atest-exp2.c (exp_mpn): Likewise.
24515         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24516
24517         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24518         * stdlib/tst-tls-atexit-lib.c: Likewise.
24519         * stdlib/tst-tls-atexit.c: Likewise.
24520
24521 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24522
24523         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24524         and __attribute_alloc_size__.
24525
24526 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24527
24528         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24529         __attribute_alloc_size__.
24530         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24531         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24532
24533 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24534
24535         * include/programs/xmalloc.h: New file.
24536         * catgets/gencat.c: Include it.
24537         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24538         * elf/pldd.c: Likewise.
24539         * iconv/iconv_charmap.c: Likewise.
24540         * iconv/iconvconfig.c: Likewise.
24541         * iconv/strtab.c: Likewise.
24542         * locale/programs/locale.c: Likewise.
24543         * locale/programs/localedef.h: Likewise.
24544         * locale/programs/simple-hash.c: Likewise.
24545         * nscd/nscd.h: Likewise.
24546         * nss/makedb.c: Likewise.
24547         * sysdeps/generic/ldconfig.h: Likewise.
24548
24549 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24550
24551         * Versions.def: Add GLIBC_2.18.
24552         * include/link.h (struct link_map): New member l_tls_dtor_count.
24553         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24554         (__call_tls_dtors): Likewise.
24555         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24556         __cxa_thread_atexit_impl.
24557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24558         Likewise.
24559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24560         Likewise.
24561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24562         Likewise.
24563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24564         Likewise.
24565         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24567         Likewise.
24568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24569         Likewise.
24570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24572         Likewise.
24573         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24574         (tests): Add test case tst-tls-atexit.
24575         (modules-names): Add shared library for tst-tls-atexit.
24576         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24577         (GLIBC_PRIVATE): Add __call_tls_dtors.
24578         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24579         for libstdc++.
24580         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24581         * stdlib/tst-tls-atexit.c: New test case.
24582         * stdlib/tst-tls-atexit-lib.c: New test case.
24583
24584         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24585
24586         * elf/Versions (ld): Add _dl_find_dso_for_object.
24587         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24588         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24589         (dl_open_worker): Use _dl_find_dso_for_object.
24590         * elf/dl-sym.c (do_sym): Likewise.
24591         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24592
24593 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24594
24595         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24596         Syntactic changes only.
24597         (_dl_runtime_profile): Do a tail-call to the resolved function.
24598
24599 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24600
24601         [BZ #13550]
24602         * sysdeps/x86_64/bp-asm.h: Remove file.
24603         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24604         <bp-sym.h> and <bp-asm.h>.
24605         (__clone): Do not use BP_SYM.
24606         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24607         <bp-sym.h> and <bp-asm.h>.
24608         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24609         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24610         "bp-asm.h".
24611         (_setjmp): Do not use BP_SYM.
24612         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24613         "bp-asm.h".
24614         (setjmp): Do not use BP_SYM.
24615         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24616         libc_hidden_def.
24617         (mempcpy): Do not use BP_SYM in weak_alias.
24618         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24619         "bp-asm.h".
24620         (strchr): Do not use BP_SYM.
24621         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24622         "bp-asm.h".
24623         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24624         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24625         (_start): Do not use BP_SYM.
24626         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24627         "bp-asm.h".
24628         (strcat): Do not use BP_SYM.
24629         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24630         "bp-asm.h".
24631         (STRCMP): Do not use BP_SYM.
24632         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24633         "bp-asm.h".
24634         (STRCPY): Do not use BP_SYM.
24635         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24636         "bp-asm.h".
24637         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24638         "bp-asm.h".
24639         (FUNCTION): Do not use BP_SYM.
24640         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24641         weak_alias.
24642         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24643
24644 2013-02-17  Andreas Jaeger  <aj@suse.de>
24645
24646         * time/Versions: Sort entries.
24647         * string/Versions: Likewise.
24648         * resolv/Versions: Likewise.
24649         * posix/Versions: Likewise.
24650         * iconv/Versions: Likewise.
24651         * elf/Versions: Likewise.
24652         * wcsmbs/Versions: Likewise.
24653
24654 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24655
24656         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24657         loop termination condition.
24658
24659         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24660         variable to calculate EZ.
24661         (__sqr): Likewise.
24662
24663         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24664         the lower precision input.
24665
24666 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24667
24668         [BZ #13550]
24669         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24670         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24671         (run-via-rtld-prefix): Do not handle %-bp tests.
24672         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24673         (all-object-suffixes): Remove .ob.
24674         (bppfx): Remove variable.
24675         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24676         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24677         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24678         [$(build-bounded) = yes] (libtype.ob): Likewise.
24679         * Makerules (elide-routines.ob): Remove variable.
24680         (do-tests-clean): Do not handle *-bp.out.
24681         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24682         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24683         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24684         (tests): Do not include $(tests-bp.out).
24685         (xtests): Do not include $(xtests-bp.out).
24686         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24687         [$(build-bounded) = yes] ($(addprefix
24688         $(objpfx),$(binaries-bounded))): Remove rule.
24689         ($(objpfx)%-bp.out): Remove rule.
24690         * config.make.in (build-bounded): Remove variable.
24691         * crypt/Makefile [$(build-bounded) = yes]
24692         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24693         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24694         append to variable.
24695         [$(build-bounded) = yes] (install-lib): Likewise.
24696         [$(build-bounded) = yes] (generated): Likewise.
24697         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24698         Remove rule.
24699         * intl/Makefile [$(build-bounded) = yes]
24700         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24701         * math/Makefile [$(build-bounded) = yes]
24702         ($(tests:%=$(objpfx)%-bp): Likewise.
24703         * misc/Makefile [$(build-bounded) = yes]
24704         ($(objpfx)tst-tsearch-bp): Likewise.
24705         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24706         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24707         Remove dependency.
24708         * string/Makefile (o-objects.ob): Remove variable.
24709         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24710         (CFLAGS-.ob): Remove variable.
24711         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24712         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24713         both definitions of variable.
24714         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24715         (ASFLAGS-.ob): Remove variable.
24716
24717 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24718
24719         [BZ #13550]
24720         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24721         Remove __BOUNDED_POINTERS__ from condition.
24722         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24723         * string/bits/string2.h [!__NO_STRING_INLINES &&
24724         !__BOUNDED_POINTERS__]: Likewise.
24725         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24726         Likewise.
24727         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24728         Remove conditional code.
24729         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24730         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24731         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24732         condition.
24733
24734         [BZ #13550]
24735         * csu/libc-start.c: Do not include <bp-sym.h>.
24736         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24737         * elf/dl-open.c: Do not include <bp-sym.h>.
24738         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24739         * math/fegetenv.c: Do not include <bp-sym.h>.
24740         (fegetenv): Do not use BP_SYM in versioned symbols.
24741         * nptl/sysdeps/pthread/bits/libc-lockP.h
24742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24743         <bp-sym.h>.
24744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24745         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24747         (__pthread_mutex_destroy): Likewise.
24748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24749         (__pthread_mutex_lock): Likewise.
24750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24751         (__pthread_mutex_trylock): Likewise.
24752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24753         (__pthread_mutex_unlock): Likewise.
24754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24755         (__pthread_mutexattr_init): Likewise.
24756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24757         (__pthread_mutexattr_destroy): Likewise.
24758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24759         (__pthread_mutexattr_settype): Likewise.
24760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24761         (__pthread_rwlock_init): Likewise.
24762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24763         (__pthread_rwlock_destroy): Likewise.
24764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24765         (__pthread_rwlock_rdlock): Likewise.
24766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24767         (__pthread_rwlock_tryrdlock): Likewise.
24768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24769         (__pthread_rwlock_wrlock): Likewise.
24770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24771         (__pthread_rwlock_trywrlock): Likewise.
24772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24773         (__pthread_rwlock_unlock): Likewise.
24774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24775         (__pthread_key_create): Likewise.
24776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24777         (__pthread_setspecific): Likewise.
24778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24779         (__pthread_getspecific): Likewise.
24780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24781         Likewise.
24782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24783         (_pthread_cleanup_push_defer): Likewise.
24784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24785         (_pthread_cleanup_pop_restore): Likewise.
24786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24787         (pthread_setcancelstate): Likewise.
24788         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24789         <bp-sym.h>.
24790         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24791         (memchr): Do not use BP_SYM in weak_alias.
24792         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24793         (fegetenv): Do not use BP_SYM in versioned symbols.
24794         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24795         (fesetenv): Do not use BP_SYM in versioned symbols.
24796         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24797         (feupdateenv): Do not use BP_SYM in versioned symbols.
24798         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24799         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24800         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24801         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24802         (open64): Do not use BP_SYM in weak_alias.
24803         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24804         (fegetenv): Do not use BP_SYM in versioned symbols.
24805         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24806         (fesetenv): Do not use BP_SYM in versioned symbols.
24807         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24808         (feupdateenv): Do not use BP_SYM in versioned symbols.
24809         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24810         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24811         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24812         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24813         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24814         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24815         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24816         <bp-sym.h>.
24817         (__libc_start_main): Do not use BP_SYM.
24818
24819 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24820
24821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24822         redundant return line.
24823         (norm): Likewise.
24824         (denorm): Likewise.
24825         (dbl_mp): Likewise.
24826         (sub_magnitudes): Likewise.
24827         (__add): Likewise.
24828         (__sub): Likewise.
24829         (__mul): Likewise.
24830         (__inv): Likewise.
24831         (__dvd): Likewise.
24832         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24833         (norm): Likewise.
24834         (denorm): Likewise.
24835         (dbl_mp): Likewise.
24836         (sub_magnitudes): Likewise.
24837         (__add): Likewise.
24838         (__sub): Likewise.
24839         (__mul): Likewise.
24840         (__inv): Likewise.
24841         (__dvd): Likewise.
24842
24843         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24844         instead of __mul.
24845         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24846         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24847         (cc32): Likewise.
24848
24849         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24850         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24851         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24852         of __mul for squares.
24853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24854         function
24855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24856         Likewise.
24857         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24858         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24859
24860 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24861
24862         [BZ #13550]
24863         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24864         code.
24865         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24866         prototype or function definition.  Rename ubp_* variables and
24867         parameters.  Remove argv definitions conditional on
24868         [__BOUNDED_POINTERS__].
24869         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24870         * elf/dl-runtime.c (_dl_fixup): Likewise.
24871         * include/set-hooks.h (RUN_HOOK): Likewise.
24872         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24873         definition.
24874         * string/strcpy.c (strcpy): Do not use __unbounded.
24875         * sysdeps/generic/frame.h (struct layout): Likewise.
24876         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24877         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24878         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24879         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24880         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24881         (__backtrace): Likewise.
24882         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24883         use __ptrvalue.
24884         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24885         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24886         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24887         Likewise.
24888         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24889         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24890         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24891         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24892         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24893         Do not use __unbounded.
24894         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24895         Rename __unboundedrlimits parameter to rlimits in prototype.
24896         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24897         Do not use __unbounded.
24898         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24899         not use __ptrvalue.
24900         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24901         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24902         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24903         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24904         __ptrvalue or __unbounded.
24905         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24906         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24907         use __unbounded.
24908         (__new_msgctl): Do not use __ptrvalue.
24909         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24910         __unbounded.
24911         (__libc_msgrcv): Do not use __ptrvalue.
24912         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24913         startup_info): Do not use __unbounded.
24914         (__libc_start_main): Likewise.  Rename ubp_* variables and
24915         parameters.  Remove argv definitions conditional on
24916         [__BOUNDED_POINTERS__].
24917         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24918         __ptrvalue.
24919         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24920         use __unbounded.
24921         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24922         or __ptrvalue.
24923         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24924         use __unbounded.
24925         (__new_shmctl): Do not use __ptrvalue.
24926         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24927         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24928         Likewise.
24929         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24930         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24931         (__libc_sigaction): Likewise.
24932         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24933         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24934         Likewise.
24935         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24936
24937 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24938
24939         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24940
24941         * string/mempcpy.c: Implement by calling memcpy.
24942
24943 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24944
24945         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24946
24947         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24948         evaluation.
24949
24950         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24951         values in the mantissa.
24952
24953         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24954         minimize writes to Z.
24955         (sub_magnitudes): Simplify code a bit.
24956
24957 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24958
24959         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24960         from the message.  The linker prefixes all warnings with that already.
24961
24962 2013-02-12  Andreas Schwab  <schwab@suse.de>
24963
24964         [BZ #15078]
24965         * posix/regexec.c (extend_buffers): Add parameter min_len.
24966         (check_matching): Pass minimum needed length.
24967         (clean_state_log_if_needed): Likewise.
24968         (get_subexp): Likewise.
24969         * posix/Makefile (tests): Add bug-regex34.
24970         (bug-regex34-ENV): Define.
24971         * posix/bug-regex34.c: New file.
24972
24973         [BZ #11561]
24974         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24975         elements compare against the byte sequence of it, not its name.
24976         * posix/Makefile (tests): Add bug-regex35.
24977         (bug-regex35-ENV): Define.
24978         * posix/bug-regex35.c: New file.
24979
24980 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24981
24982         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24983         comment.
24984         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24985         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24986         (CHECK_EOL): Add undef.
24987
24988 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24989
24990         * bits/stdlib-bsearch.h: New file.
24991         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24992         * stdlib/stdlib.h: Likewise.
24993
24994 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24995
24996         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24997         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24998         declaration.
24999         * manual/search.texi (Array Search Function): Add missing const in
25000         lfind prototype.
25001         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25002         declaration to use rlim_t.
25003         (Basic Scheduling Functions): Remove erroneous const from
25004         sched_getparam prototype.  Remove erroneous * from
25005         sched_get_priority_max and sched_get_priority_min prototypes.
25006         (Resource Usage): Fix summary @comment on vtimes to refer to
25007         sys/vtimes.h rather than vtimes.h.
25008         Add missing *s in vtimes prototype.
25009         (Limits on Resources): Fix ulimit prototype to return long int.
25010         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25011         prototypes to use long int rather than double.
25012         (BSD Random): Fix initstate and setstate to use char *, not void *.
25013         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25014         prototype to make second argument 'struct aiocb64 *const[]'.
25015         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25016         (Status of AIO Operations): Remove erroneous const in aio_return and
25017         aio_return64 prototypes.
25018         (Synchronizing I/O): Fix sync prototype to return void.
25019         * manual/startup.texi (Suboptions): Remove an erroneous const in
25020         getsubopt prototype.
25021         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25022         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25023         use size_t rather than int.
25024         (Scanning All Users): Likewise for getpwent_r.
25025         (Setting Groups): Add missing const to setgroups prototype.
25026         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25027         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25028         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25029         'const void *' rather than 'const char *'.
25030         (Host Address Functions): Likewise for inet_ntop.
25031         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25032         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25033         ssize_t for return value.
25034         (Sending Data): Likewise for send, sendto, sendmsg.
25035         (Socket Option Functions): Add a missing const in setsockopt prototype.
25036         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25037         use wchar_t for the argument.
25038         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25039         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25040         take no arguments.
25041         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25042         double/float/long double for second argument.
25043         Fix return types of significand, significandf, significandl.
25044         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25045         argument in fchmod prototype.
25046         (File Owner): Use uid_t and gid_t in fchown prototype.
25047         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25048         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25049         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25050         use 'const struct dirent **' as argument types to CMP function pointer
25051         argument.
25052         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25053         (File Times): Fix summary magic @comment for struct utimbuf and utime
25054         to refer to utime.h, not time.h.
25055         * manual/string.texi (Argz Functions): Add missing const in
25056         argz_extract and argz_next prototypes.
25057         (Finding Tokens in a String): Likewise for basename.
25058         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25059         (Copying and Concatenation): Fix typo in wmemmove prototype.
25060         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25061         (Signal Stack): Remove erroneous const in sigstack prototype.
25062         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25063         prototype.
25064         (Simple Calendar Time): Likewise for stime.
25065         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25066         prototype.
25067         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25068         say sys/sysctl.h instead.
25069         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25070         and vsyslog prototypes.
25071
25072 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25073
25074         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25075         Remove.
25076
25077 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25078
25079         * misc/sys/mman.h: Fix typo in mremap comment.
25080
25081 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25082
25083         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25084         the '\0' terminator.
25085
25086 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25087
25088         [BZ #13550]
25089         * debug/segfault.c: Don't include <bp-checks.h>.
25090         * sysdeps/generic/bp-checks.h: Remove file.
25091         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25092         (__GETDENTS): Don't use CHECK_N.
25093         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25094         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25095         (__getgroups): Don't use CHECK_N.
25096         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25097         (setgroups): Don't use CHECK_N.
25098         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25099         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25100         (__libc_msgrcv): Don't use CHECK_N.
25101         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25102         (__libc_msgsnd): Don't use CHECK_N.
25103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25104         <bp-checks.h>.
25105         (__libc_pread): Don't use CHECK_N.
25106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25107         include <bp-checks.h>.
25108         (__libc_pread64): Don't use CHECK_N.
25109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25110         include <bp-checks.h>.
25111         (__libc_pwrite): Don't use CHECK_N.
25112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25113         include <bp-checks.h>.
25114         (__libc_pwrite64): Don't use CHECK_N.
25115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25116         <bp-checks.h>.
25117         (__libc_pread): Don't use CHECK_N.
25118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25119         include <bp-checks.h>.
25120         (__libc_pread64): Don't use CHECK_N.
25121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25122         include <bp-checks.h>.
25123         (__libc_pwrite): Don't use CHECK_N.
25124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25125         include <bp-checks.h>.
25126         (__libc_pwrite64): Don't use CHECK_N.
25127         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25128         (do_pread): Don't use CHECK_N.
25129         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25130         (do_pread64): Don't use CHECK_N.
25131         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25132         (do_pwrite): Don't use CHECK_N.
25133         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25134         (do_pwrite64): Don't use CHECK_N.
25135         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25136         (__libc_readv): Don't use CHECK_N.
25137         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25138         (semop): Don't use CHECK_N.
25139         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25140         <bp-checks.h>.
25141         (semtimedop): Don't use CHECK_N.
25142         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25143         (__libc_pread): Don't use CHECK_N.
25144         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25145         <bp-checks.h>.
25146         (__libc_pread64): Don't use CHECK_N.
25147         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25148         <bp-checks.h>.
25149         (__libc_pwrite): Don't use CHECK_N.
25150         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25151         <bp-checks.h>.
25152         (__libc_pwrite64): Don't use CHECK_N.
25153         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25154         <bp-checks.h>.
25155         (__libc_msgrcv): Don't use CHECK_N.
25156         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25157         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25158         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25159         (__libc_writev): Don't use CHECK_N.
25160
25161 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25162
25163         * string/strcpy.c: Removed unused variable.
25164
25165         * Makeconfig (+sysdep-includes): Define with := rather than =.
25166         Use an existing include/ subdir of each sysdeps dir before it.
25167
25168 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25169
25170         * nscd/connection.c (register_traced_file): Comment function.
25171         [HAVE_INOTIFY] (union __inev): Define.
25172         [HAVE_INOTIFY] (inotify_check_files): New function.
25173         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25174         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25175         clear_db_cache.
25176         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25177
25178 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25179
25180         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25181         loaded if not already and that a failure is permanent.
25182
25183 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25184
25185         [BZ #15006]
25186         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25187         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25188
25189 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25190
25191         [BZ #13550]
25192         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25193         (CHECK_1_NULL_OK): Likewise.
25194         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25195         (__fxstat): Do not use CHECK_1.
25196         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25197         <bp-checks.h>.
25198         (___fxstat64): Do not use CHECK_1.
25199         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25200         <bp-checks.h>.
25201         (__fxstatat): Do not use CHECK_1.
25202         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25203         <bp-checks.h>.
25204         (__fxstatat64): Do not use CHECK_1.
25205         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25206         <bp-checks.h>.
25207         (__fxstat): Do not use CHECK_1.
25208         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25209         <bp-checks.h>.
25210         (__fxstatat): Do not use CHECK_1.
25211         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25212         <bp-checks.h>.
25213         (__getresgid): Do not use CHECK_1.
25214         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25215         <bp-checks.h>.
25216         (__getresuid): Do not use CHECK_1.
25217         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25218         <bp-checks.h>.
25219         (__lxstat): Do not use CHECK_1.
25220         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25221         <bp-checks.h>.
25222         (__old_msgctl): Do not use CHECK_1.
25223         (__new_msgctl): Likewise.
25224         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25225         <bp-checks.h>.
25226         (__new_setrlimit): Do not use CHECK_1.
25227         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25228         <bp-checks.h>.
25229         (__old_shmctl): Do not use CHECK_1.
25230         (__new_shmctl): Likewise.
25231         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25232         <bp-checks.h>.
25233         (__xstat): Do not use CHECK_1.
25234         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25235         (__lxstat): Do not use CHECK_1.
25236         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25237         <bp-checks.h>.
25238         (___lxstat64): Do not use CHECK_1.
25239         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25240         (__old_msgctl): Do not use CHECK_1.
25241         (__new_msgctl): Likewise.
25242         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25243         <bp-checks.h>.
25244         (__gettimeofday): Do not use CHECK_1.
25245         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25246         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25247         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25248         <bp-checks.h>.
25249         (__gettimeofday): Do not use CHECK_1.
25250         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25251         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25252         (__new_shmctl): Do not use CHECK_1.
25253         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25254         <bp-checks.h>.
25255         (do_sigtimedwait): Do not use CHECK_1.
25256         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25257         <bp-checks.h>.
25258         (do_sigwaitinfo): Do not use CHECK_1.
25259         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25260         <bp-checks.h>.
25261         (msgctl): Do not use CHECK_1.
25262         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25263         <bp-checks.h>.
25264         (shmctl): Do not use CHECK_1.
25265         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25266         (ustat): Do not use CHECK_1.
25267         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25268         <bp-checks.h>.
25269         (__fxstat): Do not use CHECK_1.
25270         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25271         <bp-checks.h>.
25272         (__fxstatat): Do not use CHECK_1.
25273         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25274         <bp-checks.h>.
25275         (__lxstat): Do not use CHECK_1.
25276         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25277         <bp-checks.h>.
25278         (__xstat): Do not use CHECK_1.
25279         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25280         (__xstat): Do not use CHECK_1.
25281         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25282         (___xstat64): Do not use CHECK_1.
25283
25284         [BZ #13550]
25285         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25286         definitions.
25287         (CHECK_BOUNDS_HIGH): Likewise.
25288         * string/strcpy.c: Do not include <bp-checks.h>.
25289         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25290
25291 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25292
25293         * nscd/nscd-client.h (__nscd_drop_map_ref):
25294         Add __attribute__ ((unused)).
25295         * nis/nss-nisplus.h (niserr2nss): Likewise.
25296
25297         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25298         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25299
25300         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25301         Remove inline keyword.
25302         * include/rounding-mode.h (round_away): Likewise.
25303         * libio/wfileops.c (adjust_wide_data): Likewise.
25304         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25305         (__m128i_strloadu_tolower): Likewise.
25306         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25307         (__m128i_strloadu_tolower): Likewise.
25308         * time/mktime.c (ydhms_diff): Likewise.
25309         * locale/elem-hash.h (elem_hash): Likewise.
25310         * locale/setlocale.c (setdata): Likewise.
25311         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25312         (re_string_wchar_at): Likewise.
25313         (bitset_not, bitset_merge, bitset_mask): Likewise.
25314         [!(__GNUC__ > 3)] (inline): Remove macro.
25315         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25316         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25317         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25318         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25319         * string/memcmp.c (memcmp_bytes): Likewise.
25320         * locale/programs/locarchive.c (compute_hashval): Likewise.
25321         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25322         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25323         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25324         * nss/getent.c (print_rpc, print_protocols): Likewise.
25325         (print_passwd, print_group, print_aliases): Likewise.
25326         * nis/nss-nisplus.h (niserr2nss): Likewise.
25327         * nscd/connections.c (restart_p): Likewise.
25328         Change return type to bool.
25329
25330 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25331
25332         * Makeconfig (all-Depend-files): Add existing
25333         $(sorted-subdirs:=/Depend) files.
25334         (all-subdirs): Remove nss.
25335         * sysdeps/unix/inet/Subdirs: Add it here instead.
25336         * hesiod/Depend: New file.
25337
25338         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25339         instead of calling alloca.
25340
25341         * io/lseek.c (__lseek): Rename to __libc_lseek.
25342         Define __lseek as an alias.
25343
25344         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25345
25346 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25347
25348         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25349         else clause and remove check for non-standard endianness.
25350
25351 2013-02-04  David S. Miller  <davem@davemloft.net>
25352
25353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25354
25355 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25356
25357         [BZ #13550]
25358         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25359         (__ubp_memchr): Remove prototype.
25360         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25361         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25362         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25363         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25364         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25365         Remove alias.
25366         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25367         (__ubp_memchr): Likewise.
25368         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25369         (__ubp_memchr): Likewise.
25370         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25371         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25372         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25373         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25374         CHECK_STRING.
25375         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25376         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25377         (__getcwd): Do not use CHECK_STRING.
25378         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25379         <bp-checks.h>.
25380         (__real_chown): Do not use CHECK_STRING.
25381         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25382         <bp-checks.h>.
25383         (fchownat): Do not use CHECK_STRING.
25384         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25385         CHECK_STRING.
25386         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25387         <bp-checks.h>.
25388         (__lchown): Do not use CHECK_STRING.
25389         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25390         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25391         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25392         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25394         include <bp-checks.h>.
25395         (truncate64): Do not use CHECK_STRING.
25396         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25397         <bp-checks.h>.
25398         (__real_chown): Do not use CHECK_STRING.
25399         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25400         <bp-checks.h>.
25401         (__lchown): Do not use CHECK_STRING.
25402         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25403         <bp-checks.h>.
25404         (__chown): Do not use CHECK_STRING.
25405         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25406         <bp-checks.h>.
25407         (truncate64): Do not use CHECK_STRING.
25408         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25409         Likewise.
25410         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25411         (__xmknod): Do not use CHECK_STRING.
25412         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25413         <bp-checks.h>.
25414         (__xmknodat): Do not use CHECK_STRING.
25415         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25416         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25417
25418 2013-02-04  Andreas Schwab  <schwab@suse.de>
25419
25420         [BZ #14142]
25421         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25422         * include/netdb.h: Likewise for h_errno.
25423         * elf/tst-stackguard1.c: Include <tls.h>.
25424
25425 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25426
25427         * elf/link.h (struct link_map): Extend the l_addr comment.
25428         * include/link.h (struct link_map): Likewise.
25429
25430 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25431
25432         [BZ #13550]
25433         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25434         (BOUNDED_1): Remove macro.
25435         * debug/backtrace.c: Don't include <bp-checks.h>.
25436         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25437         (__backtrace): Likewise.
25438         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25439         <bp-checks.h>.
25440         (__backtrace): Don't use BOUNDED_1.
25441         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25442         <bp-checks.h>.
25443         (__backtrace): Don't use BOUNDED_1.
25444         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25445         (__backtrace): Don't use BOUNDED_1.
25446         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25447         (shmat): Don't use BOUNDED_N.
25448
25449 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25450
25451         [BZ #13550]
25452         * sysdeps/generic/bp-start.h: Remove file.
25453         * csu/libc-start.c: Don't include <bp-start.h>.
25454         (LIBC_START_MAIN): Set up __environ directly instead of using
25455         INIT_ARGV_and_ENVIRON.
25456         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25457         <bp-start.h>.
25458
25459         [BZ #13550]
25460         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25461         definitions.
25462         (CHECK_FCNTL): Likewise.
25463         (CHECK_N_PAGES): Likewise.
25464
25465         [BZ #13550]
25466         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25467         definitions.
25468         (CHECK_SIGSET_NULL_OK): Likewise.
25469         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25470         <bp-checks.h>.
25471         (sigpending): Don't use CHECK_SIGSET.
25472         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25473         <bp-checks.h>.
25474         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25475         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25476         <bp-checks.h>.
25477         (do_sigsuspend): Don't use CHECK_SIGSET.
25478         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25479         use CHECK_SIGSET.
25480         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25481         (do_sigwait): Don't use CHECK_SIGSET.
25482         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25483         use CHECK_SIGSET.
25484         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25485         include <bp-checks.h>.
25486         (sigpending): Don't use CHECK_SIGSET.
25487         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25488         include <bp-checks.h>.
25489         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25490         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25491         <bp-checks.h>.
25492         (sigpending): Don't use CHECK_SIGSET.
25493         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25494         <bp-checks.h>.
25495         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25496
25497         [BZ #13550]
25498         * sysdeps/generic/bp-semctl.h: Remove file.
25499         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25500         <bp-checks.h> and <bp-semctl.h>.
25501         (__old_semctl): Don't use CHECK_SEMCTL.
25502         (__new_semctl): Likewise.
25503         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25504         and <bp-semctl.h>.
25505         (__old_semctl): Don't use CHECK_SEMCTL.
25506         (__new_semctl): Likewise.
25507         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25508         <bp-checks.h> and <bp-semctl.h>.
25509         (__old_semctl): Don't use CHECK_SEMCTL.
25510         (__new_semctl): Likewise.
25511         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25512         <bp-checks.h> and <bp-semctl.h>.
25513         (semctl): Don't use CHECK_SEMCTL.
25514
25515         [BZ #13550]
25516         * Makerules (elide-bp-thunks): Remove variable.
25517         (elide-routines.oS): Don't use $(elide-bp-thunks).
25518         (elide-routines.os): Likewise.
25519         (elide-routines.o): Likewise.
25520         (elide-routines.op): Likewise.
25521         (elide-routines.og): Likewise.
25522         (objects): Don't use $(bp-thunks).
25523         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25524         include.
25525         (common-generated): Do not add s-proto-bp.d.
25526         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25527         (int): Likewise.
25528         (typ): Likewise.
25529         Do not generate makefile rules for bounded-pointer thunks.
25530         * sysdeps/generic/bp-thunks.h: Remove file.
25531         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25532         * sysdeps/unix/s-proto-bp.S: Likewise.
25533
25534         [BZ #15062]
25535         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25536         parts of result separately when argument is not close to line from
25537         -i to i and one part of argument is small.
25538         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25539         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25540         * math/libm-test.inc (cacos_test): Add more tests.
25541         (casin_test): Likewise.
25542         (casinh_test): Likewise.
25543         * sysdeps/i386/fpu/libm-test-ulps: Update.
25544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25545
25546 2013-01-31  David S. Miller  <davem@davemloft.net>
25547
25548         * po/de.po: Update from translation team.
25549
25550 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25551
25552         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25553
25554 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25555
25556         * configure.in (_AC_PROG_CC_C89): New definition.
25557         * configure: Regenerate.
25558
25559         * configure.in (AC_PROG_CPP): New definition.
25560         * configure: Regenerate.
25561
25562 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25563
25564         * debug/tst-backtrace.h: New file.
25565         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25566         (ret): Remove variable.
25567         (x): Likewise.
25568         (FAIL): Remove macro.
25569         (NO_INLINE): Likewise.
25570         (fn1): Use match function instead of strstr.
25571         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25572         (ret): Remove variable.
25573         (x): Likewise.
25574         (FAIL): Remove macro.
25575         (NO_INLINE): Likewise.
25576         (fn): Use match function instead of strstr.
25577         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25578         (ret): Remove variable.
25579         (x): Likewise.
25580         (FAIL): Remove macro.
25581         (NO_INLINE): Likewise.
25582         (handle_signal): Use match function instead of strstr.
25583         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25584         (ret): Remove variable.
25585         (x): Likewise.
25586         (FAIL): Remove macro.
25587         (NO_INLINE): Likewise.
25588         (handle_signal): Use match function instead of strstr.
25589
25590 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25591
25592         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25593
25594 2013-01-23  David S. Miller  <davem@davemloft.net>
25595
25596         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25597         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25598         argument of CAS if possible.
25599         * sysdeps/sparc/sparc64/bits/atomic.h
25600         (__arch_compare_and_exchange_val_32_acq): Likewise.
25601         (__arch_compare_and_exchange_val_64_acq): Likewise.
25602
25603 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25604
25605         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25606         * sysdeps/posix/ulimit.c: ... this.
25607         Include <limits.h>.
25608         * sysdeps/unix/bsd/ulimit.c: Remove file.
25609
25610 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25611
25612         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25613         (LDFLAGS-tst-array5): Likewise.
25614
25615 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25616
25617         [BZ #15036]
25618         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25619         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25620         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25621         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25622
25623 2013-01-21  David S. Miller  <davem@davemloft.net>
25624
25625         * sysdeps/sparc/backtrace.c: New file.
25626         * sysdeps/sparc/sparc32/backtrace.h: New file.
25627         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25628         * sysdeps/sparc/sparc64/backtrace.h: New file.
25629         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25630         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25631         -funwind-tables.
25632
25633 2013-01-21  Andreas Schwab  <schwab@suse.de>
25634
25635         [BZ #15020]
25636         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25637         closed its stdout.
25638
25639 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25640
25641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25642         "mpa2.h".
25643         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25644
25645 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25646             Mark Mitchell  <mark@codesourcery.com>
25647             Tom de Vries  <tom@codesourcery.com>
25648             Paul Pluzhnikov  <ppluzhnikov@google.com>
25649
25650         * debug/tst-backtrace2.c: New file.
25651         * debug/tst-backtrace3.c: Likewise.
25652         * debug/tst-backtrace4.c: Likewise.
25653         * debug/tst-backtrace5.c: Likewise.
25654         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25655         (CFLAGS-tst-backtrace3.c): Likewise.
25656         (CFLAGS-tst-backtrace4.c): Likewise.
25657         (CFLAGS-tst-backtrace5.c): Likewise.
25658         (LDFLAGS-tst-backtrace2): Likewise.
25659         (LDFLAGS-tst-backtrace3): Likewise.
25660         (LDFLAGS-tst-backtrace4): Likewise.
25661         (LDFLAGS-tst-backtrace5): Likewise.
25662         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25663         tst-backtrace4 and tst-backtrace5.
25664
25665 2013-01-18  Anton Blanchard  <anton@samba.org>
25666             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25667
25668         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25669         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25670         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25671         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25673         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25674         "+r" and remove output regs list as redundant.  Add explicit inline
25675         asm to specify register of return val to work around compiler codegen
25676         bug.  Remove (int) cast on return value.  Add return type parameter to
25677         use in macro so that this macro does not truncate return value for
25678         64-bit values.
25679         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25680         pass to INTERNAL_VSYSCALL_NCS.
25681         (INLINE_VSYSCALL): Add 'long int' as return type to
25682         INTERNAL_VSYSCALL_NCS macro invocation.
25683         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25684         INTERNAL_VSYSCALL_NCS macro invocation.
25685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25686
25687 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25688
25689         [BZ #14496]
25690         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25691         Fix application of SIMD FP exception mask.
25692
25693         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25694         mp_no from a power of two.
25695         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25696         __mpexp_twomm1.  Use __pow_mp.
25697
25698         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25699         multiplication.
25700
25701 2013-01-17  David S. Miller  <davem@davemloft.net>
25702
25703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25704
25705 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25706
25707         [BZ #15023]
25708         * include/complex.h: Condition contents on [!_COMPLEX_H].
25709         (__kernel_casinhf): New prototype.
25710         (__kernel_casinh): Likewise.
25711         (__kernel_casinhl): Likewise.
25712         * math/Makefile (libm_calls): Add k_casinh.
25713         * math/k_casinh.c: New file.
25714         * math/k_casinhf.c: Likewise.
25715         * math/k_casinhl.c: Likewise.
25716         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25717         finite nonzero arguments.
25718         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25719         finite nonzero arguments.
25720         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25721         finite nonzero arguments.
25722         * math/s_casinh.c: Do not include <float.h>.
25723         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25724         * math/s_casinhf.c: Do not include <float.h>.
25725         (__casinhf): Move code for finite nonzero arguments to
25726         k_casinhf.c.
25727         * math/s_casinhl.c: Do not include <float.h>.
25728         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25729         redefine.
25730         (__casinhl): Move code for finite nonzero arguments to
25731         k_casinhl.c.
25732         * math/libm-test.inc (cacos_test): Add more tests.
25733         * sysdeps/i386/fpu/libm-test-ulps: Update.
25734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25735
25736 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25737
25738         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25739         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25740         [!HAVE_MREMAP]: Remove [defined linux] case.
25741         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25742
25743 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25744
25745         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25746
25747 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25748
25749         * elf/elf.h (R_386_SIZE32): New relocation.
25750         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25751         R_386_SIZE32.
25752         (elf_machine_rela): Likewise.
25753         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25754         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25755
25756 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25757
25758         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25759         (FP_FAST_FMA): Do not define.
25760         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25761         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25762         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25763         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25764         !_SOFT_FLOAT]: Likewise.
25765         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25766         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25767         value.
25768         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25769         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25770         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25771         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25772         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25773         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25774         file.
25775
25776 2013-01-16  Andreas Schwab  <schwab@suse.de>
25777
25778         [BZ #14327]
25779         * include/stdlib.h (__mktemp): Add declaration.
25780         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25781         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25782
25783 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25784
25785         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25786         definitions.
25787         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25788         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25789         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25790         definitions here.
25791         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25792         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25793         definitions.
25794         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25795         and ONE.
25796         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25797         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25798         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25799         definitions.
25800         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25801         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25802         definitions.
25803         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25804
25805         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25806
25807 2013-01-15  David S. Miller  <davem@davemloft.net>
25808
25809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25810         trunc{,f} to libm-sysdep_routes.
25811         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25813         file.
25814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25816         file.
25817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25818         file.
25819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25821         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25822         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25823         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25824         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25825         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25826         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25827
25828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25829         nearbyint{,f} to libm-sysdep_routes.
25830         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25832         New file.
25833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25834         file.
25835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25836         New file.
25837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25838         file.
25839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25841         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25842         file.
25843         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25844         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25845         file.
25846         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25847         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25848         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25849
25850         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25851         libc_feholdexcept and libc_fesetenv.
25852
25853 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25854
25855         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25856
25857 2013-01-14  David S. Miller  <davem@davemloft.net>
25858
25859         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25860         (SPARC_ASM_VIS2_IFUNC): Likewise.
25861         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25863         use of 'siam' instruction.
25864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25865         Likewise.
25866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25867         Likewise.
25868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25869         Likewise.
25870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25875         file.
25876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25877         file.
25878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25879         file.
25880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25881         file.
25882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25887         new VIS2 routines.
25888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25891         Likewise.
25892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25897         routines to libm-sysdep_routines.
25898         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25899
25900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25901         fdim/fdimf to libm-sysdep_routines.
25902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25903         file.
25904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25906         file.
25907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25910         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25911         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25912         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25913         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25914
25915 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25916
25917         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25918         to optimize copies.
25919
25920         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25923
25924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25925         local variable MPTWO.
25926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25927         Likewise.
25928
25929 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25930
25931         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25932         GLOB_NOESCAPE.
25933
25934 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25935
25936         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25937
25938 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25939
25940         * manual/pattern.texi (glob_t): Document gl_flags.
25941         (glob64_t): Likewise.
25942
25943 2013-01-11  David S. Miller  <davem@davemloft.net>
25944
25945         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25946         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25947         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25948         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25949         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25950         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25951         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25952         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25953         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25954         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25955         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25956         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25957         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25958
25959         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25960         sparc V9 rather than using V8 code.
25961         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25962         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25963
25964         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25965         Move to...
25966         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25967         Here.
25968
25969 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25970
25971         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25972         not in the main loop.
25973         * configure: Regenerated.
25974
25975 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25976
25977         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25978         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25979         to just #else.
25980         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25981         [!__GLIBC_HAVE_LONG_LONG] case.
25982         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25983         condition to just #else.
25984         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25985         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25986         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25987         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25988         unconditional.
25989         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25990         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25991         #elif condition to just #else.
25992         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25993         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25994         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25995         #elif condition to just #else.
25996
25997 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25998
25999         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26000         (EF_MIPS_ARCH_64): Fix value.
26001         (EF_MIPS_ARCH_32R2): New.
26002         (EF_MIPS_ARCH_64R2): New.
26003
26004 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26005
26006         * Makeconfig (+link-pie-before-libc): New.
26007         (+link-pie-after-libc): Likewise.
26008         (+link-pie-tests): Likewise.
26009         (+link-pie): Rewritten.
26010         (link-before-libc): Remove $(config-LDFLAGS).
26011         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26012         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26013         (config-LDFLAGS): Renamed to ...
26014         (rtld-LDFLAGS): This.
26015         (rtld-tests-LDFLAGS): New macro.
26016         (link-libc-rpath-link): Likewise.
26017         (link-libc-tests-rpath-link): Likewise.
26018         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26019         (link-libc): Prepand $(link-libc-rpath-link).
26020         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26021         (test-program-prefix): New macro.
26022         (test-via-rtld-prefix): Likewise.
26023         (test-program-cmd): Likewise.
26024         (host-test-program-cmd): Likewise.
26025         * Makefile ($(common-objpfx)testrun.sh): Replace
26026         $(run-program-prefix) with $(test-program-prefix).
26027         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26028         $(rtld-LDFLAGS).
26029         ($(common-objpfx)shlib.lds): Likewise.
26030         (build-module-helper): Likewise.
26031         ($(common-objpfx)format.lds): Likewise.
26032         * Rules (binaries-pie-tests): New.
26033         (binaries-pie-notests): Likewise.
26034         (binaries-pie): Rewritten.
26035         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26036         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26037         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26038         (make-test-out): Replace $(host-built-program-cmd) with
26039         $(host-test-program-cmd).
26040         * config.make.in (build-hardcoded-path-in-tests): New variable.
26041         * configure.in (--enable-hardcoded-path-in-tests): New configure
26042         option.
26043         (hardcoded_path_in_tests): New AC_SUBST.
26044         * configure: Regenerated.
26045         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26046         $(built-program-cmd) with $(test-program-cmd).
26047         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26048         (test_program_cmd): This.
26049         * elf/Makefile ($(objpfx)order.out): Run test with
26050         $(test-program-prefix).
26051         ($(objpfx)order2.out): Likewise.
26052         ($(objpfx)tst-initorder.out): Likewise.
26053         ($(objpfx)tst-initorder2.out): Likewise.
26054         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26055         $(test-program-cmd).
26056         ($(objpfx)tst-array1-static.out): Likewise.
26057         ($(objpfx)tst-array2.out): Likewise.
26058         ($(objpfx)tst-array3.out): Likewise.
26059         ($(objpfx)tst-array4.out): Likewise.
26060         ($(objpfx)tst-array5.out): Likewise.
26061         ($(objpfx)tst-array5-static.out): Likewise.
26062         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26063         $(test-program-cmd).
26064         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26065         $(run-program-prefix) with $(test-program-prefix).
26066         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26067         (test_program_prefix): This.
26068         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26069         $(run-program-prefix) with $(test-program-prefix).
26070         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26071         (test_program_prefix): This.
26072         * iconvdata/tst-tables.sh: Likewise.
26073         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26074         $(run-program-prefix) with $(test-program-prefix).
26075         ($(objpfx)tst-translit.out): Likewise.
26076         ($(objpfx)tst-gettext2.out): Likewise.
26077         ($(objpfx)tst-gettext4.out): Likewise.
26078         ($(objpfx)tst-gettext6.out): Likewise.
26079         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26080         (test_program_prefix): This.
26081         * intl/tst-gettext2.sh: Likewise.
26082         * intl/tst-gettext4.sh  Likewise.
26083         * intl/tst-gettext6.sh: Likewise.
26084         * intl/tst-translit.sh: Likewise.
26085         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26086         with $(test-program-cmd).
26087         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26088         $(run-program-prefix) with $(test-program-prefix).
26089         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26090         (test_program_prefix): This.
26091         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26092         $(run-program-prefix) with $(test-program-prefix).
26093         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26094         (test_program_prefix): This.
26095         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26096         * posix/Makefile ($(objpfx)globtest.out): Replace
26097         $(run-via-rtld-prefix) and $(test-wrapper) with
26098         $(test-program-prefix) and $(test-via-rtld-prefix).
26099         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26100         $(test-program-prefix).
26101         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26102         $(host-test-program-cmd).
26103         (tst-spawn-ARGS): Likewise.
26104         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26105         $(test-program-prefix).
26106         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26107         (test_via_rtld_prefix): This.
26108         (test_wrapper): Renamed to ...
26109         (test_program_prefix): This.
26110         (run_program_prefix): Replaced by test_program_prefix.
26111         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26112         (test_program_prefix): This.
26113         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26114         with $(host-test-program-cmd).
26115         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26116         $(run-program-prefix) with $(test-program-prefix).
26117         ($(objpfx)tst-printf.out): Likewise.
26118         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26119         $(test-program-cmd).
26120         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26121         (test_program_prefix): This.
26122         * stdio-common/tst-unbputc.sh: Likewise.
26123         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26124         $(run-program-prefix) with $(test-program-prefix).
26125         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26126         (test_program_prefix): This.
26127         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26128         $(built-program-cmd) with $(test-program-cmd).
26129
26130 2013-01-11  Andreas Jaeger  <aj@suse.de>
26131
26132         [BZ #15003]
26133         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26134         value. Sync with Linux 3.7.
26135
26136 2013-01-10  David S. Miller  <davem@davemloft.net>
26137
26138         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26139         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26140         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26141
26142 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26143
26144         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26145         never set.
26146         * configure: Regenerated.
26147
26148 2013-01-10  David S. Miller  <davem@davemloft.net>
26149
26150         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26151         sparc V9 rather than using V8 code.
26152         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26153         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26154
26155 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26156
26157         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26158         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26159         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26160         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26161         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26162         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26163         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26164         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26165         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26166         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26167         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26168         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26169         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26170         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26171         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26172         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26173         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26174         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26175         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26176         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26177         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26178         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26179         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26180         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26181         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26182         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26183         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26184
26185 2013-01-10  David S. Miller  <davem@davemloft.net>
26186
26187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26188
26189 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26190
26191         * posix/Makefile (tests-static): New variable.
26192         (tests): Add $(tests-static).
26193         (tst-exec-static-ARGS): New variable.
26194         (tst-spawn-static-ARGS): Likewise.
26195         * posix/tst-exec-static.c: New file.
26196         * posix/tst-spawn-static.c: Likewise.
26197         * posix/tst-exec.c: Support run directly.
26198         * posix/tst-spawn.c: Likewise.
26199
26200 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26201
26202         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26203         long.
26204         * math/bits/mathcalls.h (llrint): Likewise.
26205         (llround): Likewise.
26206         * stdlib/stdlib.h (struct drand48_data): Likewise.
26207         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26208         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26209         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26210         Likewise.
26211         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26212         Likewise.
26213         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26214         (elf_greg_t): Likewise.
26215         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26216         (__jmp_buf): Likewise.
26217         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26218         definitions.
26219         (llrint): Likewise, for all definitions.
26220         (llrintl): Likewise.
26221
26222         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26223         Remove [__GNUC__] condition.
26224         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26225         condition to just [__USE_ISOC99].
26226         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26227
26228 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26229
26230         [BZ #14200]
26231         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26232         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26233         defined.
26234         (_POSIX_V6_ILP32_OFF32): Likewise.
26235         (_XBS5_ILP32_OFF32): Likewise.
26236         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26237         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26238
26239 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26240
26241         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26242
26243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26244         doubles __mpexp_twomm1.  Adjust usage.
26245         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26246         Remove.
26247
26248 2013-01-10  Andreas Schwab  <schwab@suse.de>
26249
26250         [BZ #14964]
26251         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26252         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26253
26254 2013-01-09  David S. Miller  <davem@davemloft.net>
26255
26256         [BZ #15003]
26257         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26258         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26259         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26260         (TCP_FASTOPEN): Define.
26261         (tcp_repair_opt): New structure.
26262         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26263         enum values.
26264         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26265         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26266         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26267         (tcp_cookie_transactions): New structure.
26268
26269 2013-01-09  Anton Blanchard  <anton@samba.org>
26270
26271         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26272         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26273         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26274         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26275
26276 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26277
26278         * include/features.h (__USE_ANSI): Remove.
26279
26280 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26281
26282         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26283
26284         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26285
26286 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26287
26288         * sysdeps/s390/fpu/libm-test-ulps: Update.
26289
26290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26291
26292         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26293         (__acr): Likewise.
26294         (__cpy): Likewise.
26295         (norm): Likewise.
26296         (denorm): Likewise.
26297         (__mp_dbl): Likewise.
26298         (__dbl_mp): Likewise.
26299         (add_magnitudes): Likewise.
26300         (sub_magnitudes): Likewise.
26301         (__add): Likewise.
26302         (__sub): Likewise.
26303         (__mul): Likewise.
26304         (__inv): Likewise.
26305         (__dvd): Likewise.
26306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26307         (__acr): Likewise.
26308         (__cpy): Likewise.
26309         (norm): Likewise.
26310         (denorm): Likewise.
26311         (__mp_dbl): Likewise.
26312         (__dbl_mp): Likewise.
26313         (add_magnitudes): Likewise.
26314         (sub_magnitudes): Likewise.
26315         (__add): Likewise.
26316         (__sub): Likewise.
26317         (__mul): Likewise.
26318         (__inv): Likewise.
26319         (__dvd): Likewise.
26320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26321         (__acr): Likewise.
26322         (__cpy): Likewise.
26323         (norm): Likewise.
26324         (denorm): Likewise.
26325         (__mp_dbl): Likewise.
26326         (__dbl_mp): Likewise.
26327         (add_magnitudes): Likewise.
26328         (sub_magnitudes): Likewise.
26329         (__add): Likewise.
26330         (__sub): Likewise.
26331         (__mul): Likewise.
26332         (__inv): Likewise.
26333         (__dvd): Likewise.
26334
26335 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26336
26337         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26338         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26339         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26340         2 && __USE_EXTERN_INLINES]: Likewise.
26341
26342 2013-01-08  Andreas Jaeger  <aj@suse.de>
26343
26344         [BZ# 14985]
26345         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26346         Remove.
26347         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26348         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26349
26350 2013-01-07  Anton Blanchard  <anton@samba.org>
26351
26352         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26353         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26354         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26355         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26356         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26357         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26358         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26359         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26360         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26361         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26362         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26363         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26364         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26365         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26366         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26367         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26368         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26369         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26370         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26371         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26372         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26373         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26374         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26375         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26376         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26377         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26378         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26379         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26380         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26381         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26382         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26384         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26385         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26386         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26387         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26388         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26389         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26390         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26391         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26392         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26393         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26394         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26395
26396 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26397
26398         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26399         (__MALLOC_PMT): Likewise.
26400         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26401         [__GNUC__], only on [_LIBC].
26402         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26403         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26404         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26405         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26406         forward declaration.
26407         (realloc_hook_ini): Likewise.
26408         (memalign_hook_ini): Likewise.
26409         (__libc_memalign): Do not use __MALLOC_PMT in variable
26410         declaration.
26411         (__libc_valloc): Likewise.
26412         (__libc_pvalloc): Likewise.
26413         (__libc_calloc): Likewise.
26414         (__posix_memalign): Likewise.
26415
26416         [BZ #14996]
26417         * math/s_casinh.c: Include <float.h>.
26418         (__casinh): Do not do computation with squaring and square root
26419         for large arguments.
26420         * math/s_casinhf.c: Include <float.h>.
26421         (__casinhf): Do not do computation with squaring and square root
26422         for large arguments.
26423         * math/s_casinhl.c: Include <float.h>.
26424         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26425         (__casinhl): Do not do computation with squaring and square root
26426         for large arguments.
26427         * math/libm-test.inc (casin_test): Add more tests.
26428         (casinh_test): Likewise.
26429         * sysdeps/i386/fpu/libm-test-ulps: Update.
26430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26431
26432 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26433
26434         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26435         (__x86_64_raw_data_cache_size): Likewise.
26436         (__x86_64_data_cache_size_half): Likewise.
26437         (__x86_64_raw_data_cache_size_half): Likewise.
26438         (__x86_64_shared_cache_size): Likewise.
26439         (__x86_64_raw_shared_cache_size): Likewise.
26440         (__x86_64_shared_cache_size_half): Likewise.
26441         (__x86_64_raw_shared_cache_size_half): Likewise.
26442         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26443         to ...
26444         (__x86_data_cache_size): This.
26445         (__x86_64_raw_data_cache_size): Renamed to ...
26446         (__x86_raw_data_cache_size): This.
26447         (__x86_64_data_cache_size_half): Renamed to ...
26448         (__x86_data_cache_size_half): This.
26449         (__x86_64_raw_data_cache_size_half): Renamed to ...
26450         (__x86_raw_data_cache_size_half): This.
26451         (__x86_64_shared_cache_size): Renamed to ...
26452         (__x86_shared_cache_size): This.
26453         (__x86_64_raw_shared_cache_size): Renamed to ...
26454         (__x86_raw_shared_cache_size): This.
26455         (__x86_64_shared_cache_size_half): Renamed to ...
26456         (__x86_shared_cache_size_half): This.
26457         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26458         (__x86_raw_shared_cache_size_half): This.
26459         * sysdeps/x86_64/memcpy.S: Updated.
26460         * sysdeps/x86_64/memset.S: Likewise.
26461         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26462         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26463         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26464
26465 2013-01-04  David S. Miller  <davem@davemloft.net>
26466
26467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26468
26469 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26470
26471         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26472         1 to avoid redefinition warning.
26473         (__USE_GNU): Don't define.
26474         (init_signaling_nan): Protoize.
26475
26476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26477
26478 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26479
26480         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26482         (__cpymn): Likewise.
26483         (norm): Remove commented code.
26484         (denorm): Likewise.
26485         (__mp_dbl): Likewise.
26486         (__inv): Likewise.
26487         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26488         (__cpymn): Likewise.
26489         (norm): Remove commented code.
26490         (denorm): Likewise.
26491         (__mp_dbl): Likewise.
26492         (__inv): Likewise.
26493
26494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26495         mp_no value for 1.0 and 2.0.
26496         (norm): Use RADIXI instead of radixi.d.
26497         (denorm): Likewise.
26498         (__mul): Use 0.0 instead of zero.d.
26499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26500         mp_no value for 1.0 and 2.0.
26501         (norm): Use RADIXI instead of radixi.d.
26502         (denorm): Likewise.
26503         (__mul): Use 0.0 instead of zero.d.
26504
26505 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26506
26507         [BZ #14994]
26508         * math/s_casinh.c (__casinh): Reduce finite argument to first
26509         quadrant then set signs of results at the end.
26510         * math/s_casinhf.c (__casinhf): Likewise.
26511         * math/s_casinhl.c (__casinhl): Likewise.
26512         * math/libm-test.inc (casin_test): Add more tests.
26513         (casinh_test): Likewise.
26514         * sysdeps/i386/fpu/libm-test-ulps: Update.
26515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26516
26517 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26518
26519         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26520
26521         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26522
26523         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26524         declarations.
26525         (denorm): Likewise.
26526         (__mp_dbl): Likewise.
26527         (__inv): Likewise.
26528
26529         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26530         and adjust the header comment.
26531
26532         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26533         variable name from declaration.
26534
26535 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26536
26537         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26538         Initialize COMMON_CPUID_INDEX_7 element.
26539         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26540         (CPUID_RTM): Likewise.
26541         (HAS_RTM): Likewise.
26542         (COMMON_CPUID_INDEX_7): New enum.
26543
26544 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26545
26546         [BZ #14981]
26547         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26548         size is zero, record memory as freed.
26549
26550 2013-01-03  Andreas Jaeger  <aj@suse.de>
26551
26552         * po/ia.po: Add new Interlingua translation.
26553
26554 2012-01-03  Allan McRae  <allan@archlinux.org>
26555
26556         * locale/programs/localedef.c: Fix description of '--posix' flag.
26557
26558 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26559
26560         * NEWS: Update dates in second copyright notice.
26561         * README: Update copyright dates in example.
26562         * manual/libc.texinfo: Update copyright dates.
26563         * scripts/test-installation.pl: Update copyright date in --version
26564         output.
26565
26566         * hurd/ctty-input.c: Fix copyright notice formatting.
26567         * hurd/ctty-output.c: Likewise.
26568         * hurd/dtable.c: Likewise.
26569         * hurd/hurd-raise.c: Likewise.
26570         * hurd/hurdprio.c: Likewise.
26571         * hurd/msgportdemux.c: Likewise.
26572         * misc/sys/file.h: Likewise.
26573         * misc/sys/ioctl.h: Likewise.
26574         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26575         * sysdeps/mach/hurd/chdir.c: Likewise.
26576         * sysdeps/mach/hurd/fchdir.c: Likewise.
26577         * sysdeps/mach/hurd/rename.c: Likewise.
26578         * sysdeps/mach/hurd/rmdir.c: Likewise.
26579         * sysdeps/mach/hurd/seekdir.c: Likewise.
26580         * sysdeps/mach/hurd/setsid.c: Likewise.
26581         * sysdeps/posix/wait3.c: Likewise.
26582
26583         * All files with FSF copyright notices: Update copyright dates
26584         using scripts/update-copyrights.
26585         * intl/plural.c: Regenerated.
26586         * locale/programs/charmap-kw.h: Likewise.
26587         * locale/programs/locfile-kw.h: Likewise.
26588
26589 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26590
26591         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26592         four values.
26593
26594         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26595         calculation loop and add branch prediction.
26596
26597         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26598         check access beyond bounds of m1np.
26599
26600         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26601         MPTWO.
26602         (__inv): Remove local variable MPTWO to use the global
26603         constant.
26604         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26605         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26606         variable MPTWO.
26607         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26608         MP3HALFS static const.
26609
26610 2013-01-01  David S. Miller  <davem@davemloft.net>
26611
26612         * po/ca.po: Update from translation team.
26613
26614 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26615
26616         * scripts/update-copyrights: New file.
26617         * Makeconfig: Reformat copyright notice.
26618         * ctype/ctype.h: Likewise.
26619         * debug/swprintf_chk.c: Likewise.
26620         * elf/dl-cache.c: Likewise.
26621         * elf/dl-debug.c: Likewise.
26622         * elf/dl-object.c: Likewise.
26623         * grp/initgroups.c: Likewise.
26624         * hurd/Makefile: Likewise.
26625         * hurd/hurd/signal.h: Likewise.
26626         * hurd/hurdfault.c: Likewise.
26627         * hurd/hurdioctl.c: Likewise.
26628         * hurd/hurdlookup.c: Likewise.
26629         * hurd/intr-msg.c: Likewise.
26630         * iconv/gconv_open.c: Likewise.
26631         * libio/swprintf.c: Likewise.
26632         * locale/lc-ctype.c: Likewise.
26633         * locale/nl_langinfo.c: Likewise.
26634         * mach/Machrules: Likewise.
26635         * mach/Makefile: Likewise.
26636         * malloc/obstack.h: Likewise.
26637         * manual/Makefile: Likewise.
26638         * manual/tsort.awk: Likewise.
26639         * misc/bits/stab.def: Likewise.
26640         * nis/nis_print_group_entry.c: Likewise.
26641         * nis/nis_table.c: Likewise.
26642         * nis/nss_compat/compat-pwd.c: Likewise.
26643         * nis/nss_compat/compat-spwd.c: Likewise.
26644         * po/Makefile: Likewise.
26645         * posix/fnmatch.c: Likewise.
26646         * posix/regex.h: Likewise.
26647         * resolv/Makefile: Likewise.
26648         * resolv/nss_dns/dns-network.c: Likewise.
26649         * resolv/res_hconf.c: Likewise.
26650         * scripts/gen-sorted.awk: Likewise.
26651         * soft-fp/soft-fp.h: Likewise.
26652         * stdio-common/printf.h: Likewise.
26653         * stdlib/monetary.h: Likewise.
26654         * stdlib/random.c: Likewise.
26655         * stdlib/random_r.c: Likewise.
26656         * sysdeps/generic/Makefile: Likewise.
26657         * sysdeps/gnu/Makefile: Likewise.
26658         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26659         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26660         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26661         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26662         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26664         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26665         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26666         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26667         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26668         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26669         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26670         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26671         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26672         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26673         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26674         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26675         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26676         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26677         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26678         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26679         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26680         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26681         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26682         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26683         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26684         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26685         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26686         * sysdeps/mach/hurd/errnos.awk: Likewise.
26687         * sysdeps/mach/hurd/fork.c: Likewise.
26688         * sysdeps/mach/hurd/getcwd.c: Likewise.
26689         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26690         * sysdeps/mach/hurd/mmap.c: Likewise.
26691         * sysdeps/mach/hurd/utimes.c: Likewise.
26692         * sysdeps/mach/hurd/xmknod.c: Likewise.
26693         * sysdeps/posix/profil.c: Likewise.
26694         * sysdeps/posix/readdir_r.c: Likewise.
26695         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26696         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26697         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26698         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26700         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26701         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26702         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26704         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26705         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26706         * sysdeps/pthread/lio_listio.c: Likewise.
26707         * sysdeps/sparc/dl-procinfo.h: Likewise.
26708         * sysdeps/unix/i386/sysdep.S: Likewise.
26709         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26710         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26711         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26712         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26714         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26715         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26716         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26717         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26718         * sysdeps/wordsize-32/divdi3.c: Likewise.
26719         * time/sys/time.h: Likewise.
26720         * wcsmbs/Makefile: Likewise.
26721
26722 2013-01-01  David S. Miller  <davem@davemloft.net>
26723
26724         * po/fr.po: Update from translation team.
26725
26726         * catgets/gencat.c: Update copyright year.
26727         * csu/version.c: Likewise.
26728         * debug/catchsegv.sh: Likewise.
26729         * debug/pcprofiledump.c: Likewise.
26730         * debug/xtrace.sh: Likewise.
26731         * elf/ldconfig.c: Likewise.
26732         * elf/ldd.bash.in: Likewise.
26733         * elf/pldd.c: Likewise.
26734         * elf/sotruss.ksh: Likewise.
26735         * elf/sprof.c: Likewise.
26736         * iconv/iconv_prog.c: Likewise.
26737         * iconv/iconvconfig.c: Likewise.
26738         * locale/programs/locale.c: Likewise.
26739         * locale/programs/localedef.c: Likewise.
26740         * login/programs/pt_chown.c: Likewise.
26741         * malloc/memusage.sh: Likewise.
26742         * malloc/memusagestat.c: Likewise.
26743         * malloc/mtrace.pl: Likewise.
26744         * nscd/nscd.c: Likewise.
26745         * nss/getent.c: Likewise.
26746         * nss/makedb.c: Likewise.
26747         * posix/getconf.c: Likewise.
26748
26749 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26750
26751         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26752         numbers.
26753
26754 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26755
26756         * math/bits/mathcalls.h (modf): Use __nonnull.
26757
26758 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26759
26760         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26761         (split): Use macro CN instead of the bare value.
26762         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26763         could be used.
26764         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26765         instead of the bare value.
26766         (power1): Likewise.
26767
26768 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26769
26770         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26771         __ATAN_TWOM.
26772         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26773
26774         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26775         their values.
26776         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26777         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26778         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26779         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26780
26781 2012-12-28  Andreas Jaeger  <aj@suse.de>
26782
26783         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26784         values are from Linux 3.7.
26785
26786         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26787         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26788
26789 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26790
26791         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26792         TRUE case.
26793
26794         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26795         (norm): Likewise.
26796         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26797         variables with preprocessor constants.
26798         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26799         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26800         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26801
26802 2012-12-27  Bruno Haible  <bruno@clisp.org>
26803
26804         [BZ #14317]
26805         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26806         only if needed.
26807
26808 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26809
26810         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26811         and use variable directly.
26812         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26813
26814         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26815         MPONE.
26816         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26817         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26818         variable MPONE.
26819         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26821         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26822         include directive.  Remove local variable MPONE.
26823         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26824         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26825         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26826
26827 2012-12-25  David S. Miller  <davem@davemloft.net>
26828
26829         * version.h (RELEASE): Set to "development".
26830         (VERSION): Set to "2.17.90".
26831         * NEWS: Add 2.18 section.
26832
26833 2012-12-21  David S. Miller  <davem@davemloft.net>
26834
26835         * po/hr.po: Update from translation team.
26836
26837 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26838
26839         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26840
26841 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26842
26843         * NEWS:  Mention new memcpy for MIPS.
26844
26845 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26846
26847         * manual/contrib.texi (Contributors): Spelling correction.
26848
26849 2012-12-15  David S. Miller  <davem@davemloft.net>
26850
26851         * po/ru.po: Update from translation team.
26852
26853 2012-12-13  David S. Miller  <davem@davemloft.net>
26854
26855         * NEWS: Mention IFUNC testsuite enhancements.
26856
26857         * po/pl.po: Update from translation team.
26858         * po/bg.po: Likewise.
26859
26860         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26861         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26862
26863 2012-12-11  David S. Miller  <davem@davemloft.net>
26864
26865         * po/sv.po: Update from translation team.
26866
26867         * po/vi.po: Update from translation team.
26868
26869         * po/cs.po: Update from translation team.
26870
26871         * po/de.po: Update from translation team.
26872         * po/eo.po: Likewise.
26873         * po/nl.po: Likewise.
26874
26875 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26876
26877         [BZ #14246]
26878         * manual/argp.texi (Argp Helper Functions): Move node to follow
26879         Argp Parsing State.
26880
26881         [BZ #14872]
26882         * manual/conf.texi (Limits on File System Capacity): Mention if
26883         terminating null is included in the max size.
26884
26885 2012-12-10  Andreas Jaeger  <aj@suse.de>
26886
26887         * po/cs.po: Update from translation team.
26888
26889 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26890
26891         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26892         void pointer and cast to uintptr_t.
26893         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26894         path.
26895         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26896         * sysdeps/s390/s390-64/memset.S: Likewise.
26897
26898 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26899
26900         [BZ #14833]
26901         * menual/message.texi (Message Translation): Fix typos.
26902         (Helper programs for gettext): Likewise.
26903
26904 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26905
26906         [BZ #14898]
26907         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26908         Change to -1.
26909
26910 2012-12-07  David S. Miller  <davem@davemloft.net>
26911
26912         * po/libc.pot: Update.
26913
26914 2012-12-07  Richard Henderson  <rth@redhat.com>
26915
26916         [BZ #10114]
26917         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26918         normal/normal case to before the switch.
26919         (_FP_DIV): Likewise.
26920
26921 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26922             Mike Frysinger  <vapier@gentoo.org>
26923
26924         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26925         check for __NR_fadvise64_64.
26926
26927 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26928
26929         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26930         0, not just to plain "0" as a statement.
26931         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26932         with cw.
26933
26934 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26935
26936         * NEWS: Use sourceware.org in Bugzilla URL.
26937
26938 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26939
26940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26941         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26942
26943         * stdio-common/tst-put-error.c (do_test): Add newline to the
26944         padded test to ensure flush.
26945
26946 2012-12-05  Jeff Law  <law@redhat.com>
26947
26948         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26949
26950 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26951
26952         * README: Don't refer to ports add-on as distributed separately.
26953         Mention AArch64 in list of systems supported in the ports add-on.
26954
26955         * LICENSES: Add more non-FSF copyright and license notices.
26956
26957         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26958         ((unused)).
26959
26960         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26961
26962         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26963         10000 as width of padded output.
26964
26965 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26966
26967         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26968
26969         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26970         variable LX with __attribute__ ((unused)).
26971         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26972         Likewise.
26973         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26974         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26976         with __attribute__ ((unused)).
26977
26978 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26979
26980         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26981
26982 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26983
26984         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26985         (CFLAGS-nldbl-acos.c): New variable.
26986         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26987         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26988         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26989         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26990         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26991         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26992         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26993         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26994         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26995         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26996         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26997         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26998         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26999         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27000         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27001         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27002         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27003         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27004         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27005         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27006         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27007         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27008         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27009         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27010         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27011         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27012         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27013         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27014         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27015         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27016         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27017         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27018         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27019         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27020         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27021         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27022         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27023         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27024         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27025         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27026         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27027         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27028         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27029         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27030         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27031         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27032         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27033         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27034         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27035         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27036         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27037         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27038         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27039         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27040         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27041         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27042         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27043         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27044         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27045         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27046         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27047         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27048         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27049         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27050         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27051         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27052         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27053         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27054         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27055         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27056         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27057         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27058         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27059         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27060         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27061         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27062         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27063         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27064         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27065         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27066         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27067         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27068         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27069         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27070         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27071         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27072         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27073         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27074         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27075         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27076         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27077         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27078         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27079         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27080         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27081         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27082         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27083
27084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27085         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27086
27087         [BZ #14914]
27088         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27089         whole low double instead of just low 47 bits when splitting values
27090         into two parts.
27091
27092 2012-12-03  Allan McRae  <allan@archlinux.org>
27093
27094         * manual/stdio.texi (Predefined Printf Handlers): Remove
27095         @hsep and @vsep usage.
27096
27097 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27098
27099         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27100         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27101
27102 2012-12-03  Jeff Law  <law@redhat.com>
27103
27104         * time/sys/time.h (settimeofday): Do not mark TV argument
27105         as __nonnull.
27106
27107 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27108
27109         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27110         when currently writing and seek to current position when not.
27111         * libio/Makefile (tests): Remove bug-fclose1.
27112         * libio/bug-fclose1.c: Delete.
27113
27114 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27115
27116         * manual/arith.texi (feenableexcept): Fix typo.
27117         (fedisableexcept): Likewise.
27118
27119 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27120
27121         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27122         second, differently-typed declaration, rather than a cast.
27123
27124 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27125
27126         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27127         * include/rpc/svc.h: ... here.
27128
27129 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27130
27131         [BZ #13013]
27132         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27133         depending n and resplen2 to catch cases where answer
27134         equals answerp2.
27135
27136 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27137
27138         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27139         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27140
27141 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27142
27143         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27144
27145 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27146
27147         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27148
27149 2012-11-28  Jeff Law  <law@redhat.com>
27150
27151         [BZ #13761]
27152         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27153         dataset_temporary.  Track alloca usage into alloca_used.
27154         If dataset is large allocate and release it via malloc/free.
27155
27156 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27157
27158         [BZ #14197]
27159         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27160
27161 2012-11-28  David S. Miller  <davem@davemloft.net>
27162
27163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27164
27165 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27166
27167         [BZ #14803]
27168         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27169         of pi/2 rounded to nearest to 64 bits.
27170         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27171         nearest to 64 bits.
27172         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27173         bits.
27174
27175 2012-11-28  Jeff Law <law@redhat.com>
27176             Martin Osvald <mosvald@redhat.com>
27177
27178         [BZ #14889]
27179         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27180         * sunrpc/svc.c: Include time.h.
27181         (__svc_accept_failed): New function.
27182         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27183         any reason other than EINTR, call __svc_accept_failed.
27184         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27185         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27186
27187 2012-11-28  Andreas Schwab  <schwab@suse.de>
27188
27189         * scripts/abilist.awk: Also handle indirect functions in .opd
27190         section.
27191
27192 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27193
27194         [BZ #13881]
27195         * sysdeps/x86/fpu/powl_helper.c: New file.
27196         * sysdeps/x86/fpu/Makefile: Likewise.
27197         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27198         (p3): New object.
27199         (__ieee754_powl): Use __powl_helper for finite arguments except
27200         integer exponents below 8.
27201         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27202         (p3): New object.
27203         (__ieee754_powl): Use __powl_helper for finite arguments except
27204         integer exponents below 8.
27205         * math/libm-test.inc (pow_test): Add more tests and enable some
27206         previously disabled tests.
27207         * sysdeps/i386/fpu/libm-test-ulps: Update.
27208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27209
27210 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27211             Carlos O'Donell  <carlos_odonell@mentor.com>
27212
27213         * nss/makedb.c (is_prime): Assert that input is odd and greater
27214         than 4.  Note that fact in a comment too.
27215         (next_prime): Add 4 to input.
27216
27217 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27218
27219         [BZ #11741]
27220         * libio/Makefile (tests): Add test case tst-fwrite-error.
27221         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27222         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27223         * libio/tst-fwrite-error.c: New test case.
27224
27225 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27226
27227         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27228         before casting to void *.
27229         * include/libc-internal.h (__pointer_type): New macro.
27230         (__integer_if_pointer_type_sub): Likewise.
27231         (__integer_if_pointer_type): Likewise.
27232         (cast_to_integer): Likewise.
27233         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27234         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27235         before casting to atomic64_t.
27236         (atomic_exchange_acq): Likewise.
27237         (__arch_exchange_and_add_body): Likewise.
27238         (__arch_add_body): Likewise.
27239         (atomic_add_negative): Likewise.
27240         (atomic_add_zero): Likewise.
27241
27242 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27243
27244         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27245         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27246         (add_fdes): Likewise.
27247         (linear_search_fdes): Likewise.
27248         (binary_search_unencoded_fdes): Likewise.
27249
27250 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27251
27252         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27253
27254 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27255
27256         * configure.in: Autodetect C++ header directories.
27257         * configure: Regenerated.
27258
27259 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27260
27261         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27262
27263 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27264
27265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27266
27267 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27268
27269         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27270         LDBL_MANT_DIG == 106]: Disable some tests.
27271         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27272         Likewise.
27273         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27274         Likewise.
27275
27276         [BZ #14871]
27277         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27278         input for small inputs.  Return +/- pi/2 for large inputs.
27279         * math/libm-test.inc (atan_test): Add more tests.
27280
27281         * sysdeps/generic/unwind-dw2-fde-glibc.c
27282         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27283         __attribute__ ((unused)).
27284
27285         [BZ #14645]
27286         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27287         x * y if x and y are nonzero and z is zero.
27288
27289         [BZ #14811]
27290         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27291         nonzero exponents with absolute value below 0x1p-117 to +/-
27292         0x1p-117.
27293
27294         [BZ #14869]
27295         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27296         up arguments below 2**-450, not just those below 2**-500.
27297         * math/libm-test.inc (hypot_test): Add another test.
27298
27299         [BZ #14868]
27300         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27301         Return a+b for ratio over 2**120, not 2**60.
27302         * math/libm-test.inc (hypot_test): Add another test.
27303
27304         * math/libm-test.inc (clog_test): Use
27305         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27306         (clog10_test): Likewise.
27307
27308         [BZ #6778]
27309         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27310
27311 2012-11-22  Andreas Schwab  <schwab@suse.de>
27312
27313         * sysdeps/i386/fpu/libm-test-ulps: Update.
27314
27315 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27316
27317         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27318         printf output with newline.
27319
27320 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27321
27322         [BZ #14865]
27323         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27324         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27325         -z nodlopen, -z initfirst and -z execstack support.
27326         * configure: Regenerated.
27327
27328         * elf/elf.h (DF_1_NODIRECT): New macro.
27329         (DF_1_IGNMULDEF): Likewise.
27330         (DF_1_NOKSYMS): Likewise.
27331         (DF_1_NOHDR): Likewise.
27332         (DF_1_EDITED): Likewise.
27333         (DF_1_NORELOC): Likewise.
27334         (DF_1_SYMINTPOSE): Likewise.
27335         (DF_1_GLOBAUDIT): Likewise.
27336         (DF_1_SINGLETON): Likewise.
27337         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27338         DT_1_SUPPORTED_MASK bits.
27339         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27340
27341 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27342
27343         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27344
27345 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27346
27347         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27348         macro.
27349
27350         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27351         (sendmmsg): Move declarations...
27352         * socket/sys/socket.h: ... here.
27353         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27354         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27355         include it from...
27356         * socket/recvmmsg.c: ... this new file.
27357         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27358         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27359         definition of __sendmmsg hidden.
27360         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27361         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27362         Move ENOSYS stub into and include it from...
27363         * socket/sendmmsg.c: ... this new file.
27364         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27365         (sysdep_routines): Move recvmmsg and sendmmsg...
27366         * socket/Makefile (routines): ... here.
27367         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27368         (GLIBC_PRIVATE): Add __sendmmsg.
27369         * include/sys/socket.h (__sendmmsg): Add declarations.
27370         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27371         sendmmsg.
27372
27373 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27374
27375         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27376         variable I1 with __attribute__ ((unused)).
27377         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27378
27379 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27380
27381         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27382         DUMMY variables with __attribute__ ((unused)).
27383
27384         * bits/byteswap.h: Include <bits/types.h>.
27385         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27386
27387 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27388
27389         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27390         string_t.  Do not manually set errno.
27391         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27392         length with __strnlen.  Make sure to both set errno and return it on
27393         failure.
27394
27395 2012-11-19  David S. Miller  <davem@davemloft.net>
27396
27397         With help from Joseph Myers.
27398         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27399         very large arguments properly.
27400         * math/libm-test.inc (atan_test): New tests.
27401         (atan2_test): New tests.
27402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27404
27405 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27406
27407         [BZ #14856]
27408         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27409         Define to 3.
27410
27411         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27412         [POSIX] (EADDRNOTAVAIL): Likewise.
27413         [POSIX] (EAFNOSUPPORT): Likewise.
27414         [POSIX] (EALREADY): Likewise.
27415         [POSIX] (ECONNABORTED): Likewise.
27416         [POSIX] (ECONNREFUSED): Likewise.
27417         [POSIX] (ECONNRESET): Likewise.
27418         [POSIX] (EDESTADDRREQ): Likewise.
27419         [POSIX] (EDQUOT): Likewise.
27420         [POSIX] (EHOSTUNREACH): Likewise.
27421         [POSIX] (EIDRM): Likewise.
27422         [POSIX] (EISCONN): Likewise.
27423         [POSIX] (ELOOP): Likewise.
27424         [POSIX] (EMULTIHOP): Likewise.
27425         [POSIX] (ENETDOWN): Likewise.
27426         [POSIX] (ENETUNREACH): Likewise.
27427         [POSIX] (ENOBUFS): Likewise.
27428         [POSIX] (ENODATA): Likewise.
27429         [POSIX] (ENOLINK): Likewise.
27430         [POSIX] (ENOMSG): Likewise.
27431         [POSIX] (ENOPROTOOPT): Likewise.
27432         [POSIX] (ENOSR): Likewise.
27433         [POSIX] (ENOSTR): Likewise.
27434         [POSIX] (ENOTCONN): Likewise.
27435         [POSIX] (ENOTSOCK): Likewise.
27436         [POSIX] (EOPNOTSUPP): Likewise.
27437         [POSIX] (EOVERFLOW): Likewise.
27438         [POSIX] (EPROTO): Likewise.
27439         [POSIX] (EPROTONOSUPPORT): Likewise.
27440         [POSIX] (EPROTOTYPE): Likewise.
27441         [POSIX] (ESTALE): Likewise.
27442         [POSIX] (ETIME): Likewise.
27443         [POSIX] (ETXTBSY): Likewise.
27444         [POSIX] (EWOULDBLOCK): Likewise.
27445         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27446         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27447         [POSIX] (SEEK_CUR): Likewise.
27448         [POSIX] (SEEK_END): Likewise.
27449         [POSIX || UNIX98] (mode_t): Do not require.
27450         [POSIX] (off_t): Likewise.
27451         [POSIX] (pid_t): Likewise.
27452         [POSIX] (sys/stat.h): Do not allow header.
27453         [POSIX] (unistd.h): Likewise.
27454         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27455         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27456         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27457         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27458         require.
27459         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27460         sigevent): Specify elements.
27461         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27462         entry.
27463         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27464         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27465
27466         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27467         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27468         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27469         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27470         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27471         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27472         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27473         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27474         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27475         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27476         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27477         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27478         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27479         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27480         Likewise.
27481         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27482         Likewise.
27483         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27484         Likewise.
27485         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27486         Likewise.
27487         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27488         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27489         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27490         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27491         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27492         Specify lower bound on value.
27493         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27494         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27495         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27496         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27497         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27498         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27499         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27500         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27501         value.
27502         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27503         as optional.
27504         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27505         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27506         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27507         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27508         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27509         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27510         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27511         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27512         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27513         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27514         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27515         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27516         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27517         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27518         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27519         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27520         entry.
27521         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27522         optional.
27523         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27524         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27525         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27526         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27527         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27528         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27529         Likewise.
27530         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27531         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27532         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27533         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27534         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27535         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27536         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27537         as optional.
27538         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27539         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27540         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27541         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27542         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27543         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27544         specify as optional.
27545         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27546         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27547         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27548         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27549         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27550         [XPG3] (NL_LANGMAX): Likewise.
27551         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27552         [POSIX || XPG3] (NL_NMAX): Likewise.
27553         [POSIX || XPG3] (NL_SETMAX): Likewise.
27554         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27555         [XPG3] (NZERO): Likewise.
27556         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27557         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27558         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27559         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27560         (REG_ERANGE): Expect.
27561         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27562         optional-constant.
27563         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27564         Use (void) in prototype.
27565         [POSIX] (*_t): Allow.
27566         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27567         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27568         (WRDE_BADVAL): Expect.
27569
27570         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27571         expect.
27572         [XPG3 || XPG4] (O_RSYNC): Likewise.
27573         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27574         Likewise.
27575         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27576         [XPG3 || XPG4] (sigqueue): Likewise.
27577         [XPG3 || XPG4] (sigtimedwait): Likewise.
27578         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27579         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27580         [XPG3 || XPG4] (vsnprintf): Likewise.
27581         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27582         Likewise.
27583         [XPG3 || XPG4] (blksize_t): Likewise.
27584         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27585         Likewise.
27586         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27587         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27588         [XPG3 || XPG4] (struct itimerspec): Likewise.
27589         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27590         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27591         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27592         [XPG3 || XPG4] (clockid_t): Likewise.
27593         [XPG3 || XPG4] (timer_t): Likewise.
27594         [XPG3 || XPG4] (clock_getres): Likewise.
27595         [XPG3 || XPG4] (clock_gettime): Likewise.
27596         [XPG3 || XPG4] (clock_settime): Likewise.
27597         [XPG3 || XPG4] (nanosleep): Likewise.
27598         [XPG3 || XPG4] (timer_create): Likewise.
27599         [XPG3 || XPG4] (timer_delete): Likewise.
27600         [XPG3 || XPG4] (timer_gettime): Likewise.
27601         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27602         [XPG3 || XPG4] (timer_settime): Likewise.
27603         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27604         [XPG3 || XPG4] (getlogin_r): Likewise.
27605         [XPG3 || XPG4] (pread): Likewise.
27606         [XPG3 || XPG4] (pthread_atfork): Likewise.
27607         [XPG3 || XPG4] (pwrite): Likewise.
27608
27609         [BZ #14835]
27610         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27611         <bits/siginfo.h>.
27612
27613 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27614
27615         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27616         finalizing MALLSTREAM.
27617
27618         * sysdeps/mach/hurd/syncfs.c: New file.
27619
27620 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27621
27622         [BZ #14719]
27623         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27624         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27625         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27626         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27627         (_nss_dns_gethostbyname4_r): Likewise.
27628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27629         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27630
27631 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27632
27633         [BZ #13763]
27634         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27635
27636 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27637
27638         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27639         * elf/cache.c (print_entry): Print ",AArch64" for
27640         FLAG_AARCH64_LIB64
27641
27642         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27643         * elf/cache.c (print_entry): Print ",hard-float" for
27644         FLAG_ARM_LIBHF.
27645
27646 2012-11-18  David S. Miller  <davem@davemloft.net>
27647
27648         With help from Joseph Myers.
27649         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27650         cutoff to 2**-13.
27651         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27652         cutoff to 2**-25.
27653         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27654         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27655         small.
27656         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27657         * math/libm-test.inc (y0_test): New tests.
27658         (y1_test): New tests.
27659         * sysdeps/i386/fpu/libm-test-ulps: Update.
27660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27662
27663 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27664
27665         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27666         64-bit targets.
27667         * configure: Regenerated.
27668
27669 2012-11-17  David S. Miller  <davem@davemloft.net>
27670
27671         [BZ #14811]
27672         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27673         nonzero exponents with absolute value below 0x1p-128 to +/-
27674         0x1p-128.
27675
27676 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27677
27678         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27679
27680         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27681
27682         * posix/getconf-speclist.c: New file.
27683         * posix/posix-envs.def: Likewise.
27684         * posix/confstr.c (START_ENV_GROUP): New macro.
27685         (END_ENV_GROUP): Likewise.
27686         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27687         (KNOWN_PRESENT_ENV_STRING): Likewise.
27688         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27689         (UNKNOWN_ENVIRONMENT): Likewise.
27690         (confstr): Include posix-envs.def instead of handling
27691         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27692         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27693         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27694         (END_ENV_GROUP): Likewise.
27695         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27696         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27697         (UNKNOWN_ENVIRONMENT): Likewise.
27698         (__sysconf): Include posix-envs.def instead of handling associated
27699         cases directly here.
27700         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27701         preprocessing getconf-speclist.c rather than running getconf or
27702         generating empty file.
27703
27704 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27705
27706         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27707
27708 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27709
27710         [BZ #14672]
27711         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27712
27713 2012-11-16  David S. Miller  <davem@davemloft.net>
27714
27715         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27716         smaller than LDBL_EPSILON/2.0L, just return xm1.
27717
27718 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27719
27720         * elf/tst-array1.c (init): Set constructor priority to 1000.
27721         (fini): Set destructor priority to 1000.
27722         * elf/tst-array2dep.c: Likewise.
27723
27724 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27725
27726         [BZ #11741]
27727         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27728         (_IO_new_file_xsputn): Also return EOF if none of the input
27729         data was written when overflow failed.
27730         * libio/iopadn.c (_IO_padn): Likewise.
27731         * libio/iowpadn.c (_IO_wpadn): Likewise.
27732         * stdio-common/tst-put-error.c: Add copyright notice.
27733         (do_test): Add case for printing padded string.
27734         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27735         _IO_padn returned error.
27736         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27737         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27738         return EOF.
27739
27740 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27741
27742         * libio/libioP.h: Add comment note that the references to C++
27743         bits are now obsolete.
27744
27745 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27746
27747         * math/libm-test.inc (check_complex): Use asprintf.
27748
27749 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27750
27751         * debug/pcprofiledump.c (print_version): Update copyright year.
27752         * malloc/memusagestat.c (print_version): Likewise.
27753
27754 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27755
27756         [BZ #14831]
27757         * elf/Makefile (tests): Add tst-audit8.
27758         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27759         ($(objpfx)tst-audit8.out): New target.
27760         (tst-audit8-ENV): New variable.
27761         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27762         audit if l_reloc_result is NULL.
27763         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27764         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27765         * elf/tst-audit8.c: New file.
27766
27767 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27768
27769         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27770         * misc/Makefile (CFLAGS-select.c): Define.
27771         * posix/Makefile (CFLAGS-pause.c): Define.
27772
27773 2012-11-13  David S. Miller  <davem@davemloft.net>
27774
27775         * crypt/Makefile: Move test targets after toplevel Rules
27776         inclusion.  Grab any necessary sysdep routines when linking.
27777         * crypt/md5.c (md5_process_block): Remove define, we will always
27778         name it __md5_process_block.
27779         (md5_finish_ctx): Update md5_process_block call.
27780         (md5_stream): Likewise.
27781         (md5_process_bytes): Likewise.
27782         (md5_process_block): Rename to __md5_process_block and move to ...
27783         * crypt/md5-block.c: ... here.
27784         * crypt/sha256.c (sha256_process_block): Move to ...
27785         * crypt/sha256-block.c: ... here.
27786         * crypt/sha512.c (sha512_process_block): Move to ...
27787         * crypt/sha512-block.c: ... here.
27788         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27789         path.
27790         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27791         * sysdeps/sparc/sparc64/multiarch/Makefile
27792         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27793         crypt subdir.
27794         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27795         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27796         multiarch changes.
27797         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27798         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27799         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27800         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27801         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27802         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27803         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27804         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27805         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27806         file.
27807         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27808         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27809         file.
27810         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27811
27812 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27813
27814         * timezone/tzselect.ksh: Update from tzcode git revision
27815         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27816         * timezone/zdump.c: Likewise.
27817         * timezone/zic.c: Likewise.
27818         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27819         in TZVERSION setting, not $(PKGVERSION).
27820         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27821         REPORT_BUGS_TO settings.
27822
27823         [BZ #14838]
27824         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27825         macro.
27826
27827 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27828
27829         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27830         detection to immediately after _FP_ROUND().
27831         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27832         bits are 0.
27833
27834 2012-11-11  David S. Miller  <davem@davemloft.net>
27835
27836         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27837         inttypes.h
27838         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27839         __close rather than their public counterparts.
27840
27841 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27842
27843         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27844         file.
27845         [UNIX98] (sem_timedwait): Do not expect.
27846         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27847         [XPG4 || UNIX98] (sockatmark): Do not expect.
27848         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27849         (clock_getcpuclockid): Do not expect.
27850         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27851         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27852         Do not expect.
27853         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27854         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27855         [UNIX98] (vwscanf): Likewise.
27856         [UNIX98] (vswscanf): Likewise.
27857
27858 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27859
27860         * timezone/version.h: Remove file.
27861         * timezone/README: Do not refer to version.h.
27862         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27863         $(objpfx)version.h.
27864         ($(objpfx)zdump.o): Likewise.
27865         ($(objpfx)version.h): New target.
27866
27867         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27868         2012i.
27869         * timezone/README: Don't mention modification to tzselect.ksh.
27870         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27871         work on unmodified tzselect.ksh.  Substitute version numbers in
27872         tzselect.ksh.
27873
27874         * Makefile (format-me): Remove.
27875         (INSTALL): Adjust indentation.  Use commands directly instead of
27876         using $(format-me).
27877
27878         * aclocal.m4 (ACX_PKGVERSION): New macro.
27879         (ACX_BUGURL): Likewise.
27880         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27881         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27882         (REPORT_BUGS_TO): Likewise.
27883         * configure: Regenerated.
27884         * config.h.in (PKGVERSION): New macro.
27885         (REPORT_BUGS_TO): Likewise.
27886         * config.make.in (PKGVERSION): New variable.
27887         (PKGVERSION_TEXI): Likewise.
27888         (REPORT_BUGS_TO): Likewise.
27889         (REPORT_BUGS_TEXI): Likewise.
27890         * Makefile (format-me): Use -I$(common-objpfx)manual.
27891         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27892         ($(common-objpfx)manual/%): New target.
27893         (manual/%): Remove target.
27894         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27895         (print_version): Use PKGVERSION.
27896         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27897         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27898         and REPORT_BUGS_TO.
27899         ($(objpfx)xtrace): Likewise.
27900         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27901         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27902         (print_version): Use PKGVERSION.
27903         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27904         (do_version): Use PKGVERSION.
27905         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27906         REPORT_BUGS_TO.
27907         (common-ldd-rewrite): Likewise.
27908         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27909         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27910         (print_version): Use PKGVERSION.
27911         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27912         * elf/pldd.c (argp_program_bug_address): Remove variable.
27913         (more_help): New function.
27914         (argp): Use more_help.
27915         (print_version): Use PKGVERSION.
27916         * elf/sln.c (main): Use PKGVERSION.
27917         (usage): Use REPORT_BUGS_TO.
27918         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27919         (top level): Use PKGVERSION.
27920         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27921         (print_version): Use PKGVERSION.
27922         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27923         (print_version): Use PKGVERSION.
27924         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27925         (print_version): Use PKGVERSION.
27926         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27927         (print_version): Use PKGVERSION.
27928         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27929         (print_version): Use PKGVERSION.
27930         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27931         (print_version): Use PKGVERSION.
27932         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27933         and BUGURL.
27934         ($(objpfx)memusage): Likewise.
27935         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27936         (do_version): Use PKGVERSION.
27937         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27938         (print_version): Use PKGVERSION.
27939         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27940         ($PKGVERSION): New variable.
27941         ($REPORT_BUGS_TO): Likewise.
27942         (usage): Use $REPORT_BUGS_TO.
27943         (top level): Use $PKGVERSION.
27944         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27945         ($(objpfx)pkgvers.texi): New rule.
27946         ($(objpfx)stamp-pkgvers): Likewise.
27947         * manual/install.texi: Include pkgvers.texi.
27948         (--with-pkgversion): Document new configure option.
27949         (--with-bugurl): Likewise.
27950         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27951         than necessarily for this particular distribution.  Use
27952         REPORT_BUGS_TO for where to report bugs.
27953         * INSTALL: Regenerated.
27954         * manual/libc.texinfo: Include pkgvers.texi.
27955         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27956         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27957         (print_version): Use PKGVERSION.
27958         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27959         (print_version): Use PKGVERSION.
27960         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27961         (print_version): Use PKGVERSION.
27962         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27963         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27964         macro.
27965         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27966         (print_version): Use PKGVERSION.
27967         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27968         (print_version): Use PKGVERSION.
27969         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27970         and PKGVERSION.
27971
27972         * timezone/checktab.awk: Update from tzcode 2012i.
27973         * timezone/ialloc.c: Likewise.
27974         * timezone/private.h: Likewise.
27975         * timezone/scheck.c: Likewise.
27976         * timezone/tzfile.h: Likewise.
27977         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27978         (TZVERSION): Hardcode tzcode version number.
27979         * timezone/zdump.c: Update from tzcode 2012i.
27980         * timezone/zic.c: Likewise.
27981         * timezone/version.h: New file.
27982         * timezone/README: Describe version.h.  Update upstream location.
27983
27984         [BZ #14824]
27985         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27986         (mktemp): Enable declaration.
27987         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27988         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27989         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27990         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27991         Likewise.
27992         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27993         Likewise.
27994         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27995         Likewise.
27996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27997         Likewise.
27998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27999         Likewise.
28000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28001         Likewise.
28002
28003         [BZ #14821]
28004         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28005         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28006         for copies of such integer values.
28007         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28008         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28009
28010 2012-11-09  Andreas Jaeger  <aj@suse.de>
28011
28012         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28013         definitions and declarations that are provided by
28014         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28015
28016 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28017
28018         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28019         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28020         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28021         definition.
28022
28023 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28024
28025         * elf/elf.h: Update comment before AArch64 relocations.
28026
28027 2012-11-07  David S. Miller  <davem@davemloft.net>
28028
28029         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28030         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28031         (__start_context): Declare.
28032         (__makecontext_ret): Delete.
28033         (__makecontext): Hook up __start_context instead of
28034         __makecontext_ret.
28035         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28036         (sysdep_routines): Add __start_context when in stdlib.
28037
28038 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28039
28040         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28041         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28042         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28043         hardcoded "nm".
28044         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28045         (READELF): New variable.  Use it instead of hardcoded "readelf".
28046
28047 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28048
28049         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28050         * sysdeps/x86/Makefile: Here.
28051         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28052         * sysdeps/x86/tst-xmmymm.sh: This.
28053
28054 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28055
28056         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28057         expectations.
28058         [UNIX98] (pthread_barrier_t): Do not expect.
28059         [UNIX98] (pthread_barrierattr_t): Likewise.
28060         [UNIX98] (pthread_spinlock_t): Likewise.
28061         [UNIX98] (pthread_barrier_destroy): Likewise.
28062         [UNIX98] (pthread_barrier_init): Likewise.
28063         [UNIX98] (pthread_barrier_wait): Likewise.
28064         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28065         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28066         [UNIX98] (pthread_barrierattr_init): Likewise.
28067         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28068         [UNIX98] (pthread_getcpuclockid): Likewise.
28069         [UNIX98] (pthread_mutex_timedlock): Likewise.
28070         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28071         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28072         [UNIX98] (pthread_sigmask): Likewise.
28073         [UNIX98] (pthread_spin_destroy): Likewise.
28074         [UNIX98] (pthread_spin_init): Likewise.
28075         [UNIX98] (pthread_spin_lock): Likewise.
28076         [UNIX98] (pthread_spin_trylock): Likewise.
28077         [UNIX98] (pthread_spin_unlock): Likewise.
28078         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28079         Do not expect.
28080         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28081         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28082         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28083         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28084         [XPG3 || XPG4] (pthread_key_t): Likewise.
28085         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28086         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28087         [XPG3 || XPG4] (pthread_once_t): Likewise.
28088         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28089         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28090         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28091         [XPG3 || XPG4] (pthread_t): Likewise.
28092
28093         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28094         not expect.
28095         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28096
28097         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28098         Change function return type to int.
28099
28100         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28101         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28102         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28103         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28104         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28105         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28106         [!POSIX] (posix_madvise): Likewise.
28107         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28108         && !UNIX98].
28109         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28110         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28111         (mode_t): Likewise.
28112         (posix_mem_offset): Likewise.
28113         (posix_typed_mem_get_info): Likewise.
28114         (posix_typed_mem_open): Likewise.
28115
28116         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28117         Change condition to [XOPEN2K8].
28118
28119         * conform/conformtest.pl: Preprocess allow-header data with -x c
28120         instead of from stdin.
28121         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28122         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28123         [C99-based standards] (cerfc): Likewise.
28124         [C99-based standards] (cexp2): Likewise.
28125         [C99-based standards] (cexpm1): Likewise.
28126         [C99-based standards] (clog10): Likewise.
28127         [C99-based standards] (clog1p): Likewise.
28128         [C99-based standards] (clog2): Likewise.
28129         [C99-based standards] (clgamma): Likewise.
28130         [C99-based standards] (ctgamma): Likewise.
28131         [C99-based standards] (cerff): Likewise.
28132         [C99-based standards] (cerfcf): Likewise.
28133         [C99-based standards] (cexp2f): Likewise.
28134         [C99-based standards] (cexpm1f): Likewise.
28135         [C99-based standards] (clog10f): Likewise.
28136         [C99-based standards] (clog1pf): Likewise.
28137         [C99-based standards] (clog2f): Likewise.
28138         [C99-based standards] (clgammaf): Likewise.
28139         [C99-based standards] (ctgammaf): Likewise.
28140         [C99-based standards] (cerfl): Likewise.
28141         [C99-based standards] (cerfcl): Likewise.
28142         [C99-based standards] (cexp2l): Likewise.
28143         [C99-based standards] (cexpm1l): Likewise.
28144         [C99-based standards] (clog10l): Likewise.
28145         [C99-based standards] (clog1pl): Likewise.
28146         [C99-based standards] (clog2l): Likewise.
28147         [C99-based standards] (clgammal): Likewise.
28148         [C99-based standards] (ctgammal): Likewise.
28149         * conform/data/inttypes.h-data [C99-based standards]: Include
28150         stdint.h-data.  Remove all expectations for stdint.h contents.
28151         [C99-based standards] (PRI*): Do not allow.
28152         [C99-based standards] (SCN*): Likewise.
28153         [C99-based standards] (*_t): Likewise.
28154         [C99-based-standards] (PRId8): Expect macro.
28155         [C99-based-standards] (PRIi8): Likewise.
28156         [C99-based-standards] (PRIo8): Likewise.
28157         [C99-based-standards] (PRIu8): Likewise.
28158         [C99-based-standards] (PRIx8): Likewise.
28159         [C99-based-standards] (PRIX8): Likewise.
28160         [C99-based-standards] (SCNd8): Likewise.
28161         [C99-based-standards] (SCNi8): Likewise.
28162         [C99-based-standards] (SCNo8): Likewise.
28163         [C99-based-standards] (SCNu8): Likewise.
28164         [C99-based-standards] (SCNx8): Likewise.
28165         [C99-based-standards] (PRIdLEAST8): Likewise.
28166         [C99-based-standards] (PRIiLEAST8): Likewise.
28167         [C99-based-standards] (PRIoLEAST8): Likewise.
28168         [C99-based-standards] (PRIuLEAST8): Likewise.
28169         [C99-based-standards] (PRIxLEAST8): Likewise.
28170         [C99-based-standards] (PRIXLEAST8): Likewise.
28171         [C99-based-standards] (SCNdLEAST8): Likewise.
28172         [C99-based-standards] (SCNiLEAST8): Likewise.
28173         [C99-based-standards] (SCNoLEAST8): Likewise.
28174         [C99-based-standards] (SCNuLEAST8): Likewise.
28175         [C99-based-standards] (SCNxLEAST8): Likewise.
28176         [C99-based-standards] (PRIdFAST8): Likewise.
28177         [C99-based-standards] (PRIiFAST8): Likewise.
28178         [C99-based-standards] (PRIoFAST8): Likewise.
28179         [C99-based-standards] (PRIuFAST8): Likewise.
28180         [C99-based-standards] (PRIxFAST8): Likewise.
28181         [C99-based-standards] (PRIXFAST8): Likewise.
28182         [C99-based-standards] (SCNdFAST8): Likewise.
28183         [C99-based-standards] (SCNiFAST8): Likewise.
28184         [C99-based-standards] (SCNoFAST8): Likewise.
28185         [C99-based-standards] (SCNuFAST8): Likewise.
28186         [C99-based-standards] (SCNxFAST8): Likewise.
28187         [C99-based-standards] (PRId16): Likewise.
28188         [C99-based-standards] (PRIi16): Likewise.
28189         [C99-based-standards] (PRIo16): Likewise.
28190         [C99-based-standards] (PRIu16): Likewise.
28191         [C99-based-standards] (PRIx16): Likewise.
28192         [C99-based-standards] (PRIX16): Likewise.
28193         [C99-based-standards] (SCNd16): Likewise.
28194         [C99-based-standards] (SCNi16): Likewise.
28195         [C99-based-standards] (SCNo16): Likewise.
28196         [C99-based-standards] (SCNu16): Likewise.
28197         [C99-based-standards] (SCNx16): Likewise.
28198         [C99-based-standards] (PRIdLEAST16): Likewise.
28199         [C99-based-standards] (PRIiLEAST16): Likewise.
28200         [C99-based-standards] (PRIoLEAST16): Likewise.
28201         [C99-based-standards] (PRIuLEAST16): Likewise.
28202         [C99-based-standards] (PRIxLEAST16): Likewise.
28203         [C99-based-standards] (PRIXLEAST16): Likewise.
28204         [C99-based-standards] (SCNdLEAST16): Likewise.
28205         [C99-based-standards] (SCNiLEAST16): Likewise.
28206         [C99-based-standards] (SCNoLEAST16): Likewise.
28207         [C99-based-standards] (SCNuLEAST16): Likewise.
28208         [C99-based-standards] (SCNxLEAST16): Likewise.
28209         [C99-based-standards] (PRIdFAST16): Likewise.
28210         [C99-based-standards] (PRIiFAST16): Likewise.
28211         [C99-based-standards] (PRIoFAST16): Likewise.
28212         [C99-based-standards] (PRIuFAST16): Likewise.
28213         [C99-based-standards] (PRIxFAST16): Likewise.
28214         [C99-based-standards] (PRIXFAST16): Likewise.
28215         [C99-based-standards] (SCNdFAST16): Likewise.
28216         [C99-based-standards] (SCNiFAST16): Likewise.
28217         [C99-based-standards] (SCNoFAST16): Likewise.
28218         [C99-based-standards] (SCNuFAST16): Likewise.
28219         [C99-based-standards] (SCNxFAST16): Likewise.
28220         [C99-based-standards] (PRId32): Likewise.
28221         [C99-based-standards] (PRIi32): Likewise.
28222         [C99-based-standards] (PRIo32): Likewise.
28223         [C99-based-standards] (PRIu32): Likewise.
28224         [C99-based-standards] (PRIx32): Likewise.
28225         [C99-based-standards] (PRIX32): Likewise.
28226         [C99-based-standards] (SCNd32): Likewise.
28227         [C99-based-standards] (SCNi32): Likewise.
28228         [C99-based-standards] (SCNo32): Likewise.
28229         [C99-based-standards] (SCNu32): Likewise.
28230         [C99-based-standards] (SCNx32): Likewise.
28231         [C99-based-standards] (PRIdLEAST32): Likewise.
28232         [C99-based-standards] (PRIiLEAST32): Likewise.
28233         [C99-based-standards] (PRIoLEAST32): Likewise.
28234         [C99-based-standards] (PRIuLEAST32): Likewise.
28235         [C99-based-standards] (PRIxLEAST32): Likewise.
28236         [C99-based-standards] (PRIXLEAST32): Likewise.
28237         [C99-based-standards] (SCNdLEAST32): Likewise.
28238         [C99-based-standards] (SCNiLEAST32): Likewise.
28239         [C99-based-standards] (SCNoLEAST32): Likewise.
28240         [C99-based-standards] (SCNuLEAST32): Likewise.
28241         [C99-based-standards] (SCNxLEAST32): Likewise.
28242         [C99-based-standards] (PRIdFAST32): Likewise.
28243         [C99-based-standards] (PRIiFAST32): Likewise.
28244         [C99-based-standards] (PRIoFAST32): Likewise.
28245         [C99-based-standards] (PRIuFAST32): Likewise.
28246         [C99-based-standards] (PRIxFAST32): Likewise.
28247         [C99-based-standards] (PRIXFAST32): Likewise.
28248         [C99-based-standards] (SCNdFAST32): Likewise.
28249         [C99-based-standards] (SCNiFAST32): Likewise.
28250         [C99-based-standards] (SCNoFAST32): Likewise.
28251         [C99-based-standards] (SCNuFAST32): Likewise.
28252         [C99-based-standards] (SCNxFAST32): Likewise.
28253         [C99-based-standards] (PRId64): Likewise.
28254         [C99-based-standards] (PRIi64): Likewise.
28255         [C99-based-standards] (PRIo64): Likewise.
28256         [C99-based-standards] (PRIu64): Likewise.
28257         [C99-based-standards] (PRIx64): Likewise.
28258         [C99-based-standards] (PRIX64): Likewise.
28259         [C99-based-standards] (SCNd64): Likewise.
28260         [C99-based-standards] (SCNi64): Likewise.
28261         [C99-based-standards] (SCNo64): Likewise.
28262         [C99-based-standards] (SCNu64): Likewise.
28263         [C99-based-standards] (SCNx64): Likewise.
28264         [C99-based-standards] (PRIdLEAST64): Likewise.
28265         [C99-based-standards] (PRIiLEAST64): Likewise.
28266         [C99-based-standards] (PRIoLEAST64): Likewise.
28267         [C99-based-standards] (PRIuLEAST64): Likewise.
28268         [C99-based-standards] (PRIxLEAST64): Likewise.
28269         [C99-based-standards] (PRIXLEAST64): Likewise.
28270         [C99-based-standards] (SCNdLEAST64): Likewise.
28271         [C99-based-standards] (SCNiLEAST64): Likewise.
28272         [C99-based-standards] (SCNoLEAST64): Likewise.
28273         [C99-based-standards] (SCNuLEAST64): Likewise.
28274         [C99-based-standards] (SCNxLEAST64): Likewise.
28275         [C99-based-standards] (PRIdFAST64): Likewise.
28276         [C99-based-standards] (PRIiFAST64): Likewise.
28277         [C99-based-standards] (PRIoFAST64): Likewise.
28278         [C99-based-standards] (PRIuFAST64): Likewise.
28279         [C99-based-standards] (PRIxFAST64): Likewise.
28280         [C99-based-standards] (PRIXFAST64): Likewise.
28281         [C99-based-standards] (SCNdFAST64): Likewise.
28282         [C99-based-standards] (SCNiFAST64): Likewise.
28283         [C99-based-standards] (SCNoFAST64): Likewise.
28284         [C99-based-standards] (SCNuFAST64): Likewise.
28285         [C99-based-standards] (SCNxFAST64): Likewise.
28286         [C99-based-standards] (PRIdMAX): Likewise.
28287         [C99-based-standards] (PRIiMAX): Likewise.
28288         [C99-based-standards] (PRIoMAX): Likewise.
28289         [C99-based-standards] (PRIuMAX): Likewise.
28290         [C99-based-standards] (PRIxMAX): Likewise.
28291         [C99-based-standards] (PRIXMAX): Likewise.
28292         [C99-based-standards] (SCNdMAX): Likewise.
28293         [C99-based-standards] (SCNiMAX): Likewise.
28294         [C99-based-standards] (SCNoMAX): Likewise.
28295         [C99-based-standards] (SCNuMAX): Likewise.
28296         [C99-based-standards] (SCNxMAX): Likewise.
28297         [C99-based-standards] (PRIdPTR): Likewise.
28298         [C99-based-standards] (PRIiPTR): Likewise.
28299         [C99-based-standards] (PRIoPTR): Likewise.
28300         [C99-based-standards] (PRIuPTR): Likewise.
28301         [C99-based-standards] (PRIxPTR): Likewise.
28302         [C99-based-standards] (PRIXPTR): Likewise.
28303         [C99-based-standards] (SCNdPTR): Likewise.
28304         [C99-based-standards] (SCNiPTR): Likewise.
28305         [C99-based-standards] (SCNoPTR): Likewise.
28306         [C99-based-standards] (SCNuPTR): Likewise.
28307         [C99-based-standards] (SCNxPTR): Likewise.
28308         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28309         allow.
28310         * conform/data/stdint.h-data: Update comments to clarify
28311         requirements.
28312         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28313         type.
28314         [C99-based standards] (INT8_MAX): Likewise.
28315         [C99-based standards] (INT16_MIN): Likewise.
28316         [C99-based standards] (INT16_MAX): Likewise.
28317         [C99-based standards] (INT32_MIN): Likewise.
28318         [C99-based standards] (INT32_MAX): Likewise.
28319         [C99-based standards] (INT64_MIN): Likewise.
28320         [C99-based standards] (INT64_MAX): Likewise.
28321         [C99-based standards] (UINT8_MAX): Likewise.
28322         [C99-based standards] (UINT16_MAX): Likewise.
28323         [C99-based standards] (UINT32_MAX): Likewise.
28324         [C99-based standards] (UINT64_MAX): Likewise.
28325         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28326         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28327         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28328         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28329         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28330         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28331         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28332         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28333         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28334         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28335         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28336         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28337         [C99-based standards] (INT_FAST8_MIN): Likewise.
28338         [C99-based standards] (INT_FAST8_MAX): Likewise.
28339         [C99-based standards] (INT_FAST16_MIN): Likewise.
28340         [C99-based standards] (INT_FAST16_MAX): Likewise.
28341         [C99-based standards] (INT_FAST32_MIN): Likewise.
28342         [C99-based standards] (INT_FAST32_MAX): Likewise.
28343         [C99-based standards] (INT_FAST64_MIN): Likewise.
28344         [C99-based standards] (INT_FAST64_MAX): Likewise.
28345         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28346         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28347         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28348         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28349         [C99-based standards] (INTPTR_MIN): Likewise.
28350         [C99-based standards] (INTPTR_MAX): Likewise.
28351         [C99-based standards] (UINTPTR_MAX): Likewise.
28352         [C99-based standards] (INTMAX_MIN): Likewise.
28353         [C99-based standards] (INTMAX_MAX): Likewise.
28354         [C99-based standards] (UINTMAX_MAX): Likewise.
28355         [C99-based standards] (PTRDIFF_MIN): Likewise.
28356         [C99-based standards] (PTRDIFF_MAX): Likewise.
28357         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28358         [C99-based standards] (SIZE_MAX): Likewise.
28359         [C99-based standards] (WCHAR_MAX): Likewise.
28360         [C99-based standards] (WINT_MAX): Likewise.
28361         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28362         constraint on value.
28363         [C99-based standards] (WCHAR_MIN): Likewise.
28364         [C99-based standards] (WINT_MIN): Likewise.
28365         [C99-based standards] (*_t): Allow.
28366         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28367         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28368         Include math.h-data and complex.h-data.  Remove all expectations
28369         of math.h and complex.h contents.
28370         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28371         at end of line.
28372         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28373         (struct tm): Expect tag.
28374         [C99-based-standards] (wcstof): Expect function.
28375         [C99-based-standards] (wcstold): Likewise.
28376         [C99-based-standards] (wcstoll): Likewise.
28377         [C99-based-standards] (wcstoull): Likewise.
28378         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28379         macro-int-constant.  Specify type.
28380         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28381         constraint on value.
28382         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28383         Specify type.
28384         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28385         Specify value.
28386         [ISO C standards]: Do not allow headers.
28387         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28388         wcs[abcdefghijklmnopqrstuvwxyz]*.
28389         [ISO C standards] (*_t): Do not allow.
28390         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28391         Expect function.
28392         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28393         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28394         Specify type.
28395         [ISO C standards]: Do not allow headers.
28396         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28397         is[abcdefghijklmnopqrstuvwxyz]*.
28398         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28399         to[abcdefghijklmnopqrstuvwxyz]*.
28400         [ISO C standards] (*_t): Do not allow.
28401         * conform/data/stdalign.h-data: New file.
28402         * conform/data/stdbool.h-data: Likewise.
28403         * conform/data/stdnoreturn.h-data: Likewise.
28404
28405 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28406
28407         [BZ #14815]
28408         * manual/filesys.texi (Directory Entries): Typo fix.
28409         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28410
28411 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28412
28413         * elf/elf.h (EM_AARCH64): New macro.
28414         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28415         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28416         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28417         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28418         (R_AARCH64_TLSDESC): Likewise.
28419         (NT_ARM_TLS): Likewise.
28420         (NT_ARM_HW_BREAK): Likewise.
28421         (NT_ARM_HW_WATCH): Likewise.
28422
28423 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28424
28425         [BZ #14811]
28426         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28427         (__ieee754_powl): Saturate nonzero exponents with absolute value
28428         below 0x1p-79 to +/- 0x1p-79.
28429         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28430         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28431         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28432         nonzero exponents with absolute value below 0x1p-32 to +/-
28433         0x1p-32.
28434         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28435         (__ieee754_powl): Saturate nonzero exponents with absolute value
28436         below 0x1p-79 to +/- 0x1p-79.
28437         * math/libm-test.inc (pow_test): Add more tests.
28438
28439 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28440
28441         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28442         _dl_s390_cap_flags with kernel. Increase string length.
28443         (_dl_s390_platforms): Add z196 and zEC12.
28444
28445 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28446
28447         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28448         Change XOPEN21K to XOPEN2K.
28449
28450 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28451
28452         * string/memmove.c: Use memcpy when possible.
28453
28454 2012-11-06  Andreas Jaeger  <aj@suse.de>
28455
28456         * po/eo.po: Update from translation team.
28457
28458 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28459
28460         [BZ #14793]
28461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28462         exponent and small x and y exponents, scale x or y up.  Increase
28463         by 2 the exponent used in scaling up.
28464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28466         * math/libm-test.inc (fma_test): Add more tests.
28467         (fma_test_towardzero): Likewise.
28468         (fma_test_downward): Likewise.
28469         (fma_test_upward): Likewise.
28470
28471 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28472
28473         [BZ #14805]
28474         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28475         fenv_t *.
28476
28477         [BZ #14801]
28478         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28479         namespace for names of struct fields.
28480         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28481         fenv_t fields.
28482         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28483         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28484
28485 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28486
28487         [BZ #3665]
28488         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28489
28490 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28491
28492         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28493         PTR_DEMANGLE.
28494
28495         [BZ #5246]
28496         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28497         PTR_DEMANGLE.
28498
28499 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28500
28501         [BZ #14797]
28502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28503         definitely overflow as x * y not x * y + z.
28504         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28506         * math/libm-test.inc (fma_test): Add more tests.
28507         (fma_test_towardzero): Likewise.
28508         (fma_test_downward): Likewise.
28509         (fma_test_upward): Likewise.
28510
28511 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28512
28513         [BZ #157]
28514
28515         * include/stub-tag.h: Remove file.
28516         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28517         '#include' of it.
28518         * manual/maint.texi (Porting): Don't reference it.
28519         * Makerules ($(objpfx)stubs): Likewise.
28520         * dirent/closedir.c: Don't include <stub-tag.h>.
28521         * dirent/dirfd.c: Likewise.
28522         * dirent/fdopendir.c: Likewise.
28523         * dirent/getdents.c: Likewise.
28524         * dirent/getdents64.c: Likewise.
28525         * dirent/opendir.c: Likewise.
28526         * dirent/readdir.c: Likewise.
28527         * dirent/readdir64.c: Likewise.
28528         * dirent/readdir64_r.c: Likewise.
28529         * dirent/readdir_r.c: Likewise.
28530         * dirent/rewinddir.c: Likewise.
28531         * dirent/seekdir.c: Likewise.
28532         * dirent/telldir.c: Likewise.
28533         * gmon/profil.c: Likewise.
28534         * grp/setgroups.c: Likewise.
28535         * inet/if_index.c: Likewise.
28536         * io/access.c: Likewise.
28537         * io/chdir.c: Likewise.
28538         * io/chmod.c: Likewise.
28539         * io/chown.c: Likewise.
28540         * io/close.c: Likewise.
28541         * io/dup.c: Likewise.
28542         * io/dup2.c: Likewise.
28543         * io/dup3.c: Likewise.
28544         * io/euidaccess.c: Likewise.
28545         * io/faccessat.c: Likewise.
28546         * io/fchdir.c: Likewise.
28547         * io/fchmod.c: Likewise.
28548         * io/fchmodat.c: Likewise.
28549         * io/fchown.c: Likewise.
28550         * io/fchownat.c: Likewise.
28551         * io/fcntl.c: Likewise.
28552         * io/flock.c: Likewise.
28553         * io/fstatfs.c: Likewise.
28554         * io/fstatfs64.c: Likewise.
28555         * io/fstatvfs.c: Likewise.
28556         * io/fstatvfs64.c: Likewise.
28557         * io/futimens.c: Likewise.
28558         * io/fxstat.c: Likewise.
28559         * io/fxstat64.c: Likewise.
28560         * io/fxstatat.c: Likewise.
28561         * io/fxstatat64.c: Likewise.
28562         * io/getcwd.c: Likewise.
28563         * io/isatty.c: Likewise.
28564         * io/lchmod.c: Likewise.
28565         * io/lchown.c: Likewise.
28566         * io/link.c: Likewise.
28567         * io/linkat.c: Likewise.
28568         * io/lseek.c: Likewise.
28569         * io/lseek64.c: Likewise.
28570         * io/lxstat64.c: Likewise.
28571         * io/mkdir.c: Likewise.
28572         * io/mkdirat.c: Likewise.
28573         * io/mkfifo.c: Likewise.
28574         * io/mkfifoat.c: Likewise.
28575         * io/open.c: Likewise.
28576         * io/open64.c: Likewise.
28577         * io/openat.c: Likewise.
28578         * io/openat64.c: Likewise.
28579         * io/pipe.c: Likewise.
28580         * io/pipe2.c: Likewise.
28581         * io/poll.c: Likewise.
28582         * io/posix_fadvise.c: Likewise.
28583         * io/posix_fadvise64.c: Likewise.
28584         * io/posix_fallocate.c: Likewise.
28585         * io/posix_fallocate64.c: Likewise.
28586         * io/read.c: Likewise.
28587         * io/readlink.c: Likewise.
28588         * io/readlinkat.c: Likewise.
28589         * io/rmdir.c: Likewise.
28590         * io/sendfile.c: Likewise.
28591         * io/sendfile64.c: Likewise.
28592         * io/statfs.c: Likewise.
28593         * io/statfs64.c: Likewise.
28594         * io/statvfs.c: Likewise.
28595         * io/statvfs64.c: Likewise.
28596         * io/symlink.c: Likewise.
28597         * io/symlinkat.c: Likewise.
28598         * io/ttyname.c: Likewise.
28599         * io/ttyname_r.c: Likewise.
28600         * io/umask.c: Likewise.
28601         * io/unlink.c: Likewise.
28602         * io/unlinkat.c: Likewise.
28603         * io/utime.c: Likewise.
28604         * io/utimensat.c: Likewise.
28605         * io/write.c: Likewise.
28606         * io/xmknod.c: Likewise.
28607         * io/xmknodat.c: Likewise.
28608         * io/xstat.c: Likewise.
28609         * io/xstat64.c: Likewise.
28610         * login/getpt.c: Likewise.
28611         * login/grantpt.c: Likewise.
28612         * login/unlockpt.c: Likewise.
28613         * math/e_acoshl.c: Likewise.
28614         * math/e_acosl.c: Likewise.
28615         * math/e_asinl.c: Likewise.
28616         * math/e_atan2l.c: Likewise.
28617         * math/e_atanhl.c: Likewise.
28618         * math/e_coshl.c: Likewise.
28619         * math/e_expl.c: Likewise.
28620         * math/e_fmodl.c: Likewise.
28621         * math/e_gammal_r.c: Likewise.
28622         * math/e_hypotl.c: Likewise.
28623         * math/e_j0l.c: Likewise.
28624         * math/e_j1l.c: Likewise.
28625         * math/e_jnl.c: Likewise.
28626         * math/e_lgammal_r.c: Likewise.
28627         * math/e_log10l.c: Likewise.
28628         * math/e_log2l.c: Likewise.
28629         * math/e_logl.c: Likewise.
28630         * math/e_powl.c: Likewise.
28631         * math/e_rem_pio2l.c: Likewise.
28632         * math/e_sinhl.c: Likewise.
28633         * math/e_sqrtl.c: Likewise.
28634         * math/fclrexcpt.c: Likewise.
28635         * math/fedisblxcpt.c: Likewise.
28636         * math/feenablxcpt.c: Likewise.
28637         * math/fegetenv.c: Likewise.
28638         * math/fegetexcept.c: Likewise.
28639         * math/fegetround.c: Likewise.
28640         * math/feholdexcpt.c: Likewise.
28641         * math/fesetenv.c: Likewise.
28642         * math/fesetround.c: Likewise.
28643         * math/feupdateenv.c: Likewise.
28644         * math/fgetexcptflg.c: Likewise.
28645         * math/fraiseexcpt.c: Likewise.
28646         * math/fsetexcptflg.c: Likewise.
28647         * math/ftestexcept.c: Likewise.
28648         * math/k_cosl.c: Likewise.
28649         * math/k_rem_pio2l.c: Likewise.
28650         * math/k_sinl.c: Likewise.
28651         * math/k_tanl.c: Likewise.
28652         * math/s_asinhl.c: Likewise.
28653         * math/s_atanl.c: Likewise.
28654         * math/s_cbrtl.c: Likewise.
28655         * math/s_erfl.c: Likewise.
28656         * math/s_expm1l.c: Likewise.
28657         * math/s_log1pl.c: Likewise.
28658         * math/s_tanhl.c: Likewise.
28659         * misc/acct.c: Likewise.
28660         * misc/brk.c: Likewise.
28661         * misc/chflags.c: Likewise.
28662         * misc/chroot.c: Likewise.
28663         * misc/fchflags.c: Likewise.
28664         * misc/fgetxattr.c: Likewise.
28665         * misc/flistxattr.c: Likewise.
28666         * misc/fremovexattr.c: Likewise.
28667         * misc/fsetxattr.c: Likewise.
28668         * misc/fsync.c: Likewise.
28669         * misc/ftruncate.c: Likewise.
28670         * misc/futimes.c: Likewise.
28671         * misc/futimesat.c: Likewise.
28672         * misc/getdomain.c: Likewise.
28673         * misc/getdtsz.c: Likewise.
28674         * misc/gethostid.c: Likewise.
28675         * misc/gethostname.c: Likewise.
28676         * misc/getloadavg.c: Likewise.
28677         * misc/getpagesize.c: Likewise.
28678         * misc/getsysstats.c: Likewise.
28679         * misc/getxattr.c: Likewise.
28680         * misc/gtty.c: Likewise.
28681         * misc/ioctl.c: Likewise.
28682         * misc/lgetxattr.c: Likewise.
28683         * misc/listxattr.c: Likewise.
28684         * misc/llistxattr.c: Likewise.
28685         * misc/lremovexattr.c: Likewise.
28686         * misc/lsetxattr.c: Likewise.
28687         * misc/lutimes.c: Likewise.
28688         * misc/madvise.c: Likewise.
28689         * misc/mincore.c: Likewise.
28690         * misc/mlock.c: Likewise.
28691         * misc/mlockall.c: Likewise.
28692         * misc/mmap.c: Likewise.
28693         * misc/mprotect.c: Likewise.
28694         * misc/msync.c: Likewise.
28695         * misc/munlock.c: Likewise.
28696         * misc/munlockall.c: Likewise.
28697         * misc/munmap.c: Likewise.
28698         * misc/preadv.c: Likewise.
28699         * misc/preadv64.c: Likewise.
28700         * misc/ptrace.c: Likewise.
28701         * misc/pwritev.c: Likewise.
28702         * misc/pwritev64.c: Likewise.
28703         * misc/readv.c: Likewise.
28704         * misc/reboot.c: Likewise.
28705         * misc/remap_file_pages.c: Likewise.
28706         * misc/removexattr.c: Likewise.
28707         * misc/revoke.c: Likewise.
28708         * misc/select.c: Likewise.
28709         * misc/setdomain.c: Likewise.
28710         * misc/setegid.c: Likewise.
28711         * misc/seteuid.c: Likewise.
28712         * misc/sethostid.c: Likewise.
28713         * misc/sethostname.c: Likewise.
28714         * misc/setregid.c: Likewise.
28715         * misc/setreuid.c: Likewise.
28716         * misc/setxattr.c: Likewise.
28717         * misc/sstk.c: Likewise.
28718         * misc/stty.c: Likewise.
28719         * misc/swapoff.c: Likewise.
28720         * misc/swapon.c: Likewise.
28721         * misc/sync.c: Likewise.
28722         * misc/syncfs.c: Likewise.
28723         * misc/syscall.c: Likewise.
28724         * misc/truncate.c: Likewise.
28725         * misc/ualarm.c: Likewise.
28726         * misc/usleep.c: Likewise.
28727         * misc/ustat.c: Likewise.
28728         * misc/utimes.c: Likewise.
28729         * misc/vhangup.c: Likewise.
28730         * misc/writev.c: Likewise.
28731         * posix/_exit.c: Likewise.
28732         * posix/alarm.c: Likewise.
28733         * posix/execve.c: Likewise.
28734         * posix/fexecve.c: Likewise.
28735         * posix/fork.c: Likewise.
28736         * posix/fpathconf.c: Likewise.
28737         * posix/getaddrinfo.c: Likewise.
28738         * posix/getegid.c: Likewise.
28739         * posix/geteuid.c: Likewise.
28740         * posix/getgid.c: Likewise.
28741         * posix/getgroups.c: Likewise.
28742         * posix/getlogin.c: Likewise.
28743         * posix/getlogin_r.c: Likewise.
28744         * posix/getpgid.c: Likewise.
28745         * posix/getpid.c: Likewise.
28746         * posix/getppid.c: Likewise.
28747         * posix/getresgid.c: Likewise.
28748         * posix/getresuid.c: Likewise.
28749         * posix/getsid.c: Likewise.
28750         * posix/getuid.c: Likewise.
28751         * posix/glob64.c: Likewise.
28752         * posix/nanosleep.c: Likewise.
28753         * posix/pathconf.c: Likewise.
28754         * posix/pause.c: Likewise.
28755         * posix/posix_madvise.c: Likewise.
28756         * posix/pread.c: Likewise.
28757         * posix/pread64.c: Likewise.
28758         * posix/pwrite.c: Likewise.
28759         * posix/pwrite64.c: Likewise.
28760         * posix/sched_getaffinity.c: Likewise.
28761         * posix/sched_getp.c: Likewise.
28762         * posix/sched_gets.c: Likewise.
28763         * posix/sched_primax.c: Likewise.
28764         * posix/sched_primin.c: Likewise.
28765         * posix/sched_rr_gi.c: Likewise.
28766         * posix/sched_setaffinity.c: Likewise.
28767         * posix/sched_setp.c: Likewise.
28768         * posix/sched_sets.c: Likewise.
28769         * posix/sched_yield.c: Likewise.
28770         * posix/setgid.c: Likewise.
28771         * posix/setlogin.c: Likewise.
28772         * posix/setpgid.c: Likewise.
28773         * posix/setresgid.c: Likewise.
28774         * posix/setresuid.c: Likewise.
28775         * posix/setsid.c: Likewise.
28776         * posix/setuid.c: Likewise.
28777         * posix/sleep.c: Likewise.
28778         * posix/spawni.c: Likewise.
28779         * posix/sysconf.c: Likewise.
28780         * posix/times.c: Likewise.
28781         * posix/wait.c: Likewise.
28782         * posix/wait3.c: Likewise.
28783         * posix/wait4.c: Likewise.
28784         * posix/waitpid.c: Likewise.
28785         * resolv/gai_sigqueue.c: Likewise.
28786         * resource/getpriority.c: Likewise.
28787         * resource/getrlimit.c: Likewise.
28788         * resource/getrusage.c: Likewise.
28789         * resource/nice.c: Likewise.
28790         * resource/setpriority.c: Likewise.
28791         * resource/setrlimit.c: Likewise.
28792         * resource/ulimit.c: Likewise.
28793         * rt/aio_cancel.c: Likewise.
28794         * rt/aio_fsync.c: Likewise.
28795         * rt/aio_read.c: Likewise.
28796         * rt/aio_sigqueue.c: Likewise.
28797         * rt/aio_suspend.c: Likewise.
28798         * rt/aio_write.c: Likewise.
28799         * rt/clock_getres.c: Likewise.
28800         * rt/clock_gettime.c: Likewise.
28801         * rt/clock_nanosleep.c: Likewise.
28802         * rt/clock_settime.c: Likewise.
28803         * rt/lio_listio.c: Likewise.
28804         * rt/mq_close.c: Likewise.
28805         * rt/mq_getattr.c: Likewise.
28806         * rt/mq_notify.c: Likewise.
28807         * rt/mq_open.c: Likewise.
28808         * rt/mq_receive.c: Likewise.
28809         * rt/mq_send.c: Likewise.
28810         * rt/mq_setattr.c: Likewise.
28811         * rt/mq_timedreceive.c: Likewise.
28812         * rt/mq_timedsend.c: Likewise.
28813         * rt/mq_unlink.c: Likewise.
28814         * rt/shm_open.c: Likewise.
28815         * rt/shm_unlink.c: Likewise.
28816         * rt/timer_create.c: Likewise.
28817         * rt/timer_delete.c: Likewise.
28818         * rt/timer_getoverr.c: Likewise.
28819         * rt/timer_gettime.c: Likewise.
28820         * rt/timer_settime.c: Likewise.
28821         * setjmp/__longjmp.c: Likewise.
28822         * setjmp/setjmp.c: Likewise.
28823         * signal/kill.c: Likewise.
28824         * signal/killpg.c: Likewise.
28825         * signal/raise.c: Likewise.
28826         * signal/sigaction.c: Likewise.
28827         * signal/sigaltstack.c: Likewise.
28828         * signal/sigblock.c: Likewise.
28829         * signal/sigignore.c: Likewise.
28830         * signal/sigintr.c: Likewise.
28831         * signal/signal.c: Likewise.
28832         * signal/sigpause.c: Likewise.
28833         * signal/sigpending.c: Likewise.
28834         * signal/sigqueue.c: Likewise.
28835         * signal/sigreturn.c: Likewise.
28836         * signal/sigset.c: Likewise.
28837         * signal/sigsetmask.c: Likewise.
28838         * signal/sigstack.c: Likewise.
28839         * signal/sigsuspend.c: Likewise.
28840         * signal/sigtimedwait.c: Likewise.
28841         * signal/sigvec.c: Likewise.
28842         * signal/sigwait.c: Likewise.
28843         * signal/sigwaitinfo.c: Likewise.
28844         * signal/sysv_signal.c: Likewise.
28845         * socket/accept.c: Likewise.
28846         * socket/accept4.c: Likewise.
28847         * socket/bind.c: Likewise.
28848         * socket/connect.c: Likewise.
28849         * socket/getpeername.c: Likewise.
28850         * socket/getsockname.c: Likewise.
28851         * socket/getsockopt.c: Likewise.
28852         * socket/isfdtype.c: Likewise.
28853         * socket/listen.c: Likewise.
28854         * socket/recv.c: Likewise.
28855         * socket/recvfrom.c: Likewise.
28856         * socket/recvmsg.c: Likewise.
28857         * socket/send.c: Likewise.
28858         * socket/sendmsg.c: Likewise.
28859         * socket/sendto.c: Likewise.
28860         * socket/setsockopt.c: Likewise.
28861         * socket/shutdown.c: Likewise.
28862         * socket/sockatmark.c: Likewise.
28863         * socket/socket.c: Likewise.
28864         * socket/socketpair.c: Likewise.
28865         * stdio-common/ctermid.c: Likewise.
28866         * stdio-common/cuserid.c: Likewise.
28867         * stdio-common/remove.c: Likewise.
28868         * stdio-common/rename.c: Likewise.
28869         * stdio-common/renameat.c: Likewise.
28870         * stdio-common/tempname.c: Likewise.
28871         * stdlib/getcontext.c: Likewise.
28872         * stdlib/makecontext.c: Likewise.
28873         * stdlib/setcontext.c: Likewise.
28874         * stdlib/swapcontext.c: Likewise.
28875         * stdlib/system.c: Likewise.
28876         * streams/fattach.c: Likewise.
28877         * streams/fdetach.c: Likewise.
28878         * streams/getmsg.c: Likewise.
28879         * streams/getpmsg.c: Likewise.
28880         * streams/putmsg.c: Likewise.
28881         * streams/putpmsg.c: Likewise.
28882         * sysdeps/unix/bsd/getpt.c: Likewise.
28883         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28884         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28885         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28887         Likewise.
28888         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28889         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28890         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28891         * sysvipc/msgctl.c: Likewise.
28892         * sysvipc/msgget.c: Likewise.
28893         * sysvipc/msgrcv.c: Likewise.
28894         * sysvipc/msgsnd.c: Likewise.
28895         * sysvipc/semctl.c: Likewise.
28896         * sysvipc/semget.c: Likewise.
28897         * sysvipc/semop.c: Likewise.
28898         * sysvipc/semtimedop.c: Likewise.
28899         * sysvipc/shmat.c: Likewise.
28900         * sysvipc/shmctl.c: Likewise.
28901         * sysvipc/shmdt.c: Likewise.
28902         * sysvipc/shmget.c: Likewise.
28903         * termios/tcdrain.c: Likewise.
28904         * termios/tcflow.c: Likewise.
28905         * termios/tcflush.c: Likewise.
28906         * termios/tcgetattr.c: Likewise.
28907         * termios/tcgetpgrp.c: Likewise.
28908         * termios/tcsendbrk.c: Likewise.
28909         * termios/tcsetattr.c: Likewise.
28910         * termios/tcsetpgrp.c: Likewise.
28911         * time/adjtime.c: Likewise.
28912         * time/clock.c: Likewise.
28913         * time/getitimer.c: Likewise.
28914         * time/gettimeofday.c: Likewise.
28915         * time/setitimer.c: Likewise.
28916         * time/settimeofday.c: Likewise.
28917         * time/stime.c: Likewise.
28918         * time/time.c: Likewise.
28919
28920 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28921
28922         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28923         /usr/old/bin.
28924
28925         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28926         instead of spaces.
28927         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28928
28929 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28930
28931         [BZ #14796]
28932         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28933         FE_TONEAREST before applying Dekker multiplication and Knuth
28934         addition.  Clear inexact exceptions and check for exact zero
28935         results afterwards.
28936         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28937         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28938         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28939         * math/libm-test.inc (fma_test): Add more tests.
28940         (fma_test_towardzero): Likewise.
28941         (fma_test_downward): Likewise.
28942         (fma_test_upward): Likewise.
28943         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28944         function.
28945         (libc_fesetround): New macro.
28946         (libc_fesetroundf): Likewise.
28947         (libc_fesetroundl): Likewise.
28948         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28949         function.
28950         (libc_fesetround_387): Likewise.
28951         (libc_fesetroundf): New macro.
28952         (libc_fesetround): Likewise.
28953         (libc_fesetroundl): Likewise.
28954         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28955         function.
28956         (libc_fesetroundf): New macro.
28957         (libc_fesetround): Likewise.
28958         (libc_fesetroundl): Likewise.
28959         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28960         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28961         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28962         libm_hidden_ver.
28963         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28964         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28965         libm_hidden_def.
28966         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28967         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28968         libm_hidden_ver.
28969         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28970         libm_hidden_def.
28971
28972         [BZ #3439]
28973         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28974         integer constant usable in #if and use that to give value to enum
28975         constant.
28976         (FE_DIVBYZERO): Likewise.
28977         (FE_UNDERFLOW): Likewise.
28978         (FE_OVERFLOW): Likewise.
28979         (FE_INVALID): Likewise.
28980         (FE_INVALID_SNAN): Likewise.
28981         (FE_INVALID_ISI): Likewise.
28982         (FE_INVALID_IDI): Likewise.
28983         (FE_INVALID_ZDZ): Likewise.
28984         (FE_INVALID_IMZ): Likewise.
28985         (FE_INVALID_COMPARE): Likewise.
28986         (FE_INVALID_SOFTWARE): Likewise.
28987         (FE_INVALID_SQRT): Likewise.
28988         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28989         (FE_TONEAREST): Likewise.
28990         (FE_TOWARDZERO): Likewise.
28991         (FE_UPWARD): Likewise.
28992         (FE_DOWNWARD): Likewise.
28993         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28994         (FE_DIVBYZERO): Likewise.
28995         (FE_OVERFLOW): Likewise.
28996         (FE_UNDERFLOW): Likewise.
28997         (FE_INEXACT): Likewise.
28998         (FE_TONEAREST): Likewise.
28999         (FE_DOWNWARD): Likewise.
29000         (FE_UPWARD): Likewise.
29001         (FE_TOWARDZERO): Likewise.
29002         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29003         (FE_UNDERFLOW): Likewise.
29004         (FE_OVERFLOW): Likewise.
29005         (FE_DIVBYZERO): Likewise.
29006         (FE_INVALID): Likewise.
29007         (FE_TONEAREST): Likewise.
29008         (FE_TOWARDZERO): Likewise.
29009         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29010         (FE_OVERFLOW): Likewise.
29011         (FE_UNDERFLOW): Likewise.
29012         (FE_DIVBYZERO): Likewise.
29013         (FE_INEXACT): Likewise.
29014         (FE_TONEAREST): Likewise.
29015         (FE_TOWARDZERO): Likewise.
29016         (FE_UPWARD): Likewise.
29017         (FE_DOWNWARD): Likewise.
29018         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29019         (FE_DIVBYZERO): Likewise.
29020         (FE_OVERFLOW): Likewise.
29021         (FE_UNDERFLOW): Likewise.
29022         (FE_INEXACT): Likewise.
29023         (FE_TONEAREST): Likewise.
29024         (FE_DOWNWARD): Likewise.
29025         (FE_UPWARD): Likewise.
29026         (FE_TOWARDZERO): Likewise.
29027
29028 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29029
29030         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29031
29032 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29033
29034         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29035         commands.  Quote $PWD.
29036         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29037         -x" by "export".
29038         (remove_newlines): Remove.
29039
29040 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29041
29042         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29043         * stdlib/stdlib.h (atof): Moved to ...
29044         * include/bits/stdlib-float.h: Here.  New file.
29045         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29046         * stdlib/bits/stdlib-float.h: New file.
29047         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29048         -mno-sse -mno-mmx.
29049         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29050         <xmmintrin.h>.
29051
29052 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29053
29054         * conform/conformtest.pl (@headers): Add fenv.h.
29055         * conform/data/fenv.h-data: New file.
29056         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29057         include of <math/fenv.h>.
29058
29059         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29060         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29061         && !UNIX98].  Enables tests for XOPEN2K8.
29062         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29063         POSIX2008]: Likewise.
29064
29065         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29066         (struct rusage): Do not expect type or its members.
29067
29068         [BZ #3439]
29069         * math/math.h (FP_NAN): Define macro to integer constant usable in
29070         #if and use that to give value to enum constant.
29071         (FP_INFINITE): Likewise.
29072         (FP_ZERO): Likewise.
29073         (FP_SUBNORMAL): Likewise.
29074         (FP_NORMAL): Likewise.
29075
29076 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29077
29078         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29079         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29080         arguments.
29081
29082 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29083
29084         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29085         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29086         autoconf-time if not.
29087         * configure.in: Remove AC_PREREQ.
29088
29089 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29090
29091         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29092         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29093         of the internal implementation.
29094
29095 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29096
29097         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29098         except include of <misc/sys/syslog.h>.
29099
29100 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29101
29102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29103         function returns with a NULL context exit with zero.
29104
29105 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29106
29107         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29108
29109 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29110
29111         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29112         (run_program_cmd): This.
29113         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29114         (tst_langinfo): New variable.  Use it.
29115
29116 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29117
29118         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29119         floating point opcodes.
29120
29121 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29122
29123         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29124         variable.
29125
29126         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29127
29128         * sysdeps/mach/hurd/powerpc: Remove directory.
29129         * sysdeps/mach/powerpc: Likewise.
29130
29131 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29132
29133         * scripts/check-local-headers.sh: Ignore c++ headers.
29134
29135 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29136
29137         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29138         __libc_cleanup_region_start argument.
29139
29140 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29141
29142         [BZ #14784]
29143         [BZ #14785]
29144         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29145         x * y using scaling, not as x * y + z.
29146         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29147         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29148         * math/libm-test.inc (fma_test): Add more tests.
29149         (fma_test_towardzero): Likewise.
29150         (fma_test_downward): Likewise.
29151         (fma_test_upward): Likewise.
29152
29153 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29154
29155         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29156
29157 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29158
29159         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29160         New variable.
29161
29162 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29163
29164         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29165
29166 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29167
29168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29169         Fix sort order.
29170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29171         Likewise.
29172
29173 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29174
29175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29176         Fix the order of the list for glibc 2.17.
29177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29178         Likewise.
29179
29180 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29181
29182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29183
29184 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29185
29186         [BZ #14610]
29187         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29188         for low part of x being zero before using __atanl (y).
29189         * math/libm-test.inc (atan2_test): Add another test.
29190
29191         * manual/install.texi (Configuring and compiling): Document
29192         general use of test-wrapper and test-wrapper-env.
29193         * INSTALL: Regenerated.
29194
29195         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29196         (__fma): Do not extract and scale down low bits on after-rounding
29197         systems when result rounded to normal precision would have normal
29198         exponent.
29199         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29200         (__fmal): Do not extract and scale down low bits on after-rounding
29201         systems when result rounded to normal precision would have normal
29202         exponent.
29203         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29204         (__fmal): Do not extract and scale down low bits on after-rounding
29205         systems when result rounded to normal precision would have normal
29206         exponent.
29207         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29208         macro.
29209         (fma_test): Add more tests.
29210         (fma_test_towardzero): Likewise.
29211         (fma_test_downward): Likewise.
29212         (fma_test_upward): Likewise.
29213
29214 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29215
29216         * sysdeps/i386/tininess.h: Renamed to ...
29217         * sysdeps/x86/tininess.h: This.
29218         * sysdeps/x86_64/tininess.h: Removed.
29219
29220 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29221
29222         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29223         input.  Use $(build-program-cmd).
29224         ($(objpfx)tst-array1-static.out): Likewise.
29225         ($(objpfx)tst-array2.out): Likewise.
29226         ($(objpfx)tst-array3.out): Likewise.
29227         ($(objpfx)tst-array4.out): Likewise.
29228         ($(objpfx)tst-array5.out): Likewise.
29229         ($(objpfx)tst-array5-static.out): Likewise.
29230
29231 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29232
29233         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29234         if defined.
29235
29236         * nss/nsswitch.h (nss_interface_function): Provide new
29237         macro for use with NSS functions.
29238         * grp/initgroups.c: Use new macro.
29239         * nss/getXXbyYY.c: Likewise.
29240         * nss/getXXbyYY_r.c: Likewise.
29241         * nss/getXXent.c: Likewise.
29242         * nss/getXXent_r.c: Likewise.
29243         * sysdeps/posix/getaddrinfo.c: Likewise.
29244
29245 2012-10-30  Andreas Jaeger  <aj@suse.de>
29246
29247         * po/ru.po: Update Russion translation from translation project.
29248
29249 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29250
29251         [BZ #14152]
29252         [BZ #14783]
29253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29254         result and shift together with sticky bit instead of replicating
29255         round-to-nearest rounding.
29256         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29257         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29258         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29259         missing underflow exceptions.
29260         (fma_test_towardzero): Add more tests.
29261         (fma_test_downward): Likewise.
29262         (fma_test_upward): Likewise.
29263
29264         [BZ #14047]
29265         * sysdeps/generic/tininess.h: New file.
29266         * sysdeps/i386/tininess.h: Likewise.
29267         * sysdeps/sh/tininess.h: Likewise.
29268         * sysdeps/x86_64/tininess.h: Likewise.
29269         * stdlib/tst-strtod-underflow.c: Likewise.
29270         * stdlib/tst-tininess.c: Likewise.
29271         * stdlib/strtod_l.c: Include <tininess.h>.
29272         (round_and_return): Do not set errno for exact underflow cases.
29273         Force an underflow exception when setting errno for underflow.
29274         Determine underflow based on rounding to normal precision if
29275         TININESS_AFTER_ROUNDING.
29276         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29277         ERANGE for exact underflow cases.
29278         * stdlib/Makefile (tests): Add tst-tininess and
29279         tst-strtod-underflow.
29280         ($(objpfx)tst-tininess): Use $(link-libm).
29281         ($(objpfx)tst-strtod-underflow): Likewise.
29282
29283 2012-10-30  Andreas Jaeger  <aj@suse.de>
29284
29285         [BZ#14767]
29286         * elf/Makefile (tests): Remove conditional for have-initfini-array
29287         since this is now always required and the variable does not exist
29288         anymore.
29289         (tests-static): Likewise.
29290         (modules-names): Likewise.
29291
29292         * po/eo.po: Add Esperanto translation from translation project.
29293
29294         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29295         merged with constructor/destructor.
29296         (init_array): Likewise.
29297         * elf/tst-array2dep.c (fini_array): Likewise.
29298         (init_array): Likewise.
29299
29300 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29301
29302         * manual/message.texi: Delete @cartouche tags.
29303
29304 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29305
29306         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29307         EOPNOTSUPP.
29308         * sysdeps/mach/hurd/fsync.c: Likewise.
29309
29310         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29311         [_POSIX_REALTIME_SIGNALS]: Change condition to
29312         [_POSIX_REALTIME_SIGNALS > 0].
29313
29314 2012-10-27  Andreas Jaeger  <aj@suse.de>
29315
29316         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29317         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29319         [__WORDSIZE != 64]: Likewise.
29320
29321 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29322
29323         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29324         *  iconvdata/tst-tables.sh: Likewise.
29325
29326 2012-10-25  David S. Miller  <davem@davemloft.net>
29327
29328         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29329         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29330         of strtoull.
29331
29332         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29333         ifunc-impl-list.c
29334         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29335         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29336         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29337         file.
29338
29339 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29340
29341         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29342         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29343         __getdirentries.
29344
29345 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29346             Jim Blandy  <jimb@codesourcery.com>
29347
29348         * scripts/cross-test-ssh.sh: New file.
29349         * manual/install.texi (Configuring and compiling): Document use of
29350         cross-test-ssh.sh.
29351         * INSTALL: Regenerated.
29352
29353 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29354
29355         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29356         EOPNOTSUPP.
29357
29358 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29359
29360         * Makeconfig (run-program-prefix): Fix comment.
29361
29362 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29363             Jim Blandy  <jimb@codesourcery.com>
29364
29365         * Makeconfig (test-wrapper): New variable,
29366         (test-wrapper-env): Likewise.
29367         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29368         (run-built-tests): Define to yes.
29369         (run-program-prefix): Use $(test-wrapper).
29370         (built-program-cmd): Likewise.
29371         * Rules (make-test-out): Use $(test-wrapper-env) and
29372         $(host-built-program-cmd).
29373         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29374         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29375         tst-pathopt.sh.
29376         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29377         $(test-wrapper-env) to tst-rtld-load-self.sh.
29378         ($(objpfx)order2.out): Use $(test-wrapper).
29379         ($(objpfx)tst-initorder.out): Likewise.
29380         ($(objpfx)tst-initorder2.out): Likewise.
29381         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29382         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29383         (test_wrapper_env): New variable.  Use it to run ld.so.
29384         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29385         Use it to run ld.so.
29386         (test_wrapper_env): Likewise.
29387         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29388         $(test-wrapper) to run-iconv-test.sh.
29389         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29390         (ICONV): Use $test_wrapper.
29391         * posix/Makefile ($(objpfx)globtest.out): Pass
29392         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29393         globtest.sh, not $(run-program-prefix).
29394         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29395         (test_wrapper): Likewise.
29396         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29397         set together with run_via_rtld_prefix.
29398         (run_program_prefix): Define in terms of test_wrapper and
29399         run_via_rtld_prefix.
29400
29401 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29402
29403         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29404         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29405         Targets removed.
29406
29407         [BZ #14743]
29408         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29409         Declare __clock_getres, __clock_gettime, __clock_settime,
29410         __clock_nanosleep, and __clock_getcpuclockid.
29411         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29412         Remove librt_hidden_def (clock_gettime).
29413         * sysdeps/unix/clock_gettime.c: Likewise.
29414         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29415         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29416         * rt/clock_getres.c: Define __clock_getres as an alias.
29417         * sysdeps/posix/clock_getres.c: Likewise.
29418         * rt/clock_settime.c: Define __clock_settime as an alias.
29419         * sysdeps/unix/clock_settime.c: Likewise.
29420         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29421         * sysdeps/unix/clock_nanosleep.c: Likewise.
29422         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29423         * rt/clock-compat.c: New file.
29424         * rt/Makefile (librt-routines): Add clock-compat and move
29425         $(clock-routines) to ...
29426         (routines): ... here, new variable.
29427         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29428         Don't add get_clockfreq here.
29429         * rt/Versions (libc: GLIBC_2.17): New version set.
29430         Add clock_* symbols here.
29431         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29432         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29433         (GLIBC_2.17): Add clock_* symbols.
29434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29436         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29438         Likewise.
29439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29440         Likewise.
29441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29445         * NEWS: Mention the move.
29446
29447         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29448         Use __open, __read, __close rather than their public counterparts.
29449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29450         (__get_clockfreq_via_cpuinfo): Likewise.
29451         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29452         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29453
29454         * config.h.in (HAVE_IFUNC): New #undef.
29455         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29456         was successful.
29457         * configure: Regenerated.
29458
29459 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29460
29461         * configure.in: Move READELF check to start of file.
29462         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29463         libc_cv_asm_gnu_indirect_function in the process.
29464         * configure: Regenerated.
29465
29466 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29467
29468         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29469         send the output to /dev/null.
29470         (libc_cv_cc_with_libunwind): Likewise.
29471         (libc_cv_as_noexecstack): Likewise.
29472         * configure: Regenerate.
29473
29474 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29475
29476         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29477
29478         * posix/globtest.sh (TMPDIR): Do not set.
29479         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29480         (testout): Likewise.
29481
29482 2012-10-24  Andreas Jaeger  <aj@suse.de>
29483
29484         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29485         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29486         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29487         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29488         posix_fadvise64, posix_fallocate64.
29489
29490         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29491         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29492         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29493         Likewise.
29494         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29495         Likewise.
29496         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29497
29498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29499         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29500         <bits/fcntl-linux.h>.
29501         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29502
29503         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29504         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29505         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29506         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29507         [__WORDSIZE != 64]: Likewise.
29508
29509 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29510
29511         * Makeconfig (run-built-tests): New variable.
29512         * Rules [$(cross-compiling) = yes]: Change condition to
29513         [$(run-built-tests) = no].
29514         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29515         to [$(run-built-tests) = yes].
29516         * elf/Makefile [$(cross-compiling) = no]: Likewise
29517         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29518         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29519         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29520         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29521         * io/Makefile [$(cross-compiling) = no]: Likewise.
29522         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29523         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29524         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29525         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29526         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29527         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29528         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29529         * string/Makefile [$(cross-compiling) = no]: Likewise.
29530
29531         * posix/Makefile ($(objpfx)globtest.out): Pass
29532         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29533         $(rtld-installed-name).
29534         * posix/globtest.sh (elf_objpfx): Remove variable.
29535         (rtld_installed_name): Likewise.
29536         (library_path): Likewise.
29537         (run_program_prefix): New variable.  Use for running globtest
29538         binary.
29539
29540 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29541             Joseph Myers  <joseph@codesourcery.com>
29542
29543         * Makeconfig (host-built-program-cmd): New variable.
29544         * elf/Makefile (tst-stackguard1-ARGS): Use
29545         $(host-built-program-cmd).
29546         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29547         (tst-spawn-ARGS): Likewise.
29548         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29549
29550 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29551             Jim Blandy  <jimb@codesourcery.com>
29552
29553         * Makeconfig (run-via-rtld-prefix): New variable.
29554         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29555         (built-program-cmd): Likewise.
29556
29557 2012-10-22  Andreas Jaeger  <aj@suse.de>
29558
29559         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29560         __O_RSYNC if it exists, otherwise to O_SYNC.
29561
29562 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29563             Joseph Myers  <joseph@codesourcery.com>
29564
29565         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29566         /dev/null.
29567         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29568         from /dev/null
29569         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29570         /dev/null.
29571
29572 2012-10-22  Andreas Jaeger  <aj@suse.de>
29573
29574         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29575         Define always.
29576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29577
29578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29579         bits/fcntl-linux.h.
29580
29581         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29582         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29583
29584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29585         to __O_LARGEFILE.
29586         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29587         to __O_LARGEFILE.
29588
29589 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29590             Joseph Myers  <joseph@codesourcery.com>
29591
29592         * config.make.in (NM): New variable.
29593
29594 2012-10-21  Andreas Jaeger  <aj@suse.de>
29595
29596         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29597         definitions and declarations that are provided by
29598         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29599
29600 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29601
29602         [BZ #14683]
29603         * elf/Makefile (tests-static): Add tst-leaks1-static.
29604         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29605         ($(objpfx)tst-leaks1-static): New rule.
29606         ($(objpfx)tst-leaks1-static-mem): Likewise.
29607         (tst-leaks1-static-ENV): New macro.
29608         * elf/dl-open.c (dl_open_worker): Check the main application
29609         only if SHARED is defined.
29610         * elf/tst-leaks1-static.c: New file.
29611
29612 2012-10-20  Andreas Jaeger  <aj@suse.de>
29613
29614         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29615         generic values for Linux.
29616         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29617         and declarations that are provided by <bits/fcntl-linux.h> and
29618         include <bits/fcntl-linux.h>.
29619         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29620         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29621
29622 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29623
29624         * io/fcntl.h: Move include of <bits/types.h> to the top and
29625         include it unconditionally.
29626
29627 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29628
29629         * wcsmbs/Makefile (tests-ifunc): New variable.
29630         (tests): Add $(tests-ifunc).
29631         * wcsmbs/test-wcschr-ifunc.c: New file.
29632         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29633         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29634         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29635         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29636         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29637
29638         * string/Makefile (tests-ifunc): New variable.
29639         (tests): Add $(tests-ifunc).
29640         * string/test-memccpy.c (TEST_NAME): New macro.
29641         * string/test-memchr.c (TEST_NAME): Likewise.
29642         * string/test-memcmp.c (TEST_NAME): Likewise.
29643         * string/test-memcpy.c (TEST_NAME): Likewise.
29644         * string/test-memmem.c (TEST_NAME): Likewise.
29645         * string/test-memmove.c (TEST_NAME): Likewise.
29646         * string/test-memset.c (TEST_NAME): Likewise.
29647         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29648         * string/test-stpcpy.c (TEST_NAME): Likewise.
29649         * string/test-stpncpy.c (TEST_NAME): Likewise.
29650         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29651         * string/test-strcasestr.c (TEST_NAME): Likewise.
29652         * string/test-strcat.c (TEST_NAME): Likewise.
29653         * string/test-strchr.c (TEST_NAME): Likewise.
29654         * string/test-strcmp.c(TEST_NAME): Likewise.
29655         * string/test-strcpy.c (TEST_NAME): Likewise.
29656         * string/test-strcspn.c (TEST_NAME): Likewise.
29657         * string/test-strlen.c (TEST_NAME): Likewise.
29658         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29659         * string/test-strncmp.c (TEST_NAME): Likewise.
29660         * string/test-strncpy.c (TEST_NAME): Likewise.
29661         * string/test-strnlen.c (TEST_NAME): Likewise.
29662         * string/test-strpbrk.c (TEST_NAME): Likewise.
29663         * string/test-strrchr.c (TEST_NAME): Likewise.
29664         * string/test-strspn.c (TEST_NAME): Likewise.
29665         * string/test-strstr.c (TEST_NAME): Likewise.
29666         * string/test-bcopy-ifunc.c: New file.
29667         * string/test-bzero-ifunc.c: Likewise.
29668         * string/test-memccpy-ifunc.c: Likewise.
29669         * string/test-memchr-ifunc.c: Likewise.
29670         * string/test-memcmp-ifunc.c: Likewise.
29671         * string/test-memcpy-ifunc.c: Likewise.
29672         * string/test-memmem-ifunc.c: Likewise.
29673         * string/test-memmove-ifunc.c: Likewise.
29674         * string/test-mempcpy-ifunc.c: Likewise.
29675         * string/test-memset-ifunc.c: Likewise.
29676         * string/test-rawmemchr-ifunc.c: Likewise.
29677         * string/test-stpcpy-ifunc.c: Likewise.
29678         * string/test-stpncpy-ifunc.c: Likewise.
29679         * string/test-strcasecmp-ifunc.c: Likewise.
29680         * string/test-strcasestr-ifunc.c: Likewise.
29681         * string/test-strcat-ifunc.c: Likewise.
29682         * string/test-strchr-ifunc.c: Likewise.
29683         * string/test-strchrnul-ifunc.c: Likewise.
29684         * string/test-strcmp-ifunc.c: Likewise.
29685         * string/test-strcpy-ifunc.c: Likewise.
29686         * string/test-strcspn-ifunc.c: Likewise.
29687         * string/test-strlen-ifunc.c: Likewise.
29688         * string/test-strncasecmp-ifunc.c: Likewise.
29689         * string/test-strncat-ifunc.c: Likewise.
29690         * string/test-strncmp-ifunc.c: Likewise.
29691         * string/test-strncpy-ifunc.c: Likewise.
29692         * string/test-strnlen-ifunc.c: Likewise.
29693         * string/test-strpbrk-ifunc.c: Likewise.
29694         * string/test-strrchr-ifunc.c: Likewise.
29695         * string/test-strspn-ifunc.c: Likewise.
29696         * string/test-strstr-ifunc.c: Likewise.
29697
29698         * debug/Makefile (tests-ifunc): New variable.
29699         (tests): Add $(tests-ifunc).
29700         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29701         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29702         * debug/test-stpcpy_chk-ifunc.c: New file.
29703         * debug/test-strcpy_chk-ifunc.c: Likewise.
29704
29705 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29706
29707         [BZ #13601]
29708         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29709         header is not read in.
29710
29711 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29712
29713         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29714         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29715         directly.  Pass built executable to script as
29716         $(built-program-cmd).
29717         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29718         $testprogram without using LD_LIBRARY_PATH and $ldso.
29719
29720         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29721         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29722         $(rtld-installed-name).
29723         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29724         (rtld_installed_name): Likewise.
29725         (library_path): Likewise.
29726         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29727         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29728         $(run-program-prefix) to tst-tables.sh.
29729         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29730         it to run tst-table-from and tst-table-to.
29731         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29732         Pass it to tst-table.sh.
29733         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29734         $(run-program-prefix) to tst-gettext.sh.
29735         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29736         tst-translit.sh.
29737         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29738         tst-gettext2.sh.
29739         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29740         to run tst-gettext.
29741         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29742         to run tst-gettext2.
29743         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29744         to run tst-translit.
29745         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29746         $(run-program-prefix) to tst-mtrace.sh.
29747         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29748         to run tst-mtrace.
29749         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29750         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29751         $(rtld-installed-name).
29752         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29753         (rtld_installed_name): Likewise.
29754         (run_program_prefix): New variable.  Use it to run wordexp-test.
29755
29756         * Makeconfig (ARCH): Remove all definitions.
29757         (machine): Likewise.
29758         [ARCH]: Remove conditional code.
29759         [!objdir]: Give error.
29760         [!objdir] (objpfx): Remove.
29761         [!objdir] (common-objpfx): Likewise.
29762         [!objdir] (common-objdir): Likewise.
29763         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29764         AC_CONFIG_FILES call.
29765         * configure: Regenerated.
29766
29767         [BZ #13888]
29768         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29769         or TMPDIR.
29770         (testout): Likewise.
29771
29772         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29773         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29774         $(rtld-installed-name).
29775         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29776         (rtld_installed_name): Likwise.
29777         (runit): Remove function.
29778         (run_getconf): New variable,  Use it for running getconf binary.
29779
29780 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29781
29782         [BZ #14716]
29783         * string/test-memmem.c (check_result): New function.
29784         (do_one_test): Use it.
29785         (check1): New function.
29786         (test_main): Use it.
29787
29788 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29789
29790         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29791
29792 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29793
29794         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29795         (_G_LSEEK64): Likewise.
29796         (_G_MMAP64): Likewise.
29797         (_G_FSTAT64): Likewise.
29798         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29799         (_G_LSEEK64): Likewise.
29800         (_G_MMAP64): Likewise.
29801         (_G_FSTAT64): Likewise.
29802         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29803         unconditional.  Call __mmap64 directly.
29804         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29805         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29806         __lseek64 directly.
29807         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29808         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29809         __mmap64 directly.
29810         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29811         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29812         __lseek64 directly.
29813         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29814         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29815         __lseek64 directly.
29816         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29817         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29818         __lseek64 directly.
29819         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29820         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29821         __fxstat64 directly.
29822         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29823         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29824         unconditional.
29825         (freopen64) [!_G_OPEN64]: Remove conditional code.
29826         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29827         unconditional.
29828         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29829         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29830         unconditional.
29831         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29832         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29833         unconditional.
29834         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29835         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29836         unconditional.
29837         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29838         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29839         unconditional.
29840         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29841         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29842         unconditional.
29843         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29844         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29845         unconditional.
29846         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29847
29848 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29849
29850         [BZ #12140]
29851         * manual/memory.texi (Malloc Tunable Parameters): Add note
29852         about free list pointers overwriting some perturb bytes.
29853         Wording suggested by Roland McGrath.
29854
29855 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29856
29857         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29858         (lgamma_test): Likewise.
29859         (tgamma_test): Likewise.
29860
29861 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29862
29863         [BZ #14700]
29864         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29865         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29866
29867 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29868
29869         * NEWS: Mention BZ #14716.
29870         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29871         when removing AVAILABLE1_USES_J macro.
29872
29873 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29874
29875         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29876         (__bswap_64): __uint64_t for unsigned 64-bit int.
29877
29878 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29879
29880         * include/string.h (memmem): Declare libc hidden alias.
29881         * string/memmem.c (memmem): Define libc hidden alias.
29882         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29883         __read, __close instead of open, read, close.
29884
29885 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29886
29887         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29888         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29889         global and hidden.
29890         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29891         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29892         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29893         Likewise.
29894         (__rawmemchr_sse2): Likewise.
29895         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29896         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29897         (__strchr_sse2): Likewise.
29898         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29899         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29900         (__strcasecmp_sse2): Likewise.
29901         (__strncasecmp_sse2): Likewise.
29902         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29903         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29904         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29905         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29906         (__strrchr_sse2): Likewise.
29907         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29908         ifunc-impl-list.c.
29909         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29910         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29911         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29912         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29913         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29914         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29915         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29916         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29917         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29918         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29919         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29920         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29921         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29922         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29923         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29924         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29925         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29926         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29927         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29928         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29929         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29930         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29931         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29932         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29933         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29934         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29935         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29936         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29937         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29938         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29939
29940         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29941         global and hidden.
29942         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29943         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29944         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29945         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29946         Likewise.
29947         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29948         Likewise.
29949         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29950         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29951         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29952         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29953         ifunc-impl-list.c.
29954         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29955         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29956         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29957         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29958         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29959         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29960         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29961         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29962         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29963         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29964         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29965         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29966         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29967         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29968         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29969         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29970         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29971         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29972         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29973         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29974         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29975         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29976         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29977         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29978         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29979         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29980         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29981         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29982         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29983         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29984         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29985         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29986         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29987         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29988         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29989         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29990         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29991         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29992         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29993         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29994         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29995
29996         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29997         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29998         * include/ifunc-impl-list.h: New file.
29999         * misc/ifunc-impl-list.c: Likewise.
30000         * misc/Makefile (routines): Add ifunc-impl-list.
30001         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30002         * string/test-string.h: Include <ifunc-impl-list.h>.
30003         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30004         TEST_NAME]: New variables.
30005         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30006         are defined.
30007         (test_init): Call __libc_ifunc_impl_list to initialize
30008         func_list if TEST_IFUNC and TEST_NAME are defined.
30009
30010         * string/Makefile (strop-tests): Add bcopy and bzero.
30011         * string/test-bcopy.c: New file.
30012         * string/test-bzero.c: Likewise.
30013         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30014         defined.
30015         * string/test-memset.c: Support bzero test if TEST_BZERO is
30016         defined.
30017         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30018         __libc_memmove.
30019         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30020         __libc_memset.
30021         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30022         of memset.
30023
30024 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30025
30026         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30027         * configure: Regenerated.
30028
30029         * Makeconfig (+link-static-before-libc): Don't include
30030         $(link-static-libc).
30031
30032         * libio/libio.h (_IO_pos_t): Remove.
30033
30034 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30035
30036         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30037         McGrath.
30038
30039 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30040
30041         * crypt/crypt-entry.c: Include fips-private.h.
30042         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30043         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30044         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30045         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30046
30047 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30048
30049         * crypt/crypt-private.h: Include stdbool.h.
30050         (_ufc_setup_salt_r): Return bool.
30051         * crypt/crypt-entry.c: Include errno.h.
30052         (__crypt_r): Return NULL with EINVAL for bad salt.
30053         * crypt/crypt_util.c (bad_for_salt): New.
30054         (_ufc_setup_salt_r): Check that salt is long enough and within
30055         the specified alphabet.
30056         * crypt/badsalttest.c: New file.
30057         * crypt/Makefile (tests): Add it.
30058         ($(objpfx)badsalttest): New.
30059
30060 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30061
30062         * NEWS: Add entry for BZ #14602.
30063
30064 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30065
30066         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30067         type-generic.
30068         * math/libm-test.inc: Update comment listing what functions and
30069         macros are tested.
30070         (isgreater_test): New function.
30071         (isgreaterequal_test): Likewise.
30072         (isless_test): Likewise.
30073         (islessequal_test): Likewise.
30074         (islessgreater_test): Likewise.
30075         (isunordered_test): Likewise.
30076         (main): Call the new functions.
30077
30078 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30079
30080         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30081         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30082         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30083         * sysdeps/i386/configure: Regenerated.
30084         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30085         * sysdeps/mach/configure: Regenerated.
30086         * sysdeps/mach/hurd/configure: Regenerated.
30087         * sysdeps/powerpc/configure: Regenerated.
30088         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30089         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30090         * sysdeps/s390/s390-32/configure: Regenerated.
30091         * sysdeps/s390/s390-64/configure: Regenerated.
30092         * sysdeps/sh/configure: Regenerated.
30093         * sysdeps/sparc/configure: Regenerated.
30094         * sysdeps/unix/sysv/linux/configure: Regenerated.
30095         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30096         * sysdeps/x86_64/configure: Regenerated.
30097
30098         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30099         defined.  Don't check if MAP is NULL.
30100
30101 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30102
30103         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30104         (_G_stat64): Likewise.
30105         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30106         (_G_stat64): Likewise.
30107         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30108         instead of struct _G_stat64.
30109         * libio/fileops.c (mmap_remap_check): Likewise.
30110         (decide_maybe_mmap): Likewise.
30111         (_IO_new_file_seekoff): Likewise.
30112         (_IO_file_stat): Likewise.
30113         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30114         _G_off64_t.
30115         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30116         instead of struct _G_stat64.
30117         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30118
30119 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30120
30121         [BZ #14602]
30122         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30123         Replace with ...
30124         (CHECK_EOL): New macro.
30125         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30126         CHECK_EOL.
30127         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30128         Replace with CHECK_EOL.
30129         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30130         Replace with CHECK_EOL.
30131
30132 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30133
30134         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30135         type-generic.
30136         * math/libm-test.inc: Update comment listing what functions and
30137         macros are tested.
30138         (finite_test): New function.
30139         (isinf_test): Likewise.
30140         (isnan_test): Likewise.
30141         (fpclassify_test): Test subnormal input.
30142         (isfinite_test): Likewise.
30143         (isnormal_test): Likewise.
30144         (main): Call the new functions.
30145
30146 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30147
30148         [BZ #14660]
30149         * Makerules (%.dynsym): Force C locale when running
30150         $(OBJDUMP) --dynamic-syms.
30151
30152 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30153
30154         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30155         <stdint.h>.
30156
30157 2012-10-06  David S. Miller  <davem@davemloft.net>
30158
30159         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30160         upper 32-bits of the length value in %o2 since we use branch-on-register
30161         tests which consider the entire 64-bit register.
30162
30163 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30164
30165         * string/test-strstr.c (check2): Add a test for page boundary.
30166
30167 2012-10-05  David S. Miller  <davem@davemloft.net>
30168
30169         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30170         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30171         file.
30172         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30173         sysdep_routines.
30174         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30175         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30176         and bzero when HWCAP_SPARC_CRYPTO is present.
30177
30178 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30179
30180         [BZ #14602]
30181         * string/test-strstr.c (check2): New function.
30182         (test_main): Call check2.
30183
30184         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30185         and bug-strchr1.
30186         * string/bug-strcasestr1.c (do_test): Moved to ...
30187         * string/test-strcasestr.c (check1): Here.  New function.
30188         (do_one_test): Break out result checking code into ...
30189         (check_result): This.  New function.
30190         (do_one_test): Call check_result.
30191         (test_main): Call check1.
30192         * string/bug-strchr1.c (do_test): Moved to ...
30193         * string/test-strchr.c (check1): Here.  New function.
30194         (do_one_test): Break out result checking code into ...
30195         (check_result): This.  New function.
30196         (do_one_test): Call check_result.
30197         (test_main): Call check1.
30198         * string/bug-strstr1.c (main): Moved to ...
30199         * string/test-strstr.c (check1): Here.  New function.
30200         (do_one_test): Break out result checking code into ...
30201         (check_result): This.  New function.
30202         (do_one_test): Call check_result.
30203         (test_main): Call check1.
30204         * string/bug-strcasestr1.c: Removed.
30205         * string/bug-strchr1.c: Likewise.
30206         * string/bug-strstr1.c: Likewise.
30207
30208         * elf/Makefile (dl-routines): Add hwcaps.
30209         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30210         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30211         (_dl_important_hwcaps): Moved to ...
30212         * elf/dl-hwcaps.c: Here.  New file.
30213         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30214
30215         [BZ #14557]
30216         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30217         if IS_IN_rtld isn't defined.
30218
30219         * elf/dl-support.c (_dl_sysinfo_map): New.
30220         Include "get-dynamic-info.h" and "setup-vdso.h".
30221         (_dl_non_dynamic_init): Call setup_vdso.
30222         * elf/dynamic-link.h: Don't include <assert.h>.
30223         (elf_get_dynamic_info): Moved to ...
30224         * elf/get-dynamic-info.h: Here.  New file.
30225         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30226         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30227         * elf/setup-vdso.h: Here.  New file.
30228         * elf/rtld.c: Include "setup-vdso.h".
30229         (dl_main): Call setup_vdso.
30230
30231 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30232
30233         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30234         creal in comment listing functions tested.  List finite, isinf,
30235         isnan, isless, islessequal, isgreater, isgreaterequal,
30236         islessgreater, isunordered, lgamma_r and pow10 as functions and
30237         macros not tested.  Mention which functions not tested are aliases
30238         for other functions.  Fix typo.  Note that signs of NaNs are not
30239         tested.
30240
30241         * scripts/config.guess: Update from config.git.
30242         * scripts/config.sub: Likewise.
30243
30244 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30245
30246         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30247         * misc/madvise.c (madvise): Renamed to __madvise.
30248         Make madvise a weak alias.
30249         * include/sys/mman.h: Declare __madvise.
30250         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30251         * sysdeps/unix/syscalls.list
30252         (madvise): Make __madvise the strong name, and madvise a weak alias.
30253         * sysdeps/unix/sysv/linux/syscalls.list
30254         (madvise, mmap): Remove redundant entries.
30255         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30256         * malloc/malloc.c (mtrim): Likewise.
30257         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30258
30259 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30260
30261         * sysdeps/mach/hurd/dl-cache.c: File removed.
30262         * config.h.in (USE_LDCONFIG): New #undef.
30263         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30264         * configure: Regenerated.
30265         * elf/Makefile (dl-routines): Add dl-cache only under
30266         [$(use-ldconfig) = yes].
30267         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30268         cache on [USE_LDCONFIG].
30269         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30270         [USE_LDCONFIG].
30271         * elf/rtld.c (dl_main): Likewise.
30272
30273 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30274
30275         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30276         _SC_LEVEL4_CACHE_LINESIZE.
30277
30278 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30279
30280         * sysdeps/unix/bsd/confstr.h: File removed.
30281
30282 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30283
30284         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30285         sys/sdt-config.h.
30286
30287 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30288
30289         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30290         Make 'mapoff' field ElfW(Off) rather than off_t.
30291
30292 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30293
30294         * nscd/Makefile: Remove nscd-cflags and all its users.
30295         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30296         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30297
30298         [BZ #10631]
30299         * malloc.c (malloc_printerr): Clarify error message.
30300
30301 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30302
30303         [BZ #14648]
30304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30305         Set bit_FMA_Usable if FMA is supported.
30306         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30307         macro.
30308         (bit_FMA4_Usable): Updated.
30309         (index_FMA_Usable): New macro.
30310         (CPUID_FMA): Likewise
30311         (HAS_FMA): Defined with bit_FMA_Usable.
30312
30313 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30314
30315         * bits/types.h (__swblk_t): Type removed.
30316         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30317         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30318         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30319         (__SWBLK_T_TYPE): Likewise.
30320         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30321         (__SWBLK_T_TYPE): Likewise.
30322         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30323         (__SWBLK_T_TYPE): Likewise.
30324         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30325         (__SWBLK_T_TYPE): Likewise.
30326
30327 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30328             Honza Horak <hhorak@redhat.com>
30329
30330         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30331         (xdr_mapname): Use YPMAXMAP as maxsize.
30332         (xdr_peername): Use YPMAXPEER as maxsize.
30333         (xdr_keydat): Use YPAXRECORD as maxsize.
30334         (xdr_valdat): Use YPMAXRECORD as maxsize.
30335
30336 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30337
30338         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30339
30340         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30341         * csu/init-first.c: ... here.
30342         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30343         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30344         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30345         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30346         * sysdeps/i386/init-first.c: File removed.
30347         * sysdeps/sh/init-first.c: File removed.
30348
30349 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30350
30351         [BZ #14645]
30352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30353         if x * y might underflow to zero and z is zero.
30354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30355         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30356         * math/libm-test.inc (min_subnorm_value): New variable.
30357         (fma_test): Add more tests.
30358         (fma_test_towardzero): Likewise.
30359         (fma_test_downward): Likewise
30360         (fma_test_upward): Likewise.
30361         (initialize): Set min_subnorm_value.
30362
30363 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30364
30365         [BZ #14638]
30366         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30367         0 + 0.
30368         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30369         mode for addition resulting in exact zero.
30370         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30371         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30372         exact 0 + 0.
30373         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30374         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30375         * math/libm-test.inc (fma_test): Add more tests.
30376         (fma_test_towardzero): New function.
30377         (fma_test_downward): Likewise.
30378         (fma_test_upward): Likewise.
30379         (main): Call the new functions.
30380
30381 2012-09-28  David S. Miller  <davem@davemloft.net>
30382
30383         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30384
30385 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30386
30387         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30388         instead of SIGALRM.
30389
30390         * sysdeps/gnu/_G_config.h: Moved to ...
30391         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30392         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30393         * sysdeps/generic/_G_config.h: ... here.
30394
30395         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30396
30397         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30398
30399         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30400         Conditionalize target on [libnss_test1.so-version].
30401
30402         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30403
30404         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30405         (elfobjdir): Move out of conditionals.
30406
30407         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30408         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30409         (__nss_lookup_function): Conditionalize label remove_from_tree on
30410         [!DO_STATIC_NSS || SHARED], matching its only use.
30411
30412 2012-09-28  David S. Miller  <davem@davemloft.net>
30413
30414         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30415         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30416         file.
30417         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30418         sysdep_routines.
30419         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30420         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30421         when HWCAP_SPARC_CRYPTO is present.
30422
30423 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30424
30425         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30426
30427 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30428
30429         [BZ #6530]
30430         * stdio-common/vfprintf.c (process_string_arg): Revert
30431         2000-07-22 change.
30432
30433 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30434
30435         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30436         for testcase.
30437         * stdio-common/tst-sprintf.c: Include <locale.h>
30438         (main): Test sprintf's handling of incomplete multibyte
30439         characters.
30440
30441 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30442
30443         * elf/dl-runtime.c (VERSYMIDX): Removed.
30444         * elf/dl-version.c (VERSYMIDX): Likewise.
30445         * elf/do-rel.h (VERSYMIDX): Likewise.
30446         (VALIDX): Likewise.
30447         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30448         * elf/rtld.c (VALIDX): Likewise.
30449         (ADDRIDX): Likewise.
30450         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30451         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30452         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30453         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30454         (VALIDX): Likewise.
30455         (ADDRIDX): Likewise.
30456
30457 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30458
30459         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30460
30461 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30462
30463         [BZ #11438]
30464         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30465         to global scope.
30466         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30467         addresses are in the same scope as 192.0.2/24.
30468         * posix/gai.conf: Document new scope table defaults.
30469
30470 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30471
30472         [BZ #5298]
30473         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30474         for ftell.  Compute offsets from write pointers instead.
30475         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30476
30477 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30478
30479         [BZ #14543]
30480         * libio/Makefile (tests): New test case tst-fseek.
30481         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30482         combination works in wide mode.
30483         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30484         state when the external buffer state changes.
30485
30486 2012-09-27  David S. Miller  <davem@davemloft.net>
30487
30488         [BZ #14376]
30489         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30490         pass reloc->r_addend in as the 'high' argument to
30491         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30492
30493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30494
30495 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30496
30497         * rt/tst-aio2.c: Include <pthread.h>.
30498         * rt/tst-aio3.c: Likewise.
30499
30500 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30501
30502         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30503
30504 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30505
30506         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30507         contents on [SHARED].
30508
30509 2012-09-26  Marek Polacek  <polacek@redhat.com>
30510
30511         [BZ #14530]
30512         [BZ #13741]
30513         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30514         for C++ and GCC <4.3 as well as for non GCC compilers.
30515
30516 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30517
30518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30519
30520 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30521
30522         * Makefile.in (all, install): Declare with .PHONY.
30523         Reported by Michael Hope <michael.hope@linaro.org>.
30524
30525 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30526
30527         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30528         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30529         system header.
30530         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30531         Likewise.
30532         (sydep_routines): Add the new and the internal functions.
30533         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30534         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30536         (GLIBC_2.17): Add the new function.
30537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30538         (GLIBC_2.17): Likewise.
30539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30540         (GLIBC_2.17): Likewise.
30541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30542         (GLIBC_2.17): Likewise.
30543         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30544
30545 2012-09-25  Alan Modra  <amodra@gmail.com>
30546
30547         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30548         Add release barrier before setting once_control to say
30549         initialisation is done.  Add hints on lwarx.  Use macro in
30550         place of isync.
30551         (clear_once_control): Add release barrier.
30552
30553 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30554
30555         [BZ #13629]
30556         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30557         specially.
30558         * math/s_clog10.c (__clog10): Likewise.
30559         * math/s_clog10f.c (__clog10f): Likewise.
30560         * math/s_clog10l.c (__clog10l): Likewise.
30561         * math/s_clogf.c (__clogf): Likewise.
30562         * math/s_clogl.c (__clogl): Likewise.
30563         * math/Makefile (libm-calls): Add x2y2m1.
30564         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30565         (__x2y2m1): Likewise.
30566         (__x2y2m1l): Likewise.
30567         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30568         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30569         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30570         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30571         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30572         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30573         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30574         * sysdeps/i386/fpu/libm-test-ulps: Update.
30575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30576
30577         [BZ #14621]
30578         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30579         int as type of variable DEPTH.
30580         (glob): Use size_t instead of int as type of variables NEWCOUNT
30581         and OLD_PATHC.
30582
30583 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30584
30585         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30586         Add s_sincosf-sse2.
30587         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30588         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30589         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30590         macros for using routine as __sincosf_ia32.
30591         Use macro for function declaration and weak_alias.
30592         * sysdeps/i386/fpu/libm-test-ulps: Update.
30593
30594         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30596
30597         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30598         subnormal argument.
30599         * math/s_cexpf.c (__cexpf): Likewise.
30600         * math/s_csinf.c (__csinf): Likewise.
30601         * math/s_csinhf.c (__csinhf): Likewise.
30602         * math/s_ctanf.c (__ctanf): Likewise.
30603         * math/s_ctanhf.c (__ctanhf): Likewise.
30604         * math/s_ccosh.c (__ccoshf): Likewise.
30605         * math/s_cexp.c (__cexpl): Likewise.
30606         * math/s_csin.c (__csin): Likewise.
30607         * math/s_csinh.c (__csinh): Likewise.
30608         * math/s_ctan.c (__ctan): Likewise.
30609         * math/s_ctanh.c (ctanh): Likewise.
30610         * math/s_ccoshl.c (__ccoshl): Likewise.
30611         * math/s_cexpl.c (__cexpl): Likewise.
30612         * math/s_csinl.c (__csinl): Likewise.
30613         * math/s_csinhl.c (__csinhl): Likewise.
30614         * math/s_ctanl.c (__ctanl): Likewise.
30615         * math/s_ctanhl.c (__ctanhl): Likewise.
30616
30617 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30618
30619         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30620         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30621         (_IO_off_t): Define to __off_t, not _G_off_t.
30622         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30623         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30624         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30625         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30626         type of __dummy and __dummy2 fields.
30627         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30628         (_G_ssize_t): Likewise.
30629         (_G_off_t): Likewise.
30630         (_G_pid_t): Likewise.
30631         (_G_uid_t): Likewise.
30632         (_G_wchar_t): Likewise.
30633         (_G_wint_t): Likewise.
30634         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30635         (_G_ssize_t): Likewise.
30636         (_G_off_t): Likewise.
30637         (_G_pid_t): Likewise.
30638         (_G_uid_t): Likewise.
30639         (_G_wchar_t): Likewise.
30640         (_G_wint_t): Likewise.
30641         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30642         (_G_ssize_t): Likewise.
30643         (_G_off_t): Likewise.
30644         (_G_pid_t): Likewise.
30645         (_G_uid_t): Likewise.
30646         (_G_wchar_t): Likewise.
30647         (_G_wint_t): Likewise.
30648
30649 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30650
30651         * malloc/arena.c: Include malloc-sysdep.h.
30652         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30653         is sufficient to shrink the heap or an unmap is needed.
30654         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30655         new function check_may_shrink_heap.
30656         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30657         new function check_may_shrink_heap.
30658
30659 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30660
30661         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30662         comments.
30663
30664 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30665
30666         * catgets/test-gencat.sh: Add "set -e".
30667         * elf/tst-pathopt.sh: Likewise.
30668         * grp/tst_fgetgrent.sh: Likewise.
30669         * iconvdata/run-iconv-test.sh: Likewise.
30670         * intl/tst-gettext.sh: Likewise.
30671         * intl/tst-gettext2.sh: Likewise.
30672         * intl/tst-gettext4.sh: Likewise.
30673         * intl/tst-gettext6.sh: Likewise.
30674         * intl/tst-translit.sh: Likewise.
30675         * io/ftwtest-sh: Likewise.
30676         * libio/test-freopen.sh: Likewise.
30677         * malloc/tst-mtrace.sh: Likewise.
30678         * posix/globtest.sh: Likewise.
30679         * posix/tst-getconf.sh: Likewise.
30680         * posix/wordexp-tst.sh: Likewise.
30681         * stdio-common/tst-printf.sh: Likewise.
30682         * stdio-common/tst-unbputc.sh: Likewise.
30683         * stdlib/tst-fmtmsg.sh: Likewise.
30684         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30685         * catgets/Makefile: Do not specify -e option when running
30686         testsuite shell scripts.
30687         * elf/Makefile: Likewise.
30688         * grp/Makefile: Likewise.
30689         * iconvdata/Makefile: Likewise.
30690         * intl/Makefile: Likewise.
30691         * io/Makefile: Likewise.
30692         * libio/Makefile: Likewise.
30693         * malloc/Makefile: Likewise.
30694         * posix/Makefile: Likewise.
30695         * stdio-common/Makefile: Likewise.
30696         * stdlib/Makefile: Likewise.
30697         * sysdeps/x86_64/Makefile: Likewise.
30698
30699         * io/ftwtest-sh: Add copyright header.
30700         * posix/globtest.sh: Likewise.
30701         * posix/tst-getconf.sh: Likewise.
30702         * posix/wordexp-tst.sh: Likewise.
30703         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30704
30705 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30706
30707         [BZ #13679]
30708         * Makeconfig (+link): Defined as $(+link-static) if
30709         $(build-shared) isn't yes.
30710         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30711         isn't yes.
30712         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30713
30714         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30715
30716         [BZ #14562]
30717         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30718         new chunk size with MALLOC_ALIGN_MASK.
30719
30720 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30721
30722         [BZ #5044]
30723         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30724         <rounding-mode.h>.
30725         (__printf_fphex): Determine rounding using get_rounding_mode and
30726         round_away.
30727         * stdio-common/tst-printf-round.c (struct hex_test): New
30728         structure.
30729         (hex_tests): New variable.
30730         (test_hex_in_one_mode): New function.
30731         (do_test): Also run tests for hex float output.
30732
30733 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30734
30735         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30736         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30737         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30738         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30739         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30740         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30741         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30742         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30743
30744 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30745
30746         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30747         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30748         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30749         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30750
30751 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30752
30753         [BZ #14579]
30754         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30755         mode only.
30756         * elf/tst-rtld-load-self.sh: New test.
30757         * elf/Makefile: Run it.
30758
30759 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30760
30761         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30762         (tst-writev-ENV): Remove.
30763         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30764
30765 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30766
30767         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30768
30769 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30770
30771         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30772         unconditional.
30773         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30774         Likewise.
30775         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30776         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30777         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30778         Likewise.
30779
30780 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30781
30782         [BZ #14587]
30783         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30784         * config.make.in (have-cpp-asm-debuginfo): Removed.
30785         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30786         * configure: Regenerated.
30787
30788 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30789
30790         [BZ #5044]
30791         * stdio-common/printf_fp.c: Include <stdbool.h> and
30792         <rounding-mode.h>.
30793         (___printf_fp): Determine rounding using get_rounding_mode and
30794         round_away.
30795         * stdio-common/tst-printf-round.c: New file.
30796         * stdio-common/Makefile (tests): Add tst-printf-round.
30797         (link-libm): New variable.
30798         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30799
30800 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30801
30802         [BZ #14576]
30803         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30804         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30805         Likewise.
30806         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30807         Likewise.
30808
30809 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30810
30811         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30812         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30813         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30814         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30815
30816 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30817
30818         [BZ #14518]
30819         * include/rounding-mode.h: New file.
30820         * sysdeps/generic/get-rounding-mode.h: Likewise.
30821         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30822         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30823         (MAX_VALUE): New macro.
30824         (MIN_VALUE): Likewise.
30825         (overflow_value): New function.
30826         (underflow_value): Likewise.
30827         (round_and_return): Use overflow_value and underflow_value to
30828         determine return values in overflow and underflow cases.  Use
30829         round_away to determine rounding depending on rounding mode.
30830         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30831         determine return values in overflow and underflow cases.
30832         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30833         (struct test_results): New structure.
30834         (struct test): Use struct test_results to store expected results
30835         for all rounding modes.
30836         (TEST): Include expected results for all rounding modes.
30837         (test_in_one_mode): New function.
30838         (do_test): Use test_in_one_mode to compute and check results.
30839         Check results for all rounding modes.
30840         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30841         $(link-libm).
30842
30843 2012-12-09  Allan McRae  <allan@archlinux.org>
30844
30845         * sysdeps/i386/fpu/libm-test-ulps: Update
30846
30847 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30848
30849         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30850         (_G_int32_t): Likewise.
30851         (_G_uint16_t): Likewise.
30852         (_G_uint32_t): Likewise.
30853         (_G_HAVE_BOOL): Likewise.
30854         (_G_HAVE_ATEXIT): Likewise.
30855         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30856         (_G_HAVE_IO_FILE_OPEN): Likewise.
30857         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30858         (_G_int32_t): Likewise.
30859         (_G_uint16_t): Likewise.
30860         (_G_uint32_t): Likewise.
30861         (_G_HAVE_BOOL): Likewise.
30862         (_G_HAVE_ATEXIT): Likewise.
30863         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30864         (_G_HAVE_IO_FILE_OPEN): Likewise.
30865         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30866         (_G_int32_t): Likewise.
30867         (_G_uint16_t): Likewise.
30868         (_G_uint32_t): Likewise.
30869         (_G_HAVE_BOOL): Likewise.
30870         (_G_HAVE_ATEXIT): Likewise.
30871         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30872         (_G_HAVE_IO_FILE_OPEN): Likewise.
30873
30874 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30875
30876         * csu/libc-tls.c: Update copyright years.
30877
30878 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30879
30880         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30881         [!_G_USING_THUNKS]: Remove conditional code.
30882         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30883         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30884
30885         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30886         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30887         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30888         (_G_VTABLE_LABEL_PREFIX): Likewise.
30889         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30890         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30891         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30892         (_G_VTABLE_LABEL_PREFIX): Likewise.
30893         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30894         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30895         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30896         (_G_VTABLE_LABEL_PREFIX): Likewise.
30897         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30898
30899 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30900
30901         * libio/Makefile: Include ../Makeconfig before tests.
30902         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30903         only if $(build-shared) is yes.
30904
30905         * iconv/gconv_db.c: Update copyright years.
30906
30907 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30908
30909         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30910         unwind info if defined PIC. Fix special cases description.
30911         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30912
30913         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30914         DP_HI_MASK entry.
30915         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30916
30917 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30918
30919         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30920
30921         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30922         is NULL.
30923
30924         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30925         (LDLIBS-tst-chk4): This.
30926         (LDFLAGS-tst-chk5): Renamed to ...
30927         (LDLIBS-tst-chk5): This.
30928         (LDFLAGS-tst-chk6): Renamed to ...
30929         (LDLIBS-tst-chk6): This.
30930         (LDFLAGS-tst-lfschk4): Renamed to ...
30931         (LDLIBS-tst-lfschk4): This.
30932         (LDFLAGS-tst-lfschk5): Renamed to ...
30933         (LDLIBS-tst-lfschk5): This.
30934         (LDFLAGS-tst-lfschk6): Renamed to ...
30935         (LDLIBS-tst-lfschk6): This.
30936
30937         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30938         on $(common-objpfx)soversions.mk.
30939
30940 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30941
30942         [BZ #10014]
30943         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30944         example host name.
30945
30946 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30947
30948         * malloc/arena.c (arena_get_retry): New function that gets
30949         another arena for the caller to try its request on.
30950         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30951         current arena cannot fulfill the request.
30952         (__libc_memalign): Likewise.
30953         (__libc_memalign): Likewise.
30954         (__libc_pvalloc): Likewise.
30955         (__libc_calloc): Likewise.
30956
30957 2012-09-05  John Tobey  <john.tobey@gmail.com>
30958
30959         [BZ #13542]
30960         * manual/arith.texi (Operations on Complex): Fix description
30961         of carg branch cut.
30962
30963 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30964
30965         [BZ #10014]
30966         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30967         host name.
30968
30969         [BZ #10038]
30970         * manual/memory.texi (Memory): Make order of menu items match
30971         order of sections.
30972
30973 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30974
30975         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30976         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30977         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30978
30979 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30980
30981         * csu/libc-tls.c (static_dtv): Renamed to ...
30982         (_dl_static_dtv): This.  Make it global.
30983         (_dl_initial_dtv): Removed.
30984         (__libc_setup_tls): Updated.
30985         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30986         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30987         DL_INITIAL_DTV.
30988
30989 2012-09-06  Petr Machata  <pmachata@redhat.com>
30990
30991         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30992         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30993         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30994         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30995
30996 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30997
30998         [BZ #14545]
30999         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31000         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31001         freeing dtv[-1].
31002
31003 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31004
31005         [BZ #14544]
31006         * Makeconfig (link-static-before-libc): Replace $(+prector)
31007         with $(+prectorT).
31008         (link-static-after-libc): Replace $(+postctor) with
31009         $(+postctorT).
31010         (link-bounded): Replace $(+prector)/$(+postctor) with
31011         $(+prectorT)/$(+postctorT).
31012         (+prectorT): New macro.
31013         (+postctorT): Likewise.
31014
31015 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31016
31017         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31018         (round_str): Handle values above the maximum for IBM long double
31019         as inexact.
31020         * stdlib/tst-strtod-round.c (tests): Regenerated.
31021
31022 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31023
31024         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31025         assembler flag.
31026         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31027         zarch_nohighgprs around the zarch optimized routines.
31028         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31029         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31030         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31031         for zarch.
31032
31033 2012-09-05  David S. Miller  <davem@davemloft.net>
31034
31035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31036
31037         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31038         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31039         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31040         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31041         entries.
31042
31043 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31044
31045         * malloc/arena.c: Fold copyright years.
31046         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31047
31048 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31049
31050         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31051
31052 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31053
31054         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31055
31056 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31057
31058         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31059         change internal state upon failure.
31060
31061 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31062
31063         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31064         * malloc/memusage.c (mmap): Likewise.
31065         (mmap64, mremap): Likewise.  Adjust name in comment.
31066
31067 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31068
31069         * libio/fileops.c: Fix typos in comments.
31070         * libio/oldfileops.c: Likewise.
31071         * libio/wfileops.c: Likewise.
31072
31073 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31074
31075         [BZ #1349]
31076         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31077         (tst-malloc-usable-ENV): Set environment for test case.
31078         * malloc/hooks.c (malloc_check_get_size): New function to get
31079         requested size.
31080         * malloc/malloc.c (musable): Use malloc_check_get_size.
31081         * malloc/tst-malloc-usable.c: New test case.
31082
31083 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31084
31085         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31086
31087 2012-09-05  Allan McRae  <allan@archlinux.org>
31088
31089         [BZ #13966]
31090         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31091         determine header location.
31092         * configure: Regenerated.
31093
31094 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31095
31096         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31097         float format.
31098         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31099         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31100         format.
31101         (test): Regenerate.
31102
31103 2012-09-04  David S. Miller  <davem@davemloft.net>
31104
31105         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31106         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31107         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31108
31109 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31110
31111         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31112         failures.
31113
31114         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31115
31116 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31117
31118         [BZ #9914]
31119         * libio/iogetdelim.c: Include <limits.h>.
31120         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31121         + len + 1 would overflow.
31122
31123 2012-09-03  Andreas Jaeger  <aj@suse.de>
31124
31125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31126         * sysdeps/i386/fpu/libm-test-ulps: Update.
31127
31128 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31129
31130         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31131         Add s_sinf-sse2, s_conf-sse2.
31132
31133         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31134         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31135         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31136         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31137
31138         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31139         for using routine as __sinf_ia32.
31140         Use macro for function declaration and weak_alias.
31141         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31142         for using routine as __cosf_ia32.
31143         Use macro for function declaration and weak_alias.
31144
31145         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31146         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31147
31148         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31149         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31151
31152         * math/libm-test.inc (cos_test): Add more test cases.
31153         (sin_test): Likewise.
31154         (sincos_test): Likewise.
31155
31156 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31157
31158         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31159         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31160         hidden.
31161         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31162
31163 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31164
31165         [BZ #14538]
31166         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31167         first element of the GOT.
31168         (elf_machine_load_address): Return the difference between
31169         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31170
31171 2012-09-01  Allan McRae  <allan@archlinux.org>
31172
31173         [BZ #13412]
31174         * configure.in (AWK): Require gawk version 3.0 or later.
31175         * configure: Regenerated.
31176
31177 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31178
31179         * sysdeps/unix/sysv/linux/kernel-features.h
31180         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31181         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31182         [__NR_clock_getres]: Make code unconditional.
31183         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31184         (clock_getcpuclockid): Remove code left unreachable by removal of
31185         conditionals.
31186         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31187         code unconditional.
31188         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31189         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31190         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31191         Make code unconditional.
31192         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31193         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31194         * sysdeps/unix/sysv/linux/clock_settime.c
31195         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31196         conditional code.
31197         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31198         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31199
31200 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31201
31202         [BZ #14476]
31203         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31204         scripts/test-installation.pl.
31205
31206         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31207         and $ld_so_version if it is set.
31208
31209 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31210
31211         [BZ #14516]
31212         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31213         failure if reading from procfs failed.
31214         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31215
31216 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31217
31218         * sysdeps/unix/sysv/linux/kernel-features.h
31219         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31220         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31221         Remove conditional code.
31222         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31223         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31224         Remove conditional code.
31225         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31226         * sysdeps/unix/sysv/linux/i386/fxstat.c
31227         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31228         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31229         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31230         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31231         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31232         * sysdeps/unix/sysv/linux/i386/lxstat.c
31233         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31234         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31235         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31236         Remove conditional code.
31237         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31238         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31239         Remove conditional code.
31240         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31241         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31242         <kernel-features.h>.
31243         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31244         Remove.
31245         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31246         Remove conditional code.
31247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31248         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31249         Remove conditional.
31250
31251 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31252
31253         [BZ #5400]
31254         * NEWS: Add fixed bug number.
31255
31256 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31257
31258         [BZ #14519]
31259         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31260         underflowing exponent in case of negative sign.
31261         * stdlib/tst-strtod-round-data: Add more tests.
31262         * stdlib/tst-strtod-round.c (tests): Regenerated.
31263
31264         [BZ #3479]
31265         * stdlib/strtod_l.c (NDIG): Remove.
31266         (HEXNDIG): Likewise.
31267         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31268         smallest representable value.
31269         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31270         lie within an exact representation of 1/2 ulp of the result.
31271         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31272         unconditionally.
31273         (TENS_P9_IDX): Define unconditionally.
31274         (TENS_P9_SIZE): Likewise.
31275         (TENS_P10_IDX): Likewise.
31276         (TENS_P10_SIZE): Likewise.
31277         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31278         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31279         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31280         entries for 10^2^13 and 10^2^14.
31281         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31282         (TENS_P13_IDX): Define.
31283         (TENS_P13_SIZE): Likewise.
31284         (TENS_P14_IDX): Likewise.
31285         (TENS_P14_SIZE): Likewise.
31286         (_fpioconst_pow10): Change array size to
31287         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31288         unconditional.
31289         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31290         1024]: Add entries for 10^2^13 and 10^2^14.
31291         [LAST_POW10 > _LAST_POW10]: Remove #error.
31292         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31293         (_fpioconst_pow10): Change array size to
31294         FPIOCONST_POW10_ARRAY_SIZE.
31295         * stdlib/gen-fpioconst.c: New file.
31296         * stdlib/gen-tst-strtod-round.c: Likewise.
31297         * stdlib/tst-strtod-round-data: Likewise.
31298         * stdlib/tst-strtod-round.c: Likewise.
31299         * stdlib/Makefile (tests): Add tst-strtod-round.
31300
31301         [BZ #14459]
31302         * stdlib/strtod_l.c: Include <stdint.h>.
31303         (NDEBUG): Do not define.
31304         (round_and_return): Change EXPONENT parameter to type intmax_t.
31305         Rearrange calculations to avoid internal overflow possibilities.
31306         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31307         Rearrange calculations to avoid internal overflow possibilities.
31308         Assert that number fits inside MPNSIZE limbs.
31309         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31310         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31311         calculations and add assertions to avoid internal overflow
31312         possibilities.  Add casts to avoid signed/unsigned operations.
31313         * stdlib/tst-strtod-overflow.c: New file.
31314         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31315
31316 2012-08-25  Marek Polacek  <polacek@redhat.com>
31317
31318         * time/time.h: Fix some typos in comments.
31319
31320 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31321
31322         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31323         * posix/tst-rfc3484-2.c: Likewise.
31324         * posix/tst-rfc3484-3.c: Likewise.
31325
31326 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31327
31328         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31329         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31330
31331 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31332
31333         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31334         #include of fxstatat64.c.
31335
31336 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31337
31338         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31339         * shadow/getspent_r.c: Likewise.
31340         * shadow/getspnam.c: Likewise.
31341         * shadow/getspnam_r.c: Likewise.
31342         * gshadow/getsgent.c: Likewise.
31343         * gshadow/getsgent_r.c: Likewise.
31344         * gshadow/getsgnam.c: Likewise.
31345         * gshadow/getsgnam_r.c: Likewise.
31346         * inet/getnetbyad.c: Likewise.
31347         * inet/getnetbyad_r.c: Likewise.
31348         * inet/getnetbynm.c: Likewise.
31349         * inet/getnetbynm_r.c: Likewise.
31350         * inet/getnetent.c: Likewise.
31351         * inet/getnetent_r.c: Likewise.
31352         * inet/getproto.c: Likewise.
31353         * inet/getproto_r.c: Likewise.
31354         * inet/getprtent.c: Likewise.
31355         * inet/getprtent_r.c: Likewise.
31356         * inet/getprtname.c: Likewise.
31357         * inet/getprtname_r.c: Likewise.
31358         * inet/getrpcbyname.c: Likewise.
31359         * inet/getrpcbyname_r.c: Likewise.
31360         * inet/getrpcbynumber.c: Likewise.
31361         * inet/getrpcbynumber_r.c: Likewise.
31362         * inet/getrpcent.c: Likewise.
31363         * inet/getrpcent_r.c: Likewise.
31364         * inet/getaliasent.c: Likewise.
31365         * inet/getaliasent_r.c: Likewise.
31366         * inet/getaliasname.c: Likewise.
31367         * inet/getaliasname_r.c: Likewise.
31368         * nscd/getgrgid_r.c: Likewise.
31369         * nscd/getgrnam_r.c: Likewise.
31370         * nscd/gethstbyad_r.c: Likewise.
31371         * nscd/gethstbynm3_r.c: Likewise.
31372         * nscd/getpwnam_r.c: Likewise.
31373         * nscd/getpwuid_r.c: Likewise.
31374         * nscd/getsrvbynm_r.c: Likewise.
31375         * nscd/getsrvbypt_r.c: Likewise.
31376         * nscd/gai.c: Likewise.
31377
31378         * configure.in (build_nscd): New substituted variable, set
31379         by --disable-build-nscd and defaults to $use_nscd.
31380         * configure: Regenerated.
31381         * config.make.in (build-nscd): New substituted variable.
31382         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31383         Change conditional to require [$(build-nscd) = yes] as well.
31384         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31385
31386         [BZ# 13696]
31387         * configure.in (use_nscd): New substituted variable, set by
31388         --disable-nscd.  If enabled, define USE_NSCD.
31389         * configure: Regenerated.
31390         * config.h.in: Add USE_NSCD.
31391         * config.make.in (use-nscd): New substituted variable.
31392         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31393         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31394         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31395         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31396         (CFLAGS-getgrnam_r.c): Likewise.
31397         (CFLAGS-initgroups.c): Likewise.
31398         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31399         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31400         Variables removed.
31401         * inet/getnetgrent_r.c
31402         (nscd_setnetgrent): New function, broken out of ...
31403         (setnetgrent): ... here.  Call it.
31404         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31405         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31406         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31407         * nscd/Makefile (routines, aux): Move definitions after include of
31408         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31409         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31410         Conditionalize on [USE_NSCD].
31411         (is_nscd, nscd_init_cb): Likewise.
31412         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31413         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31414         * nss/nss_db/db-init.c: Likewise.
31415         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31416         [USE_NSCD].
31417         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31418         (make_request): Use it.
31419         (cache_valid_p): New function.
31420         (__check_pf): Use it.
31421         * NEWS: Add item for --disable-nscd.
31422
31423 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31424
31425         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31426         to support sed >= 4.2.1-20-ga9bf076.
31427         * configure: Regenerated.
31428
31429 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31430
31431         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31432         Conditionalize whole body on [IREL].
31433
31434 2012-08-22  Jeff Law <law@redhat.com>
31435
31436         [BZ #14505]
31437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31438         if the family is PF_UNSPEC.
31439
31440 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31441
31442         * Makerules (lib-version): Rename from V.
31443         (install-lib-nosubdir): Change V to lib-version.
31444
31445 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31446
31447         [BZ #14252]
31448         * powerpc32/power6/wcschr.c: New file.
31449         * powerpc32/power6/wcscpy.c: New file.
31450         * powerpc32/power6/wcsrchr.c: New file.
31451         * powerpc64/power6/wcschr.c: New file.
31452         * powerpc64/power6/wcscpy.c: New file.
31453         * powerpc64/power6/wcsrchr.c: New file.
31454
31455 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31456
31457         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31458         (two_way_short_needle): Use it.
31459         * string/strstr.c (AVAILABLE1_USES_J): Define.
31460         * string/strcasestr.c: Likewise.
31461
31462         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31463         array references.
31464         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31465
31466         [BZ #11607]
31467         * NEWS: Add an entry.
31468         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31469         define their defaults.
31470         (two_way_short_needle): Detect end-of-string on-the-fly.
31471         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31472         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31473         * string/bug-strcasestr1.c: New test.
31474         * string/Makefile: Run it.
31475
31476 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31477
31478         [BZ #11607]
31479         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31480         the first character.
31481
31482 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31483
31484         * csu/elf-init.c (__libc_csu_irel): Function removed.
31485         * csu/libc-start.c (apply_irel): New function.
31486         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31487
31488 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31489
31490         * sysdeps/unix/sysv/linux/kernel-features.h
31491         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31492         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31493         <kernel-features.h>.
31494         [__NR_fadvise64_64]: Make code unconditional.
31495         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31496         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31497         !__NR_fadvise64_64)]: Likewise.
31498         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31499         !__NR_fadvise64_64))]: Likewise.
31500         [__NR_fadvise64]: Make code unconditional.
31501         [!__NR_fadvise64]: Remove conditional code.
31502         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31503         <kernel-features.h>.
31504         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31505         unconditional.
31506         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31507         conditional code.
31508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31509         not include <kernel-features.h>.
31510         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31511         unconditional.
31512         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31513         conditional code.
31514         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31515         include <kernel-features.h>.
31516         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31517         unconditional.
31518         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31519         conditional code.
31520
31521 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31522
31523         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31524         slight instruction rearrangements per scrollpipe analysis.
31525         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31526
31527 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31528
31529         * manual/syslog.texi (syslog; vsyslog, closelog):
31530         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31531         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31532
31533         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31534         DSOCAPS to match condition on defining it.
31535
31536 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31537
31538         * sysdeps/unix/sysv/linux/kernel-features.h
31539         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31541         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31542         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31544         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31545         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31547         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31548         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31549
31550         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31551         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31552
31553         * sysdeps/unix/sysv/linux/kernel-features.h
31554         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31555         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31556         unconditional.
31557         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31558         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31559         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31560         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31561         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31562         Make code unconditional.
31563         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31564         (__mmap64) [!__NR_mmap2]: Likewise.
31565         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31566         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31567         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31568         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31569         [__NR_mmap2]: Make code unconditional.
31570         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31571         (__mmap64) [!__NR_mmap2]: Likewise.
31572
31573 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31574
31575         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31576
31577 2012-08-18  Andreas Jaeger  <aj@suse.de>
31578
31579         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31580
31581 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31582
31583         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31584         * include/unistd.h (__have_sock_cloexec): Likewise.
31585         (__have_pipe2): Likewise.
31586         (__have_dup3): Likewise.
31587
31588 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31589
31590         [BZ #9685]
31591         * include/unistd.h (__have_pipe2): Change define into an extern int.
31592         (__have_dup3): Likewise.
31593         * socket/have_sock_cloexec.c: Include fcntl.h.
31594         (__have_pipe2): New variable.
31595         (__have_dup3): Likewise.
31596
31597 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31598
31599         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31600
31601 2012-08-17  Marek Polacek  <polacek@redhat.com>
31602
31603         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31604         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31605
31606 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31607
31608         * configure.in: Add AC_SUBST for sysheaders.
31609         * configure: Regenerated.
31610         * config.make.in (sysheaders): New substituted variable.
31611
31612         * sysdeps/unix/mkfifo.c: Moved ...
31613         * sysdeps/posix/mkfifo.c: ... here.
31614         * sysdeps/unix/mkfifoat.c: Moved ...
31615         * sysdeps/posix/mkfifoat.c: ... here.
31616
31617         * sysdeps/unix/utime.c: Moved ...
31618         * sysdeps/posix/utime.c: ... here.
31619
31620         * sysdeps/unix/time.c: Moved ...
31621         * sysdeps/posix/time.c: ... here.
31622         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31623         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31624
31625         * sysdeps/unix/nice.c: Moved ...
31626         * sysdeps/posix/nice.c: ... here.
31627
31628         * sysdeps/unix/alarm.c: Moved ...
31629         * sysdeps/posix/alarm.c: ... here.
31630
31631         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31632
31633 2012-08-17  Jeff Law <law@redhat.com>
31634
31635         * intl/Makefile (codeset_mo): New variable.
31636         ($(codeset_mo)): New target.
31637         (tst-codeset.out): Depend on that.  Remove explicit rule.
31638         (tst-gettext3.out, tst-gettext5.out): Likewise.
31639         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31640         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31641         * intl/tst-codeset.sh: Remove.
31642         * intl/tst-gettext3.sh: Likewise.
31643         * intl/tst-gettext5.sh: Likewise.
31644
31645 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31646
31647         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31648         * sysdeps/unix/syscalls.list: ... here.
31649
31650         * sysdeps/posix/getaddrinfo.c
31651         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31652         (gaiconf_init, gaiconf_reload): Use them.
31653         [!_STATBUF_ST_NSEC]
31654         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31655         Define using time_t rather than struct timespec.
31656
31657         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31658         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31659         Macros removed.
31660         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31661         [!NO_THREADS].
31662         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31663         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31664         Likewise.
31665
31666         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31667         __libc_cleanup_push argument.
31668
31669         * bits/param.h: New file.
31670         * misc/sys/param.h: New file.
31671         * include/sys/param.h: New file.
31672         * misc/Makefile (headers): Add bits/param.h.
31673         * sysdeps/generic/sys/param.h: File removed.
31674         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31675         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31676         * sysdeps/mach/hurd/bits/param.h: New file.
31677         * sysdeps/mach/hurd/sys/param.h: File removed.
31678
31679         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31680         last change.
31681
31682         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31683         [_IO_MTSAFE_IO].
31684         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31685         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31686         New macros.
31687
31688         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31689         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31690         rather than -D_IO_MTSAFE_IO conditionally.
31691         * stdio-common/Makefile (CPPFLAGS): Likewise.
31692         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31693         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31694         Use $(libio-mtsafe).
31695         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31696         of -D_IO_MTSAFE_IO.
31697         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31698         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31699         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31700         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31701         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31702         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31703         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31704         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31705         (CFLAGS-fread_u_chk.c): Likewise.
31706         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31707         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31708         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31709         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31710         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31711         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31712         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31713         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31714         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31715
31716         * libio/Makefile: Test [$(libc-reentrant) = yes]
31717         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31718
31719         * Makeconfig
31720         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31721         * sysdeps/pthread/configure: File removed.
31722         * sysdeps/pthread/Makeconfig: New file.
31723         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31724         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31725
31726 2012-08-16  Gary Benson  <gbenson@redhat.com>
31727
31728         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31729         unmapping the first object in a namespace.
31730
31731 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31732
31733         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31734         (__internal_setnetgrent): ... this.  Add internal_function to
31735         definition.  Add libc_hidden_def.
31736         (setnetgrent): Update caller.
31737         (internal_endnetgrent): Renamed to ...
31738         (__internal_endnetgrent): ... this.  Add internal_function to
31739         definition.  Add libc_hidden_def.
31740         (endnetgrent): Update caller.
31741         (internal_getnetgrent_r): Renamed to ...
31742         (__internal_getnetgrent_r): ... this.  Add internal_function to
31743         definition.  Add libc_hidden_def.
31744         (__getnetgrent_r): Update caller.
31745         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31746
31747 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31748
31749         * stdlib/longlong.h: Update from GCC.
31750
31751 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31752
31753         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31754         on _QL, which is set by umul_ppmm but never used.
31755         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31756         variables, which are set by GMP macros but never used.
31757         * stdio-common/_itowa.c (_itowa): Likewise.
31758         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31759         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31760
31761 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31762
31763         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31764         struct La_sh_regs is not constant.
31765         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31766         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31767         and struct La_sparc64_regs are not constant.
31768
31769 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31770
31771         * sysdeps/unix/sysv/linux/kernel-features.h
31772         (__ASSUME_POSIX_TIMERS): Remove.
31773         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31774         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31775         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31776         Make code unconditional.
31777         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31778         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31779         Make code unconditional.
31780         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31781         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31782         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31783         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31784         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31785         Make code unconditional.
31786         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31787         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31788         (__libc_missing_posix_timers): Remove.
31789
31790 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31791
31792         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31793         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31794
31795         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31796
31797         * elf/dl-sym.c: Include <stdlib.h>.
31798
31799         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31800         constants, which avoids warnings in 32-bit builds.
31801
31802         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31803         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31804
31805         * misc/lseek.c: File moved to ...
31806         * io/lseek.c: ... here.
31807
31808         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31809
31810         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31811         shifting LEN more than 31 bits at once.
31812
31813 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31814
31815         [BZ #14195]
31816         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31817         segmentation fault for a case of two empty input strings.
31818         * string/test-strncasecmp.c (check1): Renamed to...
31819         (bz12205): ...this.
31820         (bz14195): Add new testcase for two empty input strings and N > 0.
31821         (test_main): Call new testcase, adapt for renamed function.
31822
31823 2012-08-15  Andreas Jaeger  <aj@suse.de>
31824
31825         [BZ #14090]
31826         * crypt/md5test2.c: New test, based on test supplied by Serge
31827         Belyshev <belyshev@depni.sinp.msu.ru>.
31828         * crypt/Makefile (xtests): Add md5test-giant..
31829         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31830
31831 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31832
31833         [BZ #14090]
31834         * crypt/md5.c (md5_process_block): Don't assume the buffer
31835         length is less than 2**32.
31836         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31837         length is less than 2**64.
31838
31839 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31840
31841         * string/str-two-way.h: Include <sys/param.h>.
31842         (MAX): Macro removed.
31843
31844         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31845         Move #define and #undef of memmove to just before and after
31846         including <string.h>.
31847
31848         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31849         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31850         and after including <string.h>.  Move declarations of
31851         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31852         to before #include "string/memmove.c".
31853
31854         * include/dirent.h: Declare __getdirentries.
31855
31856         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31857         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31858
31859 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31860
31861         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31862         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31863         * sysdeps/i386/configure: Regenerated.
31864         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31865         STABS_CURRENT_FILE, and STABS_FUN.
31866         (END): Remove call to STABS_FUN_END.
31867         (STABS_CURRENT_FILE1): Delete.
31868         (STABS_CURRENT_FILE): Likewise.
31869         (STABS_FUN): Likewise.
31870         (STABS_FUN_END): Likewise.
31871         (STABS_FUN2): Likewise.
31872         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31873         * sysdeps/x86_64/configure: Regenerated.
31874
31875 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31876
31877         * elf/dl-open.c: Include <atomic.h>.
31878         * elf/dl-lookup.c: Likewise.
31879
31880 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31881
31882         * sysdeps/unix/sysv/linux/kernel-features.h
31883         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31884         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31885         unconditionally.
31886         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31887         unconditionally.
31888         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31889         condition on __ASSUME_CLONE_THREAD_FLAGS.
31890
31891 2012-08-14  Andreas Jaeger  <aj@suse.de>
31892
31893         * sysdeps/i386/fpu/libm-test-ulps: Update.
31894
31895 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31896
31897         * include/atomic.h (atomic_exchange_and_add): Split into ...
31898         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31899         New atomic macros.
31900
31901 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31902
31903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31904
31905 2012-08-13  Jeff Law <law@redhat.com>
31906
31907         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31908         null byte in the output string.
31909
31910 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31911
31912         * sysdeps/unix/sysv/linux/kernel-features.h
31913         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31914         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31915         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31916         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31917         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31918         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31919         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31920
31921 2012-08-09  Jeff Law <law@redhat.com>
31922
31923         [BZ #13939]
31924         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31925         When avoid_arena is set, don't retry in the that arena.  Pick the
31926         next one, whatever it might be.
31927         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31928         (arena_lock): Pass in new parameter to arena_get2.
31929         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31930         arena_get2.
31931         (__libc_malloc): Unify retrying after main arena failure with
31932         __libc_memalign version.
31933         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31934
31935 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31936
31937         [BZ #14166]
31938         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31939         to __redirect_strstr.
31940         (__strstr_sse42): Use typeof __redirect_strstr.
31941         (__strstr_ia32): Likewise.
31942         (__libc_strstr): New prototype.
31943         (strstr): Renamed to ...
31944         (__libc_strstr): This.
31945         (strstr): New strong alias of __libc_strstr.
31946         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31947         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31948         __redirect_time.
31949         Include <time.h>.
31950         (__libc_time): New prototype.
31951         (time_ifunc): Replace time with __libc_time.
31952         (time): New strong alias and hidden definition of __libc_time.
31953         (__GI_time): Remove strong alias.
31954         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31955         Include <stddef.h>.
31956         (memmove): Redefined to __redirect_memmove.
31957         (__memmove_sse2): Use typeof __redirect_memmove.
31958         (__memmove_ssse3): Likewise.
31959         (__memmove_ssse3_back): Likewise.
31960         (__libc_memmove): New prototype.
31961         (memmove): Renamed to ...
31962         (__libc_memmove): This.
31963         (memmove): New strong alias of __libc_memmove.
31964
31965 2012-08-08  Mark Salter  <msalter@redhat.com>
31966
31967         * elf/elf.h
31968         (R_MN10300_TLS_GD): Define.
31969         (R_MN10300_TLS_LD): Likewise.
31970         (R_MN10300_TLS_LDO): Likewise.
31971         (R_MN10300_TLS_GOTIE): Likewise.
31972         (R_MN10300_TLS_IE): Likewise.
31973         (R_MN10300_TLS_LE): Likewise.
31974         (R_MN10300_TLS_DTPMOD): Likewise.
31975         (R_MN10300_TLS_DTPOFF): Likewise.
31976         (R_MN10300_TLS_TPOFF): Likewise.
31977         (R_MN10300_SYM_DIFF): Likewise.
31978         (R_MN10300_ALIGN): Likewise.
31979         (R_MN10300_NUM): Update.
31980
31981 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31982
31983         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31984         Remove.
31985
31986 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31987
31988         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31989
31990         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31991         sysdeps/unix -> sysdeps/posix move.
31992         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31993
31994 2012-08-07      Allan McRae     <allan@archlinux.org>
31995
31996         [BZ #14303]
31997         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31998         (SUNOS_CPP): Likewise.
31999         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32000         not found.
32001         (open_input): Call CPP using execvp.
32002
32003 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32004
32005         * sysdeps/unix/sysv/linux/kernel-features.h
32006         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32007         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32008         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32009         (__ASSUME_WAITID_SYSCALL): Likewise.
32010         * sysdeps/unix/sysv/linux/dl-execstack.c
32011         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32012         code unconditional.
32013         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32014         conditional code.
32015         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32016         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32017         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32018         code.
32019         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32020         unconditional.
32021         [__ASSUME_WAITID_SYSCALL]: Likewise.
32022         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32023
32024 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32025
32026         * sysdeps/unix/closedir.c: Renamed to ...
32027         * sysdeps/posix/closedir.c: ... here.
32028         * sysdeps/unix/dirfd.c: Renamed to ...
32029         * sysdeps/posix/dirfd.c: ... here.
32030         * sysdeps/unix/dirstream.h: Renamed to ...
32031         * sysdeps/posix/dirstream.h: ... here.
32032         * sysdeps/unix/fdopendir.c: Renamed to ...
32033         * sysdeps/posix/fdopendir.c: ... here.
32034         * sysdeps/unix/opendir.c: Renamed to ...
32035         * sysdeps/posix/opendir.c: ... here.
32036         * sysdeps/unix/readdir.c: Renamed to ...
32037         * sysdeps/posix/readdir.c: ... here.
32038         * sysdeps/unix/readdir_r.c: Renamed to ...
32039         * sysdeps/posix/readdir_r.c: ... here.
32040         * sysdeps/unix/rewinddir.c: Renamed to ...
32041         * sysdeps/posix/rewinddir.c: ... here.
32042         * sysdeps/unix/seekdir.c: Renamed to ...
32043         * sysdeps/posix/seekdir.c: ... here.
32044         * sysdeps/unix/telldir.c: Renamed to ...
32045         * sysdeps/posix/telldir.c: ... here.
32046         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32047         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32048         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32049         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32050
32051         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32052         * bits/fcntl.h: ... here.
32053
32054         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32055         not 0.
32056         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32057         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32058         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32059         (struct flock): Move l_start, l_len to the beginning.
32060         Use __pid_t for l_pid.
32061         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32062         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32063         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32064         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32065         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32066         [__USE_LARGEFILE64] (struct flock64): New type.
32067         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32068
32069         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32070         * bits/dirent.h: ... here.
32071
32072         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32073         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32074
32075 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32076
32077         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32078         Change from 2.6.0 to 2.6.16.
32079         * sysdeps/unix/sysv/linux/configure: Regenerated.
32080         * sysdeps/unix/sysv/linux/kernel-features.h
32081         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32082         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32083         version.
32084         (__ASSUME_UTIMES): Likewise.
32085         (__ASSUME_CLONE_STOPPED): Remove.
32086         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32087         architectures, not kernel version.
32088         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32089         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32090         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32091         (__ASSUME_WAITID_SYSCALL): Likewise.
32092         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32093         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32094         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32095         refer to older versions.
32096
32097 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32098
32099         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32100         Define alphasort64 as an alias.
32101         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32102         Define versionsort64 as an alias.
32103         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32104         Define scandir64 as an alias.
32105         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32106         Define scandirat64 as an alias.
32107         * dirent/alphasort64.c (alphasort64):
32108         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32109         * dirent/versionsort64.c: Likewise.
32110         * dirent/scandir64.c: Likewise.
32111         * dirent/scandirat64.c: Likewise.
32112         * sysdeps/wordsize-64/alphasort.c: File removed.
32113         * sysdeps/wordsize-64/alphasort64.c: File removed.
32114         * sysdeps/wordsize-64/scandir.c: File removed.
32115         * sysdeps/wordsize-64/scandir64.c: File removed.
32116         * sysdeps/wordsize-64/scandirat.c: File removed.
32117         * sysdeps/wordsize-64/scandirat64.c: File removed.
32118         * sysdeps/wordsize-64/versionsort.c: File removed.
32119         * sysdeps/wordsize-64/versionsort64.c: File removed.
32120         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32121         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32122         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32123         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32124         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32125         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32126         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32127         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32128
32129         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32130         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32131         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32132         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32133         [defined __arch64__ || defined __sparcv9]
32134         (__INO_T_MATCHES_INO64_T): New macro.
32135         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32136         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32137         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32138         * sysdeps/unix/sysv/linux/bits/dirent.h
32139         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32140         (_DIRENT_MATCHES_DIRENT64): New macro.
32141
32142         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32143         Define lockf64 as an alias.
32144         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32145         Define fseeko64 as an alias.
32146         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32147         Define ftello64 as an alias.
32148         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32149         Define _IO_fgetpos64 and fgetpos64 as aliases.
32150         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32151         Define _IO_fsetpos64 and fsetpos64 as aliases.
32152         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32153         Conditionalize body on this.
32154         * libio/fseeko64.c: Likewise.
32155         * libio/ftello64.c: Likewise.
32156         * libio/iofgetpos64.c: Likewise.
32157         * libio/iofsetpos64.c: Likewise.
32158         * sysdeps/wordsize-64/lockf.c: File removed.
32159         * sysdeps/wordsize-64/lockf64.c: File removed.
32160         * sysdeps/wordsize-64/fseeko.c: File removed.
32161         * sysdeps/wordsize-64/fseeko64.c: File removed.
32162         * sysdeps/wordsize-64/ftello.c: File removed.
32163         * sysdeps/wordsize-64/ftello64.c: File removed.
32164         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32165         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32166         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32167         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32168         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32169         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32170         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32171         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32172         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32173         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32174         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32175         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32176         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32177         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32178
32179         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32180         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32181         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32183         [defined __arch64__ || defined __sparcv9]
32184         (__OFF_T_MATCHES_OFF64_T): New macro.
32185         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32186         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32187         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32188         (__OFF_T_MATCHES_OFF64_T): New macro.
32189
32190 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32191
32192         * stdlib/secure-getenv.c (__secure_getenv): Replace
32193         GLIBC_2_16 with GLIBC_2_17.
32194
32195 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32196
32197         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32198         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32199
32200 2012-08-03  David S. Miller  <davem@davemloft.net>
32201
32202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32203
32204 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32205
32206         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32207         Remove.
32208         (__ASSUME_CORRECT_SI_PID): Likewise.
32209         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32210         (__ASSUME_TMPFS_NAME): Likewise.
32211         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32212         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32213         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32214         (HAVE_AUX_SECURE): Make definition unconditional.
32215         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32216         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32217
32218 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32219
32220         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32221         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32222         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32223         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32224         __eloop_threshold instead of SYMLOOP_MAX.
32225
32226         * sysdeps/generic/eloop-threshold.h: New file.
32227         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32228         of MAXSYMLINKS.
32229         * elf/chroot_canon.c (chroot_canon): Likewise.
32230
32231 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32232
32233         [BZ #13717]
32234         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32235         Change to 2.6.0 everywhere.
32236         * sysdeps/unix/sysv/linux/configure: Regenerated.
32237         * sysdeps/unix/sysv/linux/kernel-features.h
32238         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32239         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32240         kernel versions.
32241         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32242         (__ASSUME_FUTEX_REQUEUE): Remove.
32243         (__ASSUME_STATFS64): Define unconditionally.
32244         (__ASSUME_AT_SECURE): Likewise.
32245         (__ASSUME_CORRECT_SI_PID): Likewise.
32246         (__ASSUME_TGKILL): Define without depending on kernel version for
32247         i386.
32248         (__ASSUME_UTIMES): Likewise.
32249         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32250         kernel version.
32251         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32252         (__ASSUME_TMPFS_NAME): Likewise.
32253         * README: Update reference to Linux kernel versions.
32254
32255 2012-08-02  Marek Polacek  <polacek@redhat.com>
32256
32257         [BZ# 14150]
32258         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32259         libc_cv_asm_type_prefix with %.
32260         * configure: Regenerated.
32261         * include/libc-symbols.h: Remove comment about
32262         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32263         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32264         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32265         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32266         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32267         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32268         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32269         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32270         * elf/tst-unique2mod1.c: Likewise.
32271         * elf/tst-unique1mod2.c: Likewise.
32272         * elf/tst-unique1mod1.c: Likewise.
32273         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32274         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32275         Replace ASM_TYPE_DIRECTIVE with .type.
32276         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32277         * sysdeps/i386/sysdep.h: Likewise.
32278         * sysdeps/x86_64/sysdep.h: Likewise.
32279         * sysdeps/sh/sysdep.h: Likewise.
32280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32281         Do not define ASM_TYPE_DIRECTIVE.
32282         * sysdeps/powerpc/sysdep.h: Likewise.
32283         * sysdeps/powerpc/powerpc32/sysdep.h:
32284         Replace ASM_TYPE_DIRECTIVE with .type.
32285         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32286         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32287         * sysdeps/i386/fpu/e_powf.S: Likewise.
32288         * sysdeps/i386/fpu/e_expl.S: Likewise.
32289         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32290         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32291         * sysdeps/i386/fpu/e_pow.S: Likewise.
32292         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32293         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32294         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32295         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32296         * sysdeps/i386/fpu/e_log2.S: Likewise.
32297         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32298         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32299         * sysdeps/i386/fpu/e_powl.S: Likewise.
32300         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32301         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32302         * sysdeps/i386/fpu/e_logl.S: Likewise.
32303         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32304         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32305         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32306         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32307         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32308         * sysdeps/i386/fpu/e_log.S: Likewise.
32309         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32310         * sysdeps/i386/fpu/e_logf.S: Likewise.
32311         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32312         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32313         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32314         * sysdeps/i386/fpu/e_log10.S: Likewise.
32315         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32316         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32317         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32318         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32319         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32320         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32321         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32322         * sysdeps/i386/i686/strtok.S: Likewise.
32323         * sysdeps/i386/i386-mcount.S: Likewise.
32324         * sysdeps/i386/strtok.S: Likewise.
32325         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32326         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32327         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32328         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32329         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32330         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32331         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32332         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32333         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32334         * sysdeps/x86_64/_mcount.S: Likewise.
32335         * sysdeps/x86_64/strtok.S: Likewise.
32336         * sysdeps/sh/_mcount.S: Likewise.
32337
32338 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32339
32340         * libio/iofopen.c: Include <fcntl.h>.
32341         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32342         (_IO_fopen64, fopen64): Define as aliases.
32343         * libio/iofopen64.c: Include <fcntl.h>.
32344         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32345         Conditionalize body on this.
32346         * sysdeps/wordsize-64/iofopen.c: File removed.
32347         * sysdeps/wordsize-64/iofopen64.c: File removed.
32348
32349 2012-08-01  Marek Polacek  <polacek@redhat.com>
32350
32351         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32352         Use dlfcn directly instead of a variable.
32353         (binfmt-subdir): Do not define.
32354         (dlfcn): Likewise.
32355
32356 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32357
32358         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32359         Remove all definitions.
32360         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32361         <kernel-features.h>.
32362         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32363         (miss_F_GETOWN_EX): Remove all definitions.
32364         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32365         macro definition.
32366         [!__ASSUME_FCNTL64]: Remove conditional code.
32367         [__ASSUME_FCNTL64]: Make code unconditional.
32368         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32369         <kernel-features.h>.
32370         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32371         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32372         (lockf64) [__NR_fcntl64]: Make code unconditional.
32373         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32374
32375         * sysdeps/unix/sysv/linux/kernel-features.h
32376         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32377         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32378         Make code unconditional.
32379         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32380         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32382         [__NR_vfork]: Make code unconditional.
32383         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32384         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32386         [__NR_vfork]: Make code unconditional.
32387         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32388         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32389
32390 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32391
32392         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32393         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32394
32395         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32396         Define mkstemp64 as an alias.
32397         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32398         Define mkstemps64 as an alias.
32399         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32400         Define mkostemp64 as an alias.
32401         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32402         Define mkostemps64 as an alias.
32403         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32404         Conditionalize body on this.
32405         * misc/mkostemp64.c: Likewise.
32406         * misc/mkostemps64.c: Likewise.
32407         * misc/mkstemps64.c: Likewise.
32408         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32409         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32410         * sysdeps/wordsize-64/mkostemp.c: File removed.
32411         * sysdeps/wordsize-64/mkstemp.c: File removed.
32412         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32413         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32414         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32415         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32416
32417         [BZ #14138]
32418         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32419         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32420         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32421         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32422
32423         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32424         compat_symbol macros from <shlib-compat.h> rather than the underlying
32425         default_symbol_version and symbol_version macros, so that DEFAULT
32426         lines in shlib-versions are respected.
32427         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32428
32429 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32430
32431         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32432         Declare with warn_unused_result.
32433         (setgid, setregid, setegid, setresgid): Likewise.
32434         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32435         Likewise.
32436         * WUR-REPORT: Remove set*id functions.
32437
32438 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32439
32440         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32441
32442 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32443
32444         [BZ #10191]
32445         * include/sys/socket.h (__libc_accept, __libc_accept4):
32446         Add attribute_hidden.
32447         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32448
32449         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32450         use of PTR_MANGLE.
32451         * inet/getnetgrent_r.c (setup): Likewise.
32452
32453         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32454
32455 2012-07-31  David S. Miller  <davem@davemloft.net>
32456
32457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32458
32459 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32460
32461         [BZ #13629]
32462         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32463         value between 1.0 and 2.0 and smaller part has absolute value less
32464         than 1.0.
32465         * math/s_clog10.c (__clog10): Likewise.
32466         * math/s_clog10f.c (__clog10f): Likewise.
32467         * math/s_clog10l.c (__clog10l): Likewise.
32468         * math/s_clogf.c (__clogf): Likewise.
32469         * math/s_clogl.c (__clogl): Likewise.
32470         * math/libm-test.inc (clog_test): Add more tests.
32471         (clog10_test): Likewise.
32472         * sysdeps/i386/fpu/libm-test-ulps: Update.
32473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32474
32475 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32476
32477         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32478         Exit with zero in case no suitable GID is found, and write a
32479         message to standard error.
32480
32481 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32482
32483         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32484         rather than to 1.
32485         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32486         (MAXPATHLEN): Removed.
32487         (NOGROUP, NODEV): New macros.
32488         (setbit, clrbit, isset, isclr): New macros.
32489         (howmany, roundup, powerof2): New macros.
32490         (DEV_BSIZE): New macro.
32491
32492         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32493         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32494
32495         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32496         definition on [!__NO_LONG_DOUBLE_MATH].
32497
32498         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32499         PTR_MANGLE and PTR_DEMANGLE.
32500
32501         * socket/accept4.c (accept4): Rename to __libc_accept4.
32502         Define accept4 as a weak alias.
32503
32504         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32505         on [_DIRENT_HAVE_D_TYPE].
32506         * io/ftw.c (ftw_dir): Likewise.
32507
32508         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32509
32510         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32511
32512         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32513         Use the BSD numbers rather than the arbitrary ones we had.
32514         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32515         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32516         (SIGXCPU, SIGXFSZ): New macros.
32517         (_NSIG): Now 32.
32518
32519         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32520         initializer on [_LIBC_REENTRANT].
32521
32522         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32523         definitions inside [_POSIX_MAPPED_FILES].
32524
32525         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32526
32527         * dirent/opendir.c: Include <fcntl.h>.
32528
32529         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32530         (__libc_getspecific): Likewise.
32531         (__libc_key_create): Likewise.
32532
32533         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32534         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32535         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32536         (tmpfile64): Define as alias.
32537         * sysdeps/wordsize-64/tmpfile.c: File removed.
32538         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32539         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32540         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32541
32542         * stdio-common/vfscanf.c: Include <stdbool.h>.
32543         * nss/makedb.c: Likewise.
32544         * stdio-common/_i18n_number.h: Likewise.
32545         * argp/argp-help.c: Likewise.
32546         * posix/wordexp.c: Likewise.
32547         * sysdeps/posix/spawni.c: Likewise.
32548         * nss/nss_files/files-initgroups.c: Likewise.
32549         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32550         * nss/nss_files/files-initgroups.c: Likewise.
32551         * nss/nss_db/db-netgrp.c: Likewise.
32552         * nss/nss_db/db-initgroups.c: Likewise.
32553         * io/fchmodat.c: Include <sys/stat.h>.
32554
32555         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32556         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32557
32558         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32559         [HAVE_MMAP].
32560
32561         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32562         Add multiple inclusion protection.
32563
32564 2012-07-27  David S. Miller  <davem@davemloft.net>
32565
32566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32567
32568 2012-07-27  Gary Benson  <gbenson@redhat.com>
32569
32570         [BZ #14298]
32571         * elf/rtld.c: Include <stap-probe.h>.
32572         (dl_main): Added static probes "init_start" and "init_complete".
32573         * elf/dl-load.c: Include <stap-probe.h>.
32574         (lose): Take new parameter "nsid".
32575         Added static probe "map_failed".
32576         (_dl_map_object_from_fd): Pass namespace id to lose.
32577         Added static probe "map_start".
32578         (open_verify): Pass namespace id to lose.
32579         * elf/dl-open.c: Include <stap-probe.h>.
32580         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32581         and "reloc_complete".
32582         * elf/dl-close.c: Include <stap-probe.h>.
32583         (_dl_close_worker): Added static probes "unmap_start" and
32584         "unmap_complete".
32585         * elf/rtld-debugger-interface.txt: New file documenting the above.
32586
32587 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32588
32589         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32590         rather than a string variable.
32591         * sunrpc/rpc_main.c (h_output): Likewise.
32592         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32593
32594 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32595
32596         * inet/check_native.c: New file.
32597
32598 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32599
32600         [BZ #13629]
32601         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32602         if larger part has absolute value 1.0.
32603         * math/s_clog10.c (__clog10): Likewise.
32604         * math/s_clog10f.c (__clog10f): Likewise.
32605         * math/s_clog10l.c (__clog10l): Likewise.
32606         * math/s_clogf.c (__clogf): Likewise.
32607         * math/s_clogl.c (__clogl): Likewise.
32608         * math/libm-test.inc (clog_test): Add more tests.
32609         (clog10_test): Likewise.
32610         * sysdeps/i386/fpu/libm-test-ulps: Update.
32611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32612
32613         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32614         (pltexit): Likewise.
32615         (La_regs): Likewise.
32616         (La_retval): Likewise.
32617         (int_retval): Likewise.
32618         Update #error for removed macros to refer only to definitions in
32619         tst-audit.h.
32620         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32621         macro.
32622         (pltexit): Likewise.
32623         (La_regs): Likewise.
32624         (La_retval): Likewise.
32625         (int_retval): Likewise.
32626         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32627         macro.
32628         (pltexit): Likewise.
32629         (La_regs): Likewise.
32630         (La_retval): Likewise.
32631         (int_retval): Likewise.
32632         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32633         macro.
32634         (pltexit): Likewise.
32635         (La_regs): Likewise.
32636         (La_retval): Likewise.
32637         (int_retval): Likewise.
32638         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32639         macro.
32640         (pltexit): Likewise.
32641         (La_regs): Likewise.
32642         (La_retval): Likewise.
32643         (int_retval): Likewise.
32644         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32645         macro.
32646         (pltexit): Likewise.
32647         (La_regs): Likewise.
32648         (La_retval): Likewise.
32649         (int_retval): Likewise.
32650         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32651         macro.
32652         (pltexit): Likewise.
32653         (La_regs): Likewise.
32654         (La_retval): Likewise.
32655         (int_retval): Likewise.
32656         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32657         macro definitions in tst-audit.h.
32658         * sysdeps/i386/tst-audit.h: New file.
32659         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32660         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32661         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32662         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32663         * sysdeps/sh/tst-audit.h: Likewise.
32664         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32665         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32666         * sysdeps/x86_64/tst-audit.h: Likewise.
32667
32668 2012-07-26  Andreas Jaeger  <aj@suse.de>
32669
32670         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32671         ptrace.
32672
32673         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32674         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32675         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32676         PTRACE_O_MASK.
32677         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32678         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32679         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32680
32681         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32682         value.
32683
32684         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32685         _sigsys.
32686         (si_call_addr, si_syscall, si_arch): Define new macro.
32687         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32688         _sigsys.
32689         (si_call_addr, si_syscall, si_arch): Define new marcro.
32690         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32691         _sigsys.
32692         (si_call_addr, si_syscall, si_arch): Define new macro.
32693         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32694         _sigsys.
32695         (si_call_addr, si_syscall, si_arch): Define new macro.
32696
32697 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32698
32699         [BZ #13717]
32700         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32701         Change to 2.4.21 where previously 2.4.1.
32702         * sysdeps/unix/sysv/linux/configure: Regenerated.
32703         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32704         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32705         Linux kernel version.
32706         (__ASSUME_STD_AUXV): Remove.
32707         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32708         kernel version.
32709         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32710         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32711         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32712         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32713         (__ASSUME_NETLINK_SUPPORT): Likewise.
32714         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32715         (__no_netlink_support): Remove conditional definition.
32716         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32717         Remove.
32718         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32719         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32720         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32721         (if_nameindex_ioctl): Remove.
32722         (if_nameindex_netlink): Do not handle __no_netlink_support.
32723         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32724         code.
32725         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32726         Remove conditional code.
32727         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32728         code.
32729         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32730         unconditional.
32731         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32732         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32733         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32734         Remove.
32735         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32736         [!__ASSUME_STD_AUXV]: Remove conditional code.
32737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32738         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32739         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32741         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32742         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32743         code.
32744         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32746         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32747         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32748         conditional code.
32749         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32751         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32752         code.
32753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32754         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32755         conditional code.
32756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32757         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32758         code unconditional.
32759         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32760         conditional code.
32761         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32762         unconditional.
32763         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32764         conditional code.
32765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32766         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32767         unconditional.
32768         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32769         conditional code.
32770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32771         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32772         code unconditional.
32773         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32774         conditional code.
32775         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32776         unconditional.
32777         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32778         conditional code.
32779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32780         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32781         code unconditional.
32782         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32783         conditional code.
32784         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32785         unconditional.
32786         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32787         conditional code.
32788
32789 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32790
32791         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32792         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32793         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32794         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32795         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32796         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32797         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32798         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32799         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32800         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32801         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32802         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32803         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32804         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32805         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32806         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32807         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32808         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32809         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32811         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32812         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32813         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32814
32815 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32816
32817         * Versions.def: Add GLIBC_2.17.
32818         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32819         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32820         Introduce __libc_secure_getenv.
32821         * stdlib/Versions (2.17): Add secure_getenv
32822         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32823         * stdlib/secure-getenv.c: Rename __secure_getenv to
32824         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32825         symbol __secure_getenv for GLIBC_2.0.
32826         * stdlib/tst-secure-getenv.c: New.
32827         * stdlib/Makefile (tests): Add testcase.
32828         * manual/startup.texi (Environment Access): Document
32829         secure_getenv.
32830         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32831         __libc_secure_getenv.
32832         * inet/ruserpass.c (ruserpass): Likewise.
32833         * malloc/mtrace.c (mtrace): Likewise.
32834         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32835         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32836         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32837         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32838         HAVE_SECURE_GETENV.
32839         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32840         __secure_getenv to __libc_secure_getenv.
32841         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32843         Likewise.
32844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32845         Likewise.
32846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32848         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32853
32854 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32855
32856         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32857         (struct La_i86_retval): Likewise.
32858         (struct La_x86_64_regs): Likewise.
32859         (struct La_x86_64_retval): Likewise.
32860         (struct La_x32_regs): Likewise.
32861         (struct La_x32_retval): Likewise.
32862         (struct La_ppc32_regs): Likewise.
32863         (struct La_ppc32_retval): Likewise.
32864         (struct La_ppc64_regs): Likewise.
32865         (struct La_ppc64_retval): Likewise.
32866         (struct La_sh_regs): Likewise.
32867         (struct La_sh_retval): Likewise.
32868         (struct La_s390_32_regs): Likewise.
32869         (struct La_s390_32_retval): Likewise.
32870         (struct La_s390_64_regs): Likewise.
32871         (struct La_s390_64_retval): Likewise.
32872         (struct La_sparc32_regs): Likewise.
32873         (struct La_sparc32_retval): Likewise.
32874         (struct La_sparc64_regs): Likewise.
32875         (struct La_sparc64_retval): Likewise.
32876         (struct audit_ifaces): Remove architecture-specific pltenter and
32877         pltexit members.
32878         * sysdeps/i386/ldsodefs.h: New file.
32879         * sysdeps/powerpc/ldsodefs.h: Likewise.
32880         * sysdeps/s390/ldsodefs.h: Likewise.
32881         * sysdeps/sh/ldsodefs.h: Likewise.
32882         * sysdeps/sparc/ldsodefs.h: Likewise.
32883         * sysdeps/x86_64/ldsodefs.h: Likewise.
32884
32885 2012-07-25  Marek Polacek  <polacek@redhat.com>
32886
32887         [BZ #6808]
32888         * math/libm-test.inc (yn_test): Add another test.
32889         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32890         to ERANGE when the result is +-Inf.
32891         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32892         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32893         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32894         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32895
32896 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32897
32898         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32899         equal to 0.
32900         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32901         clock_t.
32902         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32903
32904 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32905
32906         * configure.in <sysdeps resolving>: Correct printing
32907         Implies_before.
32908         * configure: Regenerate.
32909
32910 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32911
32912         * math/w_ilogb.c: Include <limits.h>.
32913         * math/w_ilogbl.c: Likewise.
32914
32915 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32916
32917         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32918         va_copy.  Document allowing for unavailable va_copy only as
32919         pre-C99 compatibility.
32920         * manual/string.texi (Copying and Concatenation): Use va_copy
32921         instead of __va_copy in concat example.
32922
32923 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32924
32925         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32926         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32927         it if not null.
32928
32929         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32930         with O_NOLINK passed to __file_name_lookup.
32931
32932         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32933         with O_NOLINK passed to __file_name_lookup.
32934
32935         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32936         negative N or less than NGIDS.
32937
32938         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32939         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32940         enough.  Use memcpy instead of strncpy.
32941
32942 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32943
32944         * elf/Makefile (check-data): Remove.
32945         (localplt.data): New vpath directive.
32946         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32947         instead of $(check-data).
32948         * scripts/data/localplt-generic.data: Move to ...
32949         * sysdeps/generic/localplt.data: ... here.
32950         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32951         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32952         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32954         ... here.
32955         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32957         ... here.
32958         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32960         ... here.
32961         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32963         ... here.
32964         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32966         ... here.
32967         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32969         ... here.
32970
32971 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32972
32973         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32974         PPC32 and PPC64 files.
32975         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32976         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32977
32978 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32979
32980         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32981         __makecontext_ret to ...
32982         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32983         ... here and call exit if uc_link is NULL.  New file.
32984         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32985         __makecontext_ret.S.
32986         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32987         __makecontext_ret to ...
32988         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32989         ... here and call exit if uc_link is NULL.  New file.
32990         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32991         __makecontext_ret.S.
32992
32993 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32994
32995         * elf/elf.h (R_390_IRELATIVE): New definition.
32996         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32997         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32998         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32999         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33000         (elf_machine_lazy_rel): Likewise.
33001         * sysdeps/s390/dl-irel.h: New file.
33002         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33003         * sysdeps/s390/s390-64/memset.S: New asm code.
33004         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33005         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33006         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33007         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33008         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33009         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33010         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33011         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33012         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33013         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33014         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33015         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33016         * sysdeps/s390/s390-32/memset.S: New asm code.
33017         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33018
33019 2012-07-17  Marek Polacek  <polacek@redhat.com>
33020
33021         [BZ #14349]
33022         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33023         * sysdeps/s390/s390-64/configure.in: Likewise.
33024         * sysdeps/sparc/configure.in: Likewise.
33025         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33026         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33027         * sysdeps/i386/configure.in: Likewise.
33028         * sysdeps/x86_64/configure.in: Likewise.
33029         * sysdeps/sh/configure.in: Likewise.
33030         * sysdeps/s390/s390-32/configure: Regenerated.
33031         * sysdeps/s390/s390-64/configure: Likewise.
33032         * sysdeps/x86_64/configure: Likewise.
33033         * sysdeps/sh/configure: Likewise.
33034         * sysdeps/powerpc/powerpc64/configure: Likewise.
33035         * sysdeps/powerpc/powerpc32/configure: Likewise.
33036         * sysdeps/sparc/configure: Likwise.
33037         * sysdeps/i386/configure: Likewise.
33038
33039         * elf/dl-open.c: Comment fixes.
33040
33041 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33042
33043         * Makefile [CXX] (check-data): Remove.
33044         [CXX] (c++-types.data): New vpath directive.
33045         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33046         vpath.  Do not allow for C++ type data being missing.
33047         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33048         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33049         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33050         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33051         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33052         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33053         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33055         ... here.
33056         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33058         ... here.
33059         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33061         ... here.
33062         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33064         ... here.
33065         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33067         ... here.
33068         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33070         ... here.
33071         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33073         ... here.
33074         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33076
33077         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33078         definitions to architecture-specific files.
33079         (TLS_IE): Likewise.
33080         (TLS_LD): Likewise.
33081         (TLS_GD): Likewise.
33082         * sysdeps/i386/tls-macros.h: New file.
33083         * sysdeps/powerpc/tls-macros.h: Likewise.
33084         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33085         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33086         * sysdeps/sh/tls-macros.h: Likewise.
33087         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33088         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33089         * sysdeps/x86_64/tls-macros.h: Likewise.
33090
33091 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33092
33093         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33094         zero value for regular exit case.
33095
33096         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33097         (__start_context): Preserve zero value for regular exit case.
33098
33099 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33100             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33101
33102         * manual/setjmp.texi (setcontext): Clarify normal process
33103         termination when uc_link is the null pointer.
33104         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33105         exit call.
33106
33107 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33108
33109         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33110         preprocessor.  Test for each exception mask separately.
33111
33112 2012-07-16  Andreas Jaeger  <aj@suse.de>
33113
33114         * po/ru.po: Update from translation team.
33115
33116 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33117
33118         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33119         equal to 0.
33120         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33121         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33122         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33123         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33124         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33125
33126 2012-07-13  Andreas Jaeger  <aj@suse.de>
33127
33128         * po/fr.po: Update from translation team.
33129
33130 2012-07-12  Marek Polacek  <polacek@redhat.com>
33131
33132         [BZ #14173]
33133         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33134         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33135         loop condition.
33136
33137 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33138
33139         [BZ #13717]
33140         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33141         Change to 2.4.1 where previously 2.4.0.
33142         * sysdeps/unix/sysv/linux/configure: Regenerated.
33143         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33144         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33145         version.
33146         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33147         (__ASSUME_AT_CLKTCK): Remove.
33148         (__ASSUME_AT_PAGESIZE): Likewise.
33149         (__ASSUME_AT_XID): Likewise.
33150         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33151         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33152         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33153         unconditionally.
33154         (HAVE_AUX_PAGESIZE): Likewise.
33155         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33156         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33157         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33158
33159 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33160
33161         [BZ #14307]
33162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33163         the temporary buffer used to invoke __gethostbyname2_r,
33164         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33165         host_data / struct gaih_addrtuple.
33166         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33167         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33168         header file nss/nsswitch.h.
33169         * nss/nsswitch.h (global scope): Add definition of implementation
33170         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33171         resolv/nss_dns/dns-host.c).
33172
33173 2012-07-11  Andreas Jaeger  <aj@suse.de>
33174
33175         * po/fr.po: Update from translation team.
33176
33177         * po/sv.po: Update from translation team
33178         * po/fr.po: Another update from translation team.
33179
33180 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33181
33182         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33183         for subnormals or multiply small sinh result by itself.
33184         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33186
33187 2012-07-11  David S. Miller  <davem@davemloft.net>
33188
33189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33190
33191 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33192
33193         [BZ #14347]
33194         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33195         (INTERNAL_MARK): Shift it here.
33196
33197 2012-07-10  Marek Polacek  <polacek@redhat.com>
33198
33199         [BZ #14151]
33200         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33201         libc_cv_asm_global_directive with .globl.
33202         * configure: Regenerated.
33203         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33204         with .globl.
33205         * sysdeps/i386/configure: Regenerated.
33206         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33207         with .globl.
33208         * sysdeps/x86_64/configure: Regenerated.
33209         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33210         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33211         * elf/tst-unique2mod2.c: Likewise.
33212         * elf/tst-unique2mod1.c: Likewise.
33213         * elf/tst-unique1mod2.c: Likewise.
33214         * elf/tst-unique1mod1.c: Likewise.
33215         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33216         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33217         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33218         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33219         * sysdeps/mach/sysdep.h: Likewise.
33220         * sysdeps/i386/sysdep.h: Likewise.
33221         * sysdeps/i386/i386-mcount.S: Likewise.
33222         * sysdeps/x86_64/_mcount.S: Likewise.
33223         * sysdeps/x86_64/sysdep.h: Likewise.
33224         * sysdeps/sh/_mcount.S: Likewise.
33225         * sysdeps/sh/sysdep.h: Likewise.
33226         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33227         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33228         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33229         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33230         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33231         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33232         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33233         * locale/localeinfo.h: Likewise.
33234         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33235         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33236
33237 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33238
33239         [BZ #14336]
33240         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33241         system".
33242         * manual/message.texi (The Uniforum approach): Likewise.
33243         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33244         (glibc iconv Implementation): Likewise.
33245
33246 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33247
33248         [BZ #14337]
33249         * math/s_clog.c (__clog): Avoid scaling a value down where that
33250         could result in underflow.
33251         * math/s_clog10.c (__clog10): Likewise.
33252         * math/s_clog10f.c (__clog10f): Likewise.
33253         * math/s_clog10l.c (__clog10l): Likewise.
33254         * math/s_clogf.c (__clogf): Likewise.
33255         * math/s_clogl.c (__clogl): Likewise.
33256         * math/libm-test.inc (clog_test): Add more tests.
33257         (clog10_test): Likewise.
33258         * sysdeps/i386/fpu/libm-test-ulps: Update.
33259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33260
33261 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33262
33263         [BZ #14283]
33264         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33265         by 7 not 8 to examine high bit of fractional part.
33266
33267         [BZ #14042]
33268         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33269         for call to __mcount_internal.
33270         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33271         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33272         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33273
33274 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33275
33276         [BZ #14154]
33277         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33278         approximation for values within 0x1p-13f of an odd multiple of
33279         pi/4.
33280         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33281         exception.  Add more tests.
33282         * sysdeps/i386/fpu/libm-test-ulps: Update.
33283
33284         [BZ #6778]
33285         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33286         inputs and return -1 for them.  Do not check for +Inf in case not
33287         reachable for +Inf.
33288         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33289         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33290         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33291         and return -1 for them.  Do not check for +Inf in case not
33292         reachable for +Inf.
33293         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33294         define.
33295         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33296         and return -1 for them.  Do not check for +Inf in case not
33297         reachable for +Inf.
33298         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33299         spurious underflow.
33300         * sysdeps/i386/fpu/libm-test-ulps: Update.
33301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33302
33303 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33304
33305         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33306
33307 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33308
33309         [BZ #14157]
33310         [BZ #14331]
33311         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33312         could result in spurious underflow.  Scale down values above
33313         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33314         * math/s_csqrtf.c (__csqrtf): Likewise.
33315         * math/s_csqrtl.c (__csqrtl): Likewise.
33316         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33317         spurious underflow.
33318         * sysdeps/i386/fpu/libm-test-ulps: Update.
33319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33320
33321 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33322
33323         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33324         xopen-msg.sed.
33325         * catgets/xopen-msg.awk: New file.
33326         * catgets/xopen-msg.sed: Removed.
33327
33328         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33329         po2text.sed.
33330         * intl/po2test.awk: New file.
33331         * intl/po2test.sed: Removed.
33332
33333 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33334
33335         [BZ #14328]
33336         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33337         or multiply small sinh result by itself.
33338         * math/s_ctanf.c (__ctanf): Likewise.
33339         * math/s_ctanh.c (__ctanh): Likewise.
33340         * math/s_ctanhf.c (__ctanhf): Likewise.
33341         * math/s_ctanhl.c (__ctanhl): Likewise.
33342         * math/s_ctanl.c (__ctanl): Likewise.
33343         * math/libm-test.inc (ctan_test_tonearest): New function.
33344         (ctan_test_towardzero): Likewise.
33345         (ctan_test_downward): Likewise.
33346         (ctan_test_upward): Likewise.
33347         (ctanh_test_tonearest): Likewise.
33348         (ctanh_test_towardzero): Likewise.
33349         (ctanh_test_downward): Likewise.
33350         (ctanh_test_upward): Likewise.
33351         (main): Call these new functions.
33352         * sysdeps/i386/fpu/libm-test-ulps: Update.
33353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33354
33355 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33356
33357         * .gitignore: Delete /ports entry.
33358
33359 2012-07-03  Andreas Jaeger  <aj@suse.de>
33360
33361         * po/bg.po: Update from translation team.
33362         * po/cs.po: Likewise.
33363         * po/de.po: Likewise.
33364         * po/hr.po: Likewise.
33365         * po/nl.pl: Likewise.
33366         * po/pl.po: Likewise.
33367         * po/vi.po: Likewise.
33368
33369 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33370
33371         * Makeconfig [!+link] (+link-before-libc): New variable.
33372         [!+link] (+link-after-libc): Likewise.
33373         [!+link] (+link-tests): Likewise.
33374         [!+link] (+link): Define in terms of $(+link-before-libc) and
33375         $(+link-after-libc).
33376         [!+link-static] (+link-static-before-libc): New variable.
33377         [!+link-static] (+link-static-after-libc): Likewise.
33378         [!+link-static] (+link-static-tests): Likewise.
33379         [!+link-static] (+link-static): Define in terms of
33380         $(+link-static-before-libc) and $(+link-static-after-libc).
33381         [build-shared] (link-libc-before-gnulib): New variable.
33382         [build-shared] (link-libc-tests): Likewise.
33383         [build-shared] (link-libc): Define in terms of
33384         $(link-libc-before-gnulib).
33385         [!build-shared] (link-libc-tests): New variable.
33386         (link-libc-static-tests): New variable.
33387         [!gnulib] (gnulib-arch): New variable.
33388         [!gnulib] (gnulib-tests): Likewise.
33389         [!gnulib] (static-gnulib-arch): Likewise.
33390         [!gnulib] (static-gnulib-tests): Likewise.
33391         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33392         Define with "=" instead of ":=".
33393         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33394         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33395         * Rules (binaries-all-notests): New variable.
33396         (binaries-all-tests): Likewise.
33397         (binaries-static-notests): Likewise.
33398         (binaries-static-tests): Likewise.
33399         (binaries-all): Define using $(binaries-all-notests) and
33400         $(binaries-all-tests).
33401         (binaries-static): Define using $(binaries-static-notests) and
33402         $(binaries-static-tests).
33403         (binaries-shared-tests): New variable.
33404         (binaries-shared-notests): Likewise.
33405         (binaries-shared): Remove variable.
33406         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33407         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33408         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33409         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33410         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33411         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33412         * elf/Makefile (sln-modules): New variable.
33413         (extra-objs): Add $(sln-modules:=.o).
33414         (ldconfig-modules): Add static-stubs.
33415         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33416         * elf/static-stubs.c: New file.
33417
33418         [BZ #14283]
33419         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33420         by 7 not 8 to examine high bit of fractional part.  Use volatile
33421         variables when splitting into final array of floats if
33422         __FLT_EVAL_METHOD__ != 0.
33423         * math/libm-test.inc (cos_test): Add another test.
33424         (sin_test): Likewise.
33425         * sysdeps/i386/fpu/libm-test-ulps: Update.
33426
33427         [BZ #14273]
33428         * math/libm-test.inc (cosh_test): Add more tests.
33429
33430         * version.h (RELEASE): Set to "development".
33431         (VERSION): Set to "2.16.90".
33432
33433 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33434
33435         * NEWS: Update copyright. Remove last-updated date.
33436         Mention math library bug fixes and timezone data changes.
33437         * README: Mention GNU/Hurd, x32, and HPPA support status.
33438
33439 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33440
33441         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33442
33443 2012-06-27  Andreas Jaeger  <aj@suse.de>
33444
33445         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33446
33447 2012-06-25  Andreas Jaeger  <aj@suse.de>
33448
33449         * sysdeps/s390/fpu/libm-test-ulps: Update.
33450
33451 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33452             Thomas Schwinge  <thomas@codesourcery.com>
33453
33454         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33455         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33456         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33457         fanotify_mark.
33458
33459 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33460
33461         * sysdeps/mach/start.c: Remove file.
33462         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33463         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33464         * sysdeps/sh/init-first.c: Likewise.
33465
33466         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33467         registers for frame unwinding purposes, add CFI directives.
33468         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33469         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33470         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33471         Likewise.
33472
33473         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33474         __fortify_fail returning.
33475         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33476
33477         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33478         sysdeps/sh/____longjmp_chk.S.
33479         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33480         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33481         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33482         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33483
33484         * sysdeps/sh/abort-instr.h: New file.
33485         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33486         process in case exit returns.
33487
33488         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33489         initialize the GOT register before use.
33490
33491         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33492         calculation of ARGC > 4.
33493
33494         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33495         meaningful names to some local labels.
33496
33497 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33498             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33499
33500         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33501         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33502         (__arch_compare_and_exchange_val_16_acq): Likewise.
33503         (__arch_compare_and_exchange_val_32_acq): Likewise.
33504         (atomic_exchange_and_add): Fix gUSA sequence.
33505         (atomic_add): Likewise.
33506         (atomic_add_negative): Likewise.
33507         (atomic_add_zero): Likewise.
33508         (atomic_bit_test_set): Likewise.
33509
33510 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33511
33512         [BZ #13579]
33513         * include/link.h (struct link_map): Add l_free_initfini.
33514         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33515         l_initfini.
33516         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33517         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33518         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33519         set.
33520
33521 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33522
33523         * configure.in: Use AC_LANG_SOURCE.
33524         * configure: Regenerate.
33525
33526 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33527
33528         * configure.in (libc_cv_localstatedir): New substituted variable.
33529         * configure: Regenerated.
33530         * config.make.in (localstatedir): New variable, substituted from
33531         libc_cv_localstatedir.
33532         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33533         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33534         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33535         * sysdeps/gnu/configure: Regenerated.
33536
33537 2012-06-21  Jeff Law  <law@redhat.com>
33538
33539         [BZ #14277]
33540         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33541         free.  Simplify list management for _LIBC case.
33542
33543 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33544
33545         [BZ #14273]
33546         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33547         Clear sign bit of 64-bit integer value before comparing against
33548         overflow value.
33549
33550         * sysdeps/mach/configure: Regenerated.
33551
33552 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33553
33554         [BZ #14278]
33555         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33556
33557 2012-06-21  Jeff Law  <law@redhat.com>
33558
33559         [BZ #13882]
33560         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33561         uint16_t for elements in the "seen" array to avoid char overflows.
33562         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33563         * elf/dl-open.c (dl_open_worker): Likewise.
33564
33565 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33566
33567         * scripts/list-sources.sh: Scan PORTS for translations.
33568         * po/libc.pot: Regenerated.
33569
33570 2012-06-21  Andreas Jaeger  <aj@suse.de>
33571
33572         [BZ #12194]
33573         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33574         warning.
33575         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33576         * bits/byteswap-16.h (__bswap_16): Likewise.
33577         * bits/byteswap.h (__bswap_constant_16): Likewise.
33578
33579 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33580
33581         [BZ #14117]
33582         * sysdeps/i386/fpu_control.h: Removed.
33583         * sysdeps/x86_64/fpu_control.h: Moved to ...
33584         * sysdeps/x86/fpu_control.h: Here.
33585
33586         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33587         (_FPU_SETCW): Likewise.
33588
33589 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33590
33591         [BZ #14117]
33592         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33593         * sysdeps/x86/fpu/bits/mathinline.h: This.
33594         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33595
33596         [BZ #14050]
33597         [BZ #14117]
33598         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33599         functions if __x86_64__ is defined.
33600
33601 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33602
33603         * string/endian.h: Add !__ASSEMBLER__ condition for including
33604         conversion interfaces.
33605
33606 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33607
33608         [BZ #14241]
33609         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33610         of ABS(x) in calculating zero to negative powers other than odd
33611         integers.
33612         * math/libm-test.inc (pow_test): Add more tests.
33613
33614 2012-06-15  Andreas Jaeger  <aj@suse.de>
33615
33616         * manual/contrib.texi (Contributors): Update entry of Liubov
33617         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33618         Machado Filho.
33619
33620 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33621
33622         * string/string.h: Add __wur to GNU version of strerror_r.
33623
33624 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33625
33626         [BZ #14229]
33627         * string/Makefile (tests): Add tst-strtok_r.
33628         * string/tst-strtok_r.c: New file.
33629         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33630         RAX_LP/RDX_LP on SAVE_PTR.
33631
33632 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33633
33634         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33635
33636 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33637
33638         * libm_test.inc (csqrt_test): Allow more spurious underflow
33639         exceptions.
33640         (j0_test): Likewise.
33641         (j1_test): Likewise.
33642         (y0_test): Likewise.
33643         (y1_test): Likewise.
33644
33645 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33646
33647         * po/Makefile (libc.pot): Use UTF-8 charset.
33648
33649 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33650
33651         [BZ #14210]
33652         Suppress sign-conversion warning from FD_SET.
33653         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33654         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33655         not unsigned long int.
33656         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33657
33658 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33659
33660         [BZ #14050]
33661         [BZ #14117]
33662         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33663         __extern_always_inline instead of __extern_inline.
33664         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33665         (__signbit): Likewise.
33666         (__signbitl): Support C++ namespace.
33667         (lrintf): New inline function.
33668         (lrint): Likewise.
33669         (llrintf): Likewise.
33670         (llrint): Likewise.
33671         (fmaxf): Likewise.
33672         (fmax): Likewise.
33673         (fminf): Likewise.
33674         (fmin): Likewise.
33675         (rint): Likewise.
33676         (rintf): Likewise.
33677         (ceil): Likewise.
33678         (ceilf): Likewise.
33679         (floor): Likewise.
33680         (floorf): Likewise.
33681         (nearbyint): Likewise.
33682         (nearbyintf): Likewise.
33683
33684 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33685
33686         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33687         non-default versions.
33688
33689 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33690
33691         [BZ #14218]
33692         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33693
33694 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33695
33696         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33697         (FE_UPWARD, FE_DOWNWARD): Don't define.
33698         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33699         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33700
33701         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33702         reading it.
33703         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33704         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33705
33706 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33707
33708         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33709         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33710         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33711         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33712
33713 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33714
33715         [BZ #14117]
33716         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33717         * sysdeps/i386/fpu/Implies: New file.
33718         * sysdeps/x86_64/fpu/Implies: Likewise.
33719         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33720         * sysdeps/x86/fpu/bits/fenv.h: This.
33721
33722         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33723         __SSE_MATH__.
33724
33725 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33726
33727         [BZ #14134]
33728         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33729         character 0xffff that matches the last element of the
33730         conversion table.
33731
33732 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33733
33734         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33735         fmodl commit.
33736
33737 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33738
33739         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33740         values higher than 25.6283.
33741
33742 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33743
33744         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33745         subnormal exponent extraction and add some __builtin_expect.
33746         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33747         Fix for subnormal mantissa calculation.
33748
33749 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33750
33751         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33752         cpu2 is -1 and errno is not ENOSYS.
33753
33754 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33755
33756         [BZ #14117]
33757         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33758         * sysdeps/x86/bits/string.h: This.
33759         * sysdeps/x86_64/bits/string.h: Removed.
33760
33761         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33762         if not compiling for x86-64, but compiling for >= i486.
33763
33764         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33765         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33766
33767         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33768         New macro from Linux kernel 3.4.0.
33769         (FP_XSTATE_MAGIC2): Likewise.
33770         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33771         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33772         (struct _fpx_sw_bytes): New struct.
33773         (struct _xsave_hdr): Likewise.
33774         (struct _ymmh_state): Likewise.
33775         (struct _xstate): Likewise.
33776
33777         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33778         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33779         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33780         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33781         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33782         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33783
33784         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33785         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33786         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33787         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33788         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33789         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33790
33791 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33792
33793         [BZ #13743]
33794         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33795         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33796         (sysdep_headers): Include sys/platform/ppc.h.
33797         * sysdeps/powerpc/test-gettimebase.c: Test for
33798         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33799         * manual/Makefile (appendices): Include platform.texi.
33800         * manual/contrib.texi (Contributors): Update @node pointers.
33801         * manual/maint.texi (Maintenance): Likewise.
33802         (Platform): New node.
33803         * manual/platform.texi: New file.  Document the new features.
33804
33805 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33806             Jakub Jelinek  <jakub@redhat.com>
33807
33808         [BZ #14188]
33809         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33810         where __builtin_expect is unavailable.
33811
33812 2012-06-03  David S. Miller  <davem@davemloft.net>
33813
33814         * stdlib/longlong.h: Updated from GCC.
33815
33816 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33817
33818         [BZ #14042]
33819         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33820         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33821         __mcount_internal.
33822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33823         (GLIBC_2.16): Likewise.
33824
33825 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33826
33827         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33828
33829 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33830
33831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33832         (default-abi): New variable.
33833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33834         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33835         variable.
33836         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33837         Likewise.
33838         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33839         Likewise.
33840         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33841         Likewise.
33842
33843         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33844         definition.  Document in comment.
33845
33846 2012-06-01  David S. Miller  <davem@davemloft.net>
33847
33848         * stdlib/longlong.h: Updated from GCC.
33849
33850 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33851
33852         [BZ #14117]
33853         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33854         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33855         sys/debugreg.h sys/io.h here.
33856         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33857         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33858         sys/io.h.
33859         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33860         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33861         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33862         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33863         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33864         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33865
33866         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33867         Define only if __x86_64__ is defined.
33868
33869 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33870
33871         [BZ #14048]
33872         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33873         Use int64_t for variable i.
33874         * math/libm-test.inc (fmod_test): Add more tests.
33875
33876         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33877         z computation is not scheduled after fetestexcept.
33878         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33879         Use math_force_eval instead of asm to ensure calculation scheduled
33880         before exception test.
33881         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33882         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33883
33884 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33885
33886         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33887         computation is not scheduled after fetestexcept.
33888
33889 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33890
33891         [BZ #14117]
33892         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33893         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33894
33895 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33896
33897         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33898         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33899
33900 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33901
33902         [BZ #14117]
33903         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33904         <bits/wordsize.h>.
33905         (__WCHAR_MIN): Support __WORDSIZE == 64.
33906         (__WCHAR_MAX): Likewise.
33907
33908         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33909         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33910
33911         [BZ #14183]
33912         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33913         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33914
33915         [BZ #14117]
33916         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33917         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33918
33919         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33920         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33921
33922         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33923         Defined to 1 if __x86_64__ isn't defined.
33924         (_STAT_VER_LINUX_OLD): New.
33925         (st_atime): Remove duplicate.
33926         (st_mtime): Likewise.
33927         (st_ctime): Likewise.
33928
33929 2012-05-31  David S. Miller  <davem@davemloft.net>
33930
33931         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33932         entries.
33933
33934 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33935
33936         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33937         gen-libm-test.pl.
33938
33939         [BZ #14132]
33940         * elf/dl-reloc.c: Include <_itoa.h>.
33941         (_dl_reloc_bad_type): Remove use of INTUSE.
33942         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33943         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33944         * stdio-common/psiginfo.c (psiginfo): Likewise.
33945         * stdio-common/psignal.c (psignal): Likewise.
33946         * string/strsignal.c (strsignal): Likewise.
33947         * include/signal.h (_sys_siglist): Declare hidden proto.
33948         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33949         INTVARDEF with libc_hidden_data_def.
33950         * stdio-common/itoa-udigits.c: Likewise.
33951         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33952         (_itoa_lower_digits_internal): Remove declaration.
33953         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33954         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33955         (_sys_sigabbrev_internal): Remove aliases.
33956         (_sys_siglist): Define hidden alias.
33957
33958 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33959
33960         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33961         bits/sysctl.h.
33962
33963 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33964
33965         [BZ #14117]
33966         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33967         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33968
33969         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33970         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33971         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33972         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33973         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33974         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33975
33976         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33977         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33978         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33979
33980         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33981         with __addr.
33982         (insw): Likewise.
33983         (insl): Likewise.
33984         (outsb): Likewise.
33985         (outsw): Likewise.
33986         (outsl): Likewise.
33987
33988         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33989         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33990         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33991
33992         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33993         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33994         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33995         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33996         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33997         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33998
33999         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34000         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34001
34002         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34003         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34004
34005         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34006         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34007         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34008
34009         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34010         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34011         to ...
34012         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34013
34014         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34015         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34016         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34017
34018         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34019         for x86-64.
34020         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34021
34022 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34023
34024         * math/math.h (M_El): Use two more decimal places.
34025         (M_LOG2El): Likewise.
34026         (M_LOG10El): Likewise.
34027         (M_LN2l): Likewise.
34028         (M_LN10l): Likewise.
34029         (M_PIl): Likewise.
34030         (M_PI_2l): Likewise.
34031         (M_PI_4l): Likewise.
34032         (M_1_PIl): Likewise.
34033         (M_2_PIl): Likewise.
34034         (M_2_SQRTPIl): Likewise.
34035         (M_SQRT2l): Likewise.
34036         (M_SQRT1_2l): Likewise.
34037
34038 2012-05-31  David S. Miller  <davem@davemloft.net>
34039
34040         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34041         values between float registers.
34042         * sysdeps/sparc/sparc64/memset.S: Likewise.
34043         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34044
34045 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34046
34047         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34048         -D_FORTIFY_SOURCE=1.
34049         (CPPFLAGS-tst-longjmp_chk.c): Define.
34050         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34051         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34052         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34053         CFLAGS-tst-wchar-h.c.
34054
34055 2012-05-31  Marek Polacek  <polacek@redhat.com>
34056
34057         [BZ #14132]
34058         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34059         __endmntent_internal): Remove declaration.
34060         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34061         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34062         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34063
34064 2012-05-30  David S. Miller  <davem@davemloft.net>
34065
34066         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34067         (___Q_simulate_exceptions): Use real FP ops rather than writing
34068         into the %fsr.
34069         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34070         Likewise.
34071
34072 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34073
34074         [BZ #14117]
34075         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34076         * sysdeps/x86/bits/xtitypes.h: This.
34077
34078         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34079         * sysdeps/x86/bits/wordsize.h: This.
34080
34081         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34082         * sysdeps/x86/bits/huge_vall.h: This.
34083
34084         * sysdeps/i386/bits/select.h: Removed.
34085         * sysdeps/x86_64/bits/select.h: Renamed to ...
34086         * sysdeps/x86/bits/select.h: This.
34087
34088         * sysdeps/i386/bits/setjmp.h: Removed.
34089         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34090         * sysdeps/x86/bits/setjmp.h: This.
34091
34092         * sysdeps/i386/bits/mathdef.h: Removed.
34093         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34094         * sysdeps/x86/bits/mathdef.h: This.
34095
34096 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34097
34098         [BZ #14132]
34099         * include/sys/socket.h (__connect_internal)
34100         (__libc_sa_len_internal): Remove declaration.
34101         (__connect, __libc_sa_len): Declare hidden_proto.
34102         (SA_LEN): Remove use of INTUSE.
34103         * socket/connect.c: Add libc_hidden_def.
34104         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34105         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34106         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34107         alias.
34108         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34109         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34110         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34111         of adding _internal alias.
34112
34113 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34114
34115         [BZ #14117]
34116         * sysdeps/i386/bits/link.h: Removed.
34117         * sysdeps/i386/bits/linkmap.h: Likewise.
34118         * sysdeps/x86_64/bits/link.h: Renamed to ...
34119         * sysdeps/x86/bits/link.h: This.
34120         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34121         * sysdeps/x86/bits/linkmap.h: This.
34122
34123         * sysdeps/i386/bits/endian.h: Removed.
34124         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34125         * sysdeps/x86/bits/endian.h: This.
34126
34127         * sysdeps/i386/bits/byteswap.h: Removed.
34128         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34129         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34130         * sysdeps/x86/bits/byteswap.h: This.
34131         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34132         * sysdeps/x86/bits/byteswap-16.h: This.
34133         * sysdeps/i386/Implies: Add x86.
34134         * sysdeps/x86_64/Implies: Likewise.
34135
34136 2012-05-30  David S. Miller  <davem@davemloft.net>
34137
34138         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34139         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34140         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34141         (FP_TRAPPING_EXCEPTIONS): Define.
34142         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34143         (FP_TRAPPING_EXCEPTIONS): Define.
34144         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34145         subnormals only when inexact has been signalled or underflow
34146         exceptions are enabled.
34147         (_FP_PACK_CANONICAL): Likewise.
34148
34149 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34150
34151         [BZ #14183]
34152         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34153         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34154
34155 2012-05-30  Richard Henderson  <rth@twiddle.net>
34156
34157         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34158         with #ifndef NOT_IN_libc.
34159
34160         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34161         marked to avoid plt entry.
34162
34163 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34164
34165         [BZ #14112]
34166         * Makeconfig (default-abi): New macro.
34167         (abi-includes): Likewise.
34168         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34169         $(abi-$(default-abi)-lib-soname) for soname if defined.
34170         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34171         abi-variants.
34172         * Makefile (installed-stubs): Likewise.
34173         * include/stubs-biarch.h: Removed.
34174         * scripts/lib-names.awk: Only handle one library at a time.
34175         * scripts/soversions.awk: Remove WORDSIZE support.
34176         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34177         entries.
34178         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34179         Removed.
34180         (syscall-list-default-condition): Likewise.
34181         (syscall-list-default-condition): Likewise.
34182         (syscall-list-includes): Likewise.
34183         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34184         syscall-list-* with abi-*.  Handle undefined abi-variants.
34185         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34186         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34187         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34188         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34189         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34190         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34191         Removed.
34192         (syscall-list-32-options): Likewise.
34193         (syscall-list-32-condition): Likewise.
34194         (syscall-list-64-options): Likewise.
34195         (syscall-list-64-condition): Likewise.
34196         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34197         macro.
34198         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34199         Renamed to ...
34200         (abi-*): This.
34201         (abi-64-ld-soname): New macro.
34202         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34203         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34204         Renamed to ...
34205         (abi-*): This.
34206         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34207         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34208
34209 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34210
34211         * sysdeps/unix/sysv/linux/kernel-features.h
34212         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34213         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34214         include <kernel-features.h>.
34215         [!__NR_ftruncate64]: Remove conditional code.
34216         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34217         [__NR_ftruncate64]: Make code unconditional.
34218         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34219         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34220         include <kernel-features.h>.
34221         [!__NR_ftruncate64]: Remove conditional code.
34222         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34223         [__NR_ftruncate64]: Make code unconditional.
34224         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34226         include <kernel-features.h>.
34227         [!__NR_ftruncate64]: Remove conditional code.
34228         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34229         [__NR_ftruncate64]: Make code unconditional.
34230         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34232         include <kernel-features.h>.
34233         [!__NR_ftruncate64]: Remove conditional code.
34234         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34235         [__NR_ftruncate64]: Make code unconditional.
34236         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34237
34238         * configure.in (libc_cv_fpie): Weaken to a compile test using
34239         LIBC_TRY_CC_OPTION.
34240         * configure: Regenerated.
34241
34242 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34243
34244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34248         Refreshed.
34249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34255         Refreshed.
34256
34257 2012-05-27  David S. Miller  <davem@davemloft.net>
34258
34259         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34260         (___Q_zero): New.
34261         (__Q_simulate_exceptions): Return void.  Change to simulate
34262         exceptions by writing into the %fsr.
34263         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34264         (__Qp_handle_exceptions): Likewise.
34265         (numbers): Delete.
34266         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34267         __Qp_handle_exceptions.
34268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34269         __Qp_handle_exceptions.
34270         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34271         as unused and give dummy FP_RND_NEAREST initializer.
34272         (FP_INHIBIT_RESULTS): Define.
34273         (___Q_simulate_exceptions): Update declaration.
34274         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34275         formatting.
34276         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34277         as unused and give dummy FP_RND_NEAREST initializer.
34278         (__Qp_handle_exceptions): Update declaration.
34279         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34280         formatting.
34281
34282 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34283
34284         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34285         the temporary FPU control word.
34286         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34287         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34288         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34289         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34290         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34291         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34292         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34293         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34294         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34295         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34296         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34297
34298 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34299
34300         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34301         fields.
34302
34303 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34304
34305         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34306         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34307         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34308         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34309         Likewise.
34310         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34311         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34312         Likewise.
34313
34314 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34315
34316         * po/h.po: Update from translation team.
34317
34318 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34319
34320         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34321
34322         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34323         handling of denormals.
34324         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34325         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34326         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34327         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34329         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34331         Likewise.
34332
34333 2012-05-26  Marek Polacek  <polacek@redhat.com>
34334
34335         [BZ #14152]
34336         * math/libm-test.inc (fma_test): Don't always expect underflow
34337         exception.
34338
34339 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34340
34341         [BZ #12416]
34342         * elf/tst-execstack.c: Include stackinfo.h.
34343         (do_test): Adjust test case to ensure that pthread_getattr_np
34344         behaviour remains the same after marking stack executable.
34345
34346 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34347
34348         * sysdeps/unix/sysv/linux/kernel-features.h
34349         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34350         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34351         kernel-features.h.
34352         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34353         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34354         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34355         kernel-features.h.
34356         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34357         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34358
34359 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34360
34361         * configure.in: Define the default includes to being none.
34362         * configure: Regenerated.
34363
34364 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34365
34366         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34367         * sysdeps/x86_64/setjmp.S: Likewise.
34368         * sysdeps/i386/bsd-setjmp.S: Likewise.
34369         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34370         * sysdeps/i386/setjmp.S: Likewise.
34371         * sysdeps/i386/__longjmp.S: Likewise.
34372         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34373         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34374
34375         * include/stap-probe.h: New file.
34376         * configure.in: Handle --enable-systemtap.
34377         * configure: Regenerated.
34378         * config.h.in (USE_STAP_PROBE): New #undef.
34379         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34380         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34381         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34382
34383 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34384
34385         [BZ #13717]
34386         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34387         to 2.4.0 where earlier.
34388         * sysdeps/unix/sysv/linux/configure: Regenerated.
34389         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34390         <kernel-features.h>.
34391         [__ASSUME_32BITUIDS]: Make code unconditional.
34392         [!__ASSUME_32BITUIDS]: Remove conditional code.
34393         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34394         <kernel-features.h>.
34395         [__ASSUME_32BITUIDS]: Make code unconditional.
34396         [!__ASSUME_32BITUIDS]: Remove conditional code.
34397         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34398         [__ASSUME_32BITUIDS]: Make code unconditional.
34399         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34400         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34401         <kernel-features.h>.
34402         [__ASSUME_32BITUIDS]: Make code unconditional.
34403         [!__ASSUME_32BITUIDS]: Remove conditional code.
34404         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34405         <kernel-features.h>.
34406         [__ASSUME_32BITUIDS]: Make code unconditional.
34407         [!__ASSUME_32BITUIDS]: Remove conditional code.
34408         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34409         <kernel-features.h>.
34410         [__ASSUME_32BITUIDS]: Make code unconditional.
34411         [!__ASSUME_32BITUIDS]: Remove conditional code.
34412         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34413         <kernel-features.h>.
34414         [__ASSUME_32BITUIDS]: Make code unconditional.
34415         [!__ASSUME_32BITUIDS]: Remove conditional code.
34416         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34417         <kernel-features.h>.
34418         [__ASSUME_32BITUIDS]: Make code unconditional.
34419         [!__ASSUME_32BITUIDS]: Remove conditional code.
34420         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34421         <kernel-features.h>.
34422         [__ASSUME_32BITUIDS]: Make code unconditional.
34423         [!__ASSUME_32BITUIDS]: Remove conditional code.
34424         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34425         <kernel-features.h>.
34426         [__ASSUME_32BITUIDS]: Make code unconditional.
34427         [!__ASSUME_32BITUIDS]: Remove conditional code.
34428         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34429         <kernel-features.h>.
34430         [__ASSUME_32BITUIDS]: Make code unconditional.
34431         [!__ASSUME_32BITUIDS]: Remove conditional code.
34432         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34433         <kernel-features.h>.
34434         [__ASSUME_32BITUIDS]: Make code unconditional.
34435         [!__ASSUME_32BITUIDS]: Remove conditional code.
34436         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34437         <kernel-features.h>.
34438         [__ASSUME_32BITUIDS]: Make code unconditional.
34439         [!__ASSUME_32BITUIDS]: Remove conditional code.
34440         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34441         <kernel-features.h>.
34442         [__NR_setresgid] (__setresgid): Do not declare.
34443         [__ASSUME_32BITUIDS]: Make code unconditional.
34444         [!__ASSUME_32BITUIDS]: Remove conditional code.
34445         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34446         <kernel-features.h>.
34447         [__NR_setresuid] (__setresuid): Do not declare.
34448         [__ASSUME_32BITUIDS]: Make code unconditional.
34449         [!__ASSUME_32BITUIDS]: Remove conditional code.
34450         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34451         <kernel-features.h>.
34452         [__ASSUME_32BITUIDS]: Make code unconditional.
34453         [!__ASSUME_32BITUIDS]: Remove conditional code.
34454         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34455         <kernel-features.h>.
34456         [__ASSUME_32BITUIDS]: Make code unconditional.
34457         [!__ASSUME_32BITUIDS]: Remove conditional code.
34458         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34459         <kernel-features.h>.
34460         [__ASSUME_32BITUIDS]: Make code unconditional.
34461         [!__ASSUME_32BITUIDS]: Remove conditional code.
34462         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34463         <kernel-features.h>.
34464         [__ASSUME_32BITUIDS]: Make code unconditional.
34465         [!__ASSUME_32BITUIDS]: Remove conditional code.
34466         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34467         <kernel-features.h>.
34468         [__ASSUME_32BITUIDS]: Make code unconditional.
34469         [!__ASSUME_32BITUIDS]: Remove conditional code.
34470         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34471         <kernel-features.h>.
34472         [__ASSUME_32BITUIDS]: Make code unconditional.
34473         [!__ASSUME_32BITUIDS]: Remove conditional code.
34474         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34475         <kernel-features.h>.
34476         [__ASSUME_32BITUIDS]: Make code unconditional.
34477         [!__ASSUME_32BITUIDS]: Remove conditional code.
34478         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34479         <kernel-features.h>.
34480         [__ASSUME_32BITUIDS]: Make code unconditional.
34481         [!__ASSUME_32BITUIDS]: Remove conditional code.
34482         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34483         <kernel-features.h>.
34484         [__ASSUME_32BITUIDS]: Make code unconditional.
34485         [!__ASSUME_32BITUIDS]: Remove conditional code.
34486         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34487         <kernel-features.h>.
34488         [__ASSUME_32BITUIDS]: Make code unconditional.
34489         [!__ASSUME_32BITUIDS]: Remove conditional code.
34490         * sysdeps/unix/sysv/linux/kernel-features.h
34491         (__ASSUME_SETRESUID_SYSCALL): Remove.
34492         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34493         (__ASSUME_32BITUIDS): Likewise.
34494         (__ASSUME_LDT_WORKS): Likewise.
34495         (__ASSUME_O_DIRECTORY): Likewise.
34496         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34497         architecture but not kernel version.
34498         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34499         (__ASSUME_MMAP2_SYSCALL): Likewise.
34500         (__ASSUME_STAT64_SYSCALL): Likewise.
34501         (__ASSUME_IPC64): Likewise.
34502         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34503         <kernel-features.h>.
34504         [__ASSUME_32BITUIDS]: Make code unconditional.
34505         [!__ASSUME_32BITUIDS]: Remove conditional code.
34506         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34507         <kernel-features.h>.
34508         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34509         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34510         132096]: Remove conditional code.
34511         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34512         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34513         <kernel-features.h>.
34514         [__ASSUME_32BITUIDS]: Make code unconditional.
34515         [!__ASSUME_32BITUIDS]: Remove conditional code.
34516         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34517         <kernel-features.h>.
34518         [__ASSUME_32BITUIDS]: Make code unconditional.
34519         [!__ASSUME_32BITUIDS]: Remove conditional code.
34520         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34521         <kernel-features.h>.
34522         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34523         unconditional.
34524         (__setresgid): Do not declare.
34525         [__ASSUME_32BITUIDS]: Make code unconditional.
34526         [!__ASSUME_32BITUIDS]: Remove conditional code.
34527         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34528         <kernel-features.h>.
34529         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34530         unconditional.
34531         (__setresuid): Do not declare.
34532         [__ASSUME_32BITUIDS]: Make code unconditional.
34533         [!__ASSUME_32BITUIDS]: Remove conditional code.
34534         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34535         <kernel-features.h>.
34536         [__ASSUME_32BITUIDS]: Make code unconditional.
34537         [!__ASSUME_32BITUIDS]: Remove conditional code.
34538         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34539         <kernel-features.h>.
34540         [__ASSUME_32BITUIDS]: Make code unconditional.
34541         [!__ASSUME_32BITUIDS]: Remove conditional code.
34542
34543 2012-05-25  Richard Henderson  <rth@twiddle.net>
34544
34545         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34546         dl_hwcap to ifunc resolver.
34547         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34548         elf_ifunc_invoke.
34549         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34550         dl_hwcap to ifunc resolver.
34551         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34552
34553 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34554
34555         [BZ #14153]
34556         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34557         for |x| <= 2**-26, not 2**-57.
34558         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34559         exception.
34560
34561 2012-05-24  Jeff Law  <law@redhat.com>
34562
34563         * stdio-common/Makefile (tests): Add bug25.
34564         * stdio-common/bug25.c: New test.
34565
34566 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34567
34568         [BZ #13576]
34569         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34570         multiple of MALLOC_ALIGNMENT in size.
34571         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34572
34573 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34574
34575         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34576         Require >= 256.
34577         (FILENAME_MAX): Use macro-int-constant.
34578         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34579         (_IOFBF): Use macro-int-constant.
34580         (_IOLBF): Likewise.
34581         (_IONBF): Likewise.
34582         (SEEK_CUR): Likewise.
34583         (SEEK_END): Likewise.
34584         (SEEK_SET): Likewise.
34585         (TMP_MAX): Likewise.
34586         (EOF): Use macro-int-constant.  Require < 0.
34587         (NULL): Use macro-constant.  Require == 0.
34588         (stdin): Require type to be FILE *.
34589         (stdout): Likewise.
34590         (stderr): Likewise.
34591         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34592         macro-int-constant.
34593         (EXIT_SUCCESS): Likewise.
34594         (NULL): Use macro-constant.  Require == 0.
34595         (RAND_MAX): Use macro-int-constant.
34596         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34597         [C99-based standards] (strtof): Require function.
34598         [C99-based standards] (strtold): Likewise.
34599         [C99-based standards] (strtoll): Likewise.
34600         [C99-based standards] (strtoull): Likewise.
34601         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34602         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34603         [ISO || ISO99 || ISO11] (math.h): Likewise.
34604         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34605         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34606         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34607
34608 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34609
34610         [BZ #14132]
34611         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34612         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34613         * intl/dgettext.c (DCGETTEXT): Likewise.
34614         * intl/gettext.c (DCGETTEXT): Likewise.
34615         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34616         * posix/regex_internal.h (gettext): Likewise.
34617         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34618         Remove declaration.
34619         * include/argz.h (__argz_count_internal)
34620         (__argz_stringify_internal): Remove declaration.
34621         (__argz_count, __argz_stringify): Declare hidden proto.
34622         * intl/dcgettext.c: Remove use of INTDEF.
34623         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34624         * string/argz-stringify.c: Likewise.
34625         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34626         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34627         Declare hidden proto.
34628         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34629         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34630         Declare hidden proto.
34631         * include/stdio.h (__asprintf_internal): Don't declare.
34632         (__asprintf): Don't define as macro.  Declare hidden proto.
34633         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34634         (__fsetlocking): Declare hidden proto.
34635         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34636         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34637         hidden proto.
34638         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34639         (_IO_setlinebuf): Remove use of INTUSE.
34640         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34641         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34642         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34643         Remove declaration.
34644         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34645         (_IO_do_flush): Remove use of INTUSE.
34646         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34647         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34648         (_IO_adjust_column, _IO_least_wmarker)
34649         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34650         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34651         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34652         (_IO_default_doallocate, _IO_wdefault_doallocate)
34653         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34654         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34655         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34656         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34657         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34658         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34659         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34660         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34661         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34662         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34663         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34664         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34665         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34666         proto.
34667         (_IO_flush_all_internal, _IO_adjust_column_internal)
34668         (_IO_default_uflow_internal, _IO_default_finish_internal)
34669         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34670         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34671         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34672         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34673         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34674         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34675         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34676         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34677         (_IO_file_close_internal, _IO_file_close_it_internal)
34678         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34679         (_IO_file_init_internal, _IO_file_attach_internal)
34680         (_IO_file_fopen_internal, _IO_file_read_internal)
34681         (_IO_file_sync_internal, _IO_file_seek_internal)
34682         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34683         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34684         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34685         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34686         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34687         (_IO_list_all_internal, _IO_link_in_internal)
34688         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34689         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34690         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34691         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34692         (_IO_do_write_internal, _IO_padn_internal)
34693         (_IO_getline_info_internal, _IO_getline_internal)
34694         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34695         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34696         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34697         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34698         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34699         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34700         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34701         with libc_hidden_ver, remove use of INTUSE.
34702         * libio/genops.c: Likewise.
34703         * libio/freopen.c: Likewise.
34704         * libio/freopen64.c: Likewise.
34705         * libio/iofclose.c: Likewise.
34706         * libio/iofdopen.c: Likewise.
34707         * libio/iofflush.c: Likewise.
34708         * libio/iofflush_u.c: Likewise.
34709         * libio/iofgets.c: Likewise.
34710         * libio/iofgets_u.c: Likewise.
34711         * libio/iofopen.c: Likewise.
34712         * libio/iofopncook.c: Likewise.
34713         * libio/iofread.c: Likewise.
34714         * libio/iofread_u.c: Likewise.
34715         * libio/ioftell.c: Likewise.
34716         * libio/iofwrite.c: Likewise.
34717         * libio/iogetline.c: Likewise.
34718         * libio/iogets.c: Likewise.
34719         * libio/iogetwline.c: Likewise.
34720         * libio/iopadn.c: Likewise.
34721         * libio/iopopen.c: Likewise.
34722         * libio/ioseekoff.c: Likewise.
34723         * libio/ioseekpos.c: Likewise.
34724         * libio/iosetbuffer.c: Likewise.
34725         * libio/iosetvbuf.c: Likewise.
34726         * libio/ioungetc.c: Likewise.
34727         * libio/ioungetwc.c: Likewise.
34728         * libio/iovdprintf.c: Likewise.
34729         * libio/iovsprintf.c: Likewise.
34730         * libio/iovsscanf.c: Likewise.
34731         * libio/memstream.c: Likewise.
34732         * libio/obprintf.c: Likewise.
34733         * libio/oldfileops.c: Likewise.
34734         * libio/oldiofclose.c: Likewise.
34735         * libio/oldiofdopen.c: Likewise.
34736         * libio/oldiofopen.c: Likewise.
34737         * libio/oldiopopen.c: Likewise.
34738         * libio/oldstdfiles.c: Likewise.
34739         * libio/putc.c: Likewise.
34740         * libio/setbuf.c: Likewise.
34741         * libio/setlinebuf.c: Likewise.
34742         * libio/stdfiles.c: Likewise.
34743         * libio/strops.c: Likewise.
34744         * libio/vasprintf.c: Likewise.
34745         * libio/vscanf.c: Likewise.
34746         * libio/vsnprintf.c: Likewise.
34747         * libio/vswprintf.c: Likewise.
34748         * libio/wfiledoalloc.c: Likewise.
34749         * libio/wfileops.c: Likewise.
34750         * libio/wgenops.c: Likewise.
34751         * libio/wmemstream.c: Likewise.
34752         * libio/wstrops.c: Likewise.
34753         * libio/__fpurge.c: Likewise.
34754         * libio/__fsetlocking.c: Likewise.
34755         * assert/assert.c: Likewise.
34756         * debug/fgets_chk.c: Likewise.
34757         * debug/fgets_u_chk.c: Likewise.
34758         * debug/fread_chk.c: Likewise.
34759         * debug/fread_u_chk.c: Likewise.
34760         * debug/gets_chk.c: Likewise.
34761         * debug/obprintf_chk.c: Likewise.
34762         * debug/vasprintf_chk.c: Likewise.
34763         * debug/vdprintf_chk.c: Likewise.
34764         * debug/vsnprintf_chk.c: Likewise.
34765         * debug/vsprintf_chk.c: Likewise.
34766         * malloc/mtrace.c: Likewise.
34767         * misc/error.c: Likewise.
34768         * misc/syslog.c: Likewise.
34769         * stdio-common/asprintf.c: Likewise.
34770         * stdio-common/fxprintf.c: Likewise.
34771         * stdio-common/getw.c: Likewise.
34772         * stdio-common/isoc99_fscanf.c: Likewise.
34773         * stdio-common/isoc99_scanf.c: Likewise.
34774         * stdio-common/isoc99_vfscanf.c: Likewise.
34775         * stdio-common/isoc99_vscanf.c: Likewise.
34776         * stdio-common/isoc99_vsscanf.c: Likewise.
34777         * stdio-common/printf-prs.c: Likewise.
34778         * stdio-common/printf_fp.c: Likewise.
34779         * stdio-common/printf_fphex.c: Likewise.
34780         * stdio-common/printf_size.c: Likewise.
34781         * stdio-common/putw.c: Likewise.
34782         * stdio-common/scanf.c: Likewise.
34783         * stdio-common/sprintf.c: Likewise.
34784         * stdio-common/tmpfile.c: Likewise.
34785         * stdio-common/vfprintf.c: Likewise.
34786         * stdio-common/vfscanf.c: Likewise.
34787         * stdlib/strfmon_l.c: Likewise.
34788         * sunrpc/openchild.c: Likewise.
34789         * sunrpc/xdr_stdio.c: Likewise.
34790         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34791         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34792
34793 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34794
34795         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34796
34797         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34798         in the third column, to generate for the shared library an IFUNC
34799         that uses _dl_vdso_vsym.
34800         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34801         * Makeconfig (object-suffixes-noshared): New variable.
34802
34803         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34804         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34805         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34806         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34807
34808         [BZ #14132]
34809         * include/sys/time.h (__gettimeofday): Remove macro.
34810         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34811         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34812         Remove INTDEF.
34813         (__gettimeofday): Add libc_hidden_def.
34814         (gettimeofday): Add libc_hidden_weak.
34815         * sysdeps/mach/gettimeofday.c: Likewise.
34816         * sysdeps/posix/gettimeofday.c: Likewise.
34817         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34818         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34819         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34820         (__gettimeofday_internal): Remove strong_alias.
34821         (__gettimeofday): Add libc_hidden_def.
34822         (gettimeofday): Add libc_hidden_weak.
34823         * sysdeps/unix/syscalls.list (gettimeofday):
34824         Remove __gettimeofday_internal alias.
34825
34826 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34827             H.J. Lu  <hongjiu.lu@intel.com>
34828
34829         [BZ #12495]
34830         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34831         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34832         (largebin_index_32_big): New.
34833         (largebin_index): Use it for 16-byte alignment.
34834         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34835         correction with front_misalign.
34836
34837 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34838
34839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34841         Likewise.
34842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34843         Likewise.
34844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34845         Likewise.
34846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34847         Likewise.
34848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34849         Likewise.
34850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34851         Likewise.
34852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34853         Likewise.
34854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34855         Likewise.
34856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34857         Likewise.
34858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34859         Likewise.
34860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34861         Likewise.
34862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34863         Likewise.
34864
34865         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34866         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34867
34868 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34869
34870         [BZ #10846]
34871         [BZ #14036]
34872         * math/libm-test.inc (exp_test): Add test from bug 14036.
34873         (pow_test): Add test from bug 10846.
34874
34875         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34876         and other flags.
34877         (special_function): Do not include flags in test name.
34878         (parse_args): Likewise.
34879         * sysdeps/i386/fpu/libm-test-ulps: Update.
34880         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34881         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34882         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34884
34885         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34886         exceptions.
34887         * math/libm-test.inc ("Philosophy"): Update comment about
34888         exception testing.
34889         (UNDERFLOW_EXCEPTION): New macro.
34890         (UNDERFLOW_EXCEPTION_OK): Likewise.
34891         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34892         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34893         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34894         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34895         (INVALID_EXCEPTION_OK): Update value.
34896         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34897         (OVERFLOW_EXCEPTION_OK): Likewise.
34898         (IGNORE_ZERO_INF_SIGN): Likewise.
34899         (test_exceptions): Handle underflow exceptions.
34900         (acos_test): Update for underflow exception expectations.
34901         (cexp_test): Likewise.
34902         (clog_test): Likewise.
34903         (clog10_test): Likewise.
34904         (csqrt_test): Likewise.
34905         (ctan_test): Likewise.
34906         (ctanh_test): Likewise.
34907         (exp_test): Likewise.
34908         (exp10_test): Likewise.
34909         (exp2_test): Likewise.
34910         (expm1_test): Likewise.
34911         (fma_test): Likewise.
34912         (j0_test): Likewise.
34913         (jn_test): Likewise.
34914         (nexttoward_test): Likewise.
34915         (pow_test): Likewise.
34916         (scalbn_test): Likewise.
34917         (scalbln_test): Likewise.
34918         (tan_test): Likewise.
34919         (y1_test): Likewise.
34920         * sysdeps/i386/fpu/libm-test-ulps: Update.
34921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34922
34923 2012-05-23  David S. Miller  <davem@davemloft.net>
34924
34925         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34926         (__libc_sigaction): Remove unused local variables.
34927
34928 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34929
34930         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34931
34932 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34933
34934         mktime: avoid signed integer overflow
34935         * time/mktime.c (__mktime_internal): Do not mishandle the case
34936         where diff == INT_MIN.
34937
34938         mktime: simplify computation of average
34939         * time/mktime.c (ranged_convert): Use new time_t_avg function
34940         instead of rolling our own (probably-slower) code.
34941
34942         mktime: do not assume signed right shift propagates sign bit
34943         * time/mktime.c (isdst_differ): New static function.
34944         (__mktime_internal): No need to normalize tm_isdst now.
34945         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34946         tm_isdst values.
34947
34948         mktime: merge another wrapv change from gnulib
34949         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34950         from some compilers.
34951
34952         mktime: remove incorrect attempt at unusual arithmetics
34953         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34954         The code didn't really work on such machines anyway.
34955         (TYPE_MINIMUM): Assume two's complement.
34956         (twos_complement_arithmetic): Verify that long_int and time_t
34957         are two's complement (or unsigned, in the latter case).
34958
34959         mktime: check signed shifts on long_int and time_t, too
34960         * time/mktime.c (SHR): Check that shifts work as desired
34961         on the types long_int and time_t too, as SHR is used on
34962         such types.
34963
34964         mktime: do not assume 'long' is wide enough
34965         * time/mktime.c (verify): Move decl up.
34966         (long_int): New type.
34967         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34968         to remove assumption in the code that 'long' is wide enough to
34969         store year values.  This assumption is not true on x32 and on
34970         some non-glibc platforms.
34971
34972         mktime: merge wrapv change from gnulib
34973         * time/mktime.c (WRAPV): New macro.
34974         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34975         (guess_time_tm, __mktime_internal): Do not assume that signed
34976         integer overflow wraps around; modern compilers generate code
34977         where this assumption is no longer valid.
34978
34979 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34980
34981         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34982         Replace "jmp L(pseudo_end)" with "ret".
34983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34984         Likewise.
34985
34986 2012-05-23  Andreas Jaeger  <aj@suse.de>
34987
34988         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34989         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34990
34991 2012-05-23  Andreas Jaeger  <aj@suse.de>
34992             Maximilian Attems  <max@stro.at>
34993
34994         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34995         New macros.
34996
34997 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34998
34999         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35000         code so that pseudo_end is just ret and the stack pointer is
35001         correct also for static library in error case.
35002
35003 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35004
35005         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35006         move to syscalls.list.
35007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35011
35012         * manual/install.texi (Running make install): Do not mention Linux
35013         kernel version for which pt_chown is not needed.
35014         (Linux): Do not mention problems with nscd with 2.0 kernels.
35015         * INSTALL: Regenerated.
35016
35017 2012-05-23  Andreas Jaeger  <aj@suse.de>
35018
35019         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35020         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35021         macro.
35022         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35023         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35024         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35025         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35026         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35027         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35028         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35029         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35030         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35031         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35032         * sysdeps/unix/sysv/linux/bits/in.h
35033         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35034
35035 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35036
35037         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35038         (PREPARE_VERSION): Just use assert instead, it will be elided
35039         under [NDEBUG] anyway.
35040
35041 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35042
35043         * sysdeps/unix/sysv/linux/Makefile: Include
35044         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35045         (sysdep_routines): Remove sysctl.
35046         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35047         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35048         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35049         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35050         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35051
35052 2012-05-22  Andreas Jaeger  <aj@suse.de>
35053
35054         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35055         that pseudo_end is just ret and the stack pointer is correct also
35056         for static library in error case.
35057
35058 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35059
35060         [BZ #14122]
35061         * nss/nsswitch.c (defconfig_entries): New variable.
35062         (__nss_database_lookup): Don't leak defconfig entries.
35063         (nss_parse_service_list): Don't leak on error paths.
35064         (free_database_entries): New function.
35065         (free_defconfig): New function.
35066         (free_mem): Move common code to free_database_entries.
35067
35068 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35069
35070         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35071         Add arch_prctl.
35072         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35073
35074         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35075         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35077         New macro.
35078         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35079         (INTERNAL_SYSCALL_TYPES): Likewise.
35080         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35081         (LOAD_REGS_TYPES_[1-6]): Likewise.
35082         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35083         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35084
35085 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35086
35087         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35088         copysignl for GLIBC_2_0.
35089         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35090         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35091         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35092         logbl for GLIBC_2_0.
35093         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35094         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35095
35096 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35097
35098         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35099         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35100
35101         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35102         Use "neg %eax".
35103
35104         * time/mktime.c: Update copyright years.
35105
35106 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35107
35108         mktime: merge comment-quoting-style change from gnulib
35109         * time/mktime.c: Quote 'like this' in comments.
35110         The GNU coding standards suggest that we no longer quote `like this',
35111         as "`" and "'" are typically rendered asymmetrically nowadays.
35112         The typical gnulib style is to quote 'like this' when quoting
35113         code, and "like this" when quoting English.
35114
35115         * time/mktime.c (compile-command): Add "-I.".
35116
35117         mktime: merge mktime-internal.h change from gnulib
35118         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35119
35120         mktime: merge time_r change from gnulib
35121         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35122
35123         mktime: merge DEBUG change from gnulib
35124         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35125         case system <time.h> has a #define.
35126
35127         mktime: merge <sys/types.h> change from gnulib
35128         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35129         since <time.t> is now guaranteed to define time_t.
35130
35131         mktime: merge HAVE_CONFIG_H change from gnulib
35132         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35133
35134 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35135
35136         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35137         Use "neg %eax".
35138
35139         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35140         __rlim_t cast.
35141         (struct rusage): Use anonymous union to pad each field to
35142         __syscall_slong_t.
35143
35144 2012-05-21  David S. Miller  <davem@davemloft.net>
35145
35146         * Makefules (o-iterator): Remove .s cases.
35147         (compile-command.s): Delete.
35148         (COMPILE.s): Delete.
35149         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35150
35151 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35152
35153         * configure.in (libc_cv_predef_stack_protector): Only consider
35154         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35155         * configure: Regenerated.
35156
35157 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35158
35159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35160         New macro.  Use R*LP on int and pointer.
35161         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35162         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35163         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35164         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35165
35166         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35167         [__WORDSIZE_TIME64_COMPAT32] instead of
35168         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35169         (struct utmp): Likewise.
35170         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35171         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35172         Renamed to ...
35173         (__WORDSIZE_TIME64_COMPAT32): This.
35174         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35175         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35176         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35177         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35178         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35179         (__WORDSIZE_TIME64_COMPAT32): New macro.
35180
35181 2012-05-21  Andreas Jaeger  <aj@suse.de>
35182
35183         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35184         only if [SHARED]. Add prototype for __wcschr_ia32.
35185
35186 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35187
35188         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35189         of %rbp unmolested in the jmp_buf while mangling the low bits.
35190         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35191         unmolested high bits of %rbp while demangling the low bits.
35192         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35193
35194 2012-05-21  Andreas Jaeger  <aj@suse.de>
35195
35196         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35197         * sunrpc/svc_simple.c: Use it for registerrpc.
35198         * sunrpc/xcrypt.c: Use it for passwd2des.
35199
35200         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35201
35202 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35203
35204         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35205         Don't define if [__SYSCALL_WORDSIZE != 32].
35206         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35207         New macro.
35208
35209 2012-05-21  Bruno Haible  <bruno@clisp.org>
35210             Andreas Jaeger  <aj@suse.de>
35211
35212         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35213         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35214         inptr and inend for must_buffer_ch.
35215         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35216         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35217         * stdio-common/Makefile (tests): Remove bug15.
35218         (bug15-ENV): Remove macro.
35219         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35220         anymore.
35221
35222 2012-05-19  Andreas Jaeger  <aj@suse.de>
35223             Roland McGrath  <roland@hack.frob.com>
35224
35225         * manual/contrib.texi: Completely rewritten. It contains now an
35226         alphabetical list of contributors and their contributions.
35227
35228 2012-05-21  Richard Henderson  <rth@twiddle.net>
35229
35230         * misc/getauxval.c (__getauxval): Use unsigned long int.
35231         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35232         (getauxval): Use unsigned long int.
35233
35234 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35235
35236         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35237
35238 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35239
35240         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35241         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35242         __alignof__ (long double).
35243
35244 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35245
35246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35247
35248 2012-05-20  Richard Henderson  <rth@twiddle.net>
35249
35250         * misc/getauxval.c: New file.
35251         * misc/sys/auxv.h: New file.
35252         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35253         (routines): Add getauxval.
35254         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35255         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35256         * elf/dl-sysdep.c (_dl_auxv): Remove.
35257         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35258         * elf/dl-support.c (_dl_auxv): New variable.
35259         (_dl_aux_init): Initialize it.
35260         * manual/startup.texi (Auxiliary Vector): New node.
35261         * sysdeps/generic/bits/hwcap.h: New file.
35262         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35263         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35264         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35265         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35266         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35267         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35269         Update.
35270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35273         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35278
35279 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35280
35281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35282
35283 2012-05-19  David S. Miller  <davem@davemloft.net>
35284
35285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35286
35287 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35288
35289         [BZ #14123]
35290         * math/s_ccosh.c: Include <float.h>
35291         (__ccosh): Avoid internal overflow calculating sinh and cosh
35292         values before multiplying by sin and cos values.
35293         * math/s_ccoshf.c: Likewise.
35294         * math/s_ccoshl.c: Likewise.
35295         * math/s_csin.c: Likewise.
35296         * math/s_csinf.c: Likewise.
35297         * math/s_csinl.c: Likewise.
35298         * math/s_csinh.c: Likewise.
35299         * math/s_csinhf.c: Likewise.
35300         * math/s_csinhl.c: Likewise.
35301         * math/libm-test.inc (ccos_test): Add more tests.
35302         (ccosh_test): Likewise.
35303         (csin_test): Likewise.
35304         (csinh_test): Likewise.
35305         * sysdeps/i386/fpu/libm-test-ulps: Update.
35306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35307
35308 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35309
35310         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35311         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35312
35313         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35314
35315 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35316
35317         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35318         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35319         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35320         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35321         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35322         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35323         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35324         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35325         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35326         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35327         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35328         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35329         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35330         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35331         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35332         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35333         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35334         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35335         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35336         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35337         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35338         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35339         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35340         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35341         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35342         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35343         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35344         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35345         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35346         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35347         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35348
35349 2012-05-18  Andreas Jaeger  <aj@suse.de>
35350
35351         * csu/.gitignore: Delete.
35352
35353 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35354
35355         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35356         (timex): Use __syscall_slong_t.
35357
35358 2012-05-18  Andreas Jaeger  <aj@suse.de>
35359             Carlos O'Donell  <carlos_odonell@mentor.com>
35360
35361         * manual/install.texi (Configuring and compiling): Update
35362         description about files modified in the source directory.
35363         * INSTALL: Regenerated.
35364
35365 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35366
35367         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35368         value.  Use "or" to set return value to -1.
35369         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35370         negate return value.
35371
35372 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35373
35374         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35375         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35376         failure if the compiler has Graphite support disabled.
35377         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35378         Likewise.
35379         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35380         (CFLAGS-memmove.c): Likewise.
35381         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35382         Likewise.
35383
35384 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35385
35386         * sysdeps/x86_64/x32/_itoa.h: New file.
35387
35388         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35389         getdents system call only if kernel and user dirents have the
35390         same d_ino and d_off.
35391
35392         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35393         LLONG_MAX != LONG_MAX.
35394         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35395         (_fitoa_word): Likewise.
35396
35397         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35398         years.
35399         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35400         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35401         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35402
35403         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35404         include <bits/wordsize.h>.  Check __x86_64__ instead of
35405         __WORDSIZE.
35406         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35407         if __x86_64__ is defined.  Use anonymous union on fpstate.
35408
35409         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35410         anonymous union.
35411
35412 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35413
35414         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35415         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35416         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35417         Refer to _rtld_local_ro instead of _rtld_global_ro.
35418         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35419         Likewise.
35420         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35421         Likewise.
35422         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35423         Likewise.
35424         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35425         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35426         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35427
35428         * sysdeps/powerpc/powerpc32/dl-machine.c
35429         (__elf_machine_runtime_setup) [PROF]: Don't reference
35430         _dl_prof_resolve.
35431
35432 2012-05-18  Andreas Jaeger  <aj@suse.de>
35433
35434         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35435         function only available for GCCs before 3.4 since GCC 3.4
35436         introduced a builtin.
35437         (lrint): Likewise.
35438         (llrintf): Likewise.
35439         (llrint): Likewise.
35440         (fmaxf): Likewise.
35441         (fmax): Likewise.
35442         (fminf): Likewise.
35443         (fmin): Likewise.
35444         (rint): Likewise.
35445         (rintf): Likewise.
35446         (nearbyint): Likewise.
35447         (nearbyintf): Likewise.
35448         (ceil): Likewise.
35449         (ceilf): Likewise.
35450         (floor): Likewise.
35451         (floorf): Likewise.
35452
35453 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35454
35455         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35456         on both fields and cast pointer to __syscall_ulong_t.
35457
35458         * bits/types.h (__fsword_t): New type.
35459         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35460         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35461         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35462         (__FSWORD_T_TYPE): Likewise.
35463         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35464         (__FSWORD_T_TYPE): Likewise.
35465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35466         (__FSWORD_T_TYPE): Likewise.
35467         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35468         (__FSWORD_T_TYPE): Likewise.
35469         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35470         __SWORD_TYPE with __fsword_t.
35471         (statfs64): Likewise.
35472
35473 2012-05-17  David S. Miller  <davem@davemloft.net>
35474
35475         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35476
35477 2012-05-17  Andreas Jaeger  <aj@suse.de>
35478
35479         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35480         warning.
35481
35482 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35483
35484         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35485
35486 2012-05-17  Andreas Jaeger  <aj@suse.de>
35487
35488         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35489         when it is used.
35490
35491 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35492
35493         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35494
35495 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35496
35497         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35498         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35499
35500 2012-05-17  Andreas Jaeger  <aj@suse.de>
35501             Carlos O'Donell  <carlos_odonell@mentor.com>
35502
35503         [BZ #14059]
35504         * sysdeps/x86_64/multiarch/init-arch.h
35505         (bit_YMM_Usable): Rename to...
35506         (bit_AVX_Usable): ... this.
35507         (bit_FMA4_Usable): New macro.
35508         (bit_XMM_state): New macro.
35509         (bit_YMM_state): New macro.
35510         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35511         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35512         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35513         (CPUID_OSXSAVE): New macro.
35514         (CPUID_AVX): New macro.
35515         (CPUID_FMA4): New macro.
35516         (index_YMM_Usable): Rename to...
35517         (index_AVX_Usable): ... this.
35518         (HAS_AVX): Use HAS_ARCH_FEATURE.
35519         (HAS_FMA4): Likewise.
35520         (HAS_YMM_USABLE): Remove.
35521         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35522         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35523         are present.
35524         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35525         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35526         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35527         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35528         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35529
35530 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35531
35532         * math/libm-test.c: Support platforms without multiple rounding modes.
35533         * math/bug-nextafter.c: Support platforms without FP exceptions.
35534         * math/bug-nexttoward.c: Likewise.
35535         * math/test-fenv.c: Likewise.
35536         * math/test-misc.c: Likewise.
35537         * stdlib/bug-getcontext.c: Likewise.
35538
35539 2012-05-17  Andreas Jaeger  <aj@suse.de>
35540
35541         * manual/examples/search.c (critter_cmp): Change signature to
35542         avoid warnings.
35543         * manual/string.texi (Collation Functions): Likewise.
35544
35545 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35546
35547         * bits/types.h: Fold copyright years.
35548         * bits/typesizes.h: Likewise.
35549         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35550         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35551         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35552         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35553         * time/time.h: Likewise.
35554
35555 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35556
35557         [BZ #208]
35558         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35559         in instead of returning them.  Return void.
35560         (__libc_mallinfo): Accumulate over all arenas.
35561         (__malloc_stats): Adjust for change in int_mallinfo interface.
35562
35563 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35564
35565         [BZ #10375]
35566         * configure.in (NM): Add AC_CHECK_TOOL for it.
35567         (libc_extra_cflags): New substituted variable.
35568         Check for -fstack-protector being used implicitly.
35569         * configure: Regenerated.
35570         * config.make.in (config-extra-cflags): New variable,
35571         gets @libc_extra_cflags@.
35572         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35573
35574         [BZ #10375]
35575         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35576         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35577         * configure: Regenerated.
35578         * config.make.in (CPPUNDEFS): New substituted variable.
35579         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35580         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35581         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35582
35583 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35584
35585         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35586         (mq_attr): Use __syscall_slong_t.
35587
35588 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35589
35590         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35591         Check __x86_64__ instead of __WORDSIZE.
35592         (_STAT_VER_LINUX): Likewise.
35593         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35594         __syscall_ulong_t and __syscall_slong_t.
35595         (stat64): Likewise.
35596
35597 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35598
35599         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35600
35601 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35602
35603         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35604
35605 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35606
35607         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35608         __syscall_ulong_t.
35609
35610         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35611         include <bits/wordsize.h>.  Check __x86_64__ instead of
35612         __WORDSIZE.
35613         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35614         defined.
35615         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35616
35617         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35618         include <bits/wordsize.h>.  Check __x86_64__ instead of
35619         __WORDSIZE.
35620         (user_regs_struct): Use "__extension__ unsigned long long"
35621         instead of "unsigned long" if __x86_64__ is defined.
35622         (user): Likewise.  Pad after pointer field if __ILP32__ is
35623         defined.
35624
35625 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35626
35627         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35628         versions 5 to 9.
35629         * configure: Regenerated.
35630         * manual/install.texi (texinfo): Increase version requirement to
35631         4.5 or later.
35632         * INSTALL: Regenerated.
35633
35634         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35635
35636 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35637
35638         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35639
35640         * sysdeps/x86_64/x32/ffs.c: New file.
35641
35642         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35643         __syscall_ulong_t.
35644         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35645         defined.  Use __syscall_ulong_t.
35646         (shminfo): Use __syscall_ulong_t.
35647         (shm_info): Likewise.
35648
35649         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35650         __syscall_ulong_t.
35651
35652         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35653         <bits/wordsize.h>.
35654         (msgqnum_t): Use __syscall_ulong_t.
35655         (msglen_t): Likewise.
35656         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35657         __syscall_ulong_t.
35658
35659         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35660         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35661
35662         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35663
35664         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35665         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35666
35667         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35668         __syscall_slong_t.
35669
35670         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35671         include <bits/wordsize.h>.  Check __x86_64__ instead of
35672         __WORDSIZE.
35673
35674         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35675         "unsigned long long int" if __x86_64__ is defined.
35676         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35677
35678         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35679         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35680         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35681
35682         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35683         <stdint.h>.
35684         (GET_PC): Cast to uintptr_t first.
35685         (GET_FRAME): Likewise.
35686         (GET_STACK): Likewise.
35687
35688         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35689         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35690         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35691         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35692         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35693         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35694         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35695         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35696         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35697         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35698         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35699         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35700         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35701         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35702         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35703         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35704         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35705         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35706         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35707         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35708         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35709         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35710         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35711         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35712         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35713         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35714         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35715         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35716         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35717
35718 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35719
35720         * Makerules (+depfiles): Also collect depfiles from .oS in
35721         $(extra-objs).
35722         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35723         .oS, $(libnldbl-routines)).
35724
35725         * Makerules (native-compile-mkdep-flags): Define.
35726         * sunrpc/Makefile (extra-objs): Add $(addprefix
35727         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35728         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35729         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35730         calling $(make-target-directory).
35731
35732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35733
35734         * bits/types.h (__snseconds_t): Removed.
35735         * time/time.h (struct timespec): Replace __snseconds_t with
35736         __syscall_slong_t.
35737         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35738         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35739         Likewise.
35740         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35741         (__SNSECONDS_T_TYPE): Likewise.
35742         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35743         (__SNSECONDS_T_TYPE): Likewise.
35744         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35745         (__SNSECONDS_T_TYPE): Likewise.
35746
35747 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35748
35749         * sysdeps/mach/hurd/bits/typesizes.h
35750         (__SYSCALL_SLONG_TYPE): New macro.
35751         (__SYSCALL_ULONG_TYPE): Likewise.
35752
35753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35754
35755         * bits/types.h (__syscall_slong_t): New type.
35756         (__syscall_ulong_t): Likewise.
35757
35758         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35759         (__SYSCALL_ULONG_TYPE): Likewise.
35760         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35761         (__SYSCALL_SLONG_TYPE): Likewise.
35762         (__SYSCALL_ULONG_TYPE): Likewise.
35763         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35764         (__SYSCALL_SLONG_TYPE): Likewise.
35765         (__SYSCALL_ULONG_TYPE): Likewise.
35766         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35767         (__SYSCALL_SLONG_TYPE): Likewise.
35768         (__SYSCALL_ULONG_TYPE): Likewise.
35769
35770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35771
35772         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35773         Add sigaltstack-offsets.sym.
35774         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35775         <sigaltstack-offsets.h>.
35776         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35777         longjmp_msg pointer.
35778         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35779         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35780         signal stack.
35781         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35782
35783 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35784
35785         * elf/stackguard-macros.h: Remove file.
35786         * sysdeps/generic/stackguard-macros.h: New file.
35787         * sysdeps/i386/stackguard-macros.h: Likewise.
35788         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35789         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35790         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35791         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35792         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35793         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35794         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35795         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35796         <elf/stackguard-macros.h>.
35797
35798         [BZ #14109]
35799         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35800         __aligned__ in attribute.
35801         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35802         (gregset_t): Likewise.
35803
35804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35805
35806         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35807         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35808         * sysdeps/x86_64/x32/Implies-after: New file.
35809
35810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35811
35812         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35813         and access return value for _dl_profile_fixup.  Use R10_LP to
35814         load frame size.
35815
35816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35817
35818         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35819
35820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35821
35822         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35823         * sysdeps/x86_64/x32/sysdep.h: New file.
35824
35825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35826
35827         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35828         * sysdeps/x86_64/setjmp.S: Likewise.
35829
35830 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35831
35832         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35833         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35834         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35835         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35836         remove unused global constant.
35837
35838 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35839
35840         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35841         include of <not-cancel.h>.
35842
35843 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35844
35845         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35846
35847 2012-05-15  Jeff Law  <law@redhat.com>
35848             Andreas Jaeger  <aj@suse.de>
35849
35850         [BZ #13594]
35851         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35852         out from...
35853         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35854         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35855         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35856         code changing __hst_map_handle.map.
35857
35858 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35859
35860         * configure.in (sysnames): Look for Implies-before and Implies-after
35861         files.
35862         * configure: Regenerated.
35863
35864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35865
35866         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35867         8-byte data alignment with LP_SIZE alignment.
35868
35869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35870
35871         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35872         into R10_LP.
35873
35874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35875
35876         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35877
35878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35879
35880         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35881         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35882         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35883         Likewise.
35884         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35885
35886 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35887
35888         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35889         (stackinfo_sub_sp): Likewise.
35890
35891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35892
35893         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35894         RAX_LP.
35895
35896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35897
35898         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35899         into R*_LP.
35900
35901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35902
35903         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35904         sizes into R*_LP.
35905
35906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35907
35908         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35909
35910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35911
35912         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35913         into R11_LP and load __x86_64_shared_cache_size_half into
35914         R8_LP.
35915
35916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35917
35918         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35919         R8_LP.
35920
35921 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35922
35923         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35924         logb for POWER7.
35925         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35926         logbf for POWER7.
35927         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35928         logbl for POWER7.
35929         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35930         powerpc32/power7/fpu/s_logb.c via #include.
35931         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35932         powerpc32/power7/fpu/s_logbf.c via #include.
35933         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35934         powerpc32/power7/fpu/s_logbl.c via #include.
35935
35936 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35937
35938         * README.libm: Remove file.
35939
35940 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35941
35942         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35943         count for x32.  Use R*_LP and omit operand-size suffix.
35944
35945 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35946
35947         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35948         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35949         * sysdeps/x86_64/x32/shlib-versions: New file.
35950
35951 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35952
35953         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35954         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35955         Use _dl_fatal_printf instead.
35956
35957 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35958
35959         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35960         set if not set by the user.  Do not allow for being unset.
35961         * sysdeps/unix/sysv/linux/configure: Regenerated.
35962
35963 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35964
35965         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35966         the `q' suffix from lea and replace .quad with ASM_ADDR.
35967
35968 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35969
35970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35971         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35972         instead of $17.
35973         (PTR_DEMANGLE): Likewise.
35974
35975 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35976
35977         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35978         (LP_OP): Likewise.
35979         (ASM_ADDR): Likewise.
35980         (RAX_LP): Likewise.
35981         (RBP_LP): Likewise.
35982         (RBX_LP): Likewise.
35983         (RCX_LP): Likewise.
35984         (RDI_LP): Likewise.
35985         (RSI_LP): Likewise.
35986         (RSP_LP): Likewise.
35987         (R8_LP): Likewise.
35988         (R9_LP): Likewise.
35989         (R10_LP): Likewise.
35990         (R10_LP): Likewise.
35991         (R11_LP): Likewise.
35992         (R12_LP): Likewise.
35993         (R13_LP): Likewise.
35994         (R14_LP): Likewise.
35995         (R15_LP): Likewise.
35996
35997 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35998
35999         * sysdeps/x86_64/x32/dl-machine.h: New file.
36000
36001 2012-05-14  Andreas Jaeger  <aj@suse.de>
36002
36003         * manual/Makefile (subdir): Remove export of subdir.
36004         (all): Remove target.
36005         (.PHONY): Remove all from list.
36006         (mkinstalldirs): Remove.
36007         (.PHONY): Remove installdirs from list.
36008         ($(inst_infodir)/libc.info): Use make-target-directory.
36009         (installdirs): Remove.
36010         (subdir_%): Remove.
36011         (glibc-targets): Remove.
36012         (lib): Remove.
36013         (stubs): Remove.
36014         ($(objpfx)stubs ../po/manual.pot): Remove.
36015         ($(objpfx)stamp%): Remove.
36016         (make-target-directory): Remove.
36017         (subdir_install): Remove.
36018         (routines): Remove.
36019         (aux): Remove.
36020         (sources): Remove.
36021         (objects): Remove.
36022         (headers): Remove.
36023
36024         [BZ #13750]
36025         * manual/.gitignore: Remove, it's not needed anymore.
36026         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36027         all files in it.
36028         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36029         directory.
36030         (texis): Renamed to $(objpfx)texis.
36031         (texis-path): New, contains path to generated files.
36032         (chapters.%): Use texis-path for complete path, add extra argument
36033         libc-texinfo.sh.
36034         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36035         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36036         (summary,texi, stamp-summary): Use complete path of
36037         files. Generate files in build dir.
36038         (dir-add.texi): Build in build dir.
36039         (libm-err.texi,stamp-libm-err): Likewise.
36040         (version.texi, stamp-version): Likewise.
36041         (.%c.texi): Likewise.
36042         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36043         (mostlyclean): Remove target.
36044         (realclean): Remove target.
36045         (generated): Add new variable with contents from mostlyclean and
36046         realclean, remove entries duplicated in common-mostlyclean, add
36047         stamp-libm-err and stamp-version.
36048         (generated-dirs): Add libc directory.
36049         ($(inst_infodir)/libc.info): Install files from build dir.
36050
36051         * manual/install.texi (Configuring and compiling): Adjust since
36052         the info files are not part of the tar ball anymore.
36053
36054 2012-05-14  Andreas Jaeger  <aj@suse.de>
36055
36056         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36057         variable.
36058
36059 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36060
36061         [BZ #13717]
36062         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36063         to 2.2.0 where earlier.
36064         * sysdeps/unix/sysv/linux/configure: Regenerated.
36065         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36066         Remove conditional code.
36067         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36068         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36069         Remove conditional code.
36070         [!__NR_lchown]: Likewise.
36071         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36072         [__NR_lchown]: Likewise.
36073         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36074         comment referencing __ASSUME_LCHOWN_SYSCALL.
36075         * sysdeps/unix/sysv/linux/i386/sigaction.c
36076         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36077         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36078         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36079         Remove conditional code.
36080         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36081         (__protocol_available): Remove #if 0 code.
36082         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36083         conditional code.
36084         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36085         * sysdeps/unix/sysv/linux/kernel-features.h
36086         (__ASSUME_GETCWD_SYSCALL): Don't define.
36087         (__ASSUME_REALTIME_SIGNALS): Likewise.
36088         (__ASSUME_PREAD_SYSCALL): Likewise.
36089         (__ASSUME_PWRITE_SYSCALL): Likewise.
36090         (__ASSUME_POLL_SYSCALL): Likewise.
36091         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36092         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36093         non-SPARC.
36094         (__ASSUME_SIOCGIFNAME): Don't define.
36095         (__ASSUME_MSG_NOSIGNAL): Likewise.
36096         (__ASSUME_SENDFILE): Define unconditionally.
36097         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36098         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36099         conditional code.
36100         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36101         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36102         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36103         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36104         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36105         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36106         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36108         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36109         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36111         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36114         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36115         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36117         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36120         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36121         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36123         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36124         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36126         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36127         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36129         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36130         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36131         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36132         Remove conditional code.
36133         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36134         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36135         Remove conditional code.
36136         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36137         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36138         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36139         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36140         Remove conditional code.
36141         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36142         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36143         Remove conditional code.
36144         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36145         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36146         Remove conditional code.
36147         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36148         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36149         Remove conditional code.
36150         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36151         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36152         Remove conditional code.
36153         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36154         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36155         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36156         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36157         * sysdeps/unix/sysv/linux/sigaction.c
36158         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36159         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36160         * sysdeps/unix/sysv/linux/sigpending.c
36161         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36162         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36163         * sysdeps/unix/sysv/linux/sigprocmask.c
36164         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36165         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36166         * sysdeps/unix/sysv/linux/sigsuspend.c
36167         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36168         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36169         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36170         (__libc_missing_rt_sigs): Remove.
36171         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36172         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36173         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36174         Remove conditional code.
36175         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36176         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36177         return 1.
36178         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36179         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36180         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36181         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36182
36183 2012-05-14  Andreas Jaeger  <aj@suse.de>
36184
36185         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36186         it's not used in glibc.
36187         (__coshm1): Likewise.
36188         (__acosh1p): Likewise.
36189         (__sgn): Likewise.
36190
36191         * manual/string.texi (Copying and Concatenation): Add missing
36192         variable in concat example.
36193         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36194
36195 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36196
36197         [BZ #14103]
36198         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36199         __builtin_clzl with __builtin_clzll.
36200
36201 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36202
36203         [BZ #14104]
36204         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36205         libc_freeres_ptr.
36206
36207 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36208
36209         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36210         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36211         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36212         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36213
36214 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36215
36216         * NEWS: Update ia64 info.
36217
36218 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36219
36220         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36221         used as bcopy.
36222
36223 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36224
36225         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36226         * sysdeps/unix/syscalls.list (dup3): Likewise.
36227         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36228         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36229
36230 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36231
36232         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36233         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36234
36235 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36236
36237         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36238         thread pointer.
36239         (TLS_IE): Use mov/add instead of movq/addq to load thread
36240         pointer.
36241         (TLS_GD_PREFIX): New.
36242         (TLS_GD): Use it.
36243
36244 2012-05-11  David S. Miller  <davem@davemloft.net>
36245
36246         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36247         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36248         (_FPU_SETCW): Likewise.
36249
36250 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36251
36252         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36253         is 32-byte aligned.
36254
36255 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36256
36257         [BZ #11837]
36258         * iconvdata/gb18030.c: Update tables.
36259         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36260         characters specially.
36261         (BODY for TO_LOOP): Add encoding of missing ranges.
36262
36263 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36264
36265         [BZ #13673]
36266         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36267         * sysdeps/mach/hurd/dup3.c: Likewise.
36268         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36269         * sysdeps/powerpc/memmove.c:: Likewise.
36270
36271 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36272
36273         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36274         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36275
36276 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36277
36278         * elf/elf.h (R_X86_64_RELATIVE64): New.
36279         (R_X86_64_NUM): Updated.
36280         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36281         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36282         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36283         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36284         tst-quad1pie tst-quad2pie
36285         (modules-names): Add tst-quadmod1 tst-quadmod2.
36286         ($(objpfx)tst-quad1): New dependency.
36287         ($(objpfx)tst-quad2): Likewise.
36288         ($(objpfx)tst-quad1pie): Likewise.
36289         ($(objpfx)tst-quad2pie): Likewise.
36290         * sysdeps/x86_64/tst-quad1.c: New file.
36291         * sysdeps/x86_64/tst-quad1pie.c: New file.
36292         * sysdeps/x86_64/tst-quad2.c: Likewise.
36293         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36294         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36295         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36296         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36297         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36298
36299 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36300
36301         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36302         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36303         * streams/stropts.h (t_scalar_t): Define type.
36304
36305         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36306         (_PATH_PRESERVE): Set to "/var/lib".
36307         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36308
36309         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36310         instead of int.
36311
36312         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36313         if __dir_mkfile succeeded.
36314
36315         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36316         checking for _hurd_dtablesize.  Unlock it right after having
36317         finished _hurd_dtable allocation.
36318
36319 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36320
36321         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36322         * sysdeps/mach/hurd/configure: Regenerated.
36323         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36324         special-casing to...
36325         * sysdeps/gnu/configure.in: ... this new file.
36326         * sysdeps/unix/sysv/linux/configure: Regenerated.
36327         * sysdeps/gnu/configure: New generated file.
36328
36329         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36330         for Linux: use nsec instead of usec, as well as:
36331         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36332         members of type struct timespec.
36333         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36334         New macros.
36335         (struct stat64): Likewise.
36336         (_STATBUF_ST_NSEC): New macro.
36337         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36338
36339         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36340         __strtoul_internal rather than strtoul.
36341
36342 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36343
36344         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36345         and reject them.
36346
36347 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36348
36349         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36350         which preserves existing values.
36351         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36352
36353 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36354
36355         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36356         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36357         greater than FD_SETSIZE.
36358
36359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36360
36361         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36362         allocated, call __vm_protect to finish enabling the existing space, and
36363         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36364         allocate the remainder.
36365
36366 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36367
36368         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36369         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36370
36371 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36372
36373         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36374         sysdeps/mach/hurd/readlink.c.
36375
36376         * posix/tst-sysconf.c (posix_options): Only use
36377         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36378         _POSIX_SYNCHRONIZED_IO when they are defined
36379         * sysdeps/mach/hurd/bits/posix_opt.h:
36380         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36381         (_XOPEN_REALTIME): Undefine macro.
36382         (_XOPEN_REALTIME_THREADS): Undefine macro.
36383         (_XOPEN_SHM): Undefine macro.
36384         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36385         macro to -1.
36386         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36387         macro to -1.
36388         (_POSIX_ASYNC_IO): Undefine macro.
36389         (_POSIX_PRIORITIZED_IO): Undefine macro.
36390         (_POSIX_SPIN_LOCKS): Define macro to -1.
36391
36392         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36393         SA_NODEFER, SA_RESETHAND.
36394         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36395         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36396         F_DUPFD_CLOEXEC.
36397
36398 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36399
36400         * elf/Makefile (pldd-modules): Define unconditionally.
36401
36402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36403
36404         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36405
36406 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36407
36408         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36409         Return ENOENT when name is empty.
36410         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36411
36412 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36413
36414         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36415
36416         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36417
36418 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36419
36420         Fix mlock in all cases except non-readable pages.
36421         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36422         instead of VM_PROT_ALL as parameter to __vm_wire function.
36423
36424         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36425         (__mkdir): When path is `/', just fail with EEXIST.
36426         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36427
36428 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36429
36430         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36431         <sys/uio.h> (for writev).
36432         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36433         and <sys/param.h> (for MIN).
36434
36435 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36436
36437         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36438         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36439         if interrupted.
36440
36441 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36442
36443         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36444         Depend on against $(link-rpcuserlibs).
36445
36446 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36447
36448         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36449         (__libc_stack_end): Do not use attribute_relro.
36450         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36451         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36452         to libthread-provided value.
36453         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36454         attribute_relro.
36455
36456 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36457
36458         [BZ #3748]
36459         * bits/libc-lock.h (__libc_once_get): New macro.
36460         * sysdeps/mach/bits/libc-lock.h: Likewise.
36461         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36462         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36463         instead of using implementation details.
36464
36465         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36466         * libio/freopen.c: Likewise.
36467         * libio/freopen64.c: Likewise.
36468         * misc/syslog.c: Likewise.
36469         * nscd/connections.c: Likewise.
36470         * nscd/netgroupcache.c: Likewise.
36471         * sysdeps/posix/getcwd.c: Likewise.
36472
36473 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36474
36475         * math/w_ilogbf.c: Add #include <limits.h>.
36476
36477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36478
36479         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36480         path instead of returning without unlocking.
36481
36482         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36483         immediate-write ioctls.
36484         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36485
36486 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36487
36488         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36489         __builtin_frame_address instead of making assumptions about the
36490         location of the return address relative to DATA.  Force early load of
36491         the return address.
36492         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36493         __builtin_frame_address.
36494
36495         dup3 for GNU Hurd.
36496         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36497         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36498         implement dup3 and do some further code clean-ups.
36499         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36500         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36501
36502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36503
36504         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36505
36506         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36507         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36508         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36509         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36510         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36511         d->port.lock.
36512
36513         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36514         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36515         when handler == SIG_ERR, not when handler != SIG_ERR.
36516
36517 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36518
36519         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36520         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36521         definitions.
36522
36523         accept4 for GNU Hurd.
36524         * include/sys/socket.h (__libc_accept4): New prototype.
36525         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36526         to implement __libc_accept4.
36527         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36528         __libc_accept4.
36529         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36530
36531         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36532         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36533         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36534         signal-defines.sym.
36535
36536 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36537
36538         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36539
36540 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36541
36542         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36543         assertion on O_CLOEXEC flag.
36544         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36545         * hurd/intern-fd.c: Likewise.
36546         * hurd/port2fd.c: Likewise.
36547
36548 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36549
36550         [BZ #3906]
36551         * bits/in.h (IPV6_PKTINFO): Define new macro.
36552         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36553
36554 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36555
36556         [BZ #13954]
36557         [BZ #13955]
36558         [BZ #13956]
36559         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36560         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36561         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36562         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36563         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36564         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36565         * math/libm-test.inc (logb_test) : Additional logb tests.
36566
36567 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36568             Andreas Jaeger  <aj@suse.de>
36569
36570         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36571         * configure: Regenerated.
36572         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36573         * config.make.in (link-obsolete-rpc): New substituted variable.
36574         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36575         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36576         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36577         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36578         so that libc.a contains the symbols.
36579         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36580         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36581         * sunrpc/auth_none.c: Likewise.
36582         * sunrpc/auth_unix.c: Likewise.
36583         * sunrpc/authdes_prot.c: Likewise.
36584         * sunrpc/authuxprot.c: Likewise.
36585         * sunrpc/clnt_gen.c: Likewise.
36586         * sunrpc/clnt_perr.c: Likewise.
36587         * sunrpc/clnt_raw.c: Likewise.
36588         * sunrpc/clnt_simp.c: Likewise.
36589         * sunrpc/clnt_tcp.c: Likewise.
36590         * sunrpc/clnt_udp.c: Likewise.
36591         * sunrpc/clnt_unix.c: Likewise.
36592         * sunrpc/des_crypt.c: Likewise.
36593         * sunrpc/des_soft.c: Likewise.
36594         * sunrpc/get_myaddr.c: Likewise.
36595         * sunrpc/key_call.c: Likewise.
36596         * sunrpc/key_prot.c: Likewise.
36597         * sunrpc/netname.c: Likewise.
36598         * sunrpc/pm_getmaps.c: Likewise.
36599         * sunrpc/pm_getport.c: Likewise.
36600         * sunrpc/pmap_clnt.c: Likewise.
36601         * sunrpc/pmap_prot.c: Likewise.
36602         * sunrpc/pmap_prot2.c: Likewise.
36603         * sunrpc/pmap_rmt.c: Likewise.
36604         * sunrpc/publickey.c: Likewise.
36605         * sunrpc/rpc_cmsg.c: Likewise.
36606         * sunrpc/rpc_common.c: Likewise.
36607         * sunrpc/rpc_dtable.c: Likewise.
36608         * sunrpc/rpc_prot.c: Likewise.
36609         * sunrpc/rpc_thread.c: Likewise.
36610         * sunrpc/rtime.c: Likewise.
36611         * sunrpc/svc.c: Likewise.
36612         * sunrpc/svc_auth.c: Likewise.
36613         * sunrpc/svc_raw.c: Likewise.
36614         * sunrpc/svc_run.c: Likewise.
36615         * sunrpc/svc_tcp.c: Likewise.
36616         * sunrpc/svc_udp.c: Likewise.
36617         * sunrpc/svc_unix.c: Likewise.
36618         * sunrpc/svcauth_des.c: Likewise.
36619         * sunrpc/xcrypt.c: Likewise.
36620         * sunrpc/xdr.c: Likewise.
36621         * sunrpc/xdr_array.c: Likewise.
36622         * sunrpc/xdr_float.c: Likewise.
36623         * sunrpc/xdr_intXX_t.c: Likewise.
36624         * sunrpc/xdr_mem.c: Likewise.
36625         * sunrpc/xdr_rec.c: Likewise.
36626         * sunrpc/xdr_ref.c: Likewise.
36627         * sunrpc/xdr_sizeof.c: Likewise.
36628         * sunrpc/xdr_stdio.c: Likewise.
36629
36630 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36631
36632         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36633         change.  Update copyright years.
36634
36635 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36636
36637         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36638
36639 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36640             Joseph Myers  <joseph@codesourcery.com>
36641             Paul Pluzhnikov  <ppluzhnikov@google.com>
36642
36643         [BZ #14012]
36644         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36645         requiring rpcgen.
36646         [cross-compiling] (extra-libs): Likewise.
36647         [cross-compiling] (extra-libs-others): Likewise.
36648         [cross-compiling] (librpcsvc-routines): Likewise.
36649         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36650         [cross-compiling] (omit-deps): Likewise.
36651         (sunrpc-CPPFLAGS): New variable.
36652         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36653         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36654         (cross-rpcgen-objs): New variable.
36655         (extra-objs): Append $(cross-rpcgen-objs).
36656         ($(cross-rpcgen-objs)): New rule.
36657         ($(objpfx)cross-rpcgen): Likewise.
36658         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36659         comment.
36660         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36661         ($(objpfx)x%.stmp): Likewise.
36662         * sunrpc/proto.h [IS_IN_build] (_): Define.
36663         [IS_IN_build] (_libc_intl_domainname): Likewise.
36664
36665 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36666
36667         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36668         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36669         and R_X86_64_TPOFF64.
36670
36671 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36672
36673         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36674         sysdeps/unix/sysv/syscalls.list.
36675         (stime): Likewise.
36676         (utime): Likewise.
36677         * sysdeps/unix/sysv/syscalls.list: Remove file.
36678
36679 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36680
36681         [BZ #3440]
36682         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36683         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36684         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36685         (__LC_IDENTIFICATION): Make these macros useful in #if
36686         expressions, as required by C99.
36687
36688 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36689
36690         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36691         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36692         after this.
36693
36694 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36695
36696         * stdlib/longlong.h: Updated from GCC.
36697
36698 2012-05-09  Andreas Jaeger  <aj@suse.de>
36699
36700         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36701         default is first entry.
36702         (run_mode): Set type.
36703         (main): Remove informal message about syslog.
36704         (options): Fix typo.
36705
36706         [BZ #14053]
36707         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36708         to asm.
36709         (lrint): Likewise.
36710         (llrintf): Likewise.
36711         (llrint): Likewise.
36712         (rint): Likewise.
36713         (rintf): Likewise.
36714         (nearbyint): Likewise.
36715         (nearbyintf): Likewise.
36716
36717 2012-05-09  Andreas Jaeger  <aj@suse.de>
36718             Pedro Alves  <palves@redhat.com>
36719
36720         * nscd/nscd.c (run_mode): Use enum.
36721         (main): Cleanup coding style issue.
36722
36723 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36724             Andreas Jaeger  <aj@suse.de>
36725
36726         * nscd/nscd.c (go_background): Replaced with...
36727         (run_mode): ... this.
36728         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36729         (options): Add -F --foreground.
36730         (main): Implement it.
36731         (parse_opt): Parse it.
36732
36733 2012-05-09  Andreas Jaeger  <aj@suse.de>
36734
36735         [BZ #14083]
36736         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36737         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36738         -Wconversion warning.
36739         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36740         Likewise.
36741
36742 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36743
36744         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36745         == 0.
36746         (LC_ALL): Use macro-int-constant.
36747         (LC_COLLATE): Likewise.
36748         (LC_CTYPE): Likewise.
36749         (LC_MESSAGES): Likewise.
36750         (LC_MONETARY): Likewise.
36751         (LC_NUMERIC): Likewise.
36752         (LC_TIME): Likewise.
36753         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36754         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36755         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36756         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36757         Specify type.
36758         [C99-based standards] (float_t): Expect type.
36759         [C99-based standards] (double_t): Expect type.
36760         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36761         type.
36762         [C99-based standards] (HUGE_VALL): Likewise.
36763         [C99-based standards] (INFINITY): Likewise.
36764         [C99-based standards] (NAN): Likewise.
36765         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36766         [C99-based standards] (FP_NAN): Likewise.
36767         [C99-based standards] (FP_NORMAL): Likewise.
36768         [C99-based standards] (FP_SUBNORMAL): Likewise.
36769         [C99-based standards] (FP_ZERO): Likewise.
36770         [C99-based standards] (FP_FAST_FMA): Use
36771         optional-macro-int-constant.  Specify type.  Require == 1.
36772         [C99-based standards] (FP_FAST_FMAF): Likewise.
36773         [C99-based standards] (FP_FAST_FMAL): Likewise.
36774         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36775         [C99-based standards] (FP_ILOGBNAN): Likewise.
36776         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36777         Specify type.
36778         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36779         [C99-based standards] (math_errhandling): Specify type.
36780         [ISO99 || ISO11] (signgam): Do not allow.
36781         [non-C99-based standards] (copysignf): Do not allow.
36782         [non-C99-based standards] (exp2f): Likewise.
36783         [non-C99-based standards] (log2f): Likewise.
36784         [non-C99-based standards] (modff): Allow.
36785         [non-C99-based standards] (erff): Do not allow.
36786         [non-C99-based standards] (erfcf): Likewise.
36787         [non-C99-based standards] (gammaf): Likewise.
36788         [non-C99-based standards] (hypotf): Likewise.
36789         [non-C99-based standards] (j0f): Likewise.
36790         [non-C99-based standards] (j1f): Likewise.
36791         [non-C99-based standards] (jnf): Likewise.
36792         [non-C99-based standards] (lgammaf): Likewise.
36793         [non-C99-based standards] (tgammaf): Likewise.
36794         [non-C99-based standards] (y0f): Likewise.
36795         [non-C99-based standards] (y1f): Likewise.
36796         [non-C99-based standards] (ynf): Likewise.
36797         [non-C99-based standards] (isnanf): Likewise.
36798         [non-C99-based standards] (acoshf): Likewise.
36799         [non-C99-based standards] (asinhf): Likewise.
36800         [non-C99-based standards] (atanhf): Likewise.
36801         [non-C99-based standards] (cbrtf): Likewise.
36802         [non-C99-based standards] (expm1f): Likewise.
36803         [non-C99-based standards] (ilogbf): Likewise.
36804         [non-C99-based standards] (log1pf): Likewise.
36805         [non-C99-based standards] (logbf): Likewise.
36806         [non-C99-based standards] (nextafterf): Likewise.
36807         [non-C99-based standards] (remainderf): Likewise.
36808         [non-C99-based standards] (rintf): Likewise.
36809         [non-C99-based standards] (scalbf): Likewise.
36810         [non-C99-based standards] (copysignl): Likewise.
36811         [non-C99-based standards] (exp2l): Likewise.
36812         [non-C99-based standards] (log2l): Likewise.
36813         [non-C99-based standards] (modfl): Allow.
36814         [non-C99-based standards] (erfl): Do not allow.
36815         [non-C99-based standards] (erfcl): Likewise.
36816         [non-C99-based standards] (gammal): Likewise.
36817         [non-C99-based standards] (hypotl): Likewise.
36818         [non-C99-based standards] (j0l): Likewise.
36819         [non-C99-based standards] (j1l): Likewise.
36820         [non-C99-based standards] (jnl): Likewise.
36821         [non-C99-based standards] (lgammal): Likewise.
36822         [non-C99-based standards] (tgammal): Likewise.
36823         [non-C99-based standards] (y0l): Likewise.
36824         [non-C99-based standards] (y1l): Likewise.
36825         [non-C99-based standards] (ynl): Likewise.
36826         [non-C99-based standards] (isnanl): Likewise.
36827         [non-C99-based standards] (acoshl): Likewise.
36828         [non-C99-based standards] (asinhl): Likewise.
36829         [non-C99-based standards] (atanhl): Likewise.
36830         [non-C99-based standards] (cbrtl): Likewise.
36831         [non-C99-based standards] (expm1l): Likewise.
36832         [non-C99-based standards] (ilogbl): Likewise.
36833         [non-C99-based standards] (log1pl): Likewise.
36834         [non-C99-based standards] (logbl): Likewise.
36835         [non-C99-based standards] (nextafterl): Likewise.
36836         [non-C99-based standards] (remainderl): Likewise.
36837         [non-C99-based standards] (rintl): Likewise.
36838         [non-C99-based standards] (scalbl): Likewise.
36839         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36840         [non-C99-based standards] (FP_*): Do not allow.
36841         [C99-based standards] (FP_*): Change to
36842         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36843         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36844         allow.
36845         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36846         (SIG_ERR): Likewise.
36847         [X/Open-based standards] (SIG_HOLD): Likewise.
36848         (SIG_IGN): Likewise.
36849         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36850         positive value.
36851         (SIGFPE): Likewise.
36852         (SIGILL): Likewise.
36853         (SIGINT): Likewise.
36854         (SIGSEGV): Likewise.
36855         (SIGTER): Likewise.
36856         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36857         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36858         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36859         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36860         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36861         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36862         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36863         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36864         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36865         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36866         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36867         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36868         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36869         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36870         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36871         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36872         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36873         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36874         [X/Open-based standards] (SIGTRAP): Likewise.
36875         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36876         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36877         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36878         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36879         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36880         allow.
36881
36882 2012-05-08  Ian Wienand  <ianw@vmware.com>
36883
36884         [BZ #14080]
36885         * time/tzset.c (__tzset_parse_tz): Update default rules for
36886         daylight time changes in the Energy Policy Act of 2005.
36887
36888 2012-05-09  Andreas Jaeger  <aj@suse.de>
36889
36890         [BZ #13983]
36891         * elf/ldconfig.c (parse_conf): Change string to make clear that
36892         ldconfig only issued a warning if ld.so.conf does not exist.
36893
36894 2012-05-08  David S. Miller  <davem@davemloft.net>
36895
36896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36897         movxtod instead of popping the value on the stack.
36898
36899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36900
36901 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36902
36903         * config.h.in: Add HAVE_ARM_PCS_VFP.
36904
36905 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36906
36907         [BZ #13979]
36908         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36909         checking but the checks are disabled for any reason.
36910
36911 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36912
36913         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36914         and ELF64_R_TYPE with ELFW(R_TYPE).
36915
36916 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36917
36918         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36919         (ulimit): Likewise.
36920
36921         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36922         (settimeofday): Likewise.
36923
36924 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36925
36926         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36927         a struct th_u2 inside the union, and move tu_block/tu_code into
36928         a new th_u3 union of tu_block/tu_code inside of that.  Move
36929         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36930         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36931         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36932         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36933         (th_stuff): Change to th_u1.tu_stuff.
36934         (th_data): Define.
36935         (th_msg): Change to th_u1.th_u2.tu_data.
36936
36937 2012-05-07  David S. Miller  <davem@davemloft.net>
36938
36939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36940
36941         [BZ #14074]
36942         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36943         (SETUP_PIC_REG): Use it.
36944         (SETUP_PIC_REG_LEAF): Use it.
36945
36946 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36947
36948         [BZ #13885]
36949         [BZ #13923]
36950         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36951         USE_AS_EXPM1L.
36952         (EXPL_FINITE): Likewise.
36953         (FLDLOG): Likewise.
36954         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36955         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36956         e_expl.S.
36957         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36958         USE_AS_EXPM1L.
36959         (EXPL_FINITE): Likewise.
36960         (FLDLOG): Likewise.
36961         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36962         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36963         e_expl.S.
36964         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36965         test of -max_value argument for long double.
36966         * sysdeps/i386/fpu/libm-test-ulps: Update.
36967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36968
36969 2012-05-06  David S. Miller  <davem@davemloft.net>
36970
36971         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36972         quad soft-float symbols whose references which are compiler
36973         generated.
36974         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36975
36976 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36977
36978         [BZ #13884]
36979         [BZ #13914]
36980         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36981         USE_AS_EXP10L.
36982         (EXPL_FINITE): Likewise.
36983         (FLDLOG): Likewise.
36984         (c0): Likewise.
36985         (c1): Likewise.
36986         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36987         Adjust comments for base varying.
36988         (__expl_finite): Change alias to EXPL_FINITE.
36989         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36990         e_expl.S.
36991         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36992         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36993         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36994         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36995         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36996         USE_AS_EXP10L.
36997         (EXPL_FINITE): Likewise.
36998         (FLDLOG): Likewise.
36999         (c0): Likewise.
37000         (c1): Likewise.
37001         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37002         Adjust comments for base varying.
37003         (__expl_finite): Change alias to EXPL_FINITE.
37004         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37005         tests for bugs.
37006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37007
37008         [BZ #14064]
37009         * math/libm-test.inc (check_float_internal): Correct ulp
37010         calculation for subnormal expected results.
37011
37012 2012-05-06  Andreas Jaeger  <aj@suse.de>
37013
37014         * Makeconfig (+math-flags): New, set to -frounding-math.
37015         (+cflags): Add +math-flags so that all of glibc gets compiled with
37016         it.
37017
37018         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37019
37020 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37021
37022         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37023         Disable one test.
37024
37025         [BZ #13787]
37026         [BZ #13922]
37027         [BZ #14036]
37028         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37029         (__ieee754_expl): Allow for and saturate large arguments.
37030         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37031         (u_threshold): Likewise.
37032         (__exp): Call __ieee754_exp before checking for overflow and
37033         underflow.
37034         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37035         (u_threshold): Likewise.
37036         (__expf): Call __ieee754_expf before checking for overflow and
37037         underflow.
37038         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37039         (u_threshold): Likewise.
37040         (__expl): Call __ieee754_expl before checking for overflow and
37041         underflow.
37042         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37043         (__ieee754_expl): Allow for and saturate large arguments.
37044         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37045         missing overflow exception on overflow.
37046         (expm1_test): Do not allow missing overflow exception on overflow.
37047
37048         * sysdeps/i386/fpu/e_expl.c: Move to ...
37049         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37050         rather than using inline asm.
37051         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37052         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37053         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37054
37055         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37056         (nice): Likewise.
37057         (poll): Likewise.
37058         (signal): Likewise.
37059         (time): Likewise.
37060         (times): Likewise.
37061
37062 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37063
37064         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37065         sysdeps/unix/common/syscalls.list.
37066         (fchmod): Likewise.
37067         (fchown): Likewise.
37068         (ftruncate): Likewise.
37069         (getrusage): Likewise.
37070         (gettimeofday): Likewise.
37071         (setpgid): Likewise.
37072         (setregid): Likewise.
37073         (setreuid): Likewise.
37074         (sigaction): Likewise.
37075         (truncate): Likewise.
37076         (vhangup): Likewise.
37077         * sysdeps/unix/common/syscalls.list: Remove file.
37078         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37079         * sysdeps/unix/sysv/linux/Implies: Likewise.
37080
37081 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37082
37083         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37085         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37086         Moved to ...
37087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37088         Here.
37089         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37090         to ...
37091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37092         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37093         to ...
37094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37095         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37096         to ...
37097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37098         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37099         to ...
37100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37101         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37102         to ...
37103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37104         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37105         to ...
37106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37107         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37108         to ...
37109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37110         Here.
37111         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37112         to ...
37113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37114         Here.
37115         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37116         to ...
37117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37118         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37119         Moved to ...
37120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37121         Here.
37122         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37123         to ...
37124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37125
37126 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37127
37128         * sysdeps/unix/common/bits/dirent.h: Remove file.
37129         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37130
37131         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37132         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37133         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37134         * sysdeps/unix/bsd/isatty.c: Likewise.
37135         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37136         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37137         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37138
37139 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37140
37141         [BZ #13563]
37142         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37143         long double comparison inaccuracies.
37144         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37146
37147 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37148
37149         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37150         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37151
37152 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37153
37154         [BZ #14049]
37155         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37156         nonzero digits before rounding a hex value.
37157         * stdlib/tst-strtod.c (tests): Add another test.
37158
37159 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37160
37161         * sysdeps/s390/fpu/libm-test-ulps: Update.
37162
37163 2012-05-03  Andreas Jaeger  <aj@suse.de>
37164
37165         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37166         does not get optimized out.
37167         (malloc_opt_barrier): New.
37168
37169 2012-05-03  Andreas Jaeger  <aj@suse.de>
37170             Roland McGrath  <roland@hack.frob.com>
37171
37172         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37173         intermediate file deletion.
37174         (generated): Add .symlist files.
37175
37176 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37177
37178         [BZ #13775]
37179         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37180         Redirect under this condition.
37181         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37182         [__USE_GNU] (__dprintf_chk): Not under this condition.
37183         [__USE_GNU] (__vdprintf_chk): Likewise.
37184         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37185         under this condition.
37186         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37187         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37188         [__USE_XOPEN2K8] (vdprintf): Likewise.
37189         [__USE_GNU] (__dprintf_chk): Not under this condition.
37190         [__USE_GNU] (__vdprintf_chk): Likewise.
37191         [__USE_GNU] (dprintf): Likewise.
37192         [__USE_GNU] (vdprintf): Likewise.
37193
37194 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37195
37196         * elf/Makefile (common-generated): Set this instead of generated for
37197         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37198         $(all-built-dso)-derived lists.
37199
37200 2012-05-03  Andreas Jaeger  <aj@suse.de>
37201
37202         * sysdeps/i386/fpu/libm-test-ulps: Update.
37203
37204         * FAQ: Removed.
37205         * FAQ.in: Likewise.
37206         * scripts/gen-FAQ.pl: Likewise.
37207         * manual/install.texi (Installation): Point to online location of
37208         FAQ.
37209         * Makefile (files-for-dist): Remove FAQ.
37210         (FAQ): Remove.
37211
37212 2012-05-02  Allan McRae  <allan@archlinux.org>
37213
37214         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37215         (LDFLAGS-reldepmod5.so): Likewise.
37216         (LDFLAGS-reldep6mod1.so): Likewise.
37217         (LDFLAGS-reldep6mod4.so): Likewise.
37218         (LDFLAGS-reldep8mod3.so): Likewise.
37219         (LDFLAGS-unload4mod1.so): Likewise.
37220         (LDFLAGS-unload4mod2.so): Likewise.
37221         (LDFLAGS-tst-initorder): Likewise.
37222         (LDFLAGS-tst-initordera2.so): Likewise.
37223         (LDFLAGS-tst-initordera3.so): Likewise.
37224         (LDFLAGS-tst-initordera4.so): Likewise.
37225         (LDFLAGS-tst-initorderb2.so): Likewise.
37226         (LDFLAGS-noload): Likewise.
37227         (LDFLAGS-next): Likewise.
37228         (LDFLAGS-order2mod1.so): Likewise.
37229         (LDFLAGS-order2mod2.so): Likewise.
37230         (LDFLAGS-tst-initorder2): Likewise.
37231         (LDFLAGS-tst-initorder2a.so): Likewise.
37232         (LDFLAGS-tst-initorder2b.so): Likewise.
37233         (LDFLAGS-tst-initorder2c.so): Likewise.
37234         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37235
37236 2012-05-02  David S. Miller  <davem@davemloft.net>
37237
37238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37239
37240 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37241
37242         [BZ #14055]
37243         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37244
37245 2012-05-02  Andreas Jaeger  <aj@suse.de>
37246
37247         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37248         since we manipulate rounding mode.
37249         (CPPFLAGS-test-idouble.c): Likewise.
37250         (CPPFLAGS-test-ifloat.c): Likewise.
37251         (CFLAGS-test-ldouble.c): Likewise.
37252         (CFLAGS-test-double.c): Likewise.
37253         (CFLAGS-test-float.c): Likewise.
37254         (CFLAGS-test-misc.c): Likewise.
37255         (CFLAGS-test-test-fenv.c): Likewise.
37256
37257 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37258
37259         [BZ #2550]
37260         [BZ #2570]
37261         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37262         comparisons to determine direction to adjust input.
37263
37264 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37265
37266         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37267         output to the target.
37268
37269         * scripts/localplt.awk: New file.
37270         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37271         (check-localplt-CFLAGS): Variable removed.
37272         ($(all-built-dso:=.jmprel)): New static pattern rule.
37273         (generated): Add those targets.
37274         (localplt-built-dso): New variable.
37275         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37276
37277         * elf/check-localplt.c: File removed.
37278
37279         * scripts/check-execstack.awk: New file.
37280         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37281         (check-execstack-CFLAGS): Variable removed.
37282         ($(objpfx)check-execstack.h): Target removed.
37283         ($(objpfx)execstack-default): New target.
37284         (generated): Add that instead of check-execstack.h.
37285         ($(all-built-dso:=.phdr)): New static pattern rule.
37286         (generated): Add those targets.
37287         * elf/check-execstack.c: File removed.
37288
37289         * scripts/check-textrel.awk: New file.
37290         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37291         (check-textrel-CFLAGS): Variable removed.
37292         (all-built-dso): Use := to define.o
37293         ($(all-built-dso:=.dyn)): New static pattern rule.
37294         (generated): Add those targets.
37295         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37296         * config.make.in (READELF): New substituted variable.
37297         * elf/check-textrel.c: File removed.
37298
37299 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37300
37301         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37302         allow.
37303         * conform/data/ctype.h-data [C99-based standards] (isblank):
37304         Expect function.
37305         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37306         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37307         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37308         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37309         Specify type.  Require positive value.
37310         (EILSEQ): Likewise.
37311         (ERANGE): Likewise.
37312         [ISO || POSIX] (EILSEQ): Do not expect.
37313         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37314         Specify type.  Require positive value.
37315         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37316         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37317         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37318         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37319         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37320         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37321         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37322         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37323         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37324         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37325         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37326         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37327         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37328         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37329         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37330         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37331         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37332         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37333         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37334         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37335         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37336         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37337         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37338         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37339         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37340         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37341         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37342         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37343         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37344         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37345         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37346         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37347         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37348         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37349         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37350         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37351         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37352         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37353         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37354         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37355         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37356         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37357         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37358         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37359         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37360         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37361         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37362         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37363         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37364         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37365         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37366         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37367         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37368         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37369         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37370         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37371         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37372         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37373         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37374         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37375         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37376         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37377         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37378         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37379         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37380         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37381         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37382         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37383         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37384         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37385         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37386         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37387         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37388         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37389         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37390         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37391         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37392         Require >= 2.
37393         (FLT_ROUNDS): Expect as macro, not constant.
37394         (FLT_MANT_DIG): Use macro-int-constant.
37395         (DBL_MANT_DIG): Likewise.
37396         (LDBL_MANT_DIG): Likewise.
37397         (FLT_DIG): Likewise.
37398         (DBL_DIG): Likewise.
37399         (LDBL_DIG): Likewise.
37400         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37401         (DBL_MIN_EXP): Likewise.
37402         (LDBL_MIN_EXP): Likewise.
37403         (FLT_MAX_EXP): Use macro-int-constant.
37404         (DBL_MAX_EXP): Likewise.
37405         (LDBL_MAX_EXP): Likewise.
37406         (FLT_MAX_10_EXP): Likewise.
37407         (DBL_MAX_10_EXP): Likewise.
37408         (LDBL_MAX_10_EXP): Likewise.
37409         (FLT_MAX): Use macro-constant.
37410         (DBL_MAX): Likewise.
37411         (LDBL_MAX): Likewise.
37412         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37413         (DBL_EPSILON): Likewise.
37414         (LDBL_EPSILON): Likewise.
37415         (FLT_MIN): Likewise.
37416         (DBL_MIN): Likewise.
37417         (LDBL_MIN): Likewise.
37418         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37419         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37420         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37421         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37422         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37423         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37424         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37425         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37426         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37427         [ISO11] (FLT_TRUE_MIN): Likewise.
37428         [ISO11] (LDBL_TRUE_MIN): Likewise.
37429         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37430         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37431         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37432         (SCHAR_MAX): Likewise.
37433         (UCHAR_MAX): Likewise.
37434         (CHAR_MIN): Likewise.
37435         (CHAR_MAX): Likewise.
37436         (MB_LEN_MAX): Use macro-int-constant.
37437         (SHRT_MIN): Use macro-int-constant.  Specify type.
37438         (SHRT_MAX): Likewise.
37439         (USHRT_MAX): Likewise.
37440         (INT_MAX): Likewise.
37441         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37442         bound negative.
37443         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37444         bound with "U".
37445         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37446         bound with "L".
37447         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37448         bound negative.  Suffix upper bound with "L".
37449         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37450         bound with "UL".
37451         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37452         Specify type.
37453         [C99-based standards] (LLONG_MAX): Likewise.
37454         [C99-based standards] (ULLONG_MAX): Likewise.
37455         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37456         == 0.
37457         [ISO11] (max_align_t): Require type.
37458         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37459
37460         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37461         from $CFLAGS, without defining away __attribute__ calls.
37462         (checknamespace): Use $CFLAGS_namespace.
37463
37464         * conform/conformtest.pl (@keywords): Only include C99 keywords
37465         for standards based on C99 or C11.
37466
37467         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37468         Disable tests.
37469         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37470         UNIX98]: Likewise.
37471
37472         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37473         usability of symbols in #if.
37474
37475         * conform/conformtest.pl: If macro or constant types start
37476         "promoted:", expect the symbol to be of the following type
37477         promoted by the integer promotions.
37478
37479         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37480         in one place.  Also handle "macro-constant".
37481
37482         * conform/conformtest.pl: Only accept expected macro values with
37483         "==".  Parse all "macro" lines in one place.
37484         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37485
37486         * conform/conformtest.pl: Handle braced types on "constant" lines
37487         instead of handling "typed-constant".
37488         * conform/data/signal.h-data: Use "constant" instead of
37489         "typed-constant".
37490
37491         * conform/conformtest.pl: Handle "optional-" at start of lines in
37492         one place rather than duplicating several cases.  Handle each
37493         format of "macro" line with initial "optional-".
37494
37495         * conform/conformtest.pl: Only accept expected constant or
37496         optional-constant values with "==".  Parse all "constant" lines in
37497         one place.  Parse all "optional-constant" lines in one place.
37498         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37499         * conform/data/fmtmsg.h-data: Likewise.
37500         * conform/data/netinet/in.h-data: Likewise.
37501         * conform/data/tar.h-data: Likewise.
37502         * conform/data/limits.h-data: Use "==" form on "constant" and
37503         "optional-constant" lines.
37504
37505         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37506         Use -std=c99 for XOPEN2K.
37507         (@knownproblems): Remove.
37508         (newtoken): Don't check %isknown.
37509
37510         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37511         Do not expect macro.
37512         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37513         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37514         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37515         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37516         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37517         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37518         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37519         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37520         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37521         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37522         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37523         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37524         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37525         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37526         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37527         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37528         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37529         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37530         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37531         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37532         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37533         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37534         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37535         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37536         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37537         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37538         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37539         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37540         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37541         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37542         [XPG3] (acosh): Likewise.
37543         [XPG3] (asinh): Likewise.
37544         [XPG3] (atanh): Likewise.
37545         [XPG3] (cbrt): Likewise.
37546         [XPG3] (expm1): Likewise.
37547         [XPG3] (ilogb): Likewise.
37548         [XPG3] (log1p): Likewise.
37549         [XPG3] (logb): Likewise.
37550         [XPG3] (nextafter): Likewise.
37551         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37552         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37553         [XPG3] (remainder): Likewise.
37554         [XPG3] (rint): Likewise.
37555         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37556         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37557         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37558         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37559         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37560         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37561         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37562         [UNIX98 || XOPEN2K] (scalb): Expect.
37563         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37564         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37565         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37566         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37567         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37568         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37569         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37570         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37571         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37572         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37573         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37574         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37575         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37576         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37577         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37578         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37579         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37580         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37581         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37582         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37583         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37584         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37585         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37586         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37587         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37588         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37589         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37590         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37591         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37592         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37593         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37594         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37595         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37596         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37597         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37598         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37599         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37600         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37601         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37602         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37603         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37604         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37605         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37606         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37607         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37608         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37609         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37610         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37611         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37612         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37613         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37614         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37615         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37616         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37617         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37618         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37619         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37620         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37621         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37622         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37623         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37624         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37625         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37626         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37627         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37628         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37629         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37630         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37631         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37632         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37633         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37634         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37635         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37636         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37637         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37638         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37639         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37640         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37641         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37642         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37643         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37644         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37645         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37646         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37647         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37648         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37649         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37650         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37651         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37652         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37653         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37654         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37655         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37656         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37657         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37658         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37659         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37660         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37661         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37662         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37663         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37664         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37665         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37666         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37667         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37668         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37669         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37670         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37671         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37672         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37673         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37674         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37675         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37676         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37677         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37678         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37679         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37680         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37681         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37682         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37683         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37684         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37685         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37686         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37687         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37688         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37689         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37690         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37691         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37692         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37693         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37694         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37695         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37696         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37697         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37698         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37699         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37700
37701         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37702         _XOPEN_SOURCE_EXTENDED for XPG4.
37703
37704         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37705
37706         * Makeconfig (localtime): Remove variable.
37707         (inst_localtime-file): Likewise.
37708
37709 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37710
37711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37712         Update.
37713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37714         Update.
37715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37716         Update.
37717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37718         Update.
37719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37720         Update.
37721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37722         Update.
37723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37724         Update.
37725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37726         Update.
37727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37728         Update.
37729
37730 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37731
37732         [BZ #2550]
37733         [BZ #2570]
37734         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37735         comparisons to determine direction to adjust input.
37736         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37737         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37738         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37739         Likewise.
37740         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37741         Likewise.
37742         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37743         Likewise.
37744         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37745         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37746         Likewise.
37747         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37748         Likewise.
37749         * math/libm-test.inc (nexttoward_test): Add more tests.
37750
37751 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37752
37753         [BZ #14040]
37754         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37755         in version GLIBC_2.1, not GLIBC_2.0.
37756         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37757         Likewise.
37758
37759 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37760
37761         [BZ #13942]
37762         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37763         (1 - x) * (1 + x).
37764         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37765         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37766         * math/libm-test.inc (acos_test): Add more tests.
37767         (asin_test): Likewise.
37768         * sysdeps/i386/fpu/libm-test-ulps: Update.
37769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37770
37771         [BZ #14034]
37772         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37773         of square root.
37774         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37775         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37776         * math/libm-test.inc (acos_test_tonearest): New function.
37777         (acos_test_towardzero): Likewise.
37778         (acos_test_downward): Likewise.
37779         (acos_test_upward): Likewise.
37780         (asin_test_tonearest): Likewise.
37781         (asin_test_towardzero): Likewise.
37782         (asin_test_downward): Likewise.
37783         (asin_test_upward): Likewise.
37784         (main): Call the new functions.
37785         * sysdeps/i386/fpu/libm-test-ulps: Update.
37786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37787
37788         [BZ #13884]
37789         [BZ #13924]
37790         * math/e_exp10.c: Include <float.h>.
37791         (__ieee754_exp10): Handle underflow here rather than multiplying
37792         large negative argument by M_LN10.
37793         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37794         of __ieee754_expf.
37795         * math/e_exp10l.c: Include <float.h>.
37796         (__ieee754_exp10l): Handle underflow here rather than multiplying
37797         large negative argument by M_LN10l.
37798         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37799         spurious overflow exception on underflow.
37800
37801 2012-04-29  Marek Polacek  <polacek@redhat.com>
37802
37803         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37804         (__fortify_function): New macro.
37805         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37806         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37807         __extern_always_inline.
37808         * libio/bits/stdio2.h: Likewise.
37809         * libio/bits/stdio.h: Likewise.
37810         * string/string.h: Likewise.
37811         * string/bits/string3.h: Likewise.
37812         * include/stdio.h: Likewise.
37813         * stdlib/bits/stdlib.h: Likewise.
37814         * stdlib/stdlib.h: Likewise.
37815         * rt/bits/mqueue2.h: Likewise.
37816         * rt/mqueue.h: Likewise.
37817         * posix/bits/unistd.h: Likewise.
37818         * posix/unistd.h: Likewise.
37819         * io/bits/poll2.h: Likewise.
37820         * io/bits/fcntl2.h: Likewise.
37821         * io/fcntl.h: Likewise.
37822         * io/sys/poll.h: Likewise.
37823         * misc/bits/syslog.h: Likewise.
37824         * misc/bits/syslog-ldbl.h: Likewise.
37825         * misc/sys/syslog.h: Likewise.
37826         * socket/bits/socket2.h: Likewise.
37827         * socket/sys/socket.h: Likewise.
37828         * debug/tst-chk1.c: Likewise.
37829         * wcsmbs/bits/wchar2.h: Likewise.
37830         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37831         * wcsmbs/wchar.h: Likewise.
37832
37833 2012-04-29  Andreas Jaeger  <aj@suse.de>
37834
37835         * Makerules (tests): Remove enable-check-abi protection.
37836         (check-abi-warn): Remove.
37837         (check-abi-%): Remove check-abi-warn usage.
37838
37839         * configure.in: Remove check-abi configure option.
37840         * configure: Regenerated.
37841         * config.make.in (enable-check-abi): Remove.
37842
37843 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37844
37845         [BZ #14033]
37846         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37847         double functions to double *_finite functions.
37848
37849         [BZ #13941]
37850         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37851         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37852         LDBL_MIN_EXP.
37853         * stdio-common/Makefile (tests): Add tst-sprintf3.
37854         * stdio-common/tst-sprintf3.c: New file.
37855
37856         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37857         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37858
37859 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37860
37861         * conform/conformtest.pl: Remove duplicate typed-constant
37862         handling.
37863
37864 2012-04-28  David S. Miller  <davem@davemloft.net>
37865
37866         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37867         (check-abi-%): Remove AWK script prerequisite and explicit
37868         abilist directory.
37869         (check-abi): Rewrite to just diff the symlist with the abilist.
37870         (config-tls, config-abi-config): Delete, no longer used.
37871         (update-abi-%): Remove AWK script and explicit abilist directory.
37872         (update-abi): Rewrite to simply compare and conditionally copy the
37873         symlist and the sysdep abilist file.  Remove update-abi-config
37874         checks.
37875         * abilist/ld.abilist: Remove.
37876         * abilist/libBrokenLocale.abilist: Remove.
37877         * abilist/libanl.abilist: Remove.
37878         * abilist/libcrypt.abilist: Remove.
37879         * abilist/libdl.abilist: Remove.
37880         * abilist/librt.abilist: Remove.
37881         * abilist/libthread_db.abilist: Remove.
37882         * abilist/libutil.abilist: Remove.
37883         * scripts/extract-abilist.awk: Remove.
37884         * scripts/merge-abilist.awk: Remove.
37885         * sysdeps/generic/libcidn.abilist: New file.
37886         * sysdeps/generic/libnss_compat.abilist: New file.
37887         * sysdeps/generic/libnss_db.abilist: New file.
37888         * sysdeps/generic/libnss_dns.abilist: New file.
37889         * sysdeps/generic/libnss_files.abilist: New file.
37890         * sysdeps/generic/libnss_hesiod.abilist: New file.
37891         * sysdeps/generic/libnss_nis.abilist: New file.
37892         * sysdeps/generic/libnss_nisplus.abilist: New file.
37893         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37894         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37895         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37896         file.
37897         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37898         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37899         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37900         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37901         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37902         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37903         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37904         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37905         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37906         file.
37907         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37908         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37909         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37910         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37911         file.
37912         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37913         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37914         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37915         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37916         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37917         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37918         file.
37919         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37920         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37921         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37922         file.
37923         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37924         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37925         New file.
37926         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37927         New file.
37928         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37929         New file.
37930         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37931         New file.
37932         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37933         New file.
37934         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37935         New file.
37936         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37937         New file.
37938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37939         New file.
37940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37941         New file.
37942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37943         New file.
37944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37945         New file.
37946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37947         New file.
37948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37949         New file.
37950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37951         file.
37952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37953         New file.
37954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37955         New file.
37956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37957         file.
37958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37959         New file.
37960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37961         New file.
37962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37963         file.
37964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37965         New file.
37966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37967         New file.
37968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37969         New file.
37970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37971         New file.
37972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37973         New file.
37974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37975         New file.
37976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37978         file.
37979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37980         New file.
37981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37982         file.
37983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37984         file.
37985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37986         file.
37987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37988         file.
37989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37990         file.
37991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37992         New file.
37993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37994         file.
37995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37996         file.
37997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37998         New file.
37999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38000         file.
38001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38003         file.
38004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38005         New file.
38006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38007         file.
38008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38009         file.
38010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38011         file.
38012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38013         file.
38014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38015         file.
38016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38017         New file.
38018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38019         file.
38020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38021         file.
38022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38023         New file.
38024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38025         file.
38026         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38027         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38028         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38029         file.
38030         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38031         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38032         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38033         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38034         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38035         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38036         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38037         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38038         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38039         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38042         file.
38043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38044         New file.
38045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38046         file.
38047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38048         file.
38049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38050         file.
38051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38052         file.
38053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38054         file.
38055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38056         New file.
38057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38058         New file.
38059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38060         file.
38061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38062         New file.
38063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38064         file.
38065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38067         file.
38068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38069         New file.
38070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38071         file.
38072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38073         file.
38074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38075         file.
38076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38077         file.
38078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38079         file.
38080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38081         New file.
38082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38083         New file.
38084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38085         file.
38086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38087         New file.
38088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38089         file.
38090
38091 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38092
38093         * conform/conformtest.pl: Fix typo in handling typed-constant from
38094         allow-header.
38095
38096 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38097
38098         * README: Cut down references to pre-2.6 Linux kernels and
38099         Linuxthreads.  Update lists of configurations in libc and ports
38100         and sort alphabetically.  Say "or newer" with Linux kernel version
38101         requirements.
38102
38103         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38104
38105 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38106
38107         [BZ #887]
38108         * math/libm-test.inc (logb_test_downward): New test to expose
38109         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38110         rounding mode.
38111
38112 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38113
38114         [BZ #14027]
38115         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38116         to be done.
38117         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38118         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38119
38120 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38121
38122         * sysdeps/unix/i386/brk.S: Remove file.
38123         * sysdeps/unix/i386/dl-brk.S: Likewise.
38124         * sysdeps/unix/i386/pipe.S: Likewise.
38125         * sysdeps/unix/i386/sigreturn.S: Likewise.
38126         * sysdeps/unix/i386/syscall.S: Likewise.
38127         * sysdeps/unix/i386/vfork.S: Likewise.
38128         * sysdeps/unix/i386/wait.S: Likewise.
38129
38130         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38131         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38132
38133         * configure.in (arm*-none*): Do not allow without
38134         --enable-hacker-mode.
38135         (netbsd*): Remove case setting base_os.
38136         (386bsd*): Likewise.
38137         (freebsd*): Likewise.
38138         (bsdi*): Likewise.
38139         (osf*): Likewise.
38140         (sunos*): Likewise.
38141         (ultrix*): Likewise.
38142         (newsos*): Likewise.
38143         (dynix*): Likewise.
38144         (*bsd*): Likewise.
38145         (sysv*): Likewise.
38146         (isc*): Likewise.
38147         (esix*): Likewise.
38148         (sco*): Likewise.
38149         (minix*): Likewise.
38150         (irix4*): Likewise.
38151         (irix6*): Likewise.
38152         (solaris[2-9]*): Likewise.
38153         (none): Likewise.
38154         * configure: Regenerated.
38155
38156 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38157
38158         [BZ #11521]
38159         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38160         overflow or cancellation in calculating denominator.
38161         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38162         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38163         down expression to avoid unexpected rounding in newer GCCs.
38164         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38165
38166 2012-04-26  David S. Miller  <davem@davemloft.net>
38167
38168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38169         long-double compat symbols.
38170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38183
38184 2012-04-25  David S. Miller  <davem@davemloft.net>
38185
38186         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38187         HWCAP_* values only after the memory barriers have been defined.
38188         (atomic_full_barrier): Define.
38189         (atomic_read_barrier): Define.
38190         (atomic_write_barrier): Define.
38191
38192 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38193
38194         * shlib-versions: Add libgcc_s version information.
38195         * sysdeps/generic/libgcc_s.h: Remove.
38196         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38197         libgcc_s.h.
38198         * sysdeps/gnu/unwind-resume.c: Likewise.
38199         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38200
38201 2012-04-25  David S. Miller  <davem@davemloft.net>
38202
38203         * sysdeps/unix/sparc/brk.S: Delete.
38204         * sysdeps/unix/sparc/dl-brk.S: Delete.
38205         * sysdeps/unix/sparc/pipe.S: Delete.
38206         * sysdeps/unix/sparc/sysdep.S: Delete.
38207         * sysdeps/unix/sparc/sysdep.h: Delete.
38208         * sysdeps/unix/sparc/vfork.S: Delete.
38209         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38210         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38211         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38212         (ret_ERRVAL, r0, r1, MOVE): Define.
38213         (JUMPTARGET): Remove.
38214         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38215         sysdeps/unix/sparc/sysdep.h
38216         (ENTRY, END): Remove.
38217         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38218
38219 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38220
38221         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38222         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38223         -DIS_IN_build.
38224
38225         * timezone/README: Update upstream location and email address for
38226         tzcode and tzdata.
38227         * timezone/zdump.c: Update from tzcode 2012b.
38228         * timezone/zic.c: Likewise.
38229
38230         * configure.in (libc_cv_as_needed): Remove test.
38231         * configure: Regenerated.
38232         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38233         conditional definition.
38234         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38235         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38236         * config.make.in (have-as-needed): Remove variable.
38237
38238 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38239             Paul Pluzhnikov  <ppluzhnikov@google.com>
38240
38241         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38242         strings correctly.
38243
38244 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38245
38246         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38247         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38248         * sysdeps/sh/strlen.S: Likewise.
38249
38250 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38251
38252         * sysdeps/unix/fork.S: Remove file.
38253         * sysdeps/unix/i386/fork.S: Likewise.
38254         * sysdeps/unix/sparc/fork.S: Likewise.
38255
38256         * sysdeps/unix/system.c: Remove file.
38257         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38258
38259         * sysdeps/unix/getegid.S: Remove file.
38260         * sysdeps/unix/geteuid.S: Likewise.
38261
38262 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38263
38264         * scripts/check-localplt.awk: New file.
38265         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38266         of diff.
38267         * scripts/data/localplt-generic.data: Add a comment.
38268
38269         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38270         NODE when __dir_mkfile failed.
38271         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38272         Reported by Ludovic Courtès <ludo@gnu.org>.
38273
38274 2012-04-24  Andreas Jaeger  <aj@suse.de>
38275
38276         * Makerules (common-clean): Also remove gen-as-const-headers
38277         files.
38278
38279 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38280
38281         * Makerules (native-compile): Do not change working directory for
38282         build.  Use $(OUTPUT_OPTION) in command.
38283         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38284
38285 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38286
38287         [BZ #13886]
38288         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38289         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38290         * math/libm-test.inc (floor_test): Add more tests.
38291         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38292
38293 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38294
38295         * sysdeps/unix/getdents.c: Remove file.
38296         * sysdeps/unix/sysv/getdents.c: Likewise.
38297         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38298
38299         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38300         sysdeps/unix/mman/syscalls.list.
38301         (mmap): Likewise.
38302         (mprotect): Likewise.
38303         (msync): Likewise.
38304         (munmap): Likewise.
38305         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38306         * sysdeps/unix/mman/syscalls.list: Remove.
38307         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38308
38309         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38310         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38311         * configure: Regenerated.
38312         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38313         $(libgcc_s_suffix).
38314         * config.make.in (libgcc_s_suffix): Remove variable.
38315
38316 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38317
38318         * sysdeps/unix/sysv/gethostname.c: Move to ...
38319         * sysdeps/posix/gethostname.c: ... here.
38320
38321         * sysdeps/unix/execve.S: Remove file.
38322
38323         * sysdeps/unix/_exit.S: Remove file.
38324
38325 2012-04-23  Andreas Jaeger  <aj@suse.de>
38326
38327         [BZ #13739]
38328         * manual/Makefile: Remove make dist support, there's no
38329         need for a stand-alone documentation tar ball.
38330         (TEXI2DVI): Define always, it's not in Makeconfig.
38331         (dist): Removed.
38332         (tar-it): Removed.
38333         (edition): Removed.
38334         (glibc-doc-$(edition).tar): Removed
38335         (%.Z): Removed.
38336         (%.gz): Removed.
38337         (%.uu): Removed.
38338         (ETAGS): Remove, it's in Makeconfig.
38339         (move-if-change): Remove, it's in Makeconfig.
38340
38341 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38342
38343         [BZ #13970]
38344         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38345         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38346         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38347         (strtod_l, strtof_l, strtold_l): Remove __wur.
38348         It is not necessarily an error to ignore strtol's return value.
38349         One can reliably look at the stored endptr to decide whether
38350         the number had valid syntax.
38351
38352 2012-04-21  Andreas Jaeger  <aj@suse.de>
38353
38354         [BZ #13739]
38355         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38356
38357 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38358
38359         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38360         * sysdeps/unix/sysv/Versions: Remove file.
38361
38362 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38363
38364         [BZ #13927]
38365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38366
38367 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38368
38369         [BZ #7064]
38370         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38371         version from __vm86.
38372
38373 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38374
38375         * sysdeps/unix/common/lxstat.c: Remove file.
38376         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38377
38378         * sysdeps/unix/sysv/Makefile: Remove file.
38379
38380         * sysdeps/unix/sysv/direct.h: Remove file.
38381
38382         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38383         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38384         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38385         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38386         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38387         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38388         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38389
38390         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38391
38392         * sysdeps/unix/xmknod.c: Remove file.
38393         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38394
38395         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38396
38397         * sysdeps/unix/sysv/i386/time.S: Remove file.
38398
38399         * sysdeps/unix/fxstat.c: Remove file.
38400         * sysdeps/unix/xstat.c: Likewise.
38401         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38402
38403         * sysdeps/unix/sysv/sigaction.c: Remove file.
38404
38405         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38406         (sysdep_headers): Remove variable.
38407         [termio.h not in sysdep_headers] (generated): Likewise.
38408         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38409         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38410         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38411         * sysdeps/unix/sysv/tcflow.c: Likewise.
38412         * sysdeps/unix/sysv/tcflush.c: Likewise.
38413         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38414         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38415         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38416         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38417         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38418
38419         * sysdeps/unix/siglist.c: Remove file.
38420
38421         * sysdeps/unix/getppid.S: Remove file.
38422
38423         * sysdeps/unix/mkdir.c: Remove file.
38424         * sysdeps/unix/rmdir.c: Likewise.
38425
38426 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38427
38428         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38429         ERR_MAX value.
38430         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38431         errlist-compat value.
38432
38433 2012-04-18  David S. Miller  <davem@davemloft.net>
38434
38435         * sysdeps/generic/memcopy.h (reg_char): Delete.
38436         * debug/strcat_chk.c: Use char, not reg_char.
38437         * debug/strcpy_chk.c: Likewise.
38438         * debug/strncat_chk.c: Likewise.
38439         * debug/strncpy_chk.c: Likewise.
38440         * string/memchr.c: Likewise.
38441         * string/memrchr.c: Likewise.
38442         * string/rawmemchr.c: Likewise.
38443         * string/strcat.c: Likewise.
38444         * string/strchr.c: Likewise.
38445         * string/strchrnul.c: Likewise.
38446         * string/strcmp.c: Likewise.
38447         * string/strcpy.c: Likewise.
38448         * string/strncat.c: Likewise.
38449         * string/strncmp.c: Likewise.
38450         * string/strncpy.c: Likewise.
38451
38452 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38453
38454         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38455         __builtin_memcopy is called when src and dest ranges are known to not
38456         overlap.
38457
38458 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38459
38460         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38461         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38462         fwd_align_merge macro call.
38463         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38464         bwd_align_merge macro call.
38465         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38466
38467 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38468
38469         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38470         bwd_align_merge macros.
38471         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38472         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38473         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38474
38475 2012-04-18  David S. Miller  <davem@davemloft.net>
38476
38477         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38478
38479 2012-04-18  Andreas Jaeger  <aj@suse.de>
38480
38481         [BZ# 6794]
38482         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38483         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38484         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38485
38486         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38487         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38488         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38489
38490         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38491         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38492         Adjust for changed ldbl-128 files.
38493
38494         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38495         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38496         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38497
38498 2012-04-17  David S. Miller  <davem@davemloft.net>
38499
38500         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38501
38502 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38503
38504         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38505         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38506         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38507         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38508         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38509         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38510
38511 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38512
38513         [BZ #6794]
38514         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38515         * math/libm-test.inc: Add ilogb errno and exception tests.
38516         * math/w_ilogb.c: New file: ilogb wrapper.
38517         * math/w_ilogbf.c: New file: ilogbf wrapper.
38518         * math/w_ilogbl.c: New file: ilogbl wrapper.
38519         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38520         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38521         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38522         exception being thrown with 0.0 as argument.
38523         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38524         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38525         exception being thrown with 0.0 as argument.
38526         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38527         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38528         exception being thrown with 0.0 as argument.
38529         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38530         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38531         exception being thrown with 0.0 as argument.
38532         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38533         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38534         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38535         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38536         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38537         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38538         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38539         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38540         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38541
38542 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38543
38544         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38545         with altivec.
38546
38547 2012-04-16  Marek Polacek  <polacek@redhat.com>
38548
38549         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38550
38551 2012-04-16  Marek Polacek  <polacek@redhat.com>
38552
38553         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38554         operands of fdivp instruction.
38555
38556 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38557
38558         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38559         * elf/tst-auditmod3b.c: Likewise.
38560         * elf/tst-auditmod4b.c: Likewise.
38561         * elf/tst-auditmod5b.c: Likewise.
38562         * elf/tst-auditmod6b.c: Likewise.
38563         * elf/tst-auditmod6c.c: Likewise.
38564         * elf/tst-auditmod7b.c: Likewise.
38565         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38566         * sysdeps/x86_64/preconfigure.in: Likewise.
38567         * sysdeps/x86_64/preconfigure: Regenerated.
38568
38569 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38570
38571         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38572         __ILP32__.
38573
38574 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38575
38576         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38577         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38578
38579 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38580
38581         [BZ #13973]
38582         * locale/iso-639.def: Fix gl language name. Spotted by
38583         Yaron Shahrabani.
38584
38585 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38586
38587         [BZ #2074]
38588         * libio/libio.h (__io_write_fn): Update comment.
38589
38590 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38591
38592         [BZ #2074]
38593         * stdio.texi (Hook Functions): The user provided writer function
38594         is not allowed to return -1.
38595
38596 2012-04-11  David S. Miller  <davem@davemloft.net>
38597
38598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38599
38600 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38601
38602         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38603         Add a leading slash to rtkaio.
38604
38605 2012-04-11  Jim Meyering  <meyering@redhat.com>
38606
38607         [BZ #11959]
38608         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38609         It is not necessarily an error to ignore fwrite's return
38610         value.  One can reliably use ferror to test for errors after
38611         the fact.
38612
38613 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38614
38615         * bits/types.h (__snseconds_t): New type.
38616         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38617
38618         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38619         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38620         (__SNSECONDS_T_TYPE): Likewise.
38621         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38622         (__SNSECONDS_T_TYPE): Likewise.
38623         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38624         (__SNSECONDS_T_TYPE): Likewise.
38625
38626 2012-04-10  Andreas Jaeger  <aj@suse.de>
38627
38628         [BZ #2636]
38629         * manual/time.texi (Processor Time): Return type of times is
38630         elapsed real time since an arbitrary point in the past.
38631         (CPU Time): Move CLK_TCK from here...
38632         (Processor Time): ...to here.  Correct description.
38633         * manual/conf.texi (Constants for Sysconf): Correct description of
38634         _SC_CLK_TCK.
38635
38636 2012-04-10  David S. Miller  <davem@davemloft.net>
38637
38638         [BZ #13967]
38639         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38640         where the is a gap between DT_REL(A) and DT_JMPREL.
38641
38642 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38643
38644         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38645         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38646         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38647
38648 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38649
38650         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38651         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38652         (dl_main): Handle --inhibit-cache.
38653         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38654         _dl_inhibit_cache.
38655         * elf/dl-load.c (_dl_map_object): Use it.
38656         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38657
38658 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38659
38660         [BZ #13872]
38661         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38662         (__ieee754_powl): Saturate large exponents rather than testing for
38663         overflow of y*log2(x).
38664         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38665         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38666         exceptions.
38667
38668         [BZ #11521]
38669         * math/s_ctan.c: Include <float.h>.
38670         (__ctan): Avoid internal overflow or cancellation in calculating
38671         denominator.
38672         * math/s_ctanf.c: Likewise.
38673         * math/s_ctanl.c: Likewise.
38674         * math/s_ctanh.c: Likewise.
38675         * math/s_ctanhf.c: Likewise.
38676         * math/s_ctanhl.c: Likewise.
38677         * math/libm-test.inc (ctan_test): Add more tests.
38678         (ctanh_test): Likewise.
38679         * sysdeps/i386/fpu/libm-test-ulps: Update.
38680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38681
38682 2012-04-09  Andreas Jaeger  <aj@suse.de>
38683
38684         [BZ #6894]
38685         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38686         is an optional BSD extension.
38687
38688         [BZ #10254]
38689         * manual/stdio.texi (Opening Streams): Document additional fopen
38690         parameters.
38691
38692 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38693
38694         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38695         %eax without telling the compiler.
38696
38697 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38698
38699         [BZ # 13963]
38700         * manual/install.texi: Use sourceware.org.
38701
38702 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38703
38704         [BZ #13873]
38705         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38706         (__ieee754_pow): Generate overflow and underflow using huge*huge
38707         and tiny*tiny rather than just returning constant infinity or zero
38708         for large exponents.
38709         * math/libm-test.inc (pow_test): Require overflow exceptions for
38710         applicable cases of large exponents.
38711
38712         [BZ #706]
38713         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38714         (__ieee754_pow): Use iterative multiplication algorithm only for
38715         integer exponents with absolute value below 1024.  Check for odd
38716         integer exponents when using algorithm for real exponents.
38717         * math/libm-test.inc (pow_test): Add more tests.
38718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38719
38720 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38721
38722         [BZ #13705]
38723         * math/libm-test.inc (exp_test): Do not allow overflow exception
38724         on underflow test.
38725
38726 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38727
38728         [BZ #13705]
38729         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38730         instead of __kernel_standard_f.
38731
38732 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38733
38734         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38735         * sysdeps/x86_64/memset_chk.S: Likewise.
38736
38737 2012-04-08  Andreas Jaeger  <aj@suse.de>
38738
38739         [BZ #10153]
38740         * manual/startup.texi (Environment Access): Describe return value
38741         for putenv and setenv.
38742
38743         [BZ #6895]
38744         * manual/filesys.texi (Directory Entries): Add description for
38745         DT_LNK.
38746
38747         [BZ #6890]
38748         * manual/filesys.texi (Directory Entries): Clarify that it's file
38749         system not operating system in the description of DT_UNKNOWN.
38750
38751         [BZ #6578]
38752         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38753
38754 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38755
38756         [BZ #6649]
38757         * manual/llio.texi (Opening and Closing Files): Add cross
38758         reference to explain mode argument.
38759
38760 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38761
38762         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38763         * sysdeps/x86_64/memset_chk.S: Likewise.
38764
38765 2012-04-07  David S. Miller  <davem@davemloft.net>
38766
38767         * elf/elf.h (R_SPARC_WDISP10): Define.
38768         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38769         R_SPARC_SIZE32.
38770         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38771         R_SPARC_SIZE64 and R_SPARC_H34.
38772
38773 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38774
38775         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38776         conditions and remove no longer applicable assertion.
38777
38778 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38779
38780         * bits/byteswap.h: Include <features.h>.
38781         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38782         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38783
38784 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38785
38786         * bits/byteswap.h (__bswap_16): Removed.
38787         Include <bits/byteswap-16.h> to get __bswap_16.
38788         * sysdeps/i386/bits/byteswap.h: Likewise.
38789         * sysdeps/s390/bits/byteswap.h: Likewise.
38790         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38791         * bits/byteswap-16.h: New file.
38792         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38793         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38794         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38795         * string/Makefile (headers): Add bits/byteswap-16.h.
38796
38797 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38798
38799         [BZ #13895]
38800         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38801         extra indirection.
38802         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38803         * nss/tst-nss-static.c: New.
38804
38805 2012-04-06  Robert Millan  <rmh@gnu.org>
38806
38807         [BZ #6486]
38808         * manual/llio.texi (File Position Primitive): lseek
38809         refers to WHENCE when it really means OFFSET.
38810
38811 2012-04-06  Andreas Jaeger  <aj@suse.de>
38812
38813         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38814         strncmp declarations.
38815
38816         * abilist/libc.abilist: Add __poll and __ppoll.
38817
38818 2012-04-05  David S. Miller  <davem@davemloft.net>
38819
38820         * scripts/check-local-headers.sh: Accept a host triplet in the
38821         path matched by the exclude regexp.
38822
38823         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38824         definition.
38825         * sysdeps/powerpc/powerpc32/dl-machine.h
38826         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38827         * sysdeps/s390/s390-32/dl-machine.h
38828         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38829         * sysdeps/sparc/sparc32/dl-machine.h
38830         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38831         * sysdeps/sparc/sparc64/dl-machine.h
38832         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38833
38834         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38835         lazy binding.
38836         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38837         undefined symbol errors.
38838
38839         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38840         DT_NEEDED entries.
38841
38842 2012-04-05  Michael Matz  <matz@suse.de>
38843
38844         [BZ #13592]
38845         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38846
38847 2012-04-05  Andreas Jaeger  <aj@suse.de>
38848
38849         [BZ #13908]
38850         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38851         comment.
38852
38853 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38854
38855         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38856         which ROUND is no valid rounding mode.
38857
38858 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38859
38860         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38861         read again.
38862         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38863
38864 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38865
38866         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38867         an exception using FPU order intentionally.
38868
38869 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38870
38871         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38872         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38873         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38874         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38875
38876 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38877
38878         [BZ #12340]
38879         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38880         EINVAL when BUFLEN is too smal.
38881
38882 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38883
38884         [BZ #13553]
38885         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38886         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38887
38888 2012-04-03  Andreas Jaeger  <aj@suse.de>
38889
38890         [BZ #13938]
38891         * manual/setjmp.texi (System V contexts): Fix sentence.
38892
38893         [BZ #13926]
38894         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38895         New macro for this case.
38896         [!__GNUC__] (__bswap_64): New inline function for this case.
38897         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38898         * bits/byteswap.h: Likewise.
38899         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38900         ull, guard with __GLIBC_HAVE_LONG_LONG.
38901
38902         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38903         __GLIBC_HAVE_LONG_LONG.
38904
38905         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38906         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38907
38908 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38909
38910         [BZ #13691]
38911         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38912         inptr and inend, rather than using last_ch.
38913
38914 2012-04-02  David S. Miller  <davem@davemloft.net>
38915
38916         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38917         * stdio-common/printf-parse.h (read_int): Change return type to
38918         'int', return -1 on INT_MAX overflow.
38919         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38920         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38921         overflows INT_MAX.  Check for overflow of in-format-string precision
38922         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38923         SIZE_MAX not INT_MAX for integer overflow test.
38924         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38925         skip the construct in the format string but do not record anything.
38926         * stdio-common/bug22.c: Adjust to test both width/prevision
38927         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38928         explicitly for proper errno values.
38929
38930 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38931
38932         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38933         CHAR_MAX.
38934         * string/test-strcmp.c [! WIDE]: Likewise.
38935         * time/tst-mktime2.c: Likewise for INT_MAX.
38936         * string/test-string.h: #include <sys/param.h> for MIN.
38937
38938         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38939         * sysdeps/i386/init-first.c (init): Likewise.
38940         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38941         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38942         * sysdeps/sh/init-first.c (init): Likewise.
38943
38944 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38945
38946         * po/ru.po: Update from translation team.
38947         * po/vi.po: Likewise.
38948
38949 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38950
38951         * resolv/nss_dns/dns-host.c: Merge copyright years.
38952
38953 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38954
38955         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38956         Optimize memcpy with prefetch if
38957         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38958         src, dst pointers have unequal 16 byte alignments.
38959
38960 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38961
38962         [BZ #13928]
38963         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38964         from a CNAME entry and return the minimum ttl for the query.
38965         (gaih_getanswer_slice): Likewise.
38966
38967 2012-03-30  Jeff Law  <law@redhat.com>
38968
38969         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38970         due to long keys.
38971         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38972         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38973
38974         * resolv/nss_dns/dns-host.c: Update copyright year.
38975
38976 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38977
38978         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38979         requests to save a system call.  Fix check that all bytes are sent.
38980
38981         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38982         comments for sendmmsg.
38983
38984 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38985
38986         [BZ #13691]
38987         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38988         with only 1 character between 0x0041 and 0x01b0.
38989         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38990         * wcsmbs/tst-mbsnrtowcs.c: New file.
38991
38992 2012-03-29  David S. Miller  <davem@davemloft.net>
38993
38994         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38995         small copies by hand.
38996
38997 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38998
38999         [BZ #13761]
39000         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39001         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39002         group memberships.
39003
39004 2012-03-28  David S. Miller  <davem@davemloft.net>
39005
39006         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39007         that branches into memcpy.
39008         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39009         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39011         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39012         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39013         bits.
39014         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39015         implementation too.
39016         * sysdeps/sparc/mempcpy.S: New file.
39017
39018         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39019         the IFUNC routine in the libc case.
39020         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39021
39022         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39023         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39024         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39025         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39026         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39027         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39028         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39029         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39030
39031         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39032         loop to 256 bytes instead of 64 bytes and fix test signedness.
39033
39034         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39035         * sysdeps/sparc/sparc32/Makefile: rather than here...
39036         * sysdeps/sparc/sparc64/Makefile: and here.
39037
39038 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39039
39040         * malloc/mallocbug.c: Avoid warnings about unused variables.
39041
39042 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39043
39044         [BZ #13760]
39045         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39046         in the right place. Discard and retry query if response is
39047         larger than input buffer size.
39048
39049 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39050
39051         [BZ #369]
39052         [BZ #2678]
39053         [BZ #3866]
39054         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39055         x for large integer exponent.
39056         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39057         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39058         sign of result as needed afterwards.
39059         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39060         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39061         result for underflowing pow the same as for overflow.
39062         (__kernel_standard_l): Handle powl overflow and underflow here
39063         rather than calling __kernel_standard.
39064         * math/libm-test.inc (pow_test): Add more tests.
39065
39066         [BZ #3868]
39067         [BZ #13879]
39068         [BZ #13910]
39069         [BZ #13911]
39070         [BZ #13912]
39071         [BZ #13913]
39072         [BZ #13915]
39073         [BZ #13916]
39074         [BZ #13917]
39075         [BZ #13918]
39076         [BZ #13919]
39077         [BZ #13920]
39078         [BZ #13921]
39079         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39080         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39081         (__kernel_standard_l): New function.
39082         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39083         __kernel_standard.
39084         * math/w_acosl.c (__acosl): Likewise.
39085         * math/w_asinl.c (__asinl): Likewise.
39086         * math/w_atan2l.c (__atan2l): Likewise.
39087         * math/w_atanhl.c (__atanhl): Likewise.
39088         * math/w_coshl.c (__coshl): Likewise.
39089         * math/w_exp10l.c (__exp10l): Likewise.
39090         * math/w_exp2l.c (__exp2l): Likewise.
39091         * math/w_fmodl.c (__fmodl): Likewise.
39092         * math/w_hypotl.c (__hypotl): Likewise.
39093         * math/w_j0l.c (__j0l, __y0l): Likewise.
39094         * math/w_j1l.c (__j1l, __y1l): Likewise.
39095         * math/w_jnl.c (__jnl, __ynl): Likewise.
39096         * math/w_lgammal.c (__lgammal): Likewise.
39097         * math/w_log10l.c (__log10l): Likewise.
39098         * math/w_log2l.c (__log2l): Likewise.
39099         * math/w_logl.c (__logl): Likewise.
39100         * math/w_powl.c (__powl): Likewise.
39101         * math/w_remainderl.c (__remainderl): Likewise.
39102         * math/w_scalbl.c (sysv_scalbl): Likewise.
39103         * math/w_sinhl.c (__sinhl): Likewise.
39104         * math/w_sqrtl.c (__sqrtl): Likewise.
39105         * math/w_tgammal.c (__tgammal): Likewise.
39106         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39107         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39108         * math/libm-test.inc (acos_test): Add more tests.
39109         (acosh_test): Likewise.
39110         (asin_test): Likewise.
39111         (atanh_test): Likewise.
39112         (exp_test): Likewise.
39113         (exp10_test): Likewise.
39114         (exp2_test): Likewise.
39115         (expm1_test): Likewise.
39116         (lgamma_test): Likewise.
39117         (log_test): Likewise.
39118         (log10_test): Likewise.
39119         (log1p_test): Likewise.
39120         (log2_test): Likewise.
39121         (pow_test): Do not allow some spurious overflow exceptions.
39122         (sqrt_test): Add more tests.
39123         (tgamma_test): Likewise.
39124         (y0_test): Likewise.
39125         (y1_test): Likewise.
39126         (yn_test): Likewise.
39127
39128 2012-03-27  Anton Blanchard  <anton@samba.org>
39129
39130         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39131         MAP_HUGETLB.
39132         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39133         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39134         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39135
39136 2012-03-27  David S. Miller  <davem@davemloft.net>
39137
39138         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39139
39140         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39141         have-as-vis3 check.
39142
39143 2012-03-27  Andreas Jaeger  <aj@suse.de>
39144
39145         * sysdeps/x86_64/elf/configure.in: Moved to ...
39146         * sysdeps/x86_64/configure.in: ... here.
39147         * sysdeps/x86_64/elf/start.S: Moved to ...
39148         * sysdeps/x86_64/start.S: ... here.
39149         * sysdeps/x86_64/elf/configure: Delete.
39150
39151         * sysdeps/x86_64/configure.in: Merge contents from
39152         sysdeps/i386/configure.in (without i686 check).
39153
39154         * sysdeps/i386/elf/Versions: Merge into ...
39155         * sysdeps/i386/Versions: ... this.
39156         * sysdeps/i386/elf/Versions: Delete file.
39157         * sysdeps/i386/elf/start.S: Moved to ...
39158         * sysdeps/i386/start.S: ...here.
39159         * sysdeps/i386/elf/configure.in: Merge into...
39160         * sysdeps/i386/configure.in: ...here.
39161         * sysdeps/i386/elf/configure.in: Delete file.
39162         * sysdeps/i386/elf/configure: Delete file.
39163
39164         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39165         * debug/backtracesyms.c: ... here.
39166         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39167         * debug/backtracesymsfd.c: ... here.
39168         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39169         * sysdeps/generic/ifunc-sel.h: ... here.
39170
39171         * sysdeps/unix/i386/start.c: Delete file.
39172         * sysdeps/unix/sparc/start.c: Delete file.
39173         * sysdeps/unix/start.c: Delete file.
39174
39175         * sysdeps/sh/elf/configure.in: Moved to ...
39176         * sysdeps/sh/configure.in: ... here.
39177         * sysdeps/sh/elf/start.S: Moved to ...
39178         * sysdeps/sh/start.S: ... here.
39179         * sysdeps/sh/elf/configure: Delete file.
39180
39181         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39182         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39183         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39184         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39185         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39186         * sysdeps/powerpc/powerpc64/start.S: here.
39187         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39188         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39189         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39190         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39191         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39192
39193         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39194         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39195         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39196         * sysdeps/powerpc/powerpc32/start.S: ... here.
39197         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39198         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39199         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39200
39201         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39202         * sysdeps/powerpc/ifunc-sel.h: ... here.
39203         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39204         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39205
39206         * sysdeps/sparc/elf/configure.in: Moved to ...
39207         * sysdeps/sparc/configure.in: ... here.
39208         * sysdeps/sparc/elf/configure: Delete file.
39209         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39210         * sysdeps/sparc/sparc32/start.S: ... here.
39211         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39212         * sysdeps/sparc/sparc64/start.S: ... here.
39213         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39214         * sysdeps/sparc/sparc32/Makefile: ... this.
39215         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39216         * sysdeps/sparc/sparc64/Makefile: ... this.
39217
39218         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39219         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39220         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39221         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39222         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39223         * sysdeps/s390/s390-32/setjmp.S: ... here.
39224         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39225         * sysdeps/s390/s390-32/configure.in: ... here.
39226         * sysdeps/s390/s390-32/elf/configure: Delete file.
39227         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39228         * sysdeps/s390/s390-32/start.S: ... here.
39229
39230         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39231         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39232         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39233         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39234         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39235         * sysdeps/s390/s390-64/setjmp.S: ... here.
39236         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39237         * sysdeps/s390/s390-64/configure.in: ... here
39238         * sysdeps/s390/s390-64/elf/configure: Delete file.
39239         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39240         * sysdeps/s390/s390-64/start.S: ... here.
39241         * sysdeps/s390/s390-64/elf/configure: Delete.
39242
39243         * configure.in: Remove support for elf directories in sysdeps.
39244
39245         * configure: Regenerated.
39246         * sysdeps/i386/configure: Regenerated.
39247         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39248         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39249         * sysdeps/s390/s390-32/configure: Regenerated.
39250         * sysdeps/s390/s390-64/configure: Regenerated.
39251         * sysdeps/sh/configure: Regenerated.
39252         * sysdeps/sparc/configure: Regenerated.
39253         * sysdeps/x86_64/configure: Regenerated.
39254
39255 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39256
39257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39258
39259         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39260         denormal result into account.
39261
39262 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39263
39264         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39265         Reported by Allan McRae <allan@archlinux.org>.
39266
39267 2012-03-23  Jeff Law  <law@redhat.com>
39268
39269         * nss/getnssent.c (__nss_getent): Fix typo.
39270
39271 2012-03-23  David S. Miller  <davem@davemloft.net>
39272
39273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39274
39275 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39276
39277         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39278         to pad to uint64_t for each field.
39279         (dl_tls_index): Replace unsigned long with uint64_t.
39280
39281 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39282         Paul Pluzhnikov  <ppluzhnikov@google.com>
39283
39284         [BZ #6528]
39285         * grp/Makefile (otherlibs): Don't set it.
39286         * inet/Makefile (otherlibs): Likewise.
39287         * login/Makefile (otherlibs): Likewise.
39288         * nscd/Makefile (otherlibs): Likewise.
39289         * posix/Makefile (otherlibs): Likewise.
39290         * pwd/Makefile (otherlibs): Likewise.
39291         * rt/Makefile (otherlibs): Likewise.
39292         * sunrpc/Makefile (otherlibs): Likewise.
39293         * nss/Makefile (otherlibs): Likewise.
39294         Add libnss_files to routines and static-only-routines.
39295         ($(objpfx)getent): Remove rule.
39296         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39297         static-only-routines.
39298
39299 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39300
39301         [BZ #13892]
39302         * math/s_cexp.c: Include <float.h>.
39303         (__cexp): Handle exp result overflowing not necessarily
39304         overflowing both real and imaginary parts of result.
39305         * math/s_cexpf.c: Likewise.
39306         * math/s_cexpl.c: Likewise.
39307         * math/libm-test.inc (cexp_test): Add more tests.
39308         * sysdeps/i386/fpu/libm-test-ulps: Update.
39309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39310
39311 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39312
39313         * include/link.h (ELFW): New macro.
39314         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39315         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39316
39317 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39318
39319         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39320         with uint64_t.
39321
39322 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39323
39324         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39325         declaration.
39326         (struct La_x32_retval): Likewise.
39327
39328 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39329
39330         * sysdeps/x86_64/preconfigure.in: New file.
39331         * sysdeps/x86_64/preconfigure: New generated file.
39332
39333 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39334
39335         [BZ #13824]
39336         * math/e_exp2l.c: Include <float.h>.
39337         (__ieee754_exp2l): Handle overflow and underflow cases
39338         separately.  Only pass fractional part of argument to
39339         __ieee754_expl.
39340         * math/libm-test.inc (exp2_test): Add more tests.
39341
39342         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39343         negating x to take absolute value.
39344         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39345         Likewise.
39346         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39347         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39348         Likewise.
39349         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39350         computing low part if x was negated.
39351         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39352
39353 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39354
39355         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39356         la_x32_gnu_pltexit.
39357         (pltexit): Cast int_retval to ptrdiff_t.
39358         * elf/tst-auditmod3b.c: Likewise.
39359         * elf/tst-auditmod4b.c: Likewise.
39360         * elf/tst-auditmod5b.c: Likewise.
39361         * elf/tst-auditmod6b.c: Likewise.
39362         * elf/tst-auditmod6c.c: Likewise.
39363         * elf/tst-auditmod7b.c: Likewise.
39364
39365         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39366         and x32_gnu_pltexit.
39367
39368         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39369         __ELF_NATIVE_CLASS.
39370         (La_x32_regs): New macro.
39371         (La_x32_retval): Likewise.
39372         (la_x32_gnu_pltenter): New function prototype.
39373         (la_x32_gnu_pltexit): Likewise.
39374
39375 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39376
39377         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39378         exponent.
39379
39380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39381
39382         * configure.in (libc_cv_cc_nofma): Check for option to disable
39383         generation of FMA instructions.
39384         * configure: Regenerate.
39385         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39386         * sysdeps/ieee754/dbl-64/Makefile: New file.
39387         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39388         Remove brandred-fma4.
39389         (CFLAGS-brandred-fma4.c): Remove.
39390         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39391         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39392         define.
39393         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39394         define.
39395
39396 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39397
39398         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39399         LLONG_MAX != LONG_MAX.
39400         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39401         (_fitoa_word): Likewise.
39402         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39403         LLONG_MAX != LONG_MAX.
39404         * stdio-common/_itowa.h: Include <_itoa.h>.
39405         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39406         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39407         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39408         only if not defined.
39409         (_ITOA_WORD_TYPE): Likewise.
39410         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39411         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39412
39413 2012-03-21  David S. Miller  <davem@davemloft.net>
39414
39415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39416
39417 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39418
39419         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39420         of x86_64 when setting libc_cv_slibdir, libdir and
39421         libc_cv_localedir.
39422         * sysdeps/unix/sysv/linux/configure: Regenerated.
39423
39424 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39425
39426         * manual/lang.texi (Old Varargs): Remove section.
39427         (How Variadic): Update menu.
39428         (va_start): Do not mention varargs.h.
39429
39430 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39431             Joseph Myers  <joseph@codesourcery.com>
39432
39433         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39434         link test.
39435         * configure: Regenerated.
39436
39437 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39438
39439         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39440         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39441         conformtest.pl
39442
39443 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39444
39445         * NOTES: Remove.
39446         * Makefile (files-for-dist): Remove NOTES.
39447         (NOTES): Remove rule.
39448         * README: Don't refer to NOTES.
39449         * manual/creature.texi: Don't include macros.texi.
39450         * manual/intro.texi (creature.texi): Remove comment referring to
39451         NOTES.
39452
39453         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39454         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39455         * configure: Regenerated.
39456         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39457         LIBC_TRY_CC_OPTION.
39458         (libc_cv_as_i686): Likewise.
39459         (libc_cv_cc_avx): Likewise.
39460         (libc_cv_cc_sse2avx): Likewise.
39461         (libc_cv_cc_fma4): Likewise.
39462         (libc_cv_cc_novzeroupper): Likewise.
39463         * sysdeps/i386/configure: Regenerated.
39464
39465         [BZ #13883]
39466         * sysdeps/i386/fpu/s_cexp.S: Remove.
39467         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39468         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39469         * math/libm-test.inc (cexp_test): Add more tests.
39470         * sysdeps/i386/fpu/libm-test-ulps: Update.
39471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39472
39473 2012-03-21  Allan McRae  <allan@archlinux.org>
39474
39475         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39476
39477 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39478
39479         [BZ #13871]
39480         * math/w_exp2.c: Do not include <float.h>.
39481         (o_threshold, u_threshold): Remove.
39482         (__exp2): Calculate result before checking finiteness and calling
39483         __kernel_standard.
39484         * math/w_exp2f.c: Likewise.
39485         * math/w_exp2l.c: Likewise.
39486         * math/libm-test.inc (exp2_test): Require overflow exception for
39487         1e6 input.
39488
39489         [BZ #3866]
39490         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39491         range of signed 64-bit integers before using fistpll.  Remove
39492         checks for whether integers fit in mantissa bits.
39493         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39494         the range of signed 32-bit integers before using fistpl.  Remove
39495         checks for whether integers fit in mantissa bits.
39496         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39497         (__ieee754_powl): Test for y outside the range of signed 64-bit
39498         integers before using fistpll.  Reduce 64-bit values to 63-bit
39499         ones as needed.
39500         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39501         divide-by-zero is raised for zero to large negative powers.
39502         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39503         (__ieee754_powl): Test for y outside the range of signed 64-bit
39504         integers before using fistpll.  Reduce 64-bit values to 63-bit
39505         ones as needed.
39506         * math/libm-test.inc (pow_test): Add more tests.
39507
39508 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39509
39510         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39511         <stdio-common/_itoa.h>.
39512         * debug/segfault.c: Likewise.
39513         * elf/dl-cache.c: Likewise.
39514         * elf/dl-minimal.c: Likewise.
39515         * elf/dl-misc.c: Likewise.
39516         * elf/dl-sysdep.c: Likewise.
39517         * elf/dl-version.c: Likewise.
39518         * elf/rtld.c: Likewise.
39519         * hurd/hurdsock.c: Likewise.
39520         * hurd/lookup-retry.c: Likewise.
39521         * malloc/malloc.c: Likewise.
39522         * malloc/mtrace.c: Likewise.
39523         * nscd/nscd_getgr_r.c: Likewise.
39524         * nscd/nscd_getpw_r.c: Likewise.
39525         * nscd/nscd_getserv_r.c: Likewise.
39526         * posix/getopt_init.c: Likewise.
39527         * posix/wordexp.c: Likewise.
39528         * stdio-common/_itoa.c: Likewise.
39529         * stdio-common/printf_fphex.c: Likewise.
39530         * stdio-common/vfprintf.c: Likewise.
39531         * string/_strerror.c: Likewise.
39532         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39533         * sysdeps/i386/i686/hp-timing.h: Likewise.
39534         * sysdeps/mach/_strerror.c: Likewise.
39535         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39536         * sysdeps/mach/hurd/sethostid.c: Likewise.
39537         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39538         * sysdeps/mach/xpg-strerror.c: Likewise.
39539         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39540         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39541         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39542         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39543         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39544         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39545         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39546         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39547         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39548         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39549         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39550         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39551         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39552         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39553         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39554         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39555         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39556         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39557         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39558         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39559         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39560
39561         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39562
39563         * stdio-common/_itoa.h: Moved to ...
39564         * sysdeps/generic/_itoa.h: Here.
39565
39566         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39567
39568         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39569         instead of "_itoa.h" and "_itowa.h".
39570         * stdio-common/vfprintf.: Likewise.
39571
39572 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39573
39574         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39575         <bits/wordsize.h>.
39576         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39577         (__signbit): Likwise.
39578         (llrintf): Likwise.
39579         (llrint): Likwise.
39580
39581 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39582
39583         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39584         __WORDSIZE != 64.
39585
39586 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39587
39588         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39589         OVERFLOW_EXCEPTION_OK.
39590         * math/libm-test.inc ("Philosophy"): Update comment about
39591         exception testing.
39592         (OVERFLOW_EXCEPTION): Define.
39593         (OVERFLOW_EXCEPTION_OK): Likewise.
39594         (INVALID_EXCEPTION_OK): Renumber.
39595         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39596         (IGNORE_ZERO_INF_SIGN): Likewise.
39597         (test_exceptions): Handle FE_OVERFLOW.
39598         (exp10_test): Expect overflow exceptions.
39599         (exp2_test): Likewise.
39600         (expm1_test): Likewise.
39601         (nextafter_test): Likewise.
39602         (pow_test): Likewise.
39603         (scalbn_test): Likewise.
39604         (scalbln_test): Likewise.
39605
39606 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39607
39608         * sysdeps/x86_64/bits/atomic.h
39609         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39610         64bit integer.
39611         (atomic_exchange_acq): Likewise.
39612         (__arch_exchange_and_add_body): Likewise.
39613         (__arch_add_body): Likewise.
39614         (atomic_add_negative): Likewise.
39615         (atomic_add_zero): Likewise.
39616
39617 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39618
39619         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39620         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39621
39622 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39623
39624         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39625         Check __x86_64__ instead of __WORDSIZE.
39626
39627 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39628
39629         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39630
39631 2012-03-19  David S. Miller  <davem@davemloft.net>
39632
39633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39634
39635         * sysdeps/sparc/fpu/fenv_private.h: New file.
39636         * sysdeps/sparc/fpu/math_private.h: Use it.
39637         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39638         Remove.
39639         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39640         (libc_feholdexcept_setroundl): Remove.
39641         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39642         Remove.
39643         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39644         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39645
39646 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39647
39648         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39649         int64_t instead of long int.
39650         (INSERT_WORDS64): Likwise.
39651
39652 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39653
39654         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39655         _Unwind_GetCFA return to _Unwind_Ptr first.
39656
39657 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39658
39659         [BZ #13629]
39660         * math/s_clog.c: Include <float.h>.
39661         (__clog): Scale large or subnormal inputs.
39662         * math/s_clogf.c: Likewise.
39663         * math/s_clogl.c: Likewise.
39664         * math/s_clog10.c: Include <float.h>.
39665         (M_LOG10_2): Define.
39666         (__clog10): Scale large or subnormal inputs.
39667         * math/s_clog10f.c: Likewise.
39668         * math/s_clog10l.c: Likewise.
39669         * math/libm-test.inc (clog_test): Add more tests.
39670         (clog10_test): Likewise.
39671         * sysdeps/i386/fpu/libm-test-ulps: Update.
39672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39673
39674         [BZ #11451]
39675         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39676         x and y.
39677         * math/libm-test.inc (atan2_test): Add another test.
39678
39679         * Makerules (common-objdir-compile): Remove.
39680         * sysdeps/unix/Makefile (config-generated): Do not add
39681         $(unix-generated) to variable.
39682         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39683         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39684         Remove rule.
39685         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39686         Likewise.
39687         [generic bits/local_lim.h] (before-compile): Do not append to
39688         variable.
39689         [generic bits/local_lim.h] (common-generated): Likewise.
39690         [generic sys/param.h] (before-compile): Do not append to variable.
39691         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39692         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39693         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39694         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39695         include.
39696         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39697         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39698         [generic sys/param.h] ($(addprefix
39699         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39700         [generic sys/param.h] (common-generated): Do not append to
39701         variable.
39702         [generic sys/param.h] (sysdep_headers): Likewise.
39703         [generic bits/errno.h] (before-compile): Do not append to
39704         variable.
39705         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39706         rule.
39707         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39708         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39709         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39710         [generic bits/errno.h] (common-generated): Do not append to
39711         variable.
39712         [generic bits/ioctls.h] (before-compile): Do not append to
39713         variable.
39714         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39715         rule.
39716         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39717         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39718         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39719         rule.
39720         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39721         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39722         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39723         [generic bits/ioctls.h] (common-generated): Do not append to
39724         variable.
39725         [generic sys/syscall.h] (syscall.h): Remove variable.
39726         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39727         rule.
39728         [generic sys/syscall.h] (before-compile): Do not append to
39729         variable.
39730         [generic sys/syscall.h] (common-generated): Likewise.
39731         * sysdeps/unix/errnos-tmpl.c: Remove file.
39732         * sysdeps/unix/errnos.awk: Likewise.
39733         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39734         * sysdeps/unix/ioctls.awk: Likewise.
39735         * sysdeps/unix/mk-local_lim.c: Likewise.
39736         * sysdeps/unix/snarf-ioctls: Likewise.
39737
39738 2012-03-19  Richard Henderson  <rth@twiddle.net>
39739
39740         * sysdeps/i386/fpu/fenv_private.h: New file.
39741         * sysdeps/i386/fpu/math_private.h: Use it.
39742         (math_opt_barrier, math_force_eval): Remove.
39743         (libc_feholdexcept_setround_53bit): Remove.
39744         (libc_feupdateenv_53bit): Remove.
39745         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39746         (math_opt_barrier, math_force_eval): Remove.
39747         (libc_feholdexcept): Remove.
39748         (libc_feholdexcept_setround): Remove.
39749         (libc_fetestexcept, libc_fesetenv): Remove.
39750         (libc_feupdateenv_test): Remove.
39751         (libc_feupdateenv, libc_feholdsetround): Remove.
39752         (libc_feresetround): Remove.
39753
39754         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39755         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39756
39757         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39758         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39759         (libc_feupdateenv_testl): New.
39760         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39761         (libc_feupdateenv_testf): New.
39762         (libc_feupdateenv): Use libc_feupdateenv_test.
39763         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39764         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39765
39766         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39767         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39768         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39769         (libc_feresetround_noex): New.
39770         (libc_feresetround_noexf): New.
39771         (libc_feresetround_noexl): New.
39772         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39773         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39774         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39775         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39776         SET_RESTORE_ROUND.
39777         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39778         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39779         (__cos): Likewise.
39780         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39781         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39782         SET_RESTORE_ROUND_NOEX.
39783         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39784         SET_RESTORE_ROUND_NOEXF.
39785         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39786         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39787         (libc_feholdsetroundf): New.
39788         (libc_feresetround, libc_feresetroundf): New.
39789
39790         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39791         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39792         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39793
39794         * sysdeps/generic/math_private.h: Include <fenv.h>.
39795         (default_libc_feholdexcept): New.
39796         (default_libc_feholdexcept_setround): New.
39797         (default_libc_fesetenv, default_libc_feupdateenv): New.
39798         (libc_feholdexcept): Only define if undefined.
39799         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39800         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39801         (libc_feholdexcept_setroundl): Likewise.
39802         (libc_feholdexcept_setround_53bit): Likewise.
39803         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39804         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39805         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39806         (libc_feupdateenv_53bit): Likewise.
39807         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39808         (libc_feholdexcept): Convert from macro to inline function.
39809         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39810         (libc_fesetenv, libc_feupdateenv): Likewise.
39811
39812         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39813         not previously defined.
39814         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39815         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39816         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39817         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39818         * sysdeps/ieee754/flt-32/math_private.h: New file.
39819         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39820         math_private.h below SET_FLOAT_WORD.
39821         (__isnan, __isinf_ns, __finite): Remove.
39822         (__isnanf, __isinf_nsf, __finitef): Remove.
39823
39824 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39825
39826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39827
39828 2012-03-17  David S. Miller  <davem@davemloft.net>
39829
39830         [BZ #6471]
39831         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39832         for 2.16.
39833
39834 2012-03-16  David S. Miller  <davem@davemloft.net>
39835
39836         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39837         warnings.
39838
39839         [BZ #6471]
39840         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39841         properly.
39842         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39843         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39844         sysdep_routines when subdir is sysvipc.
39845         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39846         __getshmlba helper.
39847
39848         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39849
39850 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39851
39852         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39853         [__LP64__].
39854
39855 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39856
39857         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39858         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39859         (__lround): Renamed to ...
39860         (__llround): This.  Replace long int with long long int.
39861         Define lround functions as aliases of llround functions.
39862         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39863
39864 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39865
39866         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39867         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39868         adresses to uintptr_t.  Replace "long int" and "unsigned long
39869         int" with "greg_t" on va_arg.
39870
39871 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39872
39873         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39874         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39875
39876         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39877         Move e_machine check before EI_CLASS check.  Handle x32
39878         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39879         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39880         SKIP_EM_IA_64 and include
39881         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39882
39883         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39884         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39885         (add_system_dir): New macro.
39886
39887         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39888         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39889
39890 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39891
39892         [BZ #2551]
39893         [BZ #2552]
39894         [BZ #2553]
39895         [BZ #2554]
39896         [BZ #2562]
39897         [BZ #2563]
39898         [BZ #2565]
39899         [BZ #2566]
39900         [BZ #2576]
39901         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39902         (y0): Likewise.
39903         * math/w_j0f.c (j0f): Likewise.
39904         (y0f): Likewise.
39905         * math/w_j0l.c (__j0l): Likewise.
39906         (__y0l): Likewise.
39907         * math/w_j1.c (j1): Likewise.
39908         (y1): Likewise.
39909         * math/w_j1f.c (j1f): Likewise.
39910         (y1f): Likewise.
39911         * math/w_j1l.c (__j1l): Likewise.
39912         (__y1l): Likewise.
39913         * math/w_jn.c (jn): Likewise.
39914         (yn): Likewise.
39915         * math/w_jnf.c (jnf): Likewise.
39916         (ynf): Likewise.
39917         * math/w_jnl.c (__jnl): Likewise.
39918         (__ynl): Likewise.
39919         * math/libm-test.inc (j0_test): Add more tests.
39920         (j1_test): Likewise.
39921         (jn_test): Likewise.  Add trailing semicolon to existing test.
39922         (y0_test): Likewise.
39923         (y1_test): Likewise.
39924         * sysdeps/i386/fpu/libm-test-ulps: Update.
39925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39926
39927         [BZ #13851]
39928         [BZ #13854]
39929         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39930         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39931         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39932         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39933         (__tanl): Set errno for infinite argument.
39934         * sysdeps/i386/fpu/mptan.c: Remove.
39935         * sysdeps/i386/fpu/s_tan.S: Likewise.
39936         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39937         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39938         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39939         * math/libm-test.inc (tan_test): Add more tests and enable more
39940         tests for double and long double.
39941         * sysdeps/i386/fpu/libm-test-ulps: Update.
39942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39943
39944 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39945
39946         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39947         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39948
39949 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39950
39951         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39952         * configure.in: Use it for both main tree and add-ons.
39953         * configure: Regenerated.
39954
39955 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39956
39957         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39958
39959 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39960
39961         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39962         in comment.
39963
39964         [BZ #13851]
39965         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39966         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39967         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39968         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39969         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39970         infinite argument.
39971         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39972         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39973         != 0 for prec == 2.
39974         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39975         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39976         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39977         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39978         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39979         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39980         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39981         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39982         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39983         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39984         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39985         * math/libm-test.inc (cos_test): Add more tests and enable more
39986         tests for long double.
39987         (sin_test): Likewise.
39988         (sincos_test): Likewise.
39989         * sysdeps/i386/fpu/libm-test-ulps: Update.
39990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39991
39992 2012-03-16  David S. Miller  <davem@davemloft.net>
39993
39994         * sysdeps/sparc/fpu/math_private.h: New file.
39995
39996 2012-03-15  David S. Miller  <davem@davemloft.net>
39997
39998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39999         file.
40000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40002         file.
40003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40004         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40008         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40009         sysdep routines.
40010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40011
40012         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40013         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40014
40015         * sysdeps/sparc/sparc-ifunc.h: New file.
40016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40017         sparc-ifunc.h
40018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40020         Likewise.
40021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40022         Likewise.
40023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40027         Likewise.
40028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40033         Likewise.
40034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40035         Likewise.
40036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40040         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40041         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40042         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40043         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40044         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40045         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40050         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40051         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40052         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40053         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40054         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40055         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40056         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40057         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40058         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40059         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40060
40061 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40062
40063         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40064         scaling.
40065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40066
40067 2012-03-15  Andreas Jaeger  <aj@suse.de>
40068
40069         [BZ #13852]
40070         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40071         ieee754/flt-32 implementation for sin, cos and sincos.
40072         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40073         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40074         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40075         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40076         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40077         ieee754/flt-32 implementation for tan.
40078
40079         * math/libm-test.inc (cos_test): Enable some large input tests for
40080         float as well
40081         (sin_test): Likewise.
40082         (sincos_test): Likewise.
40083         (tan_test): Add tests for large input.
40084
40085         * sysdeps/i386/fpu/libm-test-ulps: Update.
40086
40087 2012-03-15  Andreas Jaeger  <aj@suse.de>
40088
40089         [BZ #13658]
40090         * math/libm-test.inc (cos_test): Add more test cases.
40091         (sin_test): Likewise.
40092         (sincos_test): Likewise.
40093
40094 2012-03-15  Andreas Jaeger  <aj@suse.de>
40095
40096         [BZ #13837]
40097         * math/libm-test.inc (cos_test): Add a test case for large input
40098         value.
40099         (sin_test): Likewise.
40100         (sincos_test): Likewise.
40101
40102 2012-03-15  Andreas Jaeger  <aj@suse.de>
40103             Joseph Myers  <joseph@codesourcery.com>
40104
40105         [BZ #13658]
40106         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40107         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40108         * sysdeps/i386/fpu/branred.c: Likewise.
40109         * sysdeps/i386/fpu/dosincos.c: Likewise.
40110         * sysdeps/i386/fpu/mpa.c: Likewise.
40111         * sysdeps/i386/fpu/s_cos.S: Likewise.
40112         * sysdeps/i386/fpu/s_sin.S: Likewise.
40113         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40114         * sysdeps/i386/fpu/sincos32.c: Likewise.
40115
40116         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40117         Define.
40118         (libc_feupdateenv_53bit): Define.
40119         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40120         Define.
40121         (libc_feupdateenv_53bit): Define.
40122
40123         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40124         53 bit (without extend i386 double precision).
40125
40126         * math/libm-test.inc (sincos_test): Add tests for large input.
40127         (sin): Likewise.
40128         (cos): Likewise.
40129
40130         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40131
40132 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40133
40134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40135
40136 2012-03-15  David S. Miller  <davem@davemloft.net>
40137
40138         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40139         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40140         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40141         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40154         file.
40155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40157         file.
40158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40160         file.
40161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40163         file.
40164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40165         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40166         fmin/fmax sysdep routines.
40167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40168
40169 2012-03-14  David S. Miller  <davem@davemloft.net>
40170
40171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40172         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40173         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40175         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40176         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40177         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40178         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40179         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40180         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40183         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40184         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40185         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40188         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40189         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40190         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40191         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40192         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40193         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40194         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40195         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40196         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40197         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40198         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40199         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40200         routines.
40201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40202         file.
40203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40205         file.
40206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40208         file.
40209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40211         file.
40212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40214         file.
40215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40217         file.
40218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40219         file.
40220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40221         file.
40222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40223         file.
40224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40225         New file.
40226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40227         file.
40228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40229         file.
40230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40232         file.
40233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40235         file.
40236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40238         file.
40239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40241         VIS3 routines.
40242
40243         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40244         New file.
40245
40246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40247
40248         * sysdeps/sparc/configure.in: New file.
40249         * sysdeps/sparc/configure: Generate.
40250         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40251         * configure: Regenerate.
40252         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40253         * config.make.in (have-as-vis3): New.
40254         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40255         available use -Av9d instead of -Av9a.
40256         * sysdeps/sparc/sparc64/Makefile: Likewise.
40257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40259         New file.
40260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40261         file.
40262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40263         New file.
40264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40265         file.
40266         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40267         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40268         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40269         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40270         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40271
40272         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40273         fzeros/fnegs to load 0x80000000 into a float register instead of
40274         using the stack.
40275         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40276
40277 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40278
40279         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40280         bits/syscall.h.
40281         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40282         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40283         ($(inst_includedir)/bits/syscall.h): Remove rule.
40284         ($(objpfx)bits/syscall.d): Include instead of
40285         $(objpfx)syscall-list.d.
40286         (generated): Change syscall-list.h and syscall-list.d to
40287         bits/syscall.h and bits/syscall.d.
40288
40289 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40290
40291         [BZ #13846]
40292         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40293
40294 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40295
40296         [BZ #13841]
40297         * math/s_csqrt.c: Include <float.h>.
40298         (__csqrt): Scale large or subnormal inputs.
40299         * math/s_csqrtf.c: Likewise.
40300         * math/s_csqrtl.c: Likewise.
40301         * math/libm-test.inc (csqrt_test): Add more tests.
40302         * sysdeps/i386/fpu/libm-test-ulps: Update.
40303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40304
40305         [BZ #13840]
40306         * math/libm-test.inc (hypot_test): Add more tests.
40307
40308 2012-03-13  David S. Miller  <davem@davemloft.net>
40309
40310         [BZ #13840]
40311         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40312         double-precision for the calculation instead of scaling.
40313
40314 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40315
40316         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40317         manipulate bits before adding and subtracting TWO52[sx].
40318         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40319         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40320         Likewise.
40321         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40322
40323 2012-03-13  David S. Miller  <davem@davemloft.net>
40324
40325         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40326         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40327         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40328         rtld-global-offsets.h
40329         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40330
40331         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40332         large parameters.
40333
40334         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40335
40336         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40337         'err' in the ifdef scope in which it is actually used.
40338
40339         * nss/nss_db/db-init.c: Include string.h
40340
40341 2012-03-12  David S. Miller  <davem@davemloft.net>
40342
40343         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40344         masking out of the most significant byte of random value used.
40345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40346         Fix coding style in previous change.
40347
40348         * sysdeps/unix/sysv/linux/kernel-features.h
40349         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40350         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40351         expression.
40352         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40353         later.
40354
40355 2012-03-11  David S. Miller  <davem@davemloft.net>
40356
40357         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40358         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40359         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40360         for 'resultvar' otherwise things get truncated on 64-bit.
40361
40362         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40363         Fix masking out of the most significant byte of random value used.
40364
40365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40366
40367 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40368
40369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40370
40371 2012-03-09  David S. Miller  <davem@davemloft.net>
40372
40373         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40374         variables with appropriate CPP guards.
40375         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40376         from the frame pointer, not the stack pointer.  Correct layout
40377         comments.  Fix test on resulting framesize and the management of
40378         the outregs buffer for pltexit.  Preserve floating point return
40379         values across _dl_call_pltexit call.
40380         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40381         framesize and the management of the outregs buffer for pltexit.
40382         Preserve floating point return values across _dl_call_pltexit
40383         call.
40384         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40385         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40386         (la_sparc64_gnu_pltexit): New functions.
40387         (print_exit): Fix format string for return register value.
40388
40389 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40390
40391         * sunrpc/Makefile (others): Add rpcgen.
40392         ($(objpfx)rpcgen): Remove special build rule and dependency on
40393         libc.
40394         * sunrpc/rpcgen.c: New file.
40395
40396 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40397
40398         [BZ #13673]
40399         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40400         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40401         * sysdeps/i386/crti.S: Likewise.
40402         * sysdeps/i386/crtn.S: Likewise.
40403         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40404         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40405         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40406         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40407         * sysdeps/sh/crti.S: Likewise.
40408         * sysdeps/sh/crtn.S: Likewise.
40409         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40410
40411         [BZ #13673]
40412         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40413         with URL.
40414         * locale/programs/locfile-kw.gperf: Likewise.
40415         * locale/programs/charmap-kw.h: Regenerated.
40416         * locale/programs/locfile-kw.h: Likewise.
40417
40418         [BZ #13673]
40419         * intl/plural.y: Replace FSF snail mail address with URL.
40420         * intl/plural.c: Regenerated.
40421
40422 2012-03-09  Richard Henderson  <rth@twiddle.net>
40423
40424         * include/math_private.h: Remove file.
40425         * math/math_private.h: Move file ...
40426         * sysdeps/generic/math_private.h: ... here.
40427
40428         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40429         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40430         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40431
40432         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40433         and <math_private.h>.
40434         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40435         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40436         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40437         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40438         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40439         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40440         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40441         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40442         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40443         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40444         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40445         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40446         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40447         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40448         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40449         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40450         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40451         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40452         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40453         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40454         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40455         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40456         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40457         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40458         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40459         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40460         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40461         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40462         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40463         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40464         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40465         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40466         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40468         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40469         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40470         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40471         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40472         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40473         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40474         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40475         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40476         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40477         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40478         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40479         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40480         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40481         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40482         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40483         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40484         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40485         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40486         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40487         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40488         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40489         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40490         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40491         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40492         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40493         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40494         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40495         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40496         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40497         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40498         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40499         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40500         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40501         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40502         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40503         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40504         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40505         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40506         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40507         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40508         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40509         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40510         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40511         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40512         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40513         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40514         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40515         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40516         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40517         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40518         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40519         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40521         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40522         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40523         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40524         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40525         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40526         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40527         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40528         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40529         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40530         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40531         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40532         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40533         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40534         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40535         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40536         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40537         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40538         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40539         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40540         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40541         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40542         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40543         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40544         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40545         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40546         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40547         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40548         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40549         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40550         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40551         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40552         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40553         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40554         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40555         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40556         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40557         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40558         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40559         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40560         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40561         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40562         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40563         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40564         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40565         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40566         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40567         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40568         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40569         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40570         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40571         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40572         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40573         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40574         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40575         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40576         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40577         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40578         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40579         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40580         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40581         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40582         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40583         * sysdeps/ieee754/k_standard.c: Likewise.
40584         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40585         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40586         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40587         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40588         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40589         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40590         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40591         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40592         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40593         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40594         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40595         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40596         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40597         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40598         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40599         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40600         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40601         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40602         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40603         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40604         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40605         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40606         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40607         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40608         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40609         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40610         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40611         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40612         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40613         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40614         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40615         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40616         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40617         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40618         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40619         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40620         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40621         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40622         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40623         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40624         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40625         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40626         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40627         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40628         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40629         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40630         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40631         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40632         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40633         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40634         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40635         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40636         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40637         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40638         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40639         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40640         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40641         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40642         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40643         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40644         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40645         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40646         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40647         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40648         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40649         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40650         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40651         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40652         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40653         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40654         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40655         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40656         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40657         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40658         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40659         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40660         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40661         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40662         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40663         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40664         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40665         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40666         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40667         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40668         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40669         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40670         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40671         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40672         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40673         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40674         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40675         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40677         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40678         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40679         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40680         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40681         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40682         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40683         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40684         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40685         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40686         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40687         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40688         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40689         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40690         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40691         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40692         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40693         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40694         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40695         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40696         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40697         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40698         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40699         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40700         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40701         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40702         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40703         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40704         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40705         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40706         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40707         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40708         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40709         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40710         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40711         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40712         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40713         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40714         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40715         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40716         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40717         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40718         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40719         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40720         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40721         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40722         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40723         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40724         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40725         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40726         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40727         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40728         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40729         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40730         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40731         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40732         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40733         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40734         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40735         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40736         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40737         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40738         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40739         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40740         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40741         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40742         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40743         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40744         * sysdeps/ieee754/s_lib_version.c: Likewise.
40745         * sysdeps/ieee754/s_matherr.c: Likewise.
40746         * sysdeps/ieee754/s_signgam.c: Likewise.
40747         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40748         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40749         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40750         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40751         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40752         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40753         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40754         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40755         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40756         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40757         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40758         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40759         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40760         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40761         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40762         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40763         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40764         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40765         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40766         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40767         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40768
40769 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40770
40771         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40772         * sunrpc/rpc_main.c: Likewise.
40773         * sunrpc/rpc_svcout.c: Likewise.
40774
40775 2012-03-09  David S. Miller  <davem@davemloft.net>
40776
40777         * include/math_private.h: New file.
40778
40779 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40780
40781         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40782         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40783         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40784         from <bits/socket_type.h>.
40785         (enum __socket_type): Don't define here.
40786         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40787         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40788         bits/socket_type.h.
40789
40790         [BZ #13566]
40791         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40792         checking __USE_GNU.
40793
40794         * Makerules ($(inst_includedir)/%.h): New rule.
40795         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40796         (install-others): Remove variable setting.
40797         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40798
40799 2012-03-08  Richard Henderson  <rth@twiddle.net>
40800
40801         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40802         from macro to inline function; merge with the
40803         !__LIBC_INTERNAL_MATH_INLINES version.
40804         (__ieee754_sqrtf): Likewise.
40805
40806         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40807         to inline function.
40808         (__rintf, __floor, __floorf): Likewise.
40809
40810         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40811         macro to inline function.
40812         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40813
40814         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40815         not <math/math_private.h>.
40816
40817 2012-03-08  David S. Miller  <davem@davemloft.net>
40818
40819         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40820         copyright year.
40821         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40822
40823 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40824
40825         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40826         normalization.
40827         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40828         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40829
40830 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40831
40832         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40833         be defined individually, they must be defined as a block.  Define
40834         S for printing a string instead of hidint the different by using a
40835         macro for adding the 'l'.
40836         * stdio-common/tst-fphex-wide.c: Adjust.
40837
40838 2012-03-07  Marek Polacek  <polacek@redhat.com>
40839
40840         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40841
40842 2012-03-08  Marek Polacek  <polacek@redhat.com>
40843
40844         [BZ #13806]
40845         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40846         * stdio-common/tst-fphex.c: Define a few macros to make the
40847         test reusable.  Use them.
40848         * stdio-common/tst-fphex-wide.c: New file.
40849
40850 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40851
40852         [BZ #6911]
40853         * manual/macros.texi (gnusystems): New macro.
40854         (nongnusystems): Likewise.
40855         (gnulinuxhurdsystems): Likewise.
40856         (gnuhurdsystems): Likewise..
40857         (gnulinuxsystems): Likewise.
40858         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40859         variants of the GNU system, not "GNU system".
40860         * manual/conf.texi: Likewise.
40861         * manual/errno.texi: Likewise.  Update example of errno macro
40862         expansion.
40863         * manual/filesys.texi: Likewise.
40864         (getumask): Document as specific to GNU/Hurd.
40865         * manual/install.texi: Likewise.  Reword some references to
40866         GNU/Linux.
40867         * manual/intro.texi: Likewise.
40868         * manual/io.texi: Likewise.
40869         (File Name Portability): Detail which constraints are inapplicable
40870         to all GNU systems and which are only inapplicable to GNU/Hurd.
40871         * manual/job.texi: Likewise.
40872         * manual/llio.texi: Likewise.
40873         (O_NOCTTY): Document as present on GNU/Linux.
40874         * manual/maint.texi: Likewise.
40875         * manual/memory.texi: Likewise.
40876         * manual/pattern.texi: Likewise.
40877         * manual/pipe.texi: Likewise.
40878         * manual/process.texi: Likewise.
40879         * manual/resource.texi: Likewise.
40880         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40881         child on GNU/Hurd.
40882         * manual/setjmp.texi: Likewise.
40883         * manual/signal.texi: Likewise.
40884         * manual/startup.texi: Likewise.
40885         * manual/stdio.texi: Likewise.
40886         * manual/terminal.texi: Likewise.
40887         (ONLCR): Document as POSIX.
40888         (OXTABS): Document availability on GNU/Linux as XTABS.
40889         (ONOEOT): Document availability separately from other bits.
40890         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40891         * manual/time.texi: Likewise.
40892         * manual/users.texi: Likewise.
40893         * INSTALL: Regenerated.
40894         * sysdeps/gnu/errlist.c: Regenerated.
40895
40896         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40897         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40898         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40899         puts.
40900         * configure: Regenerated.
40901
40902 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40903
40904         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40905         default includes instead of AC_HEADER_CHECK.
40906         * sysdeps/i386/configure: Regenerated.
40907
40908         [BZ #10716]
40909         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40910         * math/s_cacoshf.c (__cacoshf): Likewise.
40911         * math/s_cacoshl.c (__cacoshl): Likewise.
40912         * math/s_casinh.c (__casinh): Set signs of result from argument.
40913         * math/s_casinhf.c (__casinhf): Likewise.
40914         * math/s_casinhl.c (__casinhl): Likewise.
40915         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40916         (casinh_test): Add more tests.
40917         * sysdeps/i386/fpu/libm-test-ulps: Update.
40918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40919
40920 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40921
40922         * po/zh_TW.po: Update from translation team.
40923
40924         * login/Makefile (distribute): Remove variable.
40925         * catgets/Makefile: Likewise.
40926         * mach/Makefile: Likewise.
40927         * malloc/Makefile: Likewise.
40928         * misc/Makefile: Likewise.
40929         * iconv/Makefile: Likewise.
40930         * nscd/Makefile: Likewise.
40931         * hurd/Makefile: Likewise.
40932         * manual/Makefile: Likewise.
40933         * locale/Makefile: Likewise.
40934         * intl/Makefile: Likewise.
40935         * conform/Makefile: Likewise.
40936         * nss/Makefile: Likewise.
40937         * time/Makefile: Likewise.
40938         * soft-fp/Makefile: Likewise.
40939         * dirent/Makefile: Likewise.
40940         * gmon/Makefile: Likewise.
40941         * po/Makefile: Likewise.
40942         * rt/Makefile: Likewise.
40943         * socket/Makefile: Likewise.
40944         * math/Makefile: Likewise.
40945         * signal/Makefile: Likewise.
40946         * debug/Makefile: Likewise.
40947         * elf/Makefile: Likewise.
40948         * timezone/Makefile: Likewise.
40949         * stdlib/Makefile: Likewise.
40950         * iconvdata/Makefile: Likewise.
40951         * sunrpc/Makefile: Likewise.
40952         * io/Makefile: Likewise.
40953         * argp/Makefile: Likewise.
40954         * inet/Makefile: Likewise.
40955         * hesiod/Makefile: Likewise.
40956         * grp/Makefile: Likewise.
40957         * csu/Makefile: Likewise.
40958         * wctype/Makefile: Likewise.
40959         * crypt/Makefile: Likewise.
40960         * libio/Makefile: Likewise.
40961         * string/Makefile: Likewise.
40962         * nis/Makefile: Likewise.
40963         * resolv/Makefile: Likewise.
40964         * stdio-common/Makefile: Likewise.
40965         * wcsmbs/Makefile: Likewise.
40966         * dlfcn/Makefile: Likewise.
40967         * posix/Makefile: Likewise.
40968
40969         [BZ #6959]
40970         * timezone/Makefile: Don't install timezone files, just the programs
40971         and scripts.
40972
40973 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40974
40975         * nss/databases.def: Add missing gshadow entry.
40976
40977         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40978
40979 2012-03-06  Marek Polacek  <polacek@redhat.com>
40980
40981         [BZ #13726]
40982         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40983         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40984         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40985         * stdio-common/tst-long-dbl-fphex.c: New file.
40986
40987 2012-03-06  David S. Miller  <davem@davemloft.net>
40988
40989         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40990         (set_obp_int): New function.
40991         (get_obp_int): New function.
40992         (__get_clockfreq_via_dev_openprom): Likewise.
40993         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40994         Avoid unused variable warnings on 'val' and use builtin_expect.
40995         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40996         __builtin_expect.
40997         (INLINE_CLONE_SYSCALL): Likewise.
40998
40999 2012-03-05  David S. Miller  <davem@davemloft.net>
41000
41001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41002
41003 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41004
41005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41006
41007         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41008         only for |x| >= 40.
41009         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41010
41011 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41012
41013         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41014         Replace gettimeofday with __vdso_gettimeofday.
41015
41016         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41017         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41018         __vdso_clock_gettime and __vdso_getcpu.
41019
41020         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41021         time with __vdso_time.
41022
41023 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41024
41025         * manual/lang.texi (size_t): Note types to which size_t may be
41026         equivalent with the GNU C Library, but do not describe when
41027         differences between them are significant.
41028
41029 2012-03-05  Andreas Jaeger  <aj@suse.de>
41030
41031         * sysdeps/i386/fpu/libm-test-ulps: Update.
41032
41033 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41034
41035         [BZ #3976]
41036         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41037         (__ieee754_pow): Save and restore rounding mode and use
41038         round-to-nearest for main computations.
41039         * math/libm-test.inc (pow_test_tonearest): New function.
41040         (pow_test_towardzero): Likewise.
41041         (pow_test_downward): Likewise.
41042         (pow_test_upward): Likewise.
41043         (main): Call the new functions.
41044         * sysdeps/i386/fpu/libm-test-ulps: Update.
41045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41046
41047         [BZ #3976]
41048         * math/libm-test.inc (cosh_test_tonearest): New function.
41049         (cosh_test_towardzero): Likewise.
41050         (cosh_test_downward): Likewise.
41051         (cosh_test_upward): Likewise.
41052         (sinh_test_tonearest): Likewise.
41053         (sinh_test_towardzero): Likewise.
41054         (sinh_test_downward): Likewise.
41055         (sinh_test_upward): Likewise.
41056         (main): Call the new functions.
41057         * sysdeps/i386/fpu/libm-test-ulps: Update.
41058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41059
41060 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41061
41062         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41063         default stack guard is set in last bytes.
41064         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41065
41066 2012-03-05  Kees Cook  <keescook@chromium.org>
41067
41068         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41069
41070         [BZ #13656]
41071         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41072         possibly allocate from heap instead of stack.
41073         * stdio-common/bug-vfprintf-nargs.c: New file.
41074         * stdio-common/Makefile (tests): Add nargs overflow test.
41075
41076 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41077
41078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41079
41080 2012-03-03  Marek Polacek  <polacek@redhat.com>
41081
41082         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41083         * math/math_private.h: Likewise.
41084         * stdlib/tst-strtod.c: Likewise.
41085         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41086         * sysdeps/x86_64/bits/atomic.h: Likewise.
41087
41088 2012-03-02  David S. Miller  <davem@davemloft.net>
41089
41090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41094         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41095         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41096         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41097         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41098
41099 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41100
41101         [BZ #13792]
41102         * manual/examples/README: New file, says the example source files
41103         can be used under GPL>=2.
41104         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41105         line containing just "*/".
41106         * manual/examples/add.c: Add copyright header (GPL>=2).
41107         * manual/examples/argp-ex1.c: Likewise.
41108         * manual/examples/argp-ex2.c: Likewise.
41109         * manual/examples/argp-ex3.c: Likewise.
41110         * manual/examples/argp-ex4.c: Likewise.
41111         * manual/examples/atexit.c: Likewise.
41112         * manual/examples/db.c: Likewise.
41113         * manual/examples/dir.c: Likewise.
41114         * manual/examples/dir2.c: Likewise.
41115         * manual/examples/execinfo.c: Likewise.
41116         * manual/examples/filecli.c: Likewise.
41117         * manual/examples/filesrv.c: Likewise.
41118         * manual/examples/fmtmsgexpl.c: Likewise.
41119         * manual/examples/genpass.c: Likewise.
41120         * manual/examples/inetcli.c: Likewise.
41121         * manual/examples/inetsrv.c: Likewise.
41122         * manual/examples/isockad.c: Likewise.
41123         * manual/examples/longopt.c: Likewise.
41124         * manual/examples/memopen.c: Likewise.
41125         * manual/examples/memstrm.c: Likewise.
41126         * manual/examples/mkfsock.c: Likewise.
41127         * manual/examples/mkisock.c: Likewise.
41128         * manual/examples/mygetpass.c: Likewise.
41129         * manual/examples/pipe.c: Likewise.
41130         * manual/examples/popen.c: Likewise.
41131         * manual/examples/rprintf.c: Likewise.
41132         * manual/examples/search.c: Likewise.
41133         * manual/examples/select.c: Likewise.
41134         * manual/examples/setjmp.c: Likewise.
41135         * manual/examples/sigh1.c: Likewise.
41136         * manual/examples/sigusr.c: Likewise.
41137         * manual/examples/stpcpy.c: Likewise.
41138         * manual/examples/strdupa.c: Likewise.
41139         * manual/examples/strftim.c: Likewise.
41140         * manual/examples/strncat.c: Likewise.
41141         * manual/examples/subopt.c: Likewise.
41142         * manual/examples/swapcontext.c: Likewise.
41143         * manual/examples/termios.c: Likewise.
41144         * manual/examples/testopt.c: Likewise.
41145         * manual/examples/testpass.c: Likewise.
41146         * manual/examples/timeval_subtract.c: Likewise.
41147
41148         [BZ #13792]
41149         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41150         function to ...
41151         * manual/timeval_subtract.c.texi: ... here, new file.
41152
41153 2012-03-02  David S. Miller  <davem@davemloft.net>
41154
41155         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41156
41157 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41158
41159         [BZ #3976]
41160         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41161         (__sin): Save and restore rounding mode and use round-to-nearest
41162         for all computations.
41163         (__cos): Save and restore rounding mode and use round-to-nearest
41164         for all computations.
41165         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41166         <fenv.h>.
41167         (tan): Save and restore rounding mode and use round-to-nearest for
41168         all computations.
41169         * math/libm-test.inc (cos_test_tonearest): New function.
41170         (cos_test_towardzero): Likewise.
41171         (cos_test_downward): Likewise.
41172         (cos_test_upward): Likewise.
41173         (sin_test_tonearest): Likewise.
41174         (sin_test_towardzero): Likewise.
41175         (sin_test_downward): Likewise.
41176         (sin_test_upward): Likewise.
41177         (tan_test_tonearest): Likewise.
41178         (tan_test_towardzero): Likewise.
41179         (tan_test_downward): Likewise.
41180         (tan_test_upward): Likewise.
41181         (main): Call the new functions.
41182         * sysdeps/i386/fpu/libm-test-ulps: Update.
41183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41184
41185         [BZ #10135]
41186         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41187         small n, then large n, before computing and testing k+n.
41188         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41189         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41190         Likewise.
41191         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41192         Likewise.
41193         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41194         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41195         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41196         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41197         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41198         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41199         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41200         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41201         * math/libm-test.inc (scalbn_test): Add more tests.
41202         (scalbln_test): Likewise.
41203
41204         * manual/filesys.texi (mode_t): Describe constraints on size and
41205         signedness, not exact equivalence to a particular type.
41206         (ino_t): Likewise.
41207         (ino64_t): Likewise.
41208         (dev_t): Likewise.
41209         (nlink_t): Likewise.
41210         (blkcnt_t): Likewise.
41211         (blkcnt64_t): Likewise.
41212         * manual/llio.texi (off_t): Likewise.
41213
41214         [BZ #3976]
41215         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41216         (__ieee754_exp): Save and restore rounding mode and use
41217         round-to-nearest for all computations.
41218         * math/libm-test.inc (exp_test_tonearest): New function.
41219         (exp_test_towardzero): Likewise.
41220         (exp_test_downward): Likewise.
41221         (exp_test_upward): Likewise.
41222         (main): Call the new functions.
41223         * sysdeps/i386/fpu/libm-test-ulps: Update.
41224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41225
41226 2012-03-01  Chris Demetriou  <cgd@google.com>
41227
41228         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41229         have predictable order.
41230
41231 2012-03-01  David S. Miller  <davem@davemloft.net>
41232
41233         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41234
41235         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41236         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41237         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41238         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41239
41240         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41241         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41242         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41244         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41245         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41246         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41247         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41248         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41249
41250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41251
41252         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41253         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41254         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41255
41256         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41257         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41258         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41259         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41260         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41261         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41262         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41263         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41264         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41265         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41266         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41267         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41269         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41270         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41271         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41272         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41273         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41274         * sysdeps/sparc/elf/configure: Regenerated.
41275
41276 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41277
41278         * configure.in (AS, LD): Require binutils 2.20 or later.
41279         * configure: Regenerated.
41280         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41281         as required minimum version.
41282         * INSTALL: Regenerated.
41283
41284         [BZ #2541]
41285         [BZ #4108]
41286         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41287         before squaring exponent.
41288         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41289         bottom long double and 27 bits of top long double before squaring
41290         exponent.
41291         * math/libm-test.inc (erfc_test): Add more tests.
41292         * sysdeps/i386/fpu/libm-test-ulps: Update.
41293         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41295
41296 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41297
41298         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41299         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41300         containing bit-fields.
41301         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41302         * soft-fp/single.h (_FP_UNION_S): Likewise.
41303         * soft-fp/double.h (_FP_UNION_D): Likewise.
41304
41305 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41306
41307         [BZ #13786]
41308         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41309         not include ../strcmp.S.
41310         [USE_AS_STRNCASECMP_L]: Likewise.
41311         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41312         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41313         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41314         (__strncasecmp_l_ia32): Define as alias to
41315         __strncasecmp_l_nonascii.
41316
41317         [BZ #5794]
41318         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41319         * sysdeps/i386/fpu/libm-test-ulps: Update.
41320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41321
41322         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41324
41325 2012-02-29  Jeff Law  <law@redhat.com>
41326
41327         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41328         out of bounds read.
41329
41330 2012-02-29  Marek Polacek  <polacek@redhat.com>
41331
41332         [BZ #13706]
41333         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41334         * elf/Makefile: Add rules to run tst-unused-dep.out.
41335
41336 2012-02-28  David S. Miller  <davem@davemloft.net>
41337
41338         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41339         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41340         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41341         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41342         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41343         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41344
41345 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41346
41347         * math/libm-test.inc (llround_test): Move one test from
41348         lround_test.  Use TEST_f_L in moved test.
41349         (lround_test): Move misplaced test to llround_test.  Add testcase
41350         from bug 2561.
41351
41352 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41353
41354         * sysdeps/x86_64/fpu/e_expf.S: New file.
41355         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41356
41357 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41358
41359         [BZ #13637]
41360         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41361         of remain_len that may cause incomplete multi-byte character and
41362         false match.
41363         * posix/bug-regex33.c: New file.
41364         * posix/Makefile (tests): Add bug-regex33.
41365
41366 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41367
41368         * manual/macros.texi: New file.
41369         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41370         * manual/libc.texinfo: Include macros.texi.
41371         * manual/creatute.texi: Likewise.
41372         * manual/install.texi: Likewise.
41373         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41374         @glibcadj{} in references to the GNU C Library.
41375         * manual/charset.texi: Likewise.
41376         * manual/conf.texi: Likewise.
41377         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41378         when not using those macros.
41379         * manual/creature.texi: Likewise.
41380         * manual/crypt.texi: Likewise.
41381         * manual/errno.texi: Likewise.
41382         * manual/filesys.texi: Likewise.
41383         * manual/header.texi: Likewise.
41384         * manual/install.texi: Likewise.
41385         * manual/intro.texi: Likewise.
41386         * manual/io.texi: Likewise.
41387         * manual/job.texi: Likewise.
41388         * manual/lang.texi: Likewise.
41389         * manual/libc.texiinfo: Likewise.
41390         * manual/llio.texi: Likewise.
41391         * manual/locale.texi: Likewise.
41392         * manual/maint.texi: Likewise.
41393         * manual/math.texi: Likewise.
41394         * manual/memory.texi: Likewise.
41395         * manual/message.texi: Likewise.
41396         * manual/nss.texi: Likewise.
41397         * manual/pattern.texi: Likewise.
41398         * manual/process.texi: Likewise.
41399         * manual/resource.texi: Likewise.
41400         * manual/search.texi: Likewise.
41401         * manual/setjmp.texi: Likewise.
41402         * manual/signal.texi: Likewise.
41403         * manual/socket.texi: Likewise.
41404         * manual/startup.texi: Likewise.
41405         * manual/stdio.texi: Likewise.
41406         * manual/string.texi: Likewise.
41407         * manual/sysinfo.texi: Likewise.
41408         * manual/syslog.texi: Likewise.
41409         * manual/terminal.texi: Likewise.
41410         * manual/time.texi: Likewise.
41411         * manual/users.texi: Likewise.
41412         * INSTALL: Regenerated.
41413         * NOTES: Regenerated.
41414         * sysdeps/gnu/errlist.c: Regenerated.
41415
41416 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41417
41418         * include/dirent.h: Include <dirstream.h> before
41419         <dirent/dirent.h>.
41420
41421 2012-02-28  David S. Miller  <davem@davemloft.net>
41422
41423         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41424         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41425         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41426         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41427
41428 2012-02-27  David S. Miller  <davem@davemloft.net>
41429
41430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41432         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41433         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41434
41435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41436         frame pointer instead of stack pointer relative arg slot.
41437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41438         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41439         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41440
41441 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41442
41443         [BZ #3992]
41444         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41445
41446 2012-02-27  David S. Miller  <davem@davemloft.net>
41447
41448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41452         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41453         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41454         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41455         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41456
41457 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41458
41459         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41460         later.  Allow versions 5-9.
41461         * configure: Regenerated.
41462         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41463         required minimum version and 4.6 as recommended version.  Do not
41464         mention bugs in GCC 2.7 and 2.8.
41465         * INSTALL: Regenerated.
41466
41467 2012-02-27  David S. Miller  <davem@davemloft.net>
41468
41469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41473         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41474         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41475         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41476         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41477
41478         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41479         manipulate bits before adding and subtracting TWO112[sx].
41480         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41481
41482 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41483
41484         [BZ #13775]
41485         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41486         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41487         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41488         being in POSIX, because they are in 1003.1-2008.
41489
41490         * rt/tst-aio.c: Include <fcntl.h>.
41491         * rt/tst-aio7.c: Likewise.
41492         * rt/tst-aio64.c: Likewise.
41493
41494         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41495
41496 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41497
41498         * manual/install.texi (--with-headers): Describe headers as
41499         interface headers, not private headers.
41500         (Specific advice for GNU/Linux systems): Describe use of headers
41501         from "make headers_install", not private headers from older
41502         kernels.
41503         * INSTALL: Regenerated.
41504         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41505         Change to 2.6.19.
41506         * sysdeps/unix/sysv/linux/configure: Regenerated.
41507
41508         * manual/llio.texi (fclean): Remove documentation.
41509
41510         * manual/Makefile (libc-texi-generated): New variable.  Include
41511         version.texi.
41512         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41513         $(libc-texi-generated), not duplicated list of files.
41514         (version.texi, stamp-version): New rules.
41515         (realclean): Remove $(libc-texi-generated), not individual files
41516         from that list.  Do not remove dir-add.texinfo.
41517         * manual/libc.texinfo: Comment out uses of edition numbers and
41518         references to printed manual.  Remove last-updated dates.
41519         (EDITION): Comment out.
41520         (ISBN): Likewise.
41521         (VERSION, UPDATED): Remove.
41522         (version.texi): Include.
41523
41524 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41525
41526         * sysdeps/posix/spawni.c: Include <signal.h>.
41527         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41528         * sysdeps/pthread/aio_fsync.c: Likewise.
41529
41530 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41531
41532         * conform/Makefile (tests): Run only when not cross-compiling and
41533         when fast-check is not defined.
41534
41535         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41536         * conform/data/limits.h-data: Fixes for POSIX2008.
41537         * conform/run-conformtest.sh: Run all tests.
41538         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41539         headers.
41540         * include/bits/dlfcn.h: Likewise.
41541         * include/langinfo.h: Likewise.
41542         * include/monetary.h: Likewise.
41543         * include/sys/poll.h: Likewise.
41544
41545         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41546         for __USE_GNU.
41547         * posix/spawn.h: Define __need_sigset_t.
41548         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41549         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41550         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41551         to get sigevent_t only.
41552         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41553         only for __USE_GNU.
41554         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41555         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41556         process_vm_writev only for __USE_GNU.
41557         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41558
41559         * conform/Makefile: For now ignore errors from run-conformtest.
41560         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41561         POSIX to avoid namespace pollution.  Don't prepend headers.
41562         * conform/data/aio.h-data: Fixes for POSIX testing.
41563         * conform/data/fcntl.h-data: Likewise.
41564         * conform/data/glob.h-data: Likewise.
41565         * conform/data/grp.h-data: Likewise.
41566         * conform/data/pthread.h-data: Likewise.
41567         * conform/data/pwd.h-data: Likewise.
41568         * conform/data/signal.h-data: Likewise.
41569         * conform/data/spawn.h-data: Likewise.
41570         * conform/data/stdio.h-data: Likewise.
41571         * conform/data/stdlib.h-data: Likewise.
41572         * conform/data/stropts.h-data: Likewise.
41573         * conform/data/sys/mman.h-data: Likewise.
41574         * conform/data/sys/stat.h-data: Likewise.
41575         * conform/data/sys/types.h-data: Likewise.
41576         * conform/data/sys/wait.h-data: Likewise.
41577         * conform/data/time.h-data: Likewise.
41578         * conform/data/unistd.h-data: Likewise.
41579         * conform/data/utime.h-data: Likewise.
41580
41581         * io/sys/stat.h: fchmod was always in POSIX.
41582         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41583         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41584         * rt/aio.h: Define __need_timespec before including <time.h>.
41585         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41586         struct.  Add forward declaration of pthread_attr_t and use it in
41587         sigevent.
41588         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41589         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41590         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41591         always remove CLK_TCK definition.
41592
41593 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41594
41595         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41596
41597 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41598
41599         * conform/run-conformtest.sh: New file.
41600         * conform/Makefile: Run run-conformtest for tests.
41601         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41602         support.
41603
41604         * conform/data/uchar.h-data: New file.
41605         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41606         * conform/data/arpa/inet.h-data: Likewise.
41607         * conform/data/assert.h-data: Likewise.
41608         * conform/data/complex.h-data: Likewise.
41609         * conform/data/cpio.h-data: Likewise.
41610         * conform/data/ctype.h-data: Likewise.
41611         * conform/data/dirent.h-data: Likewise.
41612         * conform/data/dlfcn.h-data: Likewise.
41613         * conform/data/errno.h-data: Likewise.
41614         * conform/data/fcntl.h-data: Likewise.
41615         * conform/data/float.h-data: Likewise.
41616         * conform/data/fmtmsg.h-data: Likewise.
41617         * conform/data/fnmatch.h-data: Likewise.
41618         * conform/data/ftw.h-data: Likewise.
41619         * conform/data/glob.h-data: Likewise.
41620         * conform/data/grp.h-data: Likewise.
41621         * conform/data/iconv.h-data: Likewise.
41622         * conform/data/inttypes.h-data: Likewise.
41623         * conform/data/langinfo.h-data: Likewise.
41624         * conform/data/libgen.h-data: Likewise.
41625         * conform/data/limits.h-data: Likewise.
41626         * conform/data/locale.h-data: Likewise.
41627         * conform/data/math.h-data: Likewise.
41628         * conform/data/monetary.h-data: Likewise.
41629         * conform/data/mqueue.h-data: Likewise.
41630         * conform/data/ndbm.h-data: Likewise.
41631         * conform/data/net/if.h-data: Likewise.
41632         * conform/data/netdb.h-data: Likewise.
41633         * conform/data/netinet/in.h-data: Likewise.
41634         * conform/data/nl_types.h-data: Likewise.
41635         * conform/data/poll.h-data: Likewise.
41636         * conform/data/pthread.h-data: Likewise.
41637         * conform/data/pwd.h-data: Likewise.
41638         * conform/data/regex.h-data: Likewise.
41639         * conform/data/sched.h-data: Likewise.
41640         * conform/data/search.h-data: Likewise.
41641         * conform/data/semaphore.h-data: Likewise.
41642         * conform/data/setjmp.h-data: Likewise.
41643         * conform/data/signal.h-data: Likewise.
41644         * conform/data/spawn.h-data: Likewise.
41645         * conform/data/stdarg.h-data: Likewise.
41646         * conform/data/stdio.h-data: Likewise.
41647         * conform/data/stdlib.h-data: Likewise.
41648         * conform/data/string.h-data: Likewise.
41649         * conform/data/strings.h-data: Likewise.
41650         * conform/data/stropts.h-data: Likewise.
41651         * conform/data/sys/ipc.h-data: Likewise.
41652         * conform/data/sys/mman.h-data: Likewise.
41653         * conform/data/sys/msg.h-data: Likewise.
41654         * conform/data/sys/resource.h-data: Likewise.
41655         * conform/data/sys/select.h-data: Likewise.
41656         * conform/data/sys/sem.h-data: Likewise.
41657         * conform/data/sys/shm.h-data: Likewise.
41658         * conform/data/sys/socket.h-data: Likewise.
41659         * conform/data/sys/stat.h-data: Likewise.
41660         * conform/data/sys/statvfs.h-data: Likewise.
41661         * conform/data/sys/time.h-data: Likewise.
41662         * conform/data/sys/timeb.h-data: Likewise.
41663         * conform/data/sys/times.h-data: Likewise.
41664         * conform/data/sys/types.h-data: Likewise.
41665         * conform/data/sys/uio.h-data: Likewise.
41666         * conform/data/sys/un.h-data: Likewise.
41667         * conform/data/sys/utsname.h-data: Likewise.
41668         * conform/data/sys/wait.h-data: Likewise.
41669         * conform/data/syslog.h-data: Likewise.
41670         * conform/data/tar.h-data: Likewise.
41671         * conform/data/termios.h-data: Likewise.
41672         * conform/data/utime.h-data: Likewise.
41673         * conform/data/utmpx.h-data: Likewise.
41674         * conform/data/varargs.h-data: Likewise.
41675         * conform/data/wchar.h-data: Likewise.
41676         * conform/data/wctype.h-data: Likewise.
41677         * conform/data/wordexp.h-data: Likewise.
41678
41679         * include/stropts.h: New file.
41680         * include/uchar.h: New file.
41681         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41682         * include/assert.h: Likewise.
41683         * include/ctype.h: Likewise.
41684         * include/dirent.h: Likewise.
41685         * include/dlfcn.h: Likewise.
41686         * include/fcntl.h: Likewise.
41687         * include/fnmatch.h: Likewise.
41688         * include/glob.h: Likewise.
41689         * include/grp.h: Likewise.
41690         * include/libio.h: Likewise.
41691         * include/locale.h: Likewise.
41692         * include/math.h: Likewise.
41693         * include/net/if.h: Likewise.
41694         * include/netdb.h: Likewise.
41695         * include/netinet/in.h: Likewise.
41696         * include/pthread.h: Likewise.
41697         * include/pwd.h: Likewise.
41698         * include/regex.h: Likewise.
41699         * include/sched.h: Likewise.
41700         * include/search.h: Likewise.
41701         * include/setjmp.h: Likewise.
41702         * include/signal.h: Likewise.
41703         * include/stdio.h: Likewise.
41704         * include/stdlib.h: Likewise.
41705         * include/string.h: Likewise.
41706         * include/sys/cdefs.h: Likewise.
41707         * include/sys/mman.h: Likewise.
41708         * include/sys/msg.h: Likewise.
41709         * include/sys/resource.h: Likewise.
41710         * include/sys/select.h: Likewise.
41711         * include/sys/socket.h: Likewise.
41712         * include/sys/stat.h: Likewise.
41713         * include/sys/statvfs.h: Likewise.
41714         * include/sys/time.h: Likewise.
41715         * include/sys/times.h: Likewise.
41716         * include/sys/uio.h: Likewise.
41717         * include/sys/utsname.h: Likewise.
41718         * include/sys/wait.h: Likewise.
41719         * include/termios.h: Likewise.
41720         * include/time.h: Likewise.
41721         * include/ulimit.h: Likewise.
41722         * include/unistd.h: Likewise.
41723         * include/utime.h: Likewise.
41724         * include/wchar.h: Likewise.
41725         * include/wctype.h: Likewise.
41726         * include/wordexp.h: Likewise.
41727
41728         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41729
41730         * time/time.h: TIME_UTC must be a macro.
41731         Make timespec_get available for ISO C11 only as well.
41732
41733 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41734
41735         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41736         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41737
41738 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41739
41740         * configure.in: Use -o not -a in test for unsupported multi-arch.
41741
41742 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41743
41744         * manual/texinfo.tex: Update to version 2012-01-19.16.
41745
41746 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41747
41748         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41749
41750 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41751
41752         [BZ #13738]
41753         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41754         * manual/fdl-1.3.texi: New file.
41755         * manual/fdl-1.1.texi: File removed.
41756
41757         [BZ #13738]
41758         * manual/libc.texinfo (FDL_VERSION): New @set.
41759         Use it for mention of FDL in cover text.
41760         (Documentation License): Use it in @include file name.
41761
41762 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41763             Roland McGrath  <roland@hack.frob.com>
41764
41765         [BZ #5461]
41766         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41767         (not LONG_LONG_MAX and LONG_LONG_MIN.
41768         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41769         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41770         name.
41771         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41772
41773 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41774
41775         [BZ #2547]
41776         [BZ #11365]
41777         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41778         manipulate bits before adding and subtracting TWO23[sx].
41779         * math/libm-test.inc (nearbyint_test): Add more tests.
41780
41781 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41782
41783         [BZ #2548]
41784         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41785         bits before adding and subtracting TWO23[sx].
41786         * math/libm-test.inc (rint_test): Add more tests.
41787         (rint_test_tonearest): Likewise.
41788         (rint_test_towardzero): Likewise.
41789         (rint_test_downward): Likewise.
41790         (rint_test_upward: Likewise.
41791
41792 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41793
41794         [BZ #10110]
41795         * include/stdc-predef.h: New file.  Extracted from features.h.
41796         * include/features.h: Include stdc-predef.h.
41797         * Makefile (headers): Add stdc-predef.h.
41798         * CONFORMANCE (Compiler limitations): Update.
41799
41800 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41801
41802         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41803
41804 2012-02-21  David S. Miller  <davem@davemloft.net>
41805
41806         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41807         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41808
41809 2012-02-20  David S. Miller  <davem@davemloft.net>
41810
41811         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41812         using a normal save/restore sequence, rather than allocating a
41813         dummy stack frame just to store a frame pointer and restore.
41814         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41815
41816 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41817
41818         * manual/install.texi: Fix stray word in line-wrapped comment.
41819
41820 2012-02-20  David S. Miller  <davem@davemloft.net>
41821
41822         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41823         both binutils and gcc support GOTDATA.
41824
41825         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41826         "rd %pc" in the PIC register setup sequences.
41827
41828         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41829         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41830         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41831         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41832         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41833         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41834         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41835         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41836         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41837         (SYSCALL_ERROR_HANDLER): Likewise.
41838         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41839         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41840         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41841         (SYSCALL_ERROR_HANDLER): Likewise.
41842
41843         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41844         (HAVE_GCC_GOTDATA): New.
41845         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41846         relocation support in both binutils and gcc.
41847         * sysdeps/sparc/elf/configure: Regenerate.
41848
41849         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41850         * sysdeps/sparc/sparc32/elf/configure: Delete.
41851         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41852         * sysdeps/sparc/sparc64/elf/configure: Delete.
41853         * sysdeps/sparc/elf/configure.in: New file.
41854         * sysdeps/sparc/elf/configure: Generate.
41855
41856         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41857         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41858         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41859         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41860         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41861
41862 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41863
41864         * manual/install.texi: Do not mention specific glibc version
41865         numbers.
41866         * manual/libc.texinfo (VERSION, UPDATED): Update.
41867         (@copying): Use @copyright{} and range of years.
41868
41869 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41870
41871         [BZ #13695]
41872         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41873         [crti.S not in sysdirs] (generated): Do not append.
41874         [crti.S not in sysdirs] (omit-deps): Likewise.
41875         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41876         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41877         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41878         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41879         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41880         Likewise.
41881         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41882         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41883         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41884         * csu/defs.awk: Remove file.
41885         * sysdeps/generic/initfini.c: Likewise.
41886         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41887         variable.
41888         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41889         Likewise.
41890
41891 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41892
41893         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41894         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41895         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41896         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41897         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41898         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41899         <bits/epoll.h>.
41900         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41901         (__EPOLL_PACKED): Define to empty if not defined by
41902         <bits/epoll.h>.
41903         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41905         bits/epoll.h.
41906
41907 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41908
41909         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41910         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41911         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41912         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41913         <bits/timerfd.h>.
41914         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41915         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41916         bits/timerfd.h.
41917
41918 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41919
41920         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41921         in C locale.
41922         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41923         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41924         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41926
41927 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41928
41929         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41930         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41931
41932 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41933
41934         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41935         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41936         defined.
41937         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41938         Likewise.
41939         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41940         entry for 2.16.
41941
41942 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41943
41944         * math/w_acos.c: Use non-signaling floating-point comparisons.
41945         * math/w_acosf.c: Likewise.
41946         * math/w_acosh.c: Likewise.
41947         * math/w_acoshf.c: Likewise.
41948         * math/w_acoshl.c: Likewise.
41949         * math/w_acosl.c: Likewise.
41950         * math/w_asin.c: Likewise.
41951         * math/w_asinf.c: Likewise.
41952         * math/w_asinl.c: Likewise.
41953         * math/w_atanh.c: Likewise.
41954         * math/w_atanhf.c: Likewise.
41955         * math/w_atanhl.c: Likewise.
41956         * math/w_exp2.c: Likewise.
41957         * math/w_exp2f.c: Likewise.
41958         * math/w_exp2l.c: Likewise.
41959         * math/w_j0.c: Likewise.
41960         * math/w_j0f.c: Likewise.
41961         * math/w_j0l.c: Likewise.
41962         * math/w_j1.c: Likewise.
41963         * math/w_j1f.c: Likewise.
41964         * math/w_j1l.c: Likewise.
41965         * math/w_jn.c: Likewise.
41966         * math/w_jnf.c: Likewise.
41967         * math/w_log.c: Likewise.
41968         * math/w_log10.c: Likewise.
41969         * math/w_log10f.c: Likewise.
41970         * math/w_log10l.c: Likewise.
41971         * math/w_log2.c: Likewise.
41972         * math/w_log2f.c: Likewise.
41973         * math/w_log2l.c: Likewise.
41974         * math/w_logf.c: Likewise.
41975         * math/w_logl.c: Likewise.
41976         * math/w_sqrt.c: Likewise.
41977         * math/w_sqrtf.c: Likewise.
41978         * math/w_sqrtl.c: Likewise.
41979         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41980         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41981         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41982         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41983         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41984
41985 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41986
41987         [BZ #9739]
41988         * manual/string.texi (strnlen): Use correct parameter name in
41989         equivalent expression.
41990
41991 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41992
41993         [BZ #11174]
41994         * manual/users.texi (seteuid): Consistently use neweuid for
41995         argument name.
41996
41997 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41998
41999         [BZ #13704]
42000         * manual/nss.texi (Services in the NSS configuration): Correct
42001         list of services in example configuration file.
42002
42003 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42004
42005         [BZ #11322]
42006         * manual/arith.texi: Remove statements about negative zero
42007         behaving identically to zero.
42008
42009 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42010
42011         [BZ #5993]
42012         * manual/install.texi: Do not document upgrading from libc5.
42013
42014 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42015
42016         [BZ #4596]
42017         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42018
42019 2012-02-18  David S. Miller  <davem@davemloft.net>
42020
42021         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42022         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42023         %o7 across the call.
42024         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42025         instead.
42026         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42027         SETUP_PIC_REG_LEAF.
42028         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42029         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42030         * sysdeps/sparc/crtn.S: Likewise.
42031
42032 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42033
42034         * aout/Makefile: Remove.
42035
42036 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42037
42038         [BZ #13058]
42039         * manual/examples/argp-ex1.c (main): Format definition in GNU
42040         style.
42041         * manual/examples/argp-ex2.c (main): Likewise.
42042         * manual/examples/argp-ex3.c (main): Likewise.
42043         * manual/examples/argp-ex4.c (main): Likewise.
42044         * manual/examples/longopt.c (main): Use new-style prototype
42045         definition.
42046         * manual/examples/strncat.c (main): Specify return type and use
42047         (void) for arguments.
42048         * manual/examples/subopt.c (main): Use char **argv argument.
42049
42050 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42051
42052         [BZ #5077]
42053         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42054         rounding modes.
42055
42056 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42057
42058         [BZ #6907]
42059         * manual/string.texi (strchr): Change when strchrnul is
42060         recommended.
42061
42062 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42063
42064         [BZ #174]
42065         * manual/locale.texi (setlocale): Document LOCPATH.
42066
42067 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42068
42069         [BZ #10210]
42070         * manual/process.texi (execle): Move @dots{} before last argument.
42071
42072 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42073
42074         [BZ #12047]
42075         * manual/charset.texi (Generic Charset Conversion): Fix typo
42076         (LC_TYPE -> LC_CTYPE).
42077
42078 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42079
42080         [BZ #5805]
42081         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42082         (scalbnf): Likewise.
42083         (scalbnl): Likewise.
42084         (scalbln): Likewise.
42085         (scalblnf): Likewise.
42086         (scalblnl): Likewise.
42087         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42088         (vwarnx): Likewise.
42089         (verr): Likewise.
42090         (verrx): Likewise.
42091         * manual/filesys.texi (telldir): Use braces around return type.
42092         * manual/llio.texi (mmap): Add space after comma.
42093         (mmap64): Likewise.
42094         * manual/math.texi (jn): Use @var{} on parameter names.
42095         (jnf): Likewise.
42096         (jnl): Likewise.
42097         (yn): Likewise.
42098         (ynf): Likewise.
42099         (ynl): Likewise.
42100         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42101         line.
42102         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42103         "...".
42104         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42105         (sched_get_priority_max): Likewise.
42106         * manual/signal.texi (sigvec): Add space after comma.
42107         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42108         names.
42109         (if_indextoname): Likewise.
42110         (if_freenameindex): Likewise.
42111         (sendto): Use ',' instead of '.' in prototype.
42112         * manual/startup.texi (syscall): Use @dots{} instead of literal
42113         "...".
42114         * manual/stdio.texi (__fpending): Separate initial words of
42115         paragraph from @deftypefun line.
42116         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42117         "...".
42118         (vsyslog): Use @var{} on parameter names.
42119         * manual/terminal.texi (stty): Use @var{} on parameter names.
42120         * manual/users.texi (getutmp): Use @var{} on parameter names.
42121         (getutmpx): Likewise.
42122
42123 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42124
42125         [BZ #6884]
42126         * manual/stdio.texi (fopen): Fix typos in description of
42127         ",ccs=STRING".
42128
42129 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42130
42131         [BZ #4026]
42132         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42133         get clock_id definition.
42134
42135 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42136
42137         [BZ #4822]
42138         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42139         (madvise): Cast every argument to void on its own.
42140
42141 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42142
42143         [BZ #9902]
42144         * manual/startup.texi (Exit Status): Fix typo.
42145
42146 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42147
42148         [BZ #10140]
42149         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42150         * manual/examples/argp-ex2.c: Likewise.
42151         * manual/examples/argp-ex3.c: Likewise.
42152
42153 2012-02-16  Richard Henderson  <rth@redhat.com>
42154
42155         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42156         * sysdeps/s390/s390-32/initfini.c: Remove.
42157         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42158         * sysdeps/s390/s390-64/initfini.c: Remove.
42159
42160 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42161
42162         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42163         compiler output for sysdeps/generic/initfini.c.
42164         * sysdeps/sh/elf/initfini.c: Remove file.
42165
42166 2012-02-16  David S. Miller  <davem@davemloft.net>
42167
42168         [BZ #11494]
42169         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42170
42171         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42172         * sysdeps/sparc/crti.S: New file.
42173         * sysdeps/sparc/crtn.S: New file.
42174         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42175         * sysdeps/sparc/sparc64/Makefile: Likewise.
42176
42177 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42178
42179         [BZ #3335]
42180         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42181
42182 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42183
42184         [BZ #4822]
42185         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42186
42187         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42188         (write, read, close): Likewise.
42189         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42190
42191 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42192
42193         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42194         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42195         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42196         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42197         <bits/signalfd.h>.
42198         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42200         bits/signalfd.h.
42201
42202 2012-02-14  Marek Polacek  <polacek@redhat.com>
42203
42204         * sysdeps/x86_64/crti.S: New file.
42205         * sysdeps/x86_64/crtn.S: New file.
42206         * sysdeps/x86_64/elf/initfini.c: Remove file.
42207
42208 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42209
42210         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42211         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42212         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42213         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42214         <bits/inotify.h>.
42215         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42216         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42217         bits/inotify.h.
42218
42219 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42220
42221         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42222         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42223         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42224         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42225         <bits/eventfd.h>.
42226         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42228         bits/eventfd.h.
42229
42230 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42231
42232         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42233         __feraiseexcept instead of feraiseexcept.
42234
42235         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42236         nanosleep invocations.
42237         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42238         strings, and add error checking for a nanosleep invocations.
42239
42240 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42241
42242         Replace FSF snail mail address with URLs, as per GNU coding standards.
42243         Most of the snail mail addresses were wrong anyway, and omitting
42244         them makes the source code easier to maintain.  Almost all of the
42245         changes are to license notices and to locale LC_IDENTIFICATION
42246         addresses, except for this one:
42247         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42248         not its snail mail address.
42249
42250 2012-02-09  Richard Henderson  <rth@twiddle.net>
42251
42252         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42253         of kernel-features.h.
42254
42255         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42256
42257 2012-02-08  Marek Polacek  <polacek@redhat.com>
42258
42259         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42260         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42261         * sysdeps/gnu/_G_config.h: Likewise.
42262         * sysdeps/generic/_G_config.h: Likewise.
42263
42264 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42265
42266         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42267         tests.
42268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42269
42270         * sysdeps/powerpc/powerpc32/crti.S: New file.
42271         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42272         * sysdeps/powerpc/powerpc64/crti.S: New file.
42273         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42274
42275         * Makeconfig (have-initfini): Don't set.
42276         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42277         * configure.in (nopic_initfini): Don't substitute.
42278         * config.h.in (HAVE_INITFINI): Don't #undef.
42279         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42280         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42281
42282 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42283
42284         Support crti.S and crtn.S provided directly by architectures.
42285         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42286         [crti.S in sysdirs] (omit-deps): Likewise.
42287         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42288         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42289         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42290         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42291         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42292         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42293         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42294         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42295         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42296         compiler output for sysdeps/generic/initfini.c.
42297         * sysdeps/i386/elf/Makefile: Remove file.
42298         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42299
42300 2012-02-07  Marek Polacek  <polacek@redhat.com>
42301
42302         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42303         * sysdeps/gnu/_G_config.h: Likewise.
42304         * sysdeps/mach/hurd/_G_config.h: Likewise.
42305
42306 2012-02-07  Marek Polacek  <polacek@redhat.com>
42307
42308         * math/Makefile (tests): Add tst-CMPLX2.
42309         * math/tst-CMPLX2.c: New file.
42310
42311 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42312
42313         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42314
42315         * math/libm-test.inc (jn_test): Add missing L suffix.
42316
42317 2012-02-06  Marek Polacek  <polacek@redhat.com>
42318
42319         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42320         * sysdeps/i386/fpu/e_powf.S: Likewise.
42321         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42322         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42323         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42324         * sysdeps/i386/fpu/e_pow.S: Likewise.
42325         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42326         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42327         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42328         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42329         * sysdeps/i386/fpu/e_log2.S: Likewise.
42330         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42331         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42332         * sysdeps/i386/fpu/e_powl.S: Likewise.
42333         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42334         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42335         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42336         * sysdeps/i386/fpu/e_logl.S: Likewise.
42337         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42338         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42339         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42340         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42341         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42342         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42343         * sysdeps/i386/fpu/e_log.S: Likewise.
42344         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42345         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42346         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42347         * sysdeps/i386/fpu/e_logf.S: Likewise.
42348         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42349         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42350         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42351         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42352         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42353         * sysdeps/i386/fpu/e_log10.S: Likewise.
42354         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42355         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42356         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42357         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42358         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42359         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42360         * sysdeps/i386/asm-syntax.h: Likewise.
42361         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42362         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42363         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42364         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42365         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42366         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42367         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42368         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42369         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42370         * sysdeps/powerpc/sysdep.h: Likewise.
42371         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42372         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42373
42374 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42375
42376         [BZ #411]
42377         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42378
42379 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42380
42381         * sysdeps/i386/sysdep.h: Include <features.h>.
42382         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42383         version.
42384
42385 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42386
42387         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42388         Define.
42389         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42390         LOAD_PIC_REG_STR.
42391
42392 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42393
42394         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42395         (SETUP_PIC_REG): Use GET_PC_THUNK.
42396         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42397         macro.
42398
42399 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42400
42401         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42402         for non-PIC compilation.
42403         (SETUP_PIC_REG): Add .p2align directive.
42404         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42405         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42406         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42407         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42408         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42409         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42410         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42411         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42412         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42413         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42414         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42415         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42416         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42417         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42418         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42419         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42420         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42421         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42422         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42423         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42424         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42425         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42426         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42427         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42428         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42429         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42430         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42431         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42432         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42433         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42434         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42435         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42436         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42437         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42438         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42439         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42440         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42441         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42442         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42443         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42444         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42445
42446 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42447
42448         * math/tst-CMPLX.c: Include <stdio.h>.
42449
42450 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42451
42452         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42453         float.
42454         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42455         * sysdeps/sparc/bits/mathdef.h: Likewise.
42456
42457 2012-01-31  Marek Polacek  <polacek@redhat.com>
42458
42459         * libio/libio.h: Don't define _PARAMS.
42460         * locale/programs/config.h: Don't define PARAMS.
42461         * stdlib/strtol_l.c: Likewise.
42462         (__strtol_l): Remove PARAMS from the prototype.
42463
42464 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42465
42466         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42467         names.  Just use the correct names.  Remove unnecessary wrapper
42468         functions.
42469         * malloc/arena.c: Likewise.
42470         * malloc/hooks.c: Likewise.
42471
42472         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42473         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42474         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42475
42476 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42477
42478         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42479         into tail calls.
42480         (update_get_addr): New function.
42481         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42482         GET_ADDR_MODULE parameter.
42483
42484 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42485
42486         * crypt/cert.c: Remove __STDC__ conditionals.
42487         * crypt/crypt-entry.c: Likewise.
42488         * crypt/crypt_util.c: Likewise.
42489         * libio/filedoalloc.c: Likewise.
42490         * libio/fileops.c: Likewise.
42491         * libio/genops.c: Likewise.
42492         * libio/iofclose.c: Likewise.
42493         * libio/iofdopen.c: Likewise.
42494         * libio/iofopen.c: Likewise.
42495         * libio/iofopen64.c: Likewise.
42496         * libio/iogetdelim.c: Likewise.
42497         * libio/iopopen.c: Likewise.
42498         * libio/obprintf.c: Likewise.
42499         * libio/oldfileops.c: Likewise.
42500         * libio/oldiofclose.c: Likewise.
42501         * libio/oldiofdopen.c: Likewise.
42502         * libio/oldiofopen.c: Likewise.
42503         * libio/oldiopopen.c: Likewise.
42504         * libio/wfiledoalloc.c: Likewise.
42505         * libio/wgenops.c: Likewise.
42506         * locale/programs/xmalloc.c: Likewise.
42507         * misc/syslog.c: Likewise.
42508         * stdio-common/xbug.c: Likewise.
42509         * string/memchr.c: Likewise.
42510         * string/memcmp.c: Likewise.
42511         * string/memrchr.c: Likewise.
42512         * string/rawmemchr.c: Likewise.
42513         * sysdeps/posix/getcwd.c: Likewise.
42514         * time/strftime_l.c: Likewise.
42515
42516 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42517
42518         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42519         * config.make.in (config-cflags-sse2avx): Define.
42520         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42521         Fix typo.
42522
42523 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42524
42525         * scripts/config.guess: Update from upstream config git repository.
42526         * scripts/config.sub: Likewise.
42527
42528 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42529
42530         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42531         (EM_NUM): Update.
42532         (R_TILEPRO_*, R_TILEGX_*): New macros.
42533
42534         * scripts/firstversions.awk: Fix bug in version range handling.
42535
42536         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42537
42538         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42539
42540         * include/sys/epoll.h: New file.
42541         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42542         libc_hidden_def.
42543
42544 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42545
42546         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42547         Avoid unnecessary __WORDSIZE == 64 test.
42548         (fmaxf): Use VEX format if possible.
42549         (fmax): Likewise.
42550         (fminf): Likewise.
42551         (fmin): Likewise.
42552
42553         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42554         * math/math_private.h: Remove libc_fegetround* and
42555         libc_fesetround*.
42556         * sysdeps/i386/configure.in: Check for -msse2avx.
42557         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42558         also if SSE2AVX is defined.
42559         Remove libc_fegetround* and libc_fesetround*.
42560         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42561         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42562         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42563         of HAS_YMM_USABLE.
42564         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42565         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42566         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42567         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42568         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42569
42570         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42571
42572 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42573
42574         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42575         size is not set.
42576         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42577
42578 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42579
42580         [BZ #13618]
42581         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42582         relocation.
42583         * Makeconfig (libm): Define.
42584         * elf/Makefile: Add rules to build and run tst-relsort1.
42585         * elf/tst-relsort1.c: New file.
42586         * elf/tst-relsort1mod1.c: New file.
42587         * elf/tst-relsort1mod2.c: New file.
42588
42589 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42590
42591         * math/s_ldexp.c: Remove __STDC__ conditionals.
42592         * math/s_ldexpf.c: Likewise.
42593         * math/s_ldexpl.c: Likewise.
42594         * math/s_nextafter.c: Likewise.
42595         * math/s_nexttowardf.c: Likewise.
42596         * math/s_significand.c: Likewise.
42597         * math/s_significandf.c: Likewise.
42598         * math/s_significandl.c: Likewise.
42599         * math/w_jnl.c: Likewise.
42600         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42601         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42602         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42603         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42604         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42605         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42606         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42607         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42608         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42609         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42610         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42611         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42612         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42613         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42614         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42615         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42616         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42617         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42618         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42619         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42620         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42621         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42622         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42623         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42624         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42625         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42626         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42627         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42628         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42629         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42630         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42631         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42632         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42633         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42634         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42635         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42636         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42637         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42638         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42639         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42640         * sysdeps/ieee754/k_standard.c: Likewise.
42641         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42642         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42643         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42644         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42645         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42646         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42647         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42648         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42649         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42650         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42651         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42652         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42653         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42654         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42655         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42656         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42657         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42658         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42659         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42660         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42661         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42662         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42663         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42664         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42665         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42666         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42667         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42668         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42669         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42670         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42671         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42672         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42673         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42674         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42675         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42676         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42677         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42678         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42679         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42680         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42681         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42682         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42683         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42684         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42685         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42686         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42687         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42688         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42689         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42690         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42691         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42692         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42693         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42694         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42695         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42696         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42697         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42698         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42699         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42700         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42701         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42702         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42703         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42704         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42705         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42706         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42707         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42708         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42709         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42710         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42711         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42712         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42713         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42714         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42715         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42716         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42717         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42718         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42719         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42720         * sysdeps/ieee754/s_matherr.c: Likewise.
42721         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42722         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42723         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42724         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42725
42726 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42727
42728         * crypt/md5.h: Remove __STDC__ conditionals.
42729         * libio/libioP.h: Likewise.
42730         * locale/programs/config.h: Likewise.
42731         * sysdeps/generic/sysdep.h: Likewise.
42732         * sysdeps/i386/asm-syntax.h: Likewise.
42733         * sysdeps/s390/asm-syntax.h: Likewise.
42734         * sysdeps/unix/sysdep.h: Likewise.
42735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42737
42738 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42739
42740         * libio/libio.h: Remove __STDC__ conditionals.
42741         * malloc/obstack.h: Likewise.
42742         * math/complex.h: Likewise.
42743         * math/math.h: Likewise.
42744         * sysdeps/generic/_G_config.h: Likewise.
42745         * sysdeps/gnu/_G_config.h: Likewise.
42746         * sysdeps/mach/hurd/_G_config.h: Likewise.
42747         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42748         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42749         * sysdeps/sparc/bits/mathdef.h: Likewise.
42750
42751 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42752
42753         [BZ #13583]
42754         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42755         Clean up HAS_* macros.
42756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42757         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42758         possible.
42759         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42760         HAS_AVX.
42761         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42762         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42763         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42764         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42765         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42766
42767 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42768
42769         * elf/tst-unique3.cc (gets): Remove declaration.
42770         * elf/tst-unique3lib.cc (gets): Likewise.
42771         * elf/tst-unique3lib2.cc (gets): Likewise.
42772         * elf/tst-unique4.cc (gets): Likewise.
42773
42774 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42775
42776         * include/stdio.h: Add C++ protection.  Add gets declarations and
42777         definitions.
42778         * debug/tst-chk1.c: Don't declare gets here.
42779         * stdio-common/tst-gets.c: Likewise.
42780
42781 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42782
42783         * posix/glob: Remove directory.
42784
42785 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42786
42787         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42788
42789 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42790
42791         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42792         of the non-standard EPFNOSUPPORT.
42793
42794 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42795
42796         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42797         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42798         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42799
42800 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42801
42802         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42803
42804 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42805
42806         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42807         transient errors.
42808         * nscd/grpcache.c (cache_addgr): Likewise.
42809         * nscd/hstcache.c (cache_addhst): Likewise.
42810         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42811         * nscd/pwdcache.c (cache_addpw): Likewise.
42812         * nscd/servicescache.c (cache_addserv): Likewise.
42813
42814 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42815
42816         * malloc/malloc.c: Various cleanups.
42817         * malloc/hooks.c: Likewise.
42818
42819         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42820         * stdlib/bug-fmtmsg1.c: New file.
42821
42822         * stdlib/fmtmsg.c (init): Add missing unlock.
42823         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42824
42825 2012-01-12  Marek Polacek  <polacek@redhat.com>
42826
42827         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42828         and _GNU_SOURCE.
42829
42830 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42831
42832         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42833         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42834         macro to ensure uniqueness of label name.
42835         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42836         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42837
42838 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42839
42840         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42841
42842         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42843         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42844         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42845         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42846
42847 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42848
42849         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42850
42851         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42852         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42853         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42854
42855         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42856
42857         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42858         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42859         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42860         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42861
42862         * math/bits/math-finite.h: Add ldexp support.
42863
42864 2012-01-10  Marek Polacek  <polacek@redhat.com>
42865
42866         * locale/programs/localedef.h (show_archive_content): Add noreturn
42867         attribute.
42868
42869 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42870
42871         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42872
42873 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42874
42875         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42876
42877         * io/Makefile (headers): Add bits/poll2.h.
42878
42879 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42880
42881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42882         typo #include statement.
42883
42884 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42885
42886         * include/sys/cdefs.h: Define __attribute_alloc_size.
42887         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42888         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42889         * elf/pldd.c: Likewise.
42890         * iconv/iconv_charmap.c: Likewise.
42891         * iconv/iconvconfig.c: Likewise.
42892         * iconv/strtab.c: Likewise.
42893         * locale/programs/locale.c: Likewise.
42894         * locale/programs/localedef.h: Likewise.
42895         * locale/programs/simple-hash.c: Likewise.
42896         * nscd/nscd.h: Likewise.
42897         * nss/makedb.c: Likewise.
42898         * sysdeps/generic/ldconfig.h: Likewise.
42899         * locale/programs/localedef.c: Remove xmalloc prototype.
42900         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42901
42902 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42903
42904         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42905         appropriate.
42906
42907 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42908
42909         * math/Makefile (tests): Add tst-CMPLX.
42910         * math/tst-CMPLX.c: New file.
42911
42912         * math/complex.h (CMPLXL): Fix typo.
42913
42914         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42915         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42916         GLIBC_2.16.
42917         * debug/tst-chk1.c: Add poll and ppoll tests.
42918         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42919         * include/sys/poll.h: Add hidden proto for ppoll.
42920         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42921         * sysdeps/mach/hurd/ppoll.c: Likewise.
42922         * io/ppoll.c: Likewise.
42923         * debug/poll_chk.c: New file.
42924         * debug/ppoll_chk.c: New file.
42925         * include/bits/poll2.h: New file.
42926         * io/bits/poll2.h: New file.
42927
42928         [BZ #1350]
42929         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42930
42931         * configure.in: static is always set to yes.  Remove.
42932         * config.make.in: Don't set build-static.
42933         * Makeconfig: Remove use of build-static.
42934         * dlfcn/Makefile: Likewise.
42935         * elf/Makefile: Likewise.
42936         * math/Makefile: Likewise.
42937         * misc/Makefile: Likewise.
42938         * nptl/Makefile: Likewise.
42939         * sysdeps/mach/hurd/Makefile: Likewise.
42940
42941         * configure.in: PWD_P is not used anymore.
42942         * config.make.in: Remove PWD_P entry.
42943
42944         * configure.in: Remove last remnants of RANLIB.
42945         No need to check for signed size_t anymore.
42946         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42947         and IA-64.
42948         Remove __builtin_expect test because we require at least gcc 3.4.
42949         * aclocal.m4: Likewise.
42950
42951         * wcsmbs/mbrtoc16.c: Implement using towc function.
42952         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42953         * wcsmbs/wcsmbsload.c: Likewise.
42954         * iconv/gconv_simple.c: Likewise.
42955         * iconv/gconv_int.h: Likewise.
42956         * iconv/gconv_builtin.h: Likewise.
42957         * iconv/iconv_prog.c: Remove CHAR16 handling.
42958
42959         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42960
42961         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42962
42963         * configure.in: Remove --with-elf and --enable-bounded options.
42964         Dont set base_machine for ia64.  More non-ELF conditions removed.
42965         Remove testing and setting of leading underscore information.
42966         * config.make.in (build-bounded): Set to no.
42967         * config.h.in: Remove NO_UNDERSCORES entry.
42968         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42969         them.
42970         * csu/start.c: Remove !NO_UNDERSCORE code.
42971         * locale/localeinfo.h: Likewise.
42972         * sysdeps/generic/machine-gmon.h: Likewise.
42973         * sysdeps/generic/sysdep.h: Likewise.
42974         * sysdeps/i386/sysdep.h: Likewise.
42975         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42976         * sysdeps/mach/sysdep.h: Likewise.
42977         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42978         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42979         * sysdeps/sh/sysdep.h: Likewise.
42980         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42981         * sysdeps/unix/i386/sysdep.S: Likewise.
42982         * sysdeps/unix/sparc/start.c: Likewise.
42983         * sysdeps/unix/sparc/sysdep.S: Likewise.
42984         * sysdeps/unix/sparc/sysdep.h: Likewise.
42985         * sysdeps/unix/start.c: Likewise.
42986         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42987         * sysdeps/x86_64/sysdep.h: Likewise.
42988
42989 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42990
42991         [BZ #13553]
42992         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42993         for non-gcc.
42994         * argp/argp-fmtstream.h: Use const instead __const.
42995         * argp/argp.h: Likewise.
42996         * assert/assert.h: Likewise.
42997         * bits/fenv.h: Likewise.
42998         * bits/sched.h: Likewise.
42999         * bits/sigset.h: Likewise.
43000         * bits/sigthread.h: Likewise.
43001         * catgets/nl_types.h: Likewise.
43002         * conform/data/pthread.h-data: Likewise.
43003         * crypt/crypt-private.h: Likewise.
43004         * crypt/crypt.h: Likewise.
43005         * crypt/crypt_util.c: Likewise.
43006         * ctype/ctype.h: Likewise.
43007         * debug/execinfo.h: Likewise.
43008         * debug/mbsnrtowcs_chk.c: Likewise.
43009         * debug/mbsrtowcs_chk.c: Likewise.
43010         * debug/wcsnrtombs_chk.c: Likewise.
43011         * debug/wcsrtombs_chk.c: Likewise.
43012         * debug/wcstombs_chk.c: Likewise.
43013         * dirent/dirent.h: Likewise.
43014         * dlfcn/dlfcn.h: Likewise.
43015         * elf/neededtest4.c: Likewise.
43016         * grp/grp.h: Likewise.
43017         * gshadow/gshadow.h: Likewise.
43018         * iconv/gconv.h: Likewise.
43019         * iconv/gconv_int.h: Likewise.
43020         * iconv/gconv_simple.c: Likewise.
43021         * iconv/iconv.h: Likewise.
43022         * iconv/loop.c: Likewise.
43023         * iconv/skeleton.c: Likewise.
43024         * include/aio.h: Likewise.
43025         * include/aliases.h: Likewise.
43026         * include/argz.h: Likewise.
43027         * include/arpa/inet.h: Likewise.
43028         * include/assert.h: Likewise.
43029         * include/dirent.h: Likewise.
43030         * include/dlfcn.h: Likewise.
43031         * include/execinfo.h: Likewise.
43032         * include/fcntl.h: Likewise.
43033         * include/fenv.h: Likewise.
43034         * include/glob.h: Likewise.
43035         * include/grp.h: Likewise.
43036         * include/libintl.h: Likewise.
43037         * include/mntent.h: Likewise.
43038         * include/netdb.h: Likewise.
43039         * include/pwd.h: Likewise.
43040         * include/rpc/netdb.h: Likewise.
43041         * include/sched.h: Likewise.
43042         * include/search.h: Likewise.
43043         * include/shadow.h: Likewise.
43044         * include/signal.h: Likewise.
43045         * include/stdio.h: Likewise.
43046         * include/stdlib.h: Likewise.
43047         * include/string.h: Likewise.
43048         * include/sys/socket.h: Likewise.
43049         * include/sys/stat.h: Likewise.
43050         * include/sys/statfs.h: Likewise.
43051         * include/sys/statvfs.h: Likewise.
43052         * include/sys/syslog.h: Likewise.
43053         * include/sys/time.h: Likewise.
43054         * include/sys/uio.h: Likewise.
43055         * include/time.h: Likewise.
43056         * include/unistd.h: Likewise.
43057         * include/utmp.h: Likewise.
43058         * include/wchar.h: Likewise.
43059         * include/wctype.h: Likewise.
43060         * inet/aliases.h: Likewise.
43061         * inet/arpa/inet.h: Likewise.
43062         * inet/netinet/ether.h: Likewise.
43063         * inet/netinet/in.h: Likewise.
43064         * intl/libintl.h: Likewise.
43065         * io/bits/fcntl2.h: Likewise.
43066         * io/fcntl.h: Likewise.
43067         * io/ftw.h: Likewise.
43068         * io/sys/poll.h: Likewise.
43069         * io/sys/stat.h: Likewise.
43070         * io/sys/statfs.h: Likewise.
43071         * io/sys/statvfs.h: Likewise.
43072         * io/utime.h: Likewise.
43073         * libio/bits/stdio.h: Likewise.
43074         * libio/bits/stdio2.h: Likewise.
43075         * libio/libio.h: Likewise.
43076         * libio/libioP.h: Likewise.
43077         * libio/stdio.h: Likewise.
43078         * locale/lc-ctype.c: Likewise.
43079         * locale/locale.h: Likewise.
43080         * login/utmp.h: Likewise.
43081         * malloc/arena.c: Likewise.
43082         * malloc/malloc.c: Likewise.
43083         * malloc/malloc.h: Likewise.
43084         * malloc/mcheck.c: Likewise.
43085         * malloc/mtrace.c: Likewise.
43086         * math/bits/mathcalls.h: Likewise.
43087         * math/fenv.h: Likewise.
43088         * math/math_private.h: Likewise.
43089         * misc/bits/error.h: Likewise.
43090         * misc/bits/syslog.h: Likewise.
43091         * misc/err.h: Likewise.
43092         * misc/error.h: Likewise.
43093         * misc/fstab.h: Likewise.
43094         * misc/mntent.h: Likewise.
43095         * misc/regexp.h: Likewise.
43096         * misc/search.h: Likewise.
43097         * misc/sgtty.h: Likewise.
43098         * misc/sys/mman.h: Likewise.
43099         * misc/sys/syslog.h: Likewise.
43100         * misc/sys/uio.h: Likewise.
43101         * misc/sys/xattr.h: Likewise.
43102         * misc/ttyent.h: Likewise.
43103         * nis/rpcsvc/ypclnt.h: Likewise.
43104         * nss/nss.h: Likewise.
43105         * posix/bits/unistd.h: Likewise.
43106         * posix/fnmatch.h: Likewise.
43107         * posix/glob.h: Likewise.
43108         * posix/sched.h: Likewise.
43109         * posix/spawn.h: Likewise.
43110         * posix/sys/wait.h: Likewise.
43111         * posix/unistd.h: Likewise.
43112         * posix/wordexp.h: Likewise.
43113         * pwd/pwd.h: Likewise.
43114         * resolv/netdb.h: Likewise.
43115         * resource/sys/resource.h: Likewise.
43116         * rt/aio.h: Likewise.
43117         * rt/bits/mqueue2.h: Likewise.
43118         * rt/mqueue.h: Likewise.
43119         * shadow/shadow.h: Likewise.
43120         * signal/signal.h: Likewise.
43121         * socket/send.c: Likewise.
43122         * socket/sendto.c: Likewise.
43123         * socket/sys/socket.h: Likewise.
43124         * stdio-common/printf.h: Likewise.
43125         * stdlib/bits/stdlib.h: Likewise.
43126         * stdlib/fmtmsg.h: Likewise.
43127         * stdlib/monetary.h: Likewise.
43128         * stdlib/stdlib.h: Likewise.
43129         * stdlib/ucontext.h: Likewise.
43130         * streams/stropts.h: Likewise.
43131         * string/argz.h: Likewise.
43132         * string/bits/string2.h: Likewise.
43133         * string/string.h: Likewise.
43134         * string/strings.h: Likewise.
43135         * sunrpc/rpc/auth.h: Likewise.
43136         * sunrpc/rpc/auth_des.h: Likewise.
43137         * sunrpc/rpc/clnt.h: Likewise.
43138         * sunrpc/rpc/netdb.h: Likewise.
43139         * sunrpc/rpc/pmap_clnt.h: Likewise.
43140         * sunrpc/rpc/xdr.h: Likewise.
43141         * sysdeps/generic/inttypes.h: Likewise.
43142         * sysdeps/generic/net/if.h: Likewise.
43143         * sysdeps/generic/sys/swap.h: Likewise.
43144         * sysdeps/gnu/net/if.h: Likewise.
43145         * sysdeps/gnu/utmpx.h: Likewise.
43146         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43147         * sysdeps/i386/i486/bits/string.h: Likewise.
43148         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43149         * sysdeps/s390/bits/string.h: Likewise.
43150         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43151         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43152         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43153         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43154         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43155         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43156         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43157         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43158         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43159         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43160         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43161         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43162         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43163         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43164         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43165         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43166         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43168         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43169         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43170         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43171         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43172         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43173         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43174         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43175         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43176         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43177         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43178         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43179         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43180         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43181         * sysvipc/sys/ipc.h: Likewise.
43182         * sysvipc/sys/msg.h: Likewise.
43183         * sysvipc/sys/sem.h: Likewise.
43184         * sysvipc/sys/shm.h: Likewise.
43185         * termios/termios.h: Likewise.
43186         * time/sys/time.h: Likewise.
43187         * time/time.h: Likewise.
43188         * wcsmbs/bits/wchar2.h: Likewise.
43189         * wcsmbs/uchar.h: Likewise.
43190         * wcsmbs/wchar.h: Likewise.
43191         * wctype/wctype.h: Likewise.
43192
43193         [BZ #13551]
43194         * Makeconfig: Remove all but ELF support including AIX support.
43195         * Makerules: Likewise.
43196         * config.h.in: Likewise.
43197         * config.make.in: Likewise.
43198         * configure: Likewise.
43199         * configure.in: Likewise.
43200         * csu/Makefile: Likewise.
43201         * csu/version.c: Likewise.
43202         * debug/Makefile: Likewise.
43203         * dlfcn/Makefile: Likewise.
43204         * elf/Makefile: Likewise.
43205         * extra-lib.mk: Likewise.
43206         * iconv/Makefile: Likewise.
43207         * include/libc-symbols.h: Likewise.
43208         * include/shlib-compat.h: Likewise.
43209         * resolv/Makefile: Likewise.
43210         * resolv/res_libc.c: Likewise.
43211         * rt/Makefile: Likewise.
43212         * sysdeps/i386/asm-syntax.h: Likewise.
43213         * sysdeps/i386/sysdep.h: Likewise.
43214         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43215         * sysdeps/mach/sysdep.h: Likewise.
43216         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43217         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43218         * sysdeps/s390/asm-syntax.h: Likewise.
43219         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43220         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43221         * sysdeps/sh/sysdep.h: Likewise.
43222         * sysdeps/unix/sparc/sysdep.h: Likewise.
43223         * sysdeps/wordsize-32/divdi3.c: Likewise.
43224         * sysdeps/x86_64/sysdep.h: Likewise.
43225
43226         * argp/Versions: Remove _argp_unlock_xxx.
43227
43228         [BZ #13559]
43229         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43230         * abilist/libBrokenLocale.abilist: Likewise.
43231         * abilist/libanl.abilist: Likewise.
43232         * abilist/libc.abilist: Likewise.
43233         * abilist/libcrypt.abilist: Likewise.
43234         * abilist/libdl.abilist: Likewise.
43235         * abilist/libm.abilist: Likewise.
43236         * abilist/libnsl.abilist: Likewise.
43237         * abilist/libpthread.abilist: Likewise.
43238         * abilist/libresolv.abilist: Likewise.
43239         * abilist/librt.abilist: Likewise.
43240         * abilist/libthread_db.abilist: Likewise.
43241         * abilist/libutil.abilist: Likewise.
43242         * abilist/libnss_db.abilist: New file.
43243
43244         * scripts/abilist.awk: Add support for indirect functions.
43245
43246         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43247
43248         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43249
43250         * shlib-versions: Remove entries for ports architectures.
43251
43252         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43253         files in ports.
43254         * elf/stackguard-macros.h: Remove support for IA-64.
43255         * elf/tst-auditmod1.c: Likewise.
43256         * sysdeps/generic/ldsodefs.h: Likewise.
43257
43258         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43259         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43260         configure files.
43261
43262         [BZ #13552]
43263         * configure.in: Remove --enable-omitfp support.
43264         * FAQ.in: Adjust.
43265         * config.make.in: Likewise.
43266         * Makeconfig: Likewise.
43267         * manual/install.texi: Likewise.
43268
43269         In case anyone cares, the IA-64 architecture could move to ports.
43270         * sysdeps/ia64/*: Removed.
43271         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43272         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43273
43274         [BZ #13555]
43275         * configure.in: Remove entries for unsupported architectures.
43276
43277         [BZ #13533]
43278         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43279         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43280         routines.
43281         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43282         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43283         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43284         fall back to using wcrtomb.
43285         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43286         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43287         renaming.
43288         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43289         * wcsmbs/tst-c16c32-1.c: New file.
43290
43291         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43292         local variable.
43293
43294         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43295
43296         * elf/tst-unique3.cc: Add explicit declaration of gets.
43297         * elf/tst-unique3lib.cc: Likewise.
43298         * elf/tst-unique3lib2.cc: Likewise.
43299         * elf/tst-unique4.cc: Likewise.
43300
43301         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43302
43303 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43304
43305         [BZ #13566]
43306         * assert/assert.h (static_assert): Don't define for C++.
43307         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43308         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43309
43310 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43311
43312         * iconv/loop.c (single loop): Fix assertion in storing of
43313         remaining bytes.
43314
43315         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43316
43317 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43318
43319         * posix/getconf.c: Update copyright year.
43320         * nss/getent.c: Likewise.
43321         * nss/makedb.c: Likewise.
43322         * iconv/iconvconfig.c: Likewise.
43323         * iconv/iconv_prog.c: Likewise.
43324         * elf/ldconfig.c: Likewise.
43325         * elf/pldd.c: Likewise.
43326         * elf/sotruss.ksh: Likewise.
43327         * catgets/gencat.c: Likewise.
43328         * csu/version.c: Likewise.
43329         * elf/ldd.bash.in: Likewise.
43330         * elf/sprof.c (print_version): Likewise.
43331         * locale/programs/locale.c: Likewise.
43332         * locale/programs/localedef.c: Likewise.
43333         * login/programs/pt_chown.c: Likewise.
43334         * nscd/nscd.c (print_version): Likewise.
43335         * debug/xtrace.sh: Likewise.
43336         * malloc/memusage.sh: Likewise.
43337         * malloc/mtrace.pl: Likewise.
43338         * debug/catchsegv.sh: Likewise.
43339
43340 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43341
43342         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43343         pure attribute.
43344
43345 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43346
43347         [BZ #13533]
43348         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43349         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43350         transformations.
43351         * iconv/gconv_int.h: Likewise.
43352         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43353         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43354         from libc for GLIBC_2.16.
43355         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43356         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43357         * wcsmbs/uchar.h: Really define mbstate_t.
43358         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43359         * wcsmbs/c16rtomb.c: New file.
43360         * wcsmbs/mbrtoc16.c: New file.
43361         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43362         for C/POSIX locale.
43363         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43364         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43365
43366         * wcsmbs/wchar.h: Add missing __restrict.
43367
43368 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43369
43370         [BZ #13532]
43371         * time/Makefile (routines): Add timespec_get.
43372         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43373         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43374         timespec for ISO C11.
43375         * time/timespec_get.c: New file.
43376         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43377         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43378
43379         [BZ #13531]
43380         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43381         * stdlib/stdlib.h: Declare aligned_alloc.
43382         * Versions.def: Add GLIBC_2.16 for libc.
43383         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43384
43385         [BZ 13527]
43386         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43387         ISO C11.
43388
43389         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43390         code.
43391
43392         [BZ #13528]
43393         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43394
43395         [BZ #13529]
43396         * assert/assert.h (static_assert): Define.
43397
43398         * version.h: Update for 2.16 development version.
43399
43400         [BZ #13526]
43401         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43402         _ISOC11_SOURCE.
43403
43404         * version.h (RELEASE): Bump for 2.15 release.
43405         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43406
43407         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43408         Patch by Marek Polacek <mpolacek@redhat.com>.
43409
43410         * bits/byteswap.h: Protect long long constants with __extension__.
43411         * sysdeps/i386/bits/byteswap.h: Likewise.
43412         * sysdeps/ia64/bits/byteswap.h: Likewise.
43413         * sysdeps/s390/bits/byteswap.h: Likewise.
43414         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43415
43416 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43417
43418         [BZ #13540]
43419         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43420         destination buffer.
43421         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43422
43423 2011-12-23  Marek Polacek  <polacek@redhat.com>
43424
43425         * elf/dl-addr.c (determine_info): Add inline keyword.
43426         * elf/tst-auditmod4b.c (check_avx): Likewise.
43427         * elf/tst-auditmod6b.c (check_avx): Likewise.
43428         * elf/tst-auditmod6c.c (check_avx): Likewise.
43429         * elf/tst-auditmod7b.c (check_avx): Likewise.
43430
43431 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43432
43433         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43434         !__SSE_MATH__.
43435
43436 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43437
43438         [BZ #13540]
43439         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43440         processing for last bytes.
43441
43442 2011-08-06  Bruno Haible  <bruno@clisp.org>
43443
43444         [BZ #13061]
43445         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43446         U+0385, not to U+1FEE.
43447
43448         [BZ #13062]
43449         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43450         entry for U+00A5 U+0301.
43451
43452 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43453
43454         [BZ #13166]
43455         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43456         buffer for the output is too small.
43457
43458         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43459         optimization.
43460
43461         [BZ #13185]
43462         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43463         SSE flags if possible.
43464
43465 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43466
43467         [BZ #13540]
43468         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43469         processing for last bytes.
43470
43471 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43472
43473         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43474         (syscall-list-default-options, syscall-list-default-condition)
43475         (syscall-list-includes): Define.
43476         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43477         list of ABIs and options and #if conditions for each ABI.  Do not
43478         handle common syscalls between ABIs specially.
43479         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43480         Remove.
43481         (syscall-list-variants, syscall-list-32bit-options)
43482         (syscall-list-32bit-condition, syscall-list-64bit-options)
43483         (syscall-list-64bit-condition): Define.
43484         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43485         (syscall-list-variants, syscall-list-32bit-options)
43486         (syscall-list-32bit-condition, syscall-list-64bit-options)
43487         (syscall-list-64bit-condition): Define.
43488         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43489         Remove.
43490         (syscall-list-variants, syscall-list-32bit-options)
43491         (syscall-list-32bit-condition, syscall-list-64bit-options)
43492         (syscall-list-64bit-condition): Define.
43493         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43494         Remove.
43495         (syscall-list-variants, syscall-list-32bit-options)
43496         (syscall-list-32bit-condition, syscall-list-64bit-options)
43497         (syscall-list-64bit-condition): Define.
43498
43499 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43500
43501         * locale/iso-639.def: Add brx entry.
43502
43503         [BZ #13328]
43504         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43505         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43506
43507         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43508         __feraiseexcept_renamed.
43509
43510 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43511
43512         [BZ #13538]
43513         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43514         EPOLLET with unsigned values.
43515         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43516         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43517
43518         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43519         to large cancellation.
43520         * math/s_cacoshf.c: Likewise.
43521         * math/s_cacoshl.c: Likewise.
43522
43523 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43524
43525         [BZ #13305]
43526         [BZ #12786]
43527         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43528         * math/s_cacoshf.c: Likewise.
43529         * math/s_cacoshl.c: Likewise.
43530
43531 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43532
43533         [BZ #13439]
43534         * iconv/gconv.h: Define __GCONV_SWAP.
43535         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43536         * iconvdata/utf-16.c: Likewise.
43537         * iconvdata/utf-32.c: Likewise.
43538
43539 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43540
43541         [BZ #13524]
43542         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43543         numerator after shifting it by one limb.
43544
43545 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43546
43547         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43548         under [__USE_EXTERN_INLINES].
43549
43550 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43551
43552         [BZ #13446]
43553         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43554
43555 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43556
43557         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43558         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43559         optimized code.
43560         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43561         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43562         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43563         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43564         for strncasecmp/strncasecmp_l compilation.
43565         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43566         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43567
43568 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43569
43570         [BZ #13484]
43571         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43572         of __asm__.
43573
43574 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43575
43576         [BZ #13506]
43577         * time/tzfile.c (__tzfile_read): Check values from file header.
43578
43579 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43580
43581         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43582         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43583         * powerpc/powerpc32/dl-start.S: Likewise.
43584         * powerpc/powerpc32/elf/start.S: Likewise.
43585         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43586         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43587         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43588         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43589         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43590         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43591         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43592         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43593         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43594         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43595         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43596         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43597         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43598         * powerpc/powerpc32/memset.S: Likewise.
43599         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43600         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43601         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43602         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43603         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43604         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43605         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43606         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43607         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43608         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43609         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43610         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43611         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43612
43613 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43614
43615         * math/libm-test.inc: Added more nearbyint tests.
43616         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43617         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43618         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43619         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43620
43621 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43622
43623         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43624         FD_CLOEXEC.
43625
43626 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43627
43628         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43629         Add wcscpy-ssse3 wcscpy-c.
43630         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43631         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43632         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43633         * sysdeps/x86_64/wcschr.S: New file.
43634         * sysdeps/x86_64/wcsrchr.S: New file.
43635         * string/test-strcmp.c: Remove checking of wcscmp function for
43636         wrong alignments.
43637         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43638         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43639         wcsrchr-sse2 wcsrchr-c.
43640         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43641         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43642         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43643         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43644         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43645         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43646         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43647         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43648         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43649         * wcsmbc/wcschr.c (WCSCHR): New macro.
43650
43651 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43652
43653         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43654         * wcsmbs/test-wcsrchr.c: New file.
43655         * string/test-strrchr.c: Add wcsrchr support.
43656         (WIDE): New macro.
43657         * wcsmbs/test-wcscpy.c: New file.
43658         * string/test-strcpy.c: Add wcscpy support.
43659         (WIDE): New macro.
43660
43661 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43662
43663         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43664         the inner loop.
43665
43666 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43667
43668         [BZ #13472]
43669         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43670
43671 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43672
43673         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43674         Minor optimizations.
43675
43676         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43677         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43678         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43679
43680 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43681
43682         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43683         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43684         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43685         for gcc to avoid warnings.
43686         * inet/Makefile (tests): Add tst-checks.
43687         * inet/tst-checks.c: New file.
43688
43689         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43690         warning.
43691
43692         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43693         __wmemcmp_sse2.
43694
43695         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43696         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43697
43698         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43699
43700 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43701
43702         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43703         problem.
43704
43705         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43706
43707 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43708
43709         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43710         conditional on GCC version.
43711         (__arch_compare_and_exchange_val_8_acq)
43712         (__arch_compare_and_exchange_val_16_acq)
43713         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43714         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43715         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43716
43717 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43718
43719         * sysdeps/sh/backtrace.c: New file.
43720
43721 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43722
43723         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43724         parenthesis.
43725
43726 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43727
43728         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43729         falling back to utime.
43730
43731 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43732
43733         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43734         expectations for float.
43735
43736 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43737
43738         * locale/weight.h (findidx): Add parameter len.
43739         * locale/weightwc.h (findidx): Likewise.
43740         * posix/fnmatch_loop.c (FCT): Adjust caller.
43741         * posix/regcomp.c (build_equiv_class): Likewise.
43742         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43743         * posix/regexec.c (check_node_accept_bytes): Likewise.
43744         * string/strcoll_l.c (STRCOLL): Likewise.
43745         * string/strxfrm_l.c (STRXFRM): Likewise.
43746
43747 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43748
43749         * Makefile.in: Remove CVSOPT handling.
43750         * configure.in: Remove use of AC_REVISION.
43751         * iconvdata/Makefile (distribute): No need to filter out CVS.
43752         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43753         handling.
43754
43755 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43756
43757         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43758         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43759         [USE_AS_STRNCASECMP_L]: Likewise.
43760         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43761         NO_TLS_DIRECT_SEG_REFS.
43762         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43763         Fix argument offsets for non-PIC.
43764         [USE_AS_STRNCASECMP_L]: Likewise.
43765         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43766         NO_TLS_DIRECT_SEG_REFS.
43767
43768 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43769
43770         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43771         O_CLOEXEC.
43772         * locale/loadlocale.c (_nl_load_locale): Likewise.
43773
43774 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43775
43776         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43777         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43778         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43779         (SYSCALL_GETTIME): Set errno on error.
43780
43781         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43782         count references to noai6ai_cached.
43783
43784 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43785
43786         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43787
43788         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43789         FD_CLOEXEC for /proc/self/maps.
43790
43791         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43792         FD_CLOEXEC for /proc/meminfo.
43793
43794         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43795         gai.conf.
43796
43797         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43798         FD_CLOEXEC for given file.
43799
43800         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43801
43802         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43803         FD_CLOEXEC for /etc/hosts.
43804         (_gethtent): Likewise.
43805
43806         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43807
43808         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43809         cancellation and set FD_CLOEXEC for /etc/netgroup.
43810
43811         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43812         reading /etc/publickey.
43813
43814         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43815         allow cancellation when reading /etc/group.
43816
43817         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43818         cancellation.
43819         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43820
43821         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43822         when using data file.
43823
43824         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43825
43826         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43827         (write_nis_obj): Use "c" and "e" in fopen.
43828
43829         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43830
43831         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43832
43833         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43834
43835         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43836
43837         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43838         locale.alias.
43839
43840         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43841
43842         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43843
43844         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43845
43846         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43847         file parsing and set FD_CLOEXEC.
43848
43849 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43850
43851         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43852
43853 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43854
43855         * malloc/arena.c (arena_get2): Don't call reused_arena when
43856         _int_new_arena failed.
43857
43858 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43859
43860         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43861         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43862         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43863         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43864         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43865         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43866         to compile strcasecmp and strncasecmp.
43867         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43868         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43869
43870         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43871
43872 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43873
43874         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43875         locale-defines.sym to gen-as-const-headers.
43876         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43877         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43878         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43879         to compile strcasecmp and strncasecmp.
43880         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43881         strcasecmp_l and strncasecmp_l.
43882         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43883         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43884         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43885         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43886         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43887         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43888         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43889         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43890         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43891         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43892         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43893
43894 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43895
43896         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43897         result of SYSDEP_GETTIME_CPU to retval.
43898         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43899         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43900
43901         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43902         variable.
43903
43904         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43905         mantissa words.
43906         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43907
43908         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43909         from unused variable.
43910
43911         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43912         DWARF definitions.
43913         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43914         for assembling.
43915
43916         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43917         over namespaces.
43918
43919         * sunrpc/rpc_prot.c (rejected): Fix case value.
43920
43921         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43922         unsigned long long int to avoid warnings in shift.
43923
43924         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43925         of use of trans.
43926         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43927         variable tmp.
43928
43929         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43930         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43931         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43932
43933         * nis/nis_table.c (nis_list): Use variable of correct type for
43934         result of __follow_path call.
43935
43936 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43937
43938         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43939         of math functions ceil, trunc, floor, round, and sqrt, when
43940         avaliable on the platform.
43941         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43942         name clash.
43943         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43944         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43945         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43946
43947 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43948
43949         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43950         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43951
43952 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43953
43954         * include/unistd.h: Fix __readlink return type.
43955         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43956
43957 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43958
43959         * stdlib/ucontext.h: Undo last change for makecontext.
43960
43961 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43962
43963         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43964
43965         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43966         * setjmp/setjmp.h: Mark functions as non-leaf.
43967         * setjmp/bits/setjmp2.h: Likewise.
43968         * stdlib/ucontext.h: Likewise.
43969
43970 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43971
43972         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43973         (reused_arena): Don't check arena limit.
43974         (arena_get2): Atomically check arena limit.
43975
43976 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43977
43978         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43979         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43980
43981         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43982         instructions.
43983
43984 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43985
43986         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43987         handler when locking.
43988
43989         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43990         Fix size of allocated buffer.
43991
43992 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43993
43994         [BZ #10103]
43995         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43996         declarations for long double functions.
43997         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43998
43999         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44000
44001 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44002
44003         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44004         installed.
44005
44006         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44007         is disabled.
44008
44009 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44010
44011         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44012
44013 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44014
44015         * include/alloca.h (stackinfo_alloca_round): Define.
44016         (extend_alloca): Use it.
44017         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44018         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44019         here.
44020
44021         * scripts/check-local-headers.sh: Ignore libaudit.h.
44022
44023         * nscd/Makefile (extra-objs): Make recursively expanded.
44024
44025 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44026
44027         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44028         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44029
44030         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44031         * posix/tst-rfc3484-2.c: Likewise.
44032         * posix/tst-rfc3484-3.c: Likewise.
44033
44034         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44035         process_vm_writev.
44036         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44037         process_vm_writev.
44038         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44039         process_vm_writev from libc using GLIBC_2.15 version.
44040
44041         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44042
44043 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44044
44045         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44046         stack usage.
44047
44048 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44049
44050         [BZ #13367]
44051         * nss/getent.c (initgroups_keys): Show error message in case no group
44052         names are given.
44053
44054         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44055         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44056         __bump_nl_timestamp.
44057         * nscd/connections (nscd_init): When host database is served open
44058         netlink socket and request notification about configuration changes.
44059         (main_loop_poll): Track netlink file descriptor and bump timestamp
44060         in case data becomes available.
44061         (main_loop_epoll): Likewise.
44062         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44063         (database_pers_head): Add extra_data fileds.
44064         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44065         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44066         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44067         Adjust caller.
44068         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44069         in6ai data, call __free_in6ai.
44070         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44071         Add -DHAVE_NETLINK.
44072         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44073         interface information.  Reuse previous data if netlink timestamp
44074         is not changed.
44075         (__bump_nl_timestamp): New function.
44076         (__free_in6ai): New function.
44077
44078 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44079
44080         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44081         close_not_cancel_no_status here.
44082         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44083
44084 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44085
44086         [BZ #13276]
44087         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44088         return value.
44089
44090         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44091         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44092         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44093
44094 2011-07-03  Andreas Jaeger  <aj@suse.de>
44095
44096         [BZ #10709]
44097         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44098         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44099         * math/libm-test.inc (sin_test): Add test case.
44100
44101 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44102
44103         [BZ #13337]
44104         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44105         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44106
44107         * elf/chroot_canon.c (chroot_canon): Cleanups.
44108
44109         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44110
44111         [BZ #13335]
44112         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44113         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44114
44115         * string/test-strchr.c: Make usable for strchrnul testing.
44116         * string/test-strchrnul.c: New file.
44117         * string/Makefile (strop-tests): Add strchrnul.
44118
44119         * po/it.po: Update from translation team.
44120         * po/es.po: Likewise.
44121
44122 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44123
44124         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44125         the three constants needed as parameters.  Drop the others.
44126         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44127         __m128i_strloadu_tolower.
44128         Create and initialize variable zero and use it in all the places
44129         where _mm_setzero_si128 was used.
44130
44131         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44132         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44133         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44134         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44135         anymore.
44136         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44137         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44138         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44139         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44140         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44141         __mpranred, __mptan.
44142         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44143         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44144         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44145         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44146         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44147         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44148         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44149         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44150         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44151
44152 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44153
44154         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44155         redefine if SHARED.
44156         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44157
44158         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44159         wide char related routines to wcsmbs subdir.
44160
44161 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44162
44163         [BZ #13344]
44164         * misc/sys/cdefs.h (__THROWNL): Define.
44165         * posix/unistd.h: Use __THREADNL instead of __THREAD
44166         for memory synchronization functions.
44167
44168 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44169
44170         [BZ #13349]
44171         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44172         doesn't exist.
44173         * manual/stdio.texi (Obstack Streams): Node removed.
44174
44175 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44176
44177         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44178         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44179         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44180
44181         * math/math_private.h (math_force_eval): Allow non-addressable
44182         arguments.
44183         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44184
44185 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44186
44187         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44188         file is not needed.
44189
44190         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44191         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44192         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44193         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44194         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44195         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44196         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44197         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44198         Add AVX variants.
44199         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44200         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44201         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44202         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44203         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44204         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44205         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44206         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44207         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44208         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44209         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44210         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44211         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44212         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44213         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44214         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44215         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44216         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44217         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44218
44219         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44220         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44221
44222         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44223         place.  Use VEX encoding when compiling for AVX.
44224
44225 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44226
44227         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44228         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44229
44230         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44231
44232 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44233
44234         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44235         useless if() expression.
44236         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44237         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44238         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44239         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44240         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44241         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44242         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44243         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44244         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44245         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44246         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44247         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44248         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44249         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44250         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44251         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44252         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44253         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44254         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44255
44256         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44257
44258 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44259
44260         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44261         condition.
44262         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44263
44264 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44265
44266         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44267         .text section.  Avoid duplicate constants.
44268         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44269         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44270         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44271         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44272         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44273         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44274         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44275         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44276         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44277         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44278         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44279         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44280         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44281         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44282         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44283         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44284         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44285         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44286         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44287         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44288         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44289         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44290         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44291         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44292         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44293         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44294         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44295         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44296         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44297         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44298         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44299         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44300         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44301         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44302         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44303         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44304         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44305         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44306         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44307         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44308         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44309         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44310         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44311         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44312         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44313
44314 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44315
44316         * sysdeps/x86_64/dla.h: Move to ...
44317         * sysdeps/x86_64/fpu/dla.h: ...here.
44318         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44319         situations.  Use __builtin_fma only for gcc 4.6 and up.
44320
44321         * config.make.in: Add have-mfma4 entry.
44322         * configure.in: Substitute libc_cv_cc_fma4.
44323         * math/Makefile (dbl-only-routines): Add sincostab.
44324         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44325         Use __sincostab not sincos.
44326         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44327         name is a macro.
44328         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44329         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44330         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44331         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44332         using __copysign.
44333         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44334         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44335         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44336         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44337         and __inv.
44338         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44339         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44340         __copysign.
44341         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44342         define aliases when function name is a macro.
44343         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44344         sysdeps/ieee754/dbl-64/sincos.tbl.
44345         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44346         fma4-enabled routines.
44347         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44348         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44349         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44350         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44351         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44352         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44353         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44354         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44355         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44356         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44357         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44358         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44359         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44360         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44361         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44362         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44363         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44364         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44365         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44366         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44367         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44368         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44369         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44370         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44371         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44372         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44373         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44374         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44375         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44376         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44377
44378         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44379         rename.
44380         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44381         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44382         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44383         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44384         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44385         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44386         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44387         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44388
44389 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44390
44391         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44392
44393 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44394
44395         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44396
44397         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44398         prediction.
44399         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44400
44401         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44402         Remove unused variable magic_bits.
44403         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44404
44405         * string/strnlen.c: Define and use STRNLEN macro.
44406         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44407         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44408         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44409         * wcsmbs/wcslen.c: Define and use WCSLEN.
44410         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44411         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44412         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44413         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44414         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44415         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44416         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44417
44418 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44419
44420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44421         strnlen-sse2-no-bsf.
44422         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44423         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44424         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44425         Add strnlen support.
44426         (USE_AS_STRNLEN): New macro.
44427         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44428         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44429         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44430         * sysdeps/x86_64/wcslen.S: New file.
44431
44432 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44433
44434         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44435         XMM-moves are used for copying on small sizes.
44436
44437 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44438
44439         * wcsmbs/Makefile (strop-tests): Add wcschr.
44440         * wcsmbs/test-wcschr.c: New file.
44441         * string/test-strchr.c: Update.
44442         Add wcschr support.
44443         (WIDE): New macro.
44444
44445 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44446
44447         * wcsmbs/Makefile (strop-tests): Add wcslen.
44448         * wcsmbs/test-wcslen.c: New file.
44449         * string/test-strlen.c: Update.
44450         Add wcslen support.
44451         (WIDE): New macro.
44452
44453 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44454
44455         * po/it.po: Update from translation team.
44456
44457 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44458
44459         * sysdeps/x86_64/wcscmp.S: Update.
44460         Fix wrong comparison semantics.
44461         wcscmp shall use signed comparison not unsigned.
44462         Don't use substraction to avoid overflow bug.
44463         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44464         * wcsmbc/wcscmp.c: Likewise.
44465         * string/test-strcmp.c: Likewise.
44466         Add new tests to check cases with negative values.
44467
44468 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44469
44470         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44471         * sysdeps/x86_64/dla.h: ...here.  New file.
44472         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44473         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44474         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44475         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44476         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44477         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44478         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44479         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44480         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44481
44482 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44483
44484         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44485         __ynl_finite aliases.
44486
44487 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44488
44489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44490
44491         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44492         define DLA_FMA.
44493         [DLA_FMA] (EMULV): Use DLA_FMA.
44494         [DLA_FMA] (MUL12): Use EMULV.
44495         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44496         that are not needed.
44497         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44498         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44499         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44500         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44501         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44502         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44503         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44504
44505 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44506
44507         * math/s_nan.c: Undef __nan.
44508         * math/s_nanf.c: Undef __nanf.
44509         * math/s_nanl.c: Undef __nanl.
44510         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44511         "math_private.h".
44512
44513 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44514
44515         * math/s_catan.c: Add branch predictions.
44516         * math/s_catanf.c: Likewise.
44517         * math/s_catanh.c: Likewise.
44518         * math/s_catanhf.c: Likewise.
44519         * math/s_catanhl.c: Likewise.
44520         * math/s_catanl.c: Likewise.
44521         * math/s_cexp.c: Likewise.
44522         * math/s_cexpf.c: Likewise.
44523         * math/s_cexpl.c: Likewise.
44524         * math/s_clog.c: Likewise.
44525         * math/s_clog10.c: Likewise.
44526         * math/s_clog10f.c: Likewise.
44527         * math/s_clog10l.c: Likewise.
44528         * math/s_clogf.c: Likewise.
44529         * math/s_clogl.c: Likewise.
44530         * math/s_csqrt.c: Likewise.
44531         * math/s_csqrtf.c: Likewise.
44532         * math/s_csqrtl.c: Likewise.
44533         * math/s_ctanf.c: Likewise.
44534         * math/s_ctanh.c: Likewise.
44535         * math/s_ctanhf.c: Likewise.
44536         * math/s_ctanhl.c: Likewise.
44537         * math/s_ctanl.c: Likewise.
44538
44539         * math/math_private.h: Define __nan, __nanf, __nanl.
44540         * math/s_cacosh.c: Include <math_private.h>.
44541         * math/s_cacoshl.c: Likewise.
44542         * math/s_casinh.c: Likewise.
44543         * math/s_casinhf.c: Likewise.
44544         * math/s_casinhl.c: Likewise.
44545         * math/s_ccos.c: Rely entire on ccosh.
44546         * math/s_ccosf.c: Rely entire on ccoshf.
44547         * math/s_ccosl.c: Rely entirely on ccoshl.
44548         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44549         Remove tests for FE_INVALID.
44550         * math/s_ccoshf.c: Likewise.
44551         * math/s_ccoshl.c: Likewise.
44552         * math/s_csin.c: Likewise.
44553         * math/s_csinf.c: Likewise.
44554         * math/s_csinh.c Likewise.
44555         * math/s_csinhf.c: Likewise.
44556         * math/s_csinhl.c: Likewise.
44557         * math/s_csinl.c: Likewise.
44558         * math/s_ctan.c: Likewise.
44559         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44560         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44561         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44562
44563 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44564
44565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44566         compilation problems.
44567
44568         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44569         __builtin_expect.
44570
44571 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44572
44573         * sysdeps/i386/configure.in: Test for -mfma4 option.
44574         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44575         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44576         COMMON_CPUID_INDEX_80000001.
44577         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44578         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44579         use it if FMA3 is not supported.
44580         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44581
44582         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44583         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44584
44585 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44586
44587         [BZ #12892]
44588         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44589         it would create a cycle with a link time dependency.
44590
44591 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44592
44593         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44594         instruction.
44595         * string/Makefile (strop-tests): Add rawmemchr.
44596         * string/test-rawmemchr.c: New file.
44597
44598         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44599         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44600         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44601         when compiling str{,n}casecmp and when AVX is available.  Hook up
44602         new optimized code in initializers.
44603
44604 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44605
44606         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44607         __feraiseexcept instead of feraiseexcept.
44608
44609 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44610
44611         * math/math_private.h: Define defaults for libc_fetestexcept and
44612         libc_feupdateenv.
44613         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44614         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44615         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44616         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44617         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44618         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44619         libc_fetestexcept and libc_feupdateenv.
44620
44621         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44622         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44623         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44624         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44625         libc_feholdexcept_setround.
44626
44627         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44628         Add s_nearbyint-c and s_nearbyintf-c.
44629         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44630         nearbyintf inlines.
44631         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44632         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44633         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44634         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44635
44636         * math/math_private.h: Define defaults for libc_fegetround,
44637         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44638         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44639         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44640         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44641         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44642         standard functions.
44643         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44644         Remove comments and hacks for old compiler versions.
44645         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44646         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44647         libc_feholdexceptl.
44648
44649 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44650
44651         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44652         (__feraiseexcept_renamed): Add __NTH.
44653         (feraiseexcept): Add __NTH.  Rename local variables to fix
44654         namespace violations.
44655
44656 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44657
44658         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44659
44660         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44661
44662         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44663         recently added interfaces.
44664         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44665
44666         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44667         about macro parameter expansion.
44668
44669         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44670         __NO_MATH_INLINES is defined.  Cleanups.
44671
44672         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44673         and __floorf is target has SSE4.1.
44674         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44675         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44676         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44677         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44678
44679         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44680         name.
44681         (floorf): Likewise.
44682
44683         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44684
44685 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44686
44687         * misc/sys/cdefs.h: Fix last change.
44688
44689         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44690         database lookup.
44691
44692 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44693
44694         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44695
44696         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44697         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44698         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44699         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44700         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44701         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44702         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44703         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44704         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44705         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44706         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44707         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44708         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44709         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44710         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44711         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44712         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44713         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44714         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44715         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44716         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44717         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44718
44719         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44720         ceil, ceilf, floor, floorf.
44721
44722         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44723         Perform IRELATIVE relocations last.
44724
44725         * elf/do-rel.h: Add another parameter nrelative, replacing the
44726         local variable with the same name.  Change name of the function
44727         to end in Rel or Rela (uppercase).
44728         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44729         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44730         elf_dynamic_do_##reloc function.
44731
44732 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44733
44734         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44735         is sufficient, at least on modern CPUs.
44736
44737         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44738
44739         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44740         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44741
44742         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44743         __expl_finite.
44744         * math/bits/math-finite.h: Add entries for exp.
44745         * math/e_expl.c: Add __*_finite alias.
44746         * sysdeps/i386/fpu/e_exp.S: Likewise.
44747         * sysdeps/i386/fpu/e_expf.S: Likewise.
44748         * sysdeps/i386/fpu/e_expl.c: Likewise.
44749         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44750         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44751         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44752         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44753         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44754         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44755         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44756
44757         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44758         is sufficient, at least on modern CPUs.
44759
44760         * ctype/ctype-info.c (__ctype_init): Define.
44761         * include/ctype.h (__ctype_init): Declare.
44762         (__ctype_b_loc): The variable is always initialized.
44763         (__ctype_toupper_loc): Likewise.
44764         (__ctype_tolower_loc): Likewise.
44765         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44766         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44767
44768 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44769
44770         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44771
44772         * configure.in: Also look in $cxxmachine/include for C++ system
44773         headers.
44774
44775 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44776
44777         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44778         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44779         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44780         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44781         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44782         (USE_AS_WMEMCMP): New macro.
44783         Fixing indents.
44784         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44785         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44786         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44787         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44788         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44789         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44790         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44791         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44792         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44793         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44794         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44795         (USE_AS_WMEMCMP): New macro.
44796         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44797         * sysdeps/string/test-memcmp.c: Update.
44798         Fix simple_wmemcmp.
44799         Add new tests.
44800         * wcsmbs/wmemcmp.c: Update.
44801         (WMEMCMP): New macro.
44802         Fix overflow bug.
44803
44804 2011-10-12  Andreas Jaeger  <aj@suse.de>
44805
44806         [BZ #13268]
44807         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44808
44809 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44810
44811         * libio/iofwide.c (do_length): Avoid warning.
44812
44813         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44814
44815 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44816
44817         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44818
44819         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44820         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44821         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44822         * sysdeps/i386/i686/fpu/e_log.S: New file.
44823         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44824         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44825
44826         * ctype/ctype.h: Add support for inlined isXXX functions when
44827         compiling C++ code.
44828
44829 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44830
44831         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44832
44833         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44834
44835 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44836
44837         [BZ #13291]
44838         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44839
44840 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44841
44842         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44843         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44844         feraiseexcept.
44845
44846         * sysdeps/x86_64/memrchr.S: Check for zero size.
44847
44848         * string/stratcliff.c: Add memrchr tests.
44849
44850 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44851
44852         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44853         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44854         rawmemchr-sse2 rawmemchr-sse2-bsf.
44855         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44856         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44857         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44858         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44859         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44860         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44861         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44862         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44863         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44864         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44865         * string/memrchr.c (MEMRCHR): New macro.
44866
44867 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44868
44869         Add integration with gcc's -ffinite-math-only and optimize wrapper
44870         functions in libm.
44871         * Versions.def: Define GLIBC_2.15 version for libm.
44872         * math/Makefile (headers): Add bits/math-finite.h.
44873         * math/bits/math-finite.h: New file.
44874         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44875         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44876         * math/e_acoshl.c: Add __*_finite alias.
44877         * math/e_acosl.c: Likewise.
44878         * math/e_asinl.c: Likewise.
44879         * math/e_atan2l.c: Likewise.
44880         * math/e_atanhl.c: Likewise.
44881         * math/e_coshl.c: Likewise.
44882         * math/e_exp10.c: Likewise.
44883         * math/e_exp10f.c: Likewise.
44884         * math/e_exp10l.c: Likewise.
44885         * math/e_exp2l.c: Likewise.
44886         * math/e_fmodl.c: Likewise.
44887         * math/e_gammal_r.c: Likewise.
44888         * math/e_hypotl.c: Likewise.
44889         * math/e_j0l.c: Likewise.
44890         * math/e_j1l.c: Likewise.
44891         * math/e_jnl.c: Likewise.
44892         * math/e_lgammal_r.c: Likewise.
44893         * math/e_log10l.c: Likewise.
44894         * math/e_log2l.c: Likewise.
44895         * math/e_logl.c: Likewise.
44896         * math/e_powl.c: Likewise.
44897         * math/e_sinhl.c: Likewise.
44898         * math/e_sqrtl.c: Likewise.
44899         * math/e_scalb.c: Completely rewritten and optimized.
44900         * math/e_scalbf.c: Likewise.
44901         * math/e_scalbl.c: Likewise.
44902         * math/w_acos.c: Likewise.
44903         * math/w_acosf.c: Likewise.
44904         * math/w_acosl.c: Likewise.
44905         * math/w_acosh.c: Likewise.
44906         * math/w_acoshf.c: Likewise.
44907         * math/w_acoshl.c: Likewise.
44908         * math/w_asin.c: Likewise.
44909         * math/w_asinf.c: Likewise.
44910         * math/w_asinl.c: Likewise.
44911         * math/w_atan2.c: Likewise.
44912         * math/w_atan2f.c: Likewise.
44913         * math/w_atan2l.c: Likewise.
44914         * math/w_atanh.c: Likewise.
44915         * math/w_atanhf.c: Likewise.
44916         * math/w_atanhl.c: Likewise.
44917         * math/w_exp10.c: Likewise.
44918         * math/w_exp10f.c: Likewise.
44919         * math/w_exp10l.c: Likewise.
44920         * math/w_fmod.c: Likewise.
44921         * math/w_fmodf.c: Likewise.
44922         * math/w_fmodl.c: Likewise.
44923         * math/w_j0.c: Likewise.
44924         * math/w_j0f.c: Likewise.
44925         * math/w_j0l.c: Likewise.
44926         * math/w_j1.c: Likewise.
44927         * math/w_j1f.c: Likewise.
44928         * math/w_j1l.c: Likewise.
44929         * math/w_jn.c: Likewise.
44930         * math/w_jnf.c: Likewise.
44931         * math/w_log.c: Likewise.
44932         * math/w_logf.c: Likewise.
44933         * math/w_logl.c: Likewise.
44934         * math/w_log10.c: Likewise.
44935         * math/w_log10f.c: Likewise.
44936         * math/w_log10l.c: Likewise.
44937         * math/w_log2.c: Likewise.
44938         * math/w_log2f.c: Likewise.
44939         * math/w_log2l.c: Likewise.
44940         * math/w_pow.c: Likewise.
44941         * math/w_powf.c: Likewise.
44942         * math/w_powl.c: Likewise.
44943         * math/w_remainder.c: Likewise.
44944         * math/w_remainderf.c: Likewise.
44945         * math/w_remainderl.c: Likewise.
44946         * math/w_scalb.c: Likewise.
44947         * math/w_scalbf.c: Likewise.
44948         * math/w_scalbl.c: Likewise.
44949         * math/w_sqrt.c: Likewise.
44950         * math/w_sqrtf.c: Likewise.
44951         * math/w_sqrtl.c: Likewise.
44952         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44953         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44954         used.
44955         * math/math_private.h: Declare __kernel_standard_f.
44956         * math/w_cosh.c: Remove cruft and optimize a bit.
44957         * math/w_coshf.c: Likewise.
44958         * math/w_coshl.c: Likewise.
44959         * math/w_exp2.c: Likewise.
44960         * math/w_exp2f.c: Likewise.
44961         * math/w_exp2l.c: Likewise.
44962         * math/w_hypot.c: Likewise.
44963         * math/w_hypotf.c: Likewise.
44964         * math/w_hypotl.c: Likewise.
44965         * math/w_lgamma.c: Likewise.
44966         * math/w_lgamma_r.c: Likewise.
44967         * math/w_lgammaf.c: Likewise.
44968         * math/w_lgammaf_r.c: Likewise.
44969         * math/w_lgammal.c: Likewise.
44970         * math/w_lgammal_r.c: Likewise.
44971         * math/w_sinh.c: Likewise.
44972         * math/w_sinhf.c: Likewise.
44973         * math/w_sinhl.c: Likewise.
44974         * math/w_tgamma.c: Likewise.
44975         * math/w_tgammaf.c: Likewise.
44976         * math/w_tgammal.c: Likewise.
44977         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44978         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44979         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44980         Minor optimizations.  Pretty printing.  Remove cruft.
44981         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44982         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44983         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44984         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44985         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44986         * sysdeps/i386/fpu/e_asin.S: Likewise.
44987         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44988         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44989         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44990         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44991         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44992         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44993         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44994         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44995         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44996         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44997         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44998         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44999         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45000         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45001         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45002         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45003         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45004         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45005         * sysdeps/i386/fpu/e_log.S: Likewise.
45006         * sysdeps/i386/fpu/e_log10.S: Likewise.
45007         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45008         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45009         * sysdeps/i386/fpu/e_log2.S: Likewise.
45010         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45011         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45012         * sysdeps/i386/fpu/e_logf.S: Likewise.
45013         * sysdeps/i386/fpu/e_logl.S: Likewise.
45014         * sysdeps/i386/fpu/e_pow.S: Likewise.
45015         * sysdeps/i386/fpu/e_powf.S: Likewise.
45016         * sysdeps/i386/fpu/e_powl.S: Likewise.
45017         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45018         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45019         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45020         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45021         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45022         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45023         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45024         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45025         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45026         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45027         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45028         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45029         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45030         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45031         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45032         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45033         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45034         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45035         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45036         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45037         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45038         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45039         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45040         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45041         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45042         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45043         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45044         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45045         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45046         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45047         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45048         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45049         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45050         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45051         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45052         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45053         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45054         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45055         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45056         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45057         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45058         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45059         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45060         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45061         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45062         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45063         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45064         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45065         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45066         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45067         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45068         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45069         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45070         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45071         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45072         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45073         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45074         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45075         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45076         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45077         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45078         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45079         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45080         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45081         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45082         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45083         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45084         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45085         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45086         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45087         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45088         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45089         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45090         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45091         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45092         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45093         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45094         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45095         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45096         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45097         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45098         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45099         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45100         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45101         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45102         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45103         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45104         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45105         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45106         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45107         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45108         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45109         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45110         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45111         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45112         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45113         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45114         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45115         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45116         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45117         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45118         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45119         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45120         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45121         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45122         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45123         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45124         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45125         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45126         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45127         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45128         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45129         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45130         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45131         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45132         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45133         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45134         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45135         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45136         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45137         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45138         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45139         (__isnanf): Likewise.
45140         (__isinf_ns): Likewise.
45141         (__isinf_nsf): Likewise.
45142         (__finite): Likewise.
45143         (__finitef): Likewise.
45144         (__ieee754_sqrt): Define as macro.
45145         (__ieee754_sqrtf): Define as macro.
45146         (__ieee754_sqrtl): Define as macro.
45147         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45148         inlined copy.
45149         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45150         __FINITE_MATH_ONLY__ consistent.
45151         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45152
45153 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45154
45155         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45156         of rawmemchr.
45157
45158         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45159
45160 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45161
45162         * po/ja.po: Update from translation team.
45163
45164 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45165
45166         * locale/programs/locarchive.c (prepare_address_space): New function.
45167         (create_archive, enlarge_archive, open_archive): Use it.
45168
45169         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45170         inside [SHARED], where it is used.
45171
45172         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45173
45174         * nss/getent.c (netgroup_keys): Remove unused variable.
45175         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45176
45177 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45178
45179         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45180         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45181         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45182         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45183         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45184         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45185         * math/Makefile (libm-calls): Add s_isinf_ns.
45186         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45187         * math/multc3.c: Likewise.
45188         * math/s_casin.c: Likewise.
45189         * math/s_casinf.c: Likewise.
45190         * math/s_casinl.c: Likewise.
45191         * math/s_ccos.c: Likewise.
45192         * math/s_ccosf.c: Likewise.
45193         * math/s_ccosl.c: Likewise.
45194         * math/s_ctan.c: Likewise.
45195         * math/s_ctanf.c: Likewise.
45196         * math/s_ctanh.c: Likewise.
45197         * math/s_ctanhf.c: Likewise.
45198         * math/s_ctanhl.c: Likewise.
45199         * math/s_ctanl.c: Likewise.
45200         * math/w_fmod.c: Likewise.
45201         * math/w_fmodf.c: Likewise.
45202         * math/w_fmodl.c: Likewise.
45203         * math/w_remainder.c: Likewise.
45204         * math/w_remainderf.c: Likewise.
45205         * math/w_remainderl.c: Likewise.
45206         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45207         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45208         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45209         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45210         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45211         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45212         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45213         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45214
45215         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45216         of the number.
45217         * stdio-common/printf_fphex.c: Likewise.
45218         * stdio-common/printf_size.c: Likewise.
45219
45220         * math/e_exp10.c: Include math_private.h using <...> not "...".
45221         * math/e_exp10f.c: Likewise.
45222         * math/e_exp10l.c: Likewise.
45223         * math/e_exp2l.c: Likewise.
45224         * math/e_j0l.c: Likewise.
45225         * math/e_j1l.c: Likewise.
45226         * math/e_jnl.c: Likewise.
45227         * math/e_lgammal_r.c: Likewise.
45228         * math/e_rem_pio2l.c: Likewise.
45229         * math/e_scalb.c: Likewise.
45230         * math/e_scalbf.c: Likewise.
45231         * math/e_scalbl.c: Likewise.
45232         * math/k_cosl.c: Likewise.
45233         * math/k_sinl.c: Likewise.
45234         * math/k_tanl.c: Likewise.
45235         * math/s_cacoshf.c: Likewise.
45236         * math/s_catan.c: Likewise.
45237         * math/s_catanf.c: Likewise.
45238         * math/s_catanh.c: Likewise.
45239         * math/s_catanhf.c: Likewise.
45240         * math/s_catanhl.c: Likewise.
45241         * math/s_catanl.c: Likewise.
45242         * math/s_ccosh.c: Likewise.
45243         * math/s_ccoshf.c: Likewise.
45244         * math/s_ccoshl.c: Likewise.
45245         * math/s_cexp.c: Likewise.
45246         * math/s_cexpf.c: Likewise.
45247         * math/s_cexpl.c: Likewise.
45248         * math/s_clog.c: Likewise.
45249         * math/s_clog10.c: Likewise.
45250         * math/s_clog10f.c: Likewise.
45251         * math/s_clog10l.c: Likewise.
45252         * math/s_clogf.c: Likewise.
45253         * math/s_clogl.c: Likewise.
45254         * math/s_csin.c: Likewise.
45255         * math/s_csinf.c: Likewise.
45256         * math/s_csinh.c: Likewise.
45257         * math/s_csinhf.c: Likewise.
45258         * math/s_csinhl.c: Likewise.
45259         * math/s_csinl.c: Likewise.
45260         * math/s_csqrt.c: Likewise.
45261         * math/s_csqrtf.c: Likewise.
45262         * math/s_csqrtl.c: Likewise.
45263         * math/s_ctan.c: Likewise.
45264         * math/s_ctanf.c: Likewise.
45265         * math/s_ctanh.c: Likewise.
45266         * math/s_ctanhf.c: Likewise.
45267         * math/s_ctanhl.c: Likewise.
45268         * math/s_ctanl.c: Likewise.
45269         * math/s_ldexp.c: Likewise.
45270         * math/s_ldexpf.c: Likewise.
45271         * math/s_ldexpl.c: Likewise.
45272         * math/s_significand.c: Likewise.
45273         * math/s_significandf.c: Likewise.
45274         * math/s_significandl.c: Likewise.
45275         * math/w_acos.c: Likewise.
45276         * math/w_acosf.c: Likewise.
45277         * math/w_acosh.c: Likewise.
45278         * math/w_acoshf.c: Likewise.
45279         * math/w_acoshl.c: Likewise.
45280         * math/w_acosl.c: Likewise.
45281         * math/w_asin.c: Likewise.
45282         * math/w_asinf.c: Likewise.
45283         * math/w_asinl.c: Likewise.
45284         * math/w_atan2.c: Likewise.
45285         * math/w_atan2f.c: Likewise.
45286         * math/w_atan2l.c: Likewise.
45287         * math/w_atanh.c: Likewise.
45288         * math/w_atanhf.c: Likewise.
45289         * math/w_atanhl.c: Likewise.
45290         * math/w_cosh.c: Likewise.
45291         * math/w_coshf.c: Likewise.
45292         * math/w_coshl.c: Likewise.
45293         * math/w_dremf.c: Likewise.
45294         * math/w_exp10.c: Likewise.
45295         * math/w_exp10f.c: Likewise.
45296         * math/w_exp10l.c: Likewise.
45297         * math/w_exp2.c: Likewise.
45298         * math/w_exp2f.c: Likewise.
45299         * math/w_fmod.c: Likewise.
45300         * math/w_fmodf.c: Likewise.
45301         * math/w_fmodl.c: Likewise.
45302         * math/w_hypot.c: Likewise.
45303         * math/w_hypotf.c: Likewise.
45304         * math/w_hypotl.c: Likewise.
45305         * math/w_j0.c: Likewise.
45306         * math/w_j0f.c: Likewise.
45307         * math/w_j0l.c: Likewise.
45308         * math/w_j1.c: Likewise.
45309         * math/w_j1f.c: Likewise.
45310         * math/w_j1l.c: Likewise.
45311         * math/w_jn.c: Likewise.
45312         * math/w_jnf.c: Likewise.
45313         * math/w_jnl.c: Likewise.
45314         * math/w_lgamma.c: Likewise.
45315         * math/w_lgamma_r.c: Likewise.
45316         * math/w_lgammaf.c: Likewise.
45317         * math/w_lgammaf_r.c: Likewise.
45318         * math/w_lgammal.c: Likewise.
45319         * math/w_lgammal_r.c: Likewise.
45320         * math/w_log.c: Likewise.
45321         * math/w_log10.c: Likewise.
45322         * math/w_log10f.c: Likewise.
45323         * math/w_log10l.c: Likewise.
45324         * math/w_log2.c: Likewise.
45325         * math/w_log2f.c: Likewise.
45326         * math/w_log2l.c: Likewise.
45327         * math/w_logf.c: Likewise.
45328         * math/w_logl.c: Likewise.
45329         * math/w_pow.c: Likewise.
45330         * math/w_powf.c: Likewise.
45331         * math/w_powl.c: Likewise.
45332         * math/w_remainder.c: Likewise.
45333         * math/w_remainderf.c: Likewise.
45334         * math/w_remainderl.c: Likewise.
45335         * math/w_scalb.c: Likewise.
45336         * math/w_scalbf.c: Likewise.
45337         * math/w_scalbl.c: Likewise.
45338         * math/w_sinh.c: Likewise.
45339         * math/w_sinhf.c: Likewise.
45340         * math/w_sinhl.c: Likewise.
45341         * math/w_sqrt.c: Likewise.
45342         * math/w_sqrtf.c: Likewise.
45343         * math/w_sqrtl.c: Likewise.
45344         * math/w_tgamma.c: Likewise.
45345         * math/w_tgammaf.c: Likewise.
45346         * math/w_tgammal.c: Likewise.
45347
45348         * po/ja.po: Update from translation team.
45349
45350 2011-09-29  Andreas Jaeger  <aj@suse.de>
45351
45352         [BZ #13179]
45353         * sunrpc/netname.c (netname2host): Fix logic.
45354
45355         [BZ #6779]
45356         [BZ #6783]
45357         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45358         correctly.
45359         * math/w_remainder.c (__remainder): Likewise.
45360         * math/w_remainderf.c (__remainderf): Likewise.
45361         * math/libm-test.inc (remainder_test): Add test cases.
45362
45363 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45364
45365         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45366         sdiv_qrnnd.
45367
45368 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45369
45370         * string/test-memcmp.c: Avoid unncessary #defines.
45371         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45372
45373 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45374
45375         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45376         Use new sse2 version for core i3 - i7 as it's faster
45377         than sse42 version.
45378         (bit_Prefer_PMINUB_for_stringop): New.
45379         * sysdeps/x86_64/rawmemchr.S: Update.
45380         Replace with faster SSE2 version.
45381         * sysdeps/x86_64/memrchr.S: New file.
45382         * sysdeps/x86_64/memchr.S: Update.
45383         Replace with faster SSE2 version.
45384
45385 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45386
45387         * elf/dl-load.c (lose): Add cast to avoid warning.
45388
45389 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45390
45391         * po/ca.po: Update from translation team.
45392
45393         * inet/getnetgrent_r.c: Hook up nscd.
45394         * nscd/Makefile (routines): Add nscd_netgroup.
45395         (nscd-modules): Add netgroupcache.
45396         (CFLAGS-netgroupcache.c): Define.
45397         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45398         (cache_search): Add const to second parameter.
45399         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45400         INNETGR.
45401         (dbs): Add netgrdb entry.
45402         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45403         (verify_persistent_db): Handle netgrdb.
45404         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45405         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45406         GETFDNETGR.
45407         (netgroup_response_header): Define.
45408         (innetgroup_response_header): Define.
45409         (datahead): Add netgroup_response_header and innetgroup_response_header
45410         elements.
45411         * nscd/nscd.conf: Add entries for netgroup cache.
45412         * nscd/nscd.h (dbtype): Add netgrdb.
45413         (_PATH_NSCD_NETGROUP_DB): Define.
45414         (netgroup_iov_disabled): Declare.
45415         (xmalloc, xcalloc, xrealloc): Move declarations here.
45416         (cache_search): Adjust prototype.
45417         Add netgroup-related prototypes.
45418         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45419         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45420         (__nscd_innetgr): Declare.
45421         * nscd/selinux.c (perms): Use access_vector_t as element type and
45422         add netgroup-related initializers.
45423         * nscd/netgroupcache.c: New file.
45424         * nscd/nscd_netgroup.c: New file.
45425         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45426         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45427         For four parameters use innetgr.
45428         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45429         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45430         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45431         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45432
45433         * nscd/connections.c (register_traced_file): Don't register file
45434         for disabled databases.
45435
45436 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45437
45438         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45439
45440         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45441         from tree and freeing node.
45442
45443 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45444
45445         * nss/nsswitch.c (__nss_database_lookup): Handle
45446         nss_parse_service_list out of memory case.
45447
45448 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45449
45450         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45451         out of memory case.
45452
45453 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45454
45455         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45456         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45457         pass it down.
45458         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45459         elf_machine_rela, elf_machine_lazy_rel.
45460         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45461         (ELF_DYNAMIC_DO_REL): Likewise.
45462         (ELF_DYNAMIC_DO_RELA): Likewise.
45463         (ELF_DYNAMIC_RELOCATE): Likewise.
45464         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45465         to ELF_DYNAMIC_DO_REL.
45466         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45467         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45468         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45469         elf_machine_rela.
45470         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45471         skip_ifunc, don't call ifunc function if non-zero.
45472         (elf_machine_rela): Likewise.
45473         (elf_machine_lazy_rel): Likewise.
45474         (elf_machine_lazy_rela): Likewise.
45475         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45476         (elf_machine_lazy_rel): Likewise.
45477         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45478         Likewise.
45479         (elf_machine_lazy_rel): Likewise.
45480         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45481         Likewise.
45482         (elf_machine_lazy_rel): Likewise.
45483         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45484         (elf_machine_lazy_rel): Likewise.
45485         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45486         (elf_machine_lazy_rel): Likewise.
45487         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45488         (elf_machine_lazy_rel): Likewise.
45489         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45490         (elf_machine_lazy_rel): Likewise.
45491         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45492         (elf_machine_lazy_rel): Likewise.
45493         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45494         (elf_machine_lazy_rel): Likewise.
45495
45496 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45497
45498         * nss/nss_files/files-init.c (_nss_files_init): Use static
45499         initialization for all the *_traced_file variables.
45500
45501 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45502
45503         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45504
45505 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45506
45507         [BZ #13226]
45508         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45509
45510 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45511
45512         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45513         Reread the line before reparsing it.
45514
45515 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45516
45517         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45518
45519 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45520             Maxim Kuvyrkov  <maxim@codesourcery.com>
45521             Joseph Myers  <joseph@codesourcery.com>
45522
45523         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45524         if needed for __stack_chk_guard.
45525
45526 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45527
45528         * sysdeps/posix/spawni.c (script_execute): Always define it.
45529         It will be optimized away if unused.
45530         (maybe_script_execute): New function.
45531         (__spawni): Call it.
45532
45533         * Makerules: Don't include tls.make.
45534         (config-tls): Always set to thread.
45535         * tls.make.c: File removed.
45536
45537 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45538
45539         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45540         * config.make.in (CPPFLAGS-config): New substituted variable.
45541
45542 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45543
45544         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45545
45546         [BZ #13192]
45547         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45548         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45549
45550 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45551
45552         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45553         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45554         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45555         (CALL_FAIL): Likewise.
45556         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45557         (CALL_FAIL): Macro removed.
45558         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45559
45560 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45561
45562         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45563         for __FINITE_MATH_ONLY__ == 1.
45564
45565 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45566
45567         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45568         __ieee754_sqrt instead of sqrt.
45569         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45570         __ieee754_sqrtf instead of sqrtf.
45571         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45572         __floorf instead of floorf.
45573         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45574         __floorf, __truncf instead of floorf, truncf.
45575
45576 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45577
45578         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45579
45580         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45581         __extern_always_inline.
45582         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45583         32-bit.
45584
45585 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45586
45587         * elf/rtld.c (dl_main): Also relocate in dependency order when
45588         doing symbol dependency testing.
45589
45590 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45591
45592         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45593         Always define `refsym'.
45594
45595 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45596
45597         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45598         (__FD_ELT): Renamed from __FDELT.
45599         * misc/bits/select2.h (__FD_ELT): Likewise.
45600         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45601         __FD_MASK instead of __FDELT, __FDMASK.
45602         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45603         Likewise.
45604         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45605         Likewise.
45606
45607         * elf/Makefile (gen-ldd): Fix pattern.
45608
45609         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45610         (init_tls): Likewise.
45611
45612 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45613
45614         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45615
45616 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45617
45618         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45619         `struct cmsghdr *' instead of `void *'.
45620         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45621         Likewise.
45622
45623 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45624
45625         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45626         if non-absolute.
45627         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45628         ldd_rewrite_script.
45629
45630 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45631
45632         * configure.in: Remove --with-tls option.
45633         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45634         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45635         out in case it is missing.
45636         * sysdeps/ia64/elf/configure.in: Likewise.
45637         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45638         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45639         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45640         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45641         * sysdeps/sh/elf/configure.in: Likewise.
45642         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45643         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45644         * sysdeps/x86_64/elf/configure.in: Likewise.
45645         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45646         * sysdeps/mach/hurd/tls.h: Likewise.
45647
45648         [BZ #13067]
45649         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45650
45651         [BZ #13090]
45652         * configure.in: Fix use of AC_INIT.
45653
45654         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45655
45656 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45657
45658         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45659         __set_errno.
45660         * malloc/hooks.c: Likewise.
45661
45662         [BZ #11929]
45663         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45664         variables statically.
45665         (narenas): Initialize.
45666         (list_lock): Initialize.
45667         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45668         initializtion of main_arena and list_lock.  Small cleanups.
45669         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45670         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45671         Add initializers to main_arena and mp_.
45672         (malloc_state): Remove pagesize member.  Change all users to use
45673         GLRO(dl_pagesize).
45674
45675         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45676         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45677         is always initialized.
45678
45679         * malloc/malloc.c: Removed unused configurations and dead code.
45680         * malloc/arena.c: Likewise.
45681         * malloc/hooks.c: Likewise.
45682         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45683
45684         * include/tls.h: Removed.  USE___THREAD must always be defined.
45685         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45686         * elf/dl-libc.c: Likewise.
45687         * elf/dl-tsd.c: Likewise.
45688         * include/errno.h: Likewise.
45689         * include/netdb.h: Likewise.
45690         * include/resolv.h: Likewise.
45691         * inet/herrno-loc.c: Likewise.
45692         * inet/herrno.c: Likewise.
45693         * malloc/arena.c: Likewise.
45694         * malloc/hooks.c: Likewise.
45695         * malloc/malloc.c: Likewise.
45696         * resolv/res-state.c: Likewise.
45697         * resolv/res_libc.c: Likewise.
45698         * sysdeps/i386/dl-machine.h: Likewise.
45699         * sysdeps/ia64/dl-machine.h: Likewise.
45700         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45701         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45702         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45703         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45704         * sysdeps/sh/dl-machine.h: Likewise.
45705         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45706         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45707         * sysdeps/unix/i386/sysdep.S: Likewise.
45708         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45709         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45710         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45711         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45712         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45714         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45715         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45716         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45718         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45719         * sysdeps/x86_64/dl-machine.h: Likewise.
45720         * tls.make.c: Likewise.
45721
45722         * configure.in: Remove --with-__thread option.  Make tests for
45723         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45724         tls_model attribute fail if no support is available.  Remove
45725         USE_IN_LIBIO.
45726         * Makeconfig: Adjust for dropped configure option.  All features are
45727         now mandatory.
45728         * Makerules: Likewise.
45729         * Versions.def: Likewise.
45730         * argp/argp-fmtstream.c: Likewise.
45731         * argp/argp-fmtstream.h: Likewise.
45732         * argp/argp-help.c: Likewise.
45733         * assert/assert.c: Likewise.
45734         * config.h.in: Likewise.
45735         * config.make.in: Likewise.
45736         * configure: Likewise.
45737         * configure.in: Likewise.
45738         * csu/Versions: Likewise.
45739         * csu/init.c: Likewise.
45740         * elf/tst-audit2.c: Likewise.
45741         * elf/tst-tls10.c: Likewise.
45742         * elf/tst-tls10.h: Likewise.
45743         * elf/tst-tls11.c: Likewise.
45744         * elf/tst-tls12.c: Likewise.
45745         * elf/tst-tls14.c: Likewise.
45746         * elf/tst-tlsmod11.c: Likewise.
45747         * elf/tst-tlsmod12.c: Likewise.
45748         * elf/tst-tlsmod13.c: Likewise.
45749         * elf/tst-tlsmod13a.c: Likewise.
45750         * elf/tst-tlsmod14a.c: Likewise.
45751         * elf/tst-tlsmod15b.c: Likewise.
45752         * elf/tst-tlsmod16a.c: Likewise.
45753         * elf/tst-tlsmod16b.c: Likewise.
45754         * elf/tst-tlsmod7.c: Likewise.
45755         * elf/tst-tlsmod8.c: Likewise.
45756         * elf/tst-tlsmod9.c: Likewise.
45757         * gmon/gmon.c: Likewise.
45758         * grp/fgetgrent_r.c: Likewise.
45759         * grp/putgrent.c: Likewise.
45760         * hurd/fopenport.c: Likewise.
45761         * include/libc-symbols.h: Likewise.
45762         * include/tls.h: Likewise.
45763         * intl/gettextP.h: Likewise.
45764         * intl/loadinfo.h: Likewise.
45765         * locale/global-locale.c: Likewise.
45766         * locale/localeinfo.h: Likewise.
45767         * mach/devstream.c: Likewise.
45768         * malloc/arena.c: Likewise.
45769         * malloc/set-freeres.c: Likewise.
45770         * misc/err.c: Likewise.
45771         * misc/getttyent.c: Likewise.
45772         * misc/mntent_r.c: Likewise.
45773         * posix/getopt.c: Likewise.
45774         * posix/wordexp.c: Likewise.
45775         * pwd/fgetpwent_r.c: Likewise.
45776         * resolv/Versions: Likewise.
45777         * resolv/res_hconf.c: Likewise.
45778         * shadow/fgetspent_r.c: Likewise.
45779         * shadow/putspent.c: Likewise.
45780         * stdio-common/printf_fphex.c: Likewise.
45781         * stdio-common/tmpfile.c: Likewise.
45782         * stdlib/abort.c: Likewise.
45783         * stdlib/fmtmsg.c: Likewise.
45784         * sunrpc/auth_unix.c: Likewise.
45785         * sunrpc/clnt_perr.c: Likewise.
45786         * sunrpc/clnt_tcp.c: Likewise.
45787         * sunrpc/clnt_udp.c: Likewise.
45788         * sunrpc/clnt_unix.c: Likewise.
45789         * sunrpc/openchild.c: Likewise.
45790         * sunrpc/svc_simple.c: Likewise.
45791         * sunrpc/svc_tcp.c: Likewise.
45792         * sunrpc/svc_udp.c: Likewise.
45793         * sunrpc/svc_unix.c: Likewise.
45794         * sunrpc/xdr.c: Likewise.
45795         * sunrpc/xdr_array.c: Likewise.
45796         * sunrpc/xdr_rec.c: Likewise.
45797         * sunrpc/xdr_ref.c: Likewise.
45798         * sunrpc/xdr_stdio.c: Likewise.
45799
45800 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45801
45802         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45803
45804 2011-07-03  Andreas Jaeger  <aj@suse.de>
45805
45806         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45807         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45808         regenerate with gen-libm-tests.pl.
45809
45810 2010-05-12  Petr Baudis  <pasky@suse.cz>
45811
45812         [BZ #11589]
45813         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45814         around j0() zero points by switching to j1().
45815         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45816         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45817         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45818         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45819
45820 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45821
45822         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45823         instead of 0.
45824         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45825         instead of 0.
45826         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45827         Patch in part by Pavel Roskin <proski@gnu.org>.
45828
45829         [BZ #13138]
45830         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45831         realloc.
45832         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45833         Free memory block if necessary.
45834
45835         [BZ #12847]
45836         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45837         be NULL.  Don't lock in this case.
45838
45839 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45840
45841         * elf/elf.h (ELFOSABI_GNU): New macro.
45842         (ELFOSABI_LINUX): Define to that.
45843
45844 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45845
45846         * string/strncat.c (strncat): Undef the symbol in case it has been
45847         defined in bits/string.h.
45848
45849 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45850
45851         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45852
45853         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45854         link map.
45855
45856 2011-08-17  Andreas Jaeger  <aj@suse.de>
45857
45858         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45859
45860 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45861             Ian Lance Taylor  <iant@google.com>
45862
45863         * math/libm-test.inc (lround_test): New testcase.
45864         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45865
45866 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45867
45868         * Makefile: Remove support for automatic cvs check-ins.
45869         * Makerules: Likewise.
45870         * config.make.in: Likewise.
45871         * configure.in: Likewise.
45872         * intl/Makefile: Likewise.
45873         * locale/Makefile: Likewise.
45874         * po/Makefile: Likewise.
45875         * posix/Makefile: Likewise.
45876         * sysdeps/gnu/Makefile: Likewise.
45877         * sysdeps/mach/hurd/Makefile: Likewise.
45878         * sysdeps/sparc/sparc32/Makefile: Likewise.
45879
45880         [BZ #13118]
45881         * posix/Makefile (bug-regex32-ENV): Define.
45882         Patch by John Stanley <jpsinthemix@verizon.net>.
45883
45884         * misc/Makefile (headers): Add bits/select2.h.
45885         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45886         * misc/bits/select2.h: New file.
45887         * include/bits/select2.h: New file.
45888         * debug/Makefile (routines): Add fdelt_chk.
45889         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45890         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45891         FD_ISSET.
45892         * debug/fdelt_chk.c: New file.
45893
45894         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45895         * wcsmbs/test-wmemcmp.c: Likewise.
45896         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45897         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45898
45899 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45900
45901         * string/Makefile (strop-tests): Add memcmp.
45902         * string/test-wmemcmp.c: New file.
45903         * string/test-memcmp.c: Add wmemcmp support.
45904
45905 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45906
45907         [BZ #13153]
45908         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45909         2011-07-19 change.
45910
45911         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45912         garbage value in a __mach_port_mod_refs call in the cases of the
45913         task-self and thread-self ports.
45914
45915 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45916
45917         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45918
45919 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45920
45921         * elf/dl-load.c (lose): Check for non-null L.
45922
45923 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45924
45925         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45926
45927         * elf/dl-libc.c (dlerror_run): Pass back error code from
45928         dl_catch_error.
45929
45930         [BZ #13123]
45931         * elf/dl-load.c (lose): Free l_origin if it is valid.
45932
45933         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45934         names.
45935         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45936         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45937         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45938         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45939         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45940         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45941
45942 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45943
45944         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45945         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45946         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45947         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45948         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45949         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45950         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45951         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45952         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45953         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45954
45955 2011-08-15  Alan Modra  <amodra@gmail.com>
45956
45957         [BZ #13092]
45958         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45959         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45960         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45961         ppc_mcount to static-only-routines.
45962         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45963         __mcount_internal.
45964         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45965         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45966
45967 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45968
45969         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45970         for finite and infinity parameters.
45971
45972 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45973
45974         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45975         and add nop instructions for throughput optimization.
45976         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45977
45978 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45979
45980         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45981         aligned copy for power7 with vector-scalar instructions.
45982         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45983
45984 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45985
45986         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45987         AVX check.
45988
45989 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45990
45991         [BZ #13144]
45992         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45993         last change.
45994
45995 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45996
45997         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45998         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45999         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46000         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46001         clock_gettime.
46002
46003 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46004
46005         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46006         Forgot to demangle the pointer.
46007
46008         * sysdeps/i386/sysdep.h: Define atom_text_section.
46009         * sysdeps/x86_64/sysdep.h: Likewise.
46010         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46011         section with atom_text_section.
46012         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46013         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46014         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46015         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46016         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46017
46018         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46019         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46020         already be defined.  Change to take two parameters and don't assign
46021         result to variable.  Adjust all users.
46022         Define INTERNAL_GETTIME if not already defined.
46023         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46024         call.
46025         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46026         HAVE_CLOCK_GETTIME_VSYSCALL.
46027         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46028
46029         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46030         gettimeofday vsyscall, just use time.
46031
46032 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46033
46034         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46035         <errno.h>.
46036
46037 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46038
46039         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46040         syscall on x86-64.
46041         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46042         syscall.
46043         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46044         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46045         syscall if possible.
46046
46047 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46048
46049         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46050         e_ident.  Don't pass to find_mapsXX.
46051         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46052
46053 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46054
46055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46056         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46057         * sysdeps/x86_64/multiarch/strchr.S: Update.
46058         Check bit_slow_BSF bit.
46059         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46060         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46061         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46062
46063 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46064
46065         [BZ #13134]
46066         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46067         before glibc 2.15.
46068         (tryshell): Define.
46069         (__spawni): Change last parameter to be flag.  Test
46070         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46071         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46072         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46073         * posix/spawni.c: Likewise.
46074         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46075         * posix/spawnp.c: Likewise.  Change normal version to use
46076         SPAWN_XFLAGS_USE_PATH.
46077         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46078         SPAWN_XFLAGS_TRY_SHELL.
46079
46080         [BZ #13150]
46081         * posix/glob.h: Remove gcc 1.x support.
46082
46083         [BZ #13068]
46084         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46085
46086 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46087
46088         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46089         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46090         strrchr-sse2-bsf
46091         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46092         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46093         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46094         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46095         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46096         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46097
46098 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46099
46100         * sysdeps/x86_64/wcscmp.S: New file.
46101
46102         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46103         wcscmp-c wcscmp-sse2
46104         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46105         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46106         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46107         * wcsmbs/wcscmp.c: Allow renaming.
46108
46109 2011-09-05  David S. Miller  <davem@davemloft.net>
46110
46111         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46112         stack slot, rather than the struct return pointer slot.
46113         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46114         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46116         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46117
46118 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46119
46120         * po/ja.po: Update from translation team.
46121
46122         [BZ #13144]
46123         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46124         kernel in 64-bit binaries.
46125
46126 2011-09-01  David S. Miller  <davem@davemloft.net>
46127
46128         * elf/elf.h (HWCAP_SPARC_*): Move to..
46129         * sysdeps/sparc/sysdep.h: this new file and add new values.
46130         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46131         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46132         _DL_HWCAP_COUNT to 24.
46133         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46134         entries.
46135         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46136         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46137         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46138         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46139         instead of magic constants.
46140         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46141
46142 2011-08-31  David S. Miller  <davem@davemloft.net>
46143
46144         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46145         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46146         Reimplement to do errno handling inline.
46147         (SYSCALL_ERROR_HANDLER): New macro.
46148         (__SYSCALL_STRING): Do not do errno handling in asm.
46149         (__CLONE_SYSCALL_STRING): Delete.
46150         (__INTERNAL_SYSCALL_STRING): Delete.
46151         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46152         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46153         (PSEUDO): Reimplement to do errno handling inline.
46154         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46155         (SYSCALL_ERROR_HANDLER): New macro.
46156         (__SYSCALL_STRING): Do not do errno handling in asm.
46157         (__CLONE_SYSCALL_STRING): Delete.
46158         (__INTERNAL_SYSCALL_STRING): Delete.
46159         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46160         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46161         i386.
46162         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46163         (inline_syscall*): Add 'err' argument.
46164         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46165         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46166         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46167         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46168
46169         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46170         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46171
46172 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46173
46174         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46175
46176 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46177
46178         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46179         directive.
46180
46181 2011-08-24  David S. Miller  <davem@davemloft.net>
46182
46183         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46184
46185 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46186
46187         * elf/Makefile: Add rules to build and run unload8 test.
46188         * elf/unload8.c: New file.
46189         * elf/unload8mod1.c: New file.
46190         * elf/unload8mod1x.c: New file.
46191         * elf/unload8mod2.c: New file.
46192         * elf/unload8mod3.c: New file.
46193
46194         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46195         it wasn't used.
46196
46197 2011-08-23  David S. Miller  <davem@davemloft.net>
46198
46199         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46200         subtract stack bias.
46201         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46202         %sp not %fp in calculations.
46203         (_JMPBUF_UNWINDS_ADJ): Likewise.
46204
46205         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46206         (aio_suspend): Call it to force an exception region around the
46207         AIO_MISC_WAIT() invocation.
46208
46209 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46210
46211         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46212         backslash.
46213
46214 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46215
46216         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46217         protection macro.
46218         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46219         and <dl-machine.h>.
46220         (Elf64_FuncDesc): Remove.
46221
46222 2011-08-22  David S. Miller  <davem@davemloft.net>
46223
46224         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46225         sigaltstack check, add missing cfi directives.
46226         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46227         missing cfi directives, and sigaltstack handling.
46228
46229 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46230
46231         [BZ #11724]
46232         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46233         object is seen twice.
46234         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46235
46236         * elf/Makefile (distribute): Add tst-initorder2.c.
46237         (tests): Add tst-initorder2.
46238         (modules-names): Add tst-initorder2a tst-initorder2b
46239         tst-initorder2c tst-initorder2d.  Add rules to build them.
46240         ($(objpfx)tst-initorder2.out): New rule.
46241         * elf/tst-initorder2.c: New file.
46242         * elf/tst-initorder2.exp: New file.
46243
46244 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46245
46246         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46247
46248         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46249         dependencies back to end of function.
46250
46251         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46252         $(elfobjdir)/ld.so.
46253
46254 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46255
46256         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46257         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46258         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46259         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46260         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46261         of __vdso_gettimeofday.
46262         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46263         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46264         attribute_hidden.
46265         (_libc_vdso_platform_setup): Remove initialization of
46266         __vdso_gettimeofday and __vdso_time.
46267
46268 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46269
46270         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46271         and fgetc_unlocked.
46272         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46273         getc_unlocked.
46274
46275         * elf/dl-open.c (add_to_global): Report additions to the global scope
46276         for LD_DEBUG=scopes.
46277         (dl_open_worker): Also print scope of newly loaded dependencies.
46278         (_dl_show_scope): Indicate if there is no scope.
46279
46280         [BZ #13114]
46281         * stdio-common/Makefile (tests): Add bug24.
46282         * stdio-common/bug24.c: New file.
46283
46284 2011-08-19  Andreas Jaeger  <aj@suse.de>
46285
46286         [BZ #13114]
46287         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46288         non-existant file when using close-on-exec mode.
46289
46290 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46291
46292         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46293         the very first instruction.
46294
46295         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46296         the CFI state in the end.
46297         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46298         inclusion of dl-trampoline.h.
46299         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46300
46301 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46302
46303         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46304         expectations for long double.
46305
46306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46307         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46308
46309 2011-08-14  David S. Miller  <davem@davemloft.net>
46310
46311         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46312         artificual limit depends upon the system page size.
46313
46314 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46315
46316         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46317         * resolv/Makefile: Define CFLAGS-libresolv.
46318
46319 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46320
46321         * nss/makedb.c (compute_tables): Make variables used in nested
46322         function static.
46323
46324 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46325
46326         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46327         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46328         if buffer was too small.
46329
46330         * elf/pldd.c (main): Attach to all threads in the process.
46331         Rewrite /proc handling to use *at functions.
46332
46333 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46334
46335         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46336         specifies first scope to show.
46337         (dl_open_worker): Update callers.  Move printing scope of new
46338         object to before the relocation.
46339         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46340         * sysdeps/generic/ldsodefs.h: Update declaration.
46341
46342         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46343         string for the scope number.
46344
46345 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46346
46347         * nscd/servicescache.c (cache_addserv): Make sure written is always
46348         initialized.
46349
46350 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46351
46352         * sysdeps/i386/i486/bits/atomic.h
46353         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46354         statement expression, so as to suppress "set but not used" warning.
46355         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46356
46357         * string/strncat.c (STRNCAT): Use prototype definition.
46358
46359         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46360         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46361         -Iprograms here.
46362         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46363         (localedef-modules): Add localedef.
46364         (locale-modules): Add locale.
46365
46366         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46367         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46368         to avoid a warning.
46369
46370 2011-08-14  David S. Miller  <davem@davemloft.net>
46371
46372         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46373         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46374
46375 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46376
46377         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46378         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46379         * elf/rtld.c (dl_main): Set l_name of vDSO.
46380         Call _dl_show_scope when DL_DEBUG_SCOPES.
46381         (process_dl_debug): Recognize scopes flag and also set it for all.
46382         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46383         Declare _dl_show_scope.
46384
46385         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46386         (do_dlopen): Pass caller_dlopen to dl_open.
46387         (__libc_dlopen_mode): Initialize caller_dlopen.
46388
46389         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46390         of libc.  Make tolower call locale-independent.  Optimize a bit by
46391         using isdigit instead of isalnum.
46392         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46393
46394 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46395
46396         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46397         was a dependency or dynamically loaded.
46398
46399 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46400
46401         * intl/l10nflist.c: Allow architecture-specific pop function.
46402         * sysdeps/x86_64/l10nflist.c: New file.
46403
46404         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46405         classification.
46406
46407 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46408
46409         * include/dirent.h: Add libc_hidden_proto for scandirat and
46410         scandirat64.  Don't declare __scandirat64.
46411         * dirent/scandirat.c: Add libc_hidden_def.
46412         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46413         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46414
46415 2011-08-10  David S. Miller  <davem@davemloft.net>
46416
46417         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46418         enum.
46419         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46420         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46421         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46422
46423 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46424
46425         * Versions.def [libc]: Add GLIBC_2.15.
46426         * dirent/Makefile (routines): Add scandirat and scandirat64.
46427         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46428         GLIBC_2.15.
46429         * dirent/dirent.h: Declare scandirat and scandirat64.
46430         * dirent/scandirat.c: New file.
46431         * dirent/scandirat64.c: New file.
46432         * sysdeps/wordsize-64/scandirat.c: New file.
46433         * sysdeps/wordsize-64/scandirat64.c: New file.
46434         * dirent/opendir.c: Define opendirat.
46435         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46436         using scandirat.
46437         * dirent/scandir64.c: Adjust for scandir.c change.
46438         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46439         __scandirat64, and __scandir_cancel_handler.
46440         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46441         additional parameter and use openat instead of open (outside of ld.so).
46442         Add new __opendir as wrapper around __opendirat.
46443         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46444         here without requiring old scandirat implementation.
46445
46446 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46447
46448         * dirent/scandir.c (cancel_handler): Renamed to
46449         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46450         defined.  Adjust users.
46451         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46452         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46453
46454 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46455
46456         * string/test-string.h (IMPL): Use __STRING to expand name and then
46457         stringify it.
46458
46459         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46460         of cleanups.
46461
46462 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46463
46464         * string/Makefile: Update.
46465         (strop-tests): Append strncat.
46466         * string/test-wcscmp.c: New file.
46467         New comprehensive test for wcscmp.
46468         * string/test-strcmp.c: Update.
46469         (WIDE): New define.
46470
46471 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46472
46473         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46474         line.
46475
46476 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46477
46478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46479         encoding to ACE if AI_IDN.
46480
46481 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46482
46483         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46484         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46485
46486 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46487
46488         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46489         Fix overflow bug in strncat.
46490         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46491
46492         * string/test-strncat.c: Update.
46493         Add new tests for checking overflow bugs.
46494
46495 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46496
46497         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46498         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46499         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46500         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46501         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46502         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46503         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46504         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46505         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46506
46507         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46508         (USE_AS_STRCAT): Define.
46509         Add strcat and strncat support.
46510         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46511
46512 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46513
46514         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46515         __n bigger than INT_MAX+1.
46516         (__strncmp_g): Likewise.
46517
46518 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46519
46520         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46521         * libio/stido.h: Likewise.
46522
46523         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46524         (AF_NFC): Define.
46525         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46526         (AF_NFC): Define.
46527
46528         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46529         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46530         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46531         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46532         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46533
46534         [BZ #13021]
46535         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46536         installed.
46537
46538         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46539         typo.
46540         (_dl_x86_64_save_sse): Likewise.
46541
46542 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46543
46544         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46545         OSXSAVE.
46546         (_dl_x86_64_save_sse): Likewise.
46547
46548         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46549
46550         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46551
46552 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46553
46554         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46555         change.
46556         (_dl_x86_64_save_sse): Use correct AVX check.
46557
46558 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46559
46560         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46561         bug in strncpy/strncat.
46562         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46563
46564 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46565
46566         * string/tester.c (test_strcat): Add tests for different alignments
46567         of source and destination.
46568         (test_strncat): Likewise.
46569
46570 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46571
46572         [BZ #12852]
46573         * posix/glob.c (glob): Check passed in values before using them in
46574         expressions to avoid some overflows.
46575         (glob_in_dir): Likewise.
46576
46577         [BZ #13007]
46578         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46579         check for AVX enablement so that we don't crash with old kernels and
46580         new hardware.
46581         * elf/tst-audit4.c: Add same checks here.
46582         * elf/tst-audit6.c: Likewise.
46583
46584         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46585
46586 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46587
46588         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46589
46590 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46591
46592         * po/cs.po: Update from translation team.
46593         * po/bg.po: Likewise.
46594
46595 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46596
46597         * misc/sys/cdefs.h: Add support for const attribute.
46598         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46599         to gnu_dev_{major,minor,makedev} functions.
46600
46601 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46602
46603         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46604
46605 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46606
46607         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46608         strlen results.
46609
46610 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46611
46612         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46613         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46614         register in order to avoid conflicts with the soft frame pointer
46615         being held in r11 when necessary.
46616         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46617         (INTERNAL_VSYSCALL_NCS): Likewise.
46618
46619 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46620
46621         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46622         * elf/dl-fini.c (_dl_fini): Adjust caller.
46623         * elf/dl-close.c (_dl_close_worker): Likewise.
46624         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46625
46626 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46627
46628         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46629         "aux_cache->nlibs < 0".
46630
46631         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46632         in the reload-count case.
46633
46634 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46635
46636         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46637         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46638         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46639         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46640         * sysdeps/x86_64/multiarch/strcat.S: New file.
46641         * sysdeps/x86_64/multiarch/strncat.S: New file.
46642         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46643         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46644         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46645         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46646         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46647         (USE_AS_STRCAT): Define.
46648         Add strcat and strncat support.
46649         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46650         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46651         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46652         * string/strncat.c: Update.
46653         (USE_AS_STRNCAT): Define.
46654         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46655         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46656         and i7.
46657         * sysdeps/x86_64/multiarch/init-arch.h
46658         (bit_Prefer_PMINUB_for_stringop): New.
46659         (index_Prefer_PMINUB_for_stringop): Likewise.
46660         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46661         bit_Prefer_PMINUB_for_stringop.
46662
46663 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46664
46665         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46666         buffer64.
46667         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46668         of casting of buffer.
46669         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46670         buffer32 and buffer64.
46671         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46672         writes instead of casting of buffer.
46673         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46674         buffer32.
46675         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46676         casting of buffer.
46677
46678 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46679
46680         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46681
46682 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46683
46684         * nscd/nscd.c (termination_handler): Don't do anything for a database
46685         if it has not yet been initialized.
46686
46687 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46688
46689         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46690
46691 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46692
46693         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46694
46695 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46696
46697         * po/nl.po: Update from translation team.
46698         * po/sv.po: Likewise.
46699
46700 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46701
46702         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46703         now disallowed by GCC.
46704
46705         * configure.in (use-default-link): Default to yes if a test -shared
46706         link meets our qualifications.
46707         * configure: Regenerated.
46708
46709         * config.make.in (output-format): New variable.
46710         * configure.in: Check for ld --print-output-format support.
46711         * configure: Regenerated.
46712         * Makerules ($(common-objpfx)format.lds)
46713         [$(output-format) != unknown]: Just use $(output-format),
46714         instead of the linker-script munging.
46715
46716 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46717
46718         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46719         of $(common-objpfx)shlib.lds.
46720         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46721
46722         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46723         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46724
46725         * configure.in (-z relro check): Adjust test code to add a large
46726         writable data section after it.
46727         * configure: Regenerated.
46728
46729 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46730
46731         * configure.in (-z relro check): Fix test code to make the variable
46732         truly const.
46733         * configure: Regenerated.
46734
46735 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46736
46737         * nscd/nscd.h (struct traced_file): Define.
46738         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46739         elements.  Add traced_files.
46740         (inotify_fd): Declare.
46741         (register_traced_file): Declare.
46742         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46743         (inotify_fd): Export.
46744         (resolv_conf_descr): Remove.
46745         (nscd_init): Move inotify descriptor creation to main.
46746         Don't register files for notification here.
46747         (register_traced_file): New function.
46748         (invalidate_cache): Don't use reset_res to determine whether to call
46749         res_init, go through the list of registered files.
46750         (main_loop_poll): The inotify descriptors are now stored in the
46751         structures for the traced files.
46752         (main_loop_epoll): Likewise
46753         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46754         to __nss_disable_nscd.
46755         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46756         for a database anymore.  Check the records for all the registered
46757         files instead.
46758         * nss/Makefile (libnss_files-routines): Add files-init.
46759         (libnss_db-routines): Add db-init.
46760         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46761         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46762         * nss/nss_db/db-init.c: New file.
46763         * nss/nss_files/files-init.c: New file.
46764         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46765         __nss_lookup_function.
46766         (__nss_lookup_function): Call nss_load_library.
46767         (nss_load_all_libraries): New function.
46768         (__nss_disable_nscd): Take parameter with callback function for files
46769         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46770         used for the cached services.
46771         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46772         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46773         options for features to all the files in nscd.
46774
46775         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46776
46777 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46778
46779         * csu/elf-init.c (__libc_csu_init): Comment typo.
46780
46781 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46782
46783         * po/pl.po: Update from translation team.
46784         * po/ja.po: Likewise.
46785         * po/ru.po: Likewise.
46786         * po/ko.po: Likewise.
46787         * po/fr.po: Likewise.
46788
46789 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46790
46791         * configure.in (.ctors/.dtors header and trailer check):
46792         Use an empirical test on a built program.
46793         * configure: Regenerated.
46794
46795         * configure.in (-z relro check): Use an empirical test on a built DSO.
46796         Detect, but do not require, on ia64.
46797         * configure: Regenerated.
46798
46799         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46800         Update tests that use readelf to use $READELF instead.
46801         * configure: Regenerated.
46802
46803 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46804
46805         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46806         if the result is not used.
46807
46808 2011-07-05  Andreas Jaeger  <aj@suse.de>
46809
46810         [BZ#9696]
46811         * stdlib/tst-strtod.c: Add testcase.
46812
46813 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46814
46815         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46816         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46817         The latter has a higher limit.  Take additional parameter to pass to
46818         the new function.
46819         (__pathconf): Pass file to __statfs_link_max.
46820         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46821         __statfs_link_max.
46822         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46823         __statfs_link_max.
46824
46825         [BZ #12868]
46826         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46827         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46828         Handle Lustre.
46829         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46830         (__statfs_filesize_max): Likewise.
46831         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46832
46833 2011-07-05  Andreas Jaeger  <aj@suse.de>
46834
46835         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46836
46837 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46838
46839         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46840         `status' variable.
46841         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46842         Likewise.
46843
46844 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46845
46846         * Makefile (strop-tests): Add strncat.
46847         * string/test-strncat.c: New file.
46848
46849 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46850
46851         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46852
46853 2011-06-21  Andreas Jaeger  <aj@suse.de>
46854
46855         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46856         Copy rule from iconvdata/Makefile.
46857
46858 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46859
46860         [BZ #12922]
46861         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46862         but no long options are defined, just return 'W'.
46863
46864 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46865
46866         [BZ #9696]
46867         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46868
46869 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46870
46871         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46872         netgroups to read.
46873         (innetgr): Likewise.
46874
46875 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46876
46877         * config.make.in (install_root): Default to $(DESTDIR).
46878
46879 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46880
46881         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46882
46883 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46884
46885         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46886
46887         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46888         containing directory rather than embedding absolute directory names.
46889
46890         * scripts/check-local-headers.sh: Rewritten using awk.
46891         Match by word, not by line.  Print error messages for matches.
46892         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46893
46894         * Makerules [shlib-lds-flags empty]:
46895         ($(common-objpfx)libc_pic.opts): New target.
46896         ($(common-objpfx)libc_pic.os.clean): New target.
46897         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46898
46899         * config.make.in (OBJCOPY): New variable.
46900         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46901         * configure: Regenerated.
46902
46903         * config.make.in (use-default-link): New variable.
46904         * configure.in (use_default_link): Grok --with-default-link to set it.
46905         * configure: Regenerated.
46906         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46907         (shlib-lds, shlib-lds-flags): Define to empty.
46908
46909         * Makerules (shlib-lds): New variable.
46910         (shlib-lds-flags): New variable.
46911         (build-shlib, build-moduile, build-module-asneeded): Use it.
46912         ($(common-objpfx)libc.so): Use $(shlib-lds).
46913         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46914         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46915
46916         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46917         DT_FLAGS/DT_FLAGS_1 with zero flags.
46918
46919         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46920         linker script munging.
46921
46922 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46923
46924         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46925         as 128-bit value.
46926         * crypt/sha512.c (sha512_process_block): Perform total addition using
46927         128-bit if possible.
46928         (__sha512_finish_ctx): Likewise.
46929         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46930         as 64-bit value.
46931         * crypt/sha256.c (SWAP64): Define.
46932         (sha256_process_block): Perform total addition using 64-bit if
46933         possible.
46934         (__sha256_finish_ctx): Likewise.
46935
46936 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46937
46938         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46939         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46940         * nscd/hstcache.c (cache_addhst): Likewise.
46941         * nscd/grpcache.c (cache_addgr): Likewise.
46942         * nscd/aicache.c (addhstaiX): Likewise
46943         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46944
46945 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46946
46947         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46948         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46949         * nscd/hstcache.c (cache_addhst): Likewise.
46950         * nscd/grpcache.c (cache_addgr): Likewise.
46951         * nscd/aicache.c (addhstaiX): Likewise
46952
46953 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46954
46955         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46956         domain only when needed.
46957
46958 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46959
46960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46961         is always restored.
46962
46963 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46964
46965         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46966         are re-adding the entry.
46967         * nscd/servicescache.c (cache_addserv): Likewise.
46968
46969 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46970
46971         * sysdeps/generic/dl-irel.h: fix protection against multiple
46972         inclusions.
46973         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46974
46975 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46976
46977         [BZ #12935]
46978         * malloc/memusage.sh: Fix quoting in message.
46979         * debug/xtrace.sh: Likewise.
46980
46981         * configure.in: Remove support for --experimental-malloc option, make
46982         it the default.
46983         * config.make.in: Likewise.
46984         * malloc/Makefile: Likewise.
46985
46986 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46987
46988         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46989         two-byte characters.
46990
46991 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46992
46993         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46994         AC_CACHE_CHECK invocation.
46995         * configure: Regenerated.
46996
46997         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46998
46999 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47000
47001         [BZ #12350]
47002         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47003         bit from old_res_options.
47004
47005         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47006
47007         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47008         value type for setfct.
47009
47010 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47011
47012         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47013         __gettimeofday instead of gettimeofday.
47014
47015 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47016
47017         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47018
47019 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47020
47021         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47022
47023         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47024         info.
47025
47026 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47027
47028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47029         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47030         strcpy-sse2-unaligned strncpy-sse2-unaligned
47031         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47032         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47033         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47034         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47035         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47036         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47037         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47038         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47039         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47040         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47041         (STRCPY): Support SSE2 and SSSE3 versions.
47042
47043 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47044
47045         [BZ #12874]
47046         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47047         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47048         kernels which artificially limit size of requests.
47049
47050 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47051
47052         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47053         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47054         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47055         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47056         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47057         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47058         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47059         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47060         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47061         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47062         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47063         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47064         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47065         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47066         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47068         Enable unaligned load optimization for Intel Core i3, i5 and i7
47069         processors.
47070         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47071         Define.
47072         (index_Fast_Unaligned_Load): Define.
47073         (HAS_FAST_UNALIGNED_LOAD): Define.
47074
47075 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47076
47077         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47078
47079 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47080
47081         [BZ #12907]
47082         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47083         until it is clear that the information is realy needed.
47084         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47085
47086 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47087
47088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47089
47090 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47091
47092         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47093         /sys/devices/system/cpu/online if it is usable.
47094
47095         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47096         reading the information from the /proc filesystem to once a second.
47097
47098 2011-06-21  Andreas Jaeger  <aj@suse.de>
47099
47100         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47101         NULL after inclusion of kernel headers.
47102
47103 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47104
47105         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47106         calls to internal_setent.
47107
47108         [BZ #12885]
47109         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47110         addresses using gethostbyname4_r ignore IPv4 addresses.
47111
47112         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47113         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47114
47115         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47116
47117 2011-06-20  David S. Miller  <davem@davemloft.net>
47118
47119         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47120         inclusions.
47121         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47122
47123         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47124         (elf_irel): Use it.
47125         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47126         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47127         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47128         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47129         * sysdeps/x86_64/dl-irel.h: Likewise.
47130
47131         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47132         * elf/dl-sym.c: Likewise.
47133
47134 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47135
47136         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47137         need to dereference resplen2.
47138
47139 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47140
47141         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47142
47143 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47144
47145         * Makeconfig: Define vardbdir and inst_vardbdir.
47146         * nss/Makefile: Add rules to install db-Makefile.
47147
47148         * nss/nss_db/db-XXX.c: Cleanup.
47149
47150         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47151         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47152         GLIBC_PRIVATE.
47153         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47154         * nss/makedb.c: Implement -g option to specify that value strings
47155         are generated and should not be added to table iterated over for
47156         get*ent calls.
47157         * nss/nss_db/db-initgroups.c: New file.
47158
47159         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47160         interface.
47161
47162         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47163         (internal_getgrouplist): Adjust to name change.
47164         Update use_initgroups_entry if this is not the first call.
47165         * nss/databases.def: Add initgroups entry.
47166
47167         * nss/makedb.c (compute_tables): Check result of multiple hash table
47168         sizes to minimize maximum chain length.
47169
47170 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47171
47172         * Versions.def: Add entry for libnss_db.
47173         * shlib-versions: Likewise.
47174         * nss/Makefile: Add rules to build libnss_db.
47175         * nss/Versions: Add libnss_db information.  Organize libnss_files
47176         entries better.
47177         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47178         makedb progra.  Some minor improvements to generate smaller files.
47179         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47180         here from...
47181         * nss/makedb.c: ...here.
47182         Improve database format to be smaller and require less memory at
47183         runtime.
47184         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47185         db anymore.
47186         * nss/nss_db/db-netgrp.c: Likewise.
47187         * nss/nss_db/db-open.c: Likewise.
47188         * nss/nss_files/flies-XXX.x: Adjust comments.
47189         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47190         * nss/nss_files/files-grp.c: Likewise.
47191         * nss/nss_files/files-hosts.c: Likewise.
47192         * nss/nss_files/files-network.c: Likewise.
47193         * nss/nss_files/files-proto.c: Likewise.
47194         * nss/nss_files/files-pwd.c: Likewise.
47195         * nss/nss_files/files-rpc.c: Likewise.
47196         * nss/nss_files/files-service.c: Likewise.
47197         * nss/nss_files/files-sgrp.c: Likewise.
47198         * nss/nss_files/files-spwd.c: Likewise.
47199         * nss/nss_db/db-alias.c: Removed.
47200         * nss/nss_db/dummy-db.h: Removed.
47201
47202 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47203
47204         * nss/makedb.c: Rewritten to not use database library.
47205         * nss/Makefile: Update to build new makedb program.
47206
47207 2011-06-14  Andreas Jaeger  <aj@suse.de>
47208
47209         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47210         memset declaration.
47211
47212 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47213
47214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47215         tmpbuf.
47216
47217 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47218
47219         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47220         * elf/Makefile ($(objpfx)ld.so): Likewise.
47221
47222         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47223         Don't list ld.so twice in dependencies.
47224
47225         * posix/bug-regex31.c: Include <stdlib.h>.
47226
47227         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47228
47229         * nis/nss_compat/compat-spwd.c
47230         (getspent_next_nss_netgr): Remove unused variable.
47231         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47232
47233         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47234         nonmembers" output to use the right array.
47235
47236         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47237
47238         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47239
47240         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47241         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47242         * catgets/gencat.c (read_input_file): Likewise.
47243         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47244
47245         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47246         variable definition inside #if's controlling its use.
47247
47248         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47249
47250         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47251
47252         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47253
47254         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47255         unreachable code.
47256
47257         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47258
47259         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47260         * configure: Regenerated.
47261
47262         * Makerules: Revert last change.
47263         * elf/Makefile: Likewise.
47264
47265 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47266
47267         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47268         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47269         (reloc-link): Likewise.
47270
47271 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47272
47273         * elf/Makefile: Add rules to build pldd.
47274         * elf/pldd.c: New file.
47275         * elf/pldd-xx.c: New file.
47276
47277 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47278
47279         * version.h: Update for 2.15 development version.
47280
47281 2011-06-07  David S. Miller  <davem@davemloft.net>
47282
47283         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47284         ifuncs.
47285         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47286         elf_machine_lazy_rel): Likewise.
47287         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47288         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47289         elf_machine_lazy_rel): Likewise.
47290         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47291         dl_hwcap via passed in argument.
47292         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47293         Likewise.
47294
47295 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47296
47297         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47298
47299 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47300
47301         [BZ #12849]
47302         * manual/fdl-1.1.texi: New file, verbatim from:
47303         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47304         * manual/lgpl-2.1.texi: New file, verbatim from:
47305         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47306         * manual/Makefile (licenses): New variable, list those new file names.
47307         (texis): Use it.
47308         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47309
47310         * manual/fdl.texi: File removed.
47311         * manual/lesser.texi: File removed.
47312         * manual/libc.texinfo (Copying, Documentation License):
47313         Use new @include file names, put @appendix directive before @include.
47314
47315 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47316
47317         [BZ #12841]
47318         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47319         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47320         (mq_open): Add __NTH.
47321
47322 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47323
47324         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47325         Assume Intel Core i3/i5/i7 processor if AVX is available.
47326
47327 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47328
47329         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47330         typo.
47331
47332 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47333
47334         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47335         memory.  Use alloca_account.  Fix memory leak when retrying.
47336
47337 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47338
47339         * version.h (RELEASE): Bump for 2.14 release.
47340         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47341
47342         * config.make.in (RANLIB): Remove entry.
47343
47344 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47345
47346         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47347         (libc.pot): Work around missing support for .ksh extension in xgettext.
47348
47349         [BZ #12684]
47350         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47351         if both request failed.
47352         (send_dg): In case of server errors clear resplen or *resplen2.
47353
47354         [BZ #12454]
47355         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47356         when there are multiple maps.
47357         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47358         (_dl_fini): Remove test here.
47359
47360         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47361
47362 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47363
47364         [BZ #12350]
47365         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47366         bit from old_res_options.
47367         (gaih_inet): Likewise.
47368
47369         [BZ #11099]
47370         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47371         as signed.
47372
47373         * resolv/res_init.c (res_setoptions): Make the code more compact.
47374
47375         [BZ #11558]
47376         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47377         set RES_USEVC.
47378
47379         [BZ #11634]
47380         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47381
47382         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47383
47384         [BZ #11781]
47385         * malloc/malloc.h: Declare malloc hook variables as volatile.
47386
47387         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47388         in last patch.
47389
47390         [BZ #11799]
47391         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47392         raise in the comment.
47393         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47394         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47395         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47396
47397 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47398
47399         [BZ #12811]
47400         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47401         grow the buffers more if it already has to be sufficient.
47402         (build_wcs_upper_buffer): Likewise.
47403         * posix/regexec.c (check_matching): Likewise.
47404         (clean_state_log_if_needed): Likewise.
47405         (extend_buffers): Don't enlarge buffers beyond size of the input
47406         buffer.
47407         Patches mostly by Emil Wojak <emil@wojak.eu>.
47408         * posix/bug-regex32.c: New file.
47409         * posix/Makefile (tests): Add bug-regex32.
47410
47411         * locale/findlocale.c (_nl_find_locale): Return right away if
47412         _nl_explode_name failed.
47413         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47414
47415         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47416
47417         * debug/xtrace.sh: Unify messages.
47418         * malloc/memusage.sh: Likewise.
47419
47420         [BZ #12813]
47421         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47422         time symbol from vDSO.  Substitute with vsyscall if not available.
47423         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47424         __vdso_time.
47425
47426         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47427         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47428         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47429         Add sendmmsg and internal_sendmmsg.
47430         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47431         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47432         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47433
47434         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47435         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47436         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47437
47438 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47439
47440         [BZ #12813]
47441         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47442         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47443         available.
47444         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47445         __vdso_getcpu.
47446
47447         [BZ #12814]
47448         * iconvdata/Makefile (tests): Add bug-iconv9.
47449         * iconvdata/bug-iconv9.c: New file.
47450
47451 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47452
47453         [BZ #12814]
47454         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47455
47456 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47457
47458         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47459         (struct user_regs_struct): Change intcs field back to cs.
47460
47461 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47462
47463         * po/ja.po: Update from translation team.
47464
47465 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47466
47467         [BZ #12795]
47468         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47469         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47470
47471 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47472
47473         * stdlib/longlong.h: Update from GCC.
47474
47475 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47476
47477         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47478         parameter name.
47479         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47480         Add parameter name.
47481         (__sysconf): Pass it down.
47482
47483 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47484
47485         [BZ #12671]
47486         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47487         some situations.
47488         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47489         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47490         add in in __libc_use_alloca calls.  Adjust callers.
47491         (glob): Use malloc in some situations.
47492
47493         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47494         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47495         pltexit.
47496
47497 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47498
47499         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47500         and CLOCK_BOOTTIME_ALARM.
47501
47502         [BZ #12782]
47503         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47504         is returned.
47505
47506         * string/_strerror.c (__strerror_r): Print negative errors as signed
47507         numbers.
47508
47509         [BZ #12777]
47510         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47511         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47512         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47513
47514         * configure.in: Fix typo in redirection and correct removal of test
47515         files in two cases.
47516
47517         [BZ #12788]
47518         * locale/setlocale.c (new_composite_name): Fix test to check for
47519         identical name of all categories.
47520
47521         [BZ #12792]
47522         * libio/filedoalloc.c (local_isatty): New function.
47523         (_IO_file_doallocate): Use local_isatty.
47524         * stdio-common/perror.c (perror): In case a new stream is used
47525         forward the stream error.
47526         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47527         error flag.
47528
47529 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47530
47531         [BZ #11869]
47532         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47533         alloca.
47534         * include/alloca.h (extend_alloca_account): Define.
47535
47536         [BZ #11857]
47537         * posix/regex.h: Fix comments with documentation of user-accessible
47538         fields after compilation and describe correct free'ing of pattern
47539         after re_compile_pattern.
47540         Patch by Reuben Thomas <rrt@sc3d.org>.
47541
47542 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47543
47544         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47545         and -mno-altivec to prevent the compiler from using Altivec and/or
47546         VSX instructions when the corresponding registers are not available.
47547
47548 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47549
47550         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47551
47552 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47553
47554         * libio/freopen.c (freopen): Use __dup2, not dup2.
47555         * libio/freopen64.c (freopen64): Likewise.
47556
47557 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47558
47559         [BZ #12775]
47560         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47561         * math/Makefile (tests): Add test-powl.
47562         (CFLAGS-test-powl.c): Define.
47563         * math/test-powl.c: New file.
47564
47565 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47566
47567         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47568
47569 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47570
47571         [BZ #11837]
47572         * iconvdata/gb18030.c: Update to GB18020-2005.
47573
47574 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47575
47576         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47577         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47578         Patch by Aharon Robbins <arnold@skeeve.com>.
47579
47580         [BZ #11892]
47581         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47582         on the stack.
47583
47584         [BZ #11895]
47585         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47586         through underflows.
47587
47588         [BZ #12766]
47589         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47590         point to strings before performing equality test for error_one_per_line
47591         mode.
47592
47593         [BZ #11697]
47594         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47595
47596         [BZ #11820]
47597         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47598         (struct user_fpregs_struct): Avoid __uint*_t types.
47599
47600         [BZ #6420]
47601         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47602         symbol info.  Use it instead of calling _dl_addr locally.
47603         (lock_and_info): New function.
47604         (tr_freehook): Call lock_and_info and pass symbol info as additional
47605         parameter to tr_where.
47606         (tr_mallochook): Likewise.
47607         (tr_reallochook): Likewise.
47608         (tr_memalignhook): Likewise.
47609
47610         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47611         used and couldn't be at all thread-safe.
47612
47613 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47614
47615         * libio/freopen.c (freopen): Don't close old file descriptor
47616         before the new one is opened.  Instead dup the new file descriptor
47617         to the old one after the new stream is created.
47618         * libio/freopen64.c (freopen64): Likewise.
47619         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47620         * libio/fileops.c (_IO_new_file_close_it): Handle new
47621         _IO_FLAGS2_NOCLOSE flag.
47622         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47623         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47624         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47625         _IO_FLAGS2_NOCLOSE flag.
47626         * include/unistd.h: Add hidden_proto for dup3.
47627         Define __have_dup3.
47628         * io/dup3.c: Define hidden symbol.
47629         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47630
47631         [BZ #7101]
47632         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47633         when an incomplete long option is used.
47634         * posix/tst-getopt_long1.c: New file.
47635         * posix/Makefile (tests): Add tst-getopt_long1.
47636
47637         [BZ #10138]
47638         * scripts/config.guess: Update from autoconf-2.68.
47639         * scripts/config.sub: Likewise.
47640
47641         [BZ #10157]
47642         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47643         tests into ...
47644         (has_cpuclock): ...this.  New function.
47645         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47646         macro here based on has_cpuclock code.
47647
47648         [BZ #10149]
47649         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47650         First byte (not low byte) is now always NUL.
47651         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47652
47653         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47654         Use non-cancelable interfaces.
47655
47656         [BZ #9809]
47657         * locale/iso-639.def: Add entry for Sorani.
47658
47659         [BZ #11901]
47660         * include/stdlib.h: Move include protection to the right place.
47661         Define abort_msg_s.  Declare __abort_msg with it.
47662         * stdlib/abort.c (__abort_msg): Adjust type.
47663         * assert/assert.c (__assert_fail_base): New function.  Majority
47664         of code from __assert_fail.  Allocate memory for __abort_msg with
47665         mmap.
47666         (__assert_fail): Now call __assert_fail_base.
47667         * assert/assert-perr.c: Remove bulk of implementation.  Use
47668         __assert_fail_base.
47669         * include/assert.hL Declare __assert_fail_base.
47670         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47671         mmap.
47672         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47673
47674 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47675
47676         [BZ #11952]
47677         [BZ #12453]
47678         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47679         until all modules are registered in the DTV.
47680         * elf/Makefile: Add rules to build and run tst-tls19.
47681         * elf/tst-tls19.c: New file.
47682         * elf/tst-tls19mod1.c: New file.
47683         * elf/tst-tls19mod2.c: New file.
47684         * elf/tst-tls19mod3.c: New file.
47685         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47686
47687         [BZ #12083]
47688         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47689         correctly.
47690
47691         [BZ #12601]
47692         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47693         two-byte sequence errors.
47694         * iconvdata/Makefile (tests): Add bug-iconv8.
47695         * iconvdata/bug-iconv8.c: New file.
47696
47697         [BZ #12626]
47698         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47699         buf2 definition.
47700
47701         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47702
47703         [BZ #12432]
47704         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47705         (dummy_getcfa): New function.
47706         (init): Get _Unwind_GetCFA address, use dummy if not found.
47707         (backtrace_helper): In recursion check, also check whether CFA changes.
47708         (__backtrace): Completely initialize arg.
47709
47710         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47711         storing incomplete byte sequence in state object.  Avoid testing for
47712         guaranteed too small input if we know there is enough data available.
47713
47714 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47715
47716         * Makeconfig (+link-pie): Indent.
47717         * Rules (binaries-pie): Define if $(have-fpie) and
47718         $(build-shared).
47719         (binaries-shared): Also filter out $(binaries-pie).
47720         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47721         * nscd/Makefile (others-pie): Add nscd.
47722         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47723         ($(objpfx)nscd): Remove command override.
47724         * login/Makefile (others-pie): Add pt_chown.
47725         ($(objpfx)pt_chown): Remove command override.
47726         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47727         remove command overrides.
47728
47729 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47730
47731         * libio/tst_putwc.c: Fix error messages.
47732
47733         [BZ #12724]
47734         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47735         currently writing and seek to current position when not.
47736         * libio/Makefile (tests): Add bug-fclose1.
47737         * libio/bug-fclose1.c: New file.
47738
47739 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47740
47741         [BZ #12511]
47742         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47743         don't set DF_1_NODELETE here.
47744         (do_lookup_x): When entering new entry test for copy relocation
47745         and if necessary set DF_1_NODELETE flag.
47746         * elf/tst-unique4.cc: New file.
47747         * elf/tst-unique4.h: New file.
47748         * elf/tst-unique4lib.cc: New file.
47749         * elf/Makefile: Add rules to build and run tst-unique4.
47750         Patch by Piotr Bury <pbury@goahead.com>.
47751
47752 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47753
47754         [BZ #12052]
47755         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47756
47757         [BZ #12625]
47758         * misc/mntent_r.c (addmntent): Flush the stream after the output
47759
47760         [BZ #12393]
47761         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47762         (is_trusted_path_normalize): Skip initial colon.  Append slash
47763         to empty buffer.  Duplicate is_trusted_path code but allow
47764         constructed patch to be prefix.
47765         (is_dst): Allow $ORIGIN followed by /.
47766         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47767         Correct testing of result of is_trusted_path_normalize
47768         (decompose_rpath): Fix warning.
47769
47770 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47771
47772         [BZ #11257]
47773         * grp/initgroups.c (internal_getgrouplist): When we found the service
47774         list through the initgroups entry in nsswitch.conf do not always
47775         continue on a successful lookup.  Don't always use the
47776         __nss_group_database value if it is set.
47777         * nss/nsswitch.conf (initgroups): Change action for successful db
47778         lookup to continue for compatibility.
47779
47780 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47781
47782         [BZ #11532]
47783         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47784         and CP774 modules.
47785         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47786         and CP774 modules.
47787         * iconvdata/tst-tables.sh: Likewise.
47788         * iconvdata/cp770.c: New file.
47789         * iconvdata/cp771.c: New file.
47790         * iconvdata/cp772.c: New file.
47791         * iconvdata/cp773.c: New file.
47792         * iconvdata/cp774.c: New file.
47793         * iconvdata/testdata/CP770: New file.
47794         * iconvdata/testdata/CP770..UTF8: New file.
47795         * iconvdata/testdata/CP771: New file.
47796         * iconvdata/testdata/CP771..UTF8: New file.
47797         * iconvdata/testdata/CP772: New file.
47798         * iconvdata/testdata/CP772..UTF8: New file.
47799         * iconvdata/testdata/CP773: New file.
47800         * iconvdata/testdata/CP773..UTF8: New file.
47801         * iconvdata/testdata/CP774: New file.
47802         * iconvdata/testdata/CP774..UTF8: New file.
47803
47804         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47805         END CHARMAP line.
47806         * iconvdata/gen-8bit-gap.sh: Likewise.
47807         * iconvdata/gen-8bit.sh: Likewise.
47808
47809         * locale/iso-639.def: Add ary entry.
47810
47811         [BZ #11258]
47812         * locale/C-translit.h.in: Add U20A1 transliteration.
47813
47814         [BZ #12178]
47815         * locale/iso-639.def: Add wae entry.
47816         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47817
47818         [BZ #12545]
47819         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47820         for n.
47821
47822         [BZ #12711]
47823         * locale/C-translit.h.in: Add entry for U20B9.
47824         Patch by pravin.d.s@gmail.com.
47825
47826 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47827
47828         [BZ #12713]
47829         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47830         ENAMETOOLONG use generic getcwd.
47831         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47832         in rtld.  Use *stat64.
47833         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47834         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47835         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47836         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47837         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47838         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47839         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47840         __fstatat64 macros.
47841         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47842         * dirent/rewinddir.c: Add libc_hidden_def.
47843         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47844         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47845
47846         * include/dirent.h (__alloc_dir): Add flags parameter.
47847         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47848         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47849         __alloc_dir.
47850         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47851         from fdopendir if O_CLOEXEC is already set.
47852
47853 2011-03-15  Alan Modra  <amodra@gmail.com>
47854
47855         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47856         l_tls_firstbyte_offset non-zero.  Save padding offset in
47857         l_tls_firstbyte_offset for later use.
47858         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47859         freeing static tls block.
47860
47861 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47862
47863         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47864         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47865         being defined by the kernel headers.
47866
47867 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47868
47869         [BZ #12734]
47870         * resolv/resolv.h: Define RES_NOTLDQUERY.
47871         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47872         no-tld-query and set RES_NOTLDQUERY.
47873         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47874         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47875         modern BIND to search name as TLD unless forbidden.
47876
47877 2011-05-07  Petr Baudis  <pasky@suse.cz>
47878             Ulrich Drepper  <drepper@gmail.com>
47879
47880         [BZ #12393]
47881         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47882         (is_trusted_path): ...to here.
47883         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47884         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47885         using is_trusted_path_normalize() in setuid scripts.
47886
47887 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47888
47889         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47890         __BEGIN/__END_DECLS.
47891
47892 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47893
47894         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47895         NSS_STATUS_NOTFOUND if no record was found.
47896
47897 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47898
47899         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47900         (headers-not-in-tirpc): Remove rpc/netdb.h
47901         * resolv/netdb.h: Revert last change.
47902
47903 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47904
47905         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47906         circular dependency between libgcc.a and libc.a.
47907
47908 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47909
47910         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47911         * nis/Makefile: Don't install rpcsvc/*.
47912         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47913         instead of <rpc/types.h>.
47914         (MAXHOSTNAMELEN): Define.
47915
47916 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47917
47918         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47919
47920 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47921
47922         [BZ #12714]
47923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47924         gethostbyname4_r when IPv6 results are possible.
47925
47926 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47927
47928         [BZ #12723]
47929         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47930         _PC_PIPE_BUF handling.
47931
47932 2011-04-30  Bruno Haible  <bruno@clisp.org>
47933
47934         [BZ #12717]
47935         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47936         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47937         to 'int'.
47938         * inet/getnameinfo.c (getnameinfo): Likewise.
47939
47940 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47941
47942         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47943         to groups setting in database lookup.
47944         * nss/nsswitch.conf: Add initgroups entry.
47945
47946 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47947
47948         [BZ #12685]
47949         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47950         mode string.
47951         Patch by Eric Blake <eblake@redhat.com>.
47952
47953 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47954
47955         * sunrpc/Makefile (need-export-routines): Add svc_run.
47956         (routines): Remove svc_run.
47957         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47958         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47959         * sunrpc/svc_run.c (svc_run): Likewise.
47960         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47961
47962 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47963
47964         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47965         problem in reallocation in last patch.
47966
47967 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47968
47969         * sunrpc/Makefile: Move inclusion of Rules.
47970
47971 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47972
47973         * nss/nss_files/files-initgroups.c: New file.
47974         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47975         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47976         _nss_files_initgroups_dyn.
47977
47978 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47979
47980         * elf/elf.h (R_ARM_IRELATIVE): Define.
47981
47982 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47983
47984         * po/ru.po: Update from translation team.
47985
47986 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47987
47988         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47989         dependencies.
47990
47991 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47992
47993         [BZ #12653]
47994         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47995         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47996         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47997         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47998         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47999
48000 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48001
48002         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48003         differing bytes.
48004         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48005         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48006         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48007
48008 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48009
48010         [BZ #12420]
48011         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48012         storing it.
48013         * stdlib/bug-getcontext.c: New file.
48014         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48015
48016 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48017
48018         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48019         instructions into .machine "z9-109".
48020         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48021         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48022
48023 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48024
48025         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48026         between environment variables and auxiliary vector.
48027
48028 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48029
48030         * Makefile: Add rules to build linkobj/libc.so.
48031         * include/libc-symbols.h: Define libc_hidden_nolink.
48032         * include/rpc/auth.h: Mark functions which are to be hidden.
48033         * include/rpc/auth_des.h: Likewise.
48034         * include/rpc/auth_unix.h: Likewise.
48035         * include/rpc/clnt.h: Likewise.
48036         * include/rpc/des_crypt.h: Likewise.
48037         * include/rpc/key_prot.h: Likewise.
48038         * include/rpc/pmap_clnt.h: Likewise.
48039         * include/rpc/pmap_prot.h: Likewise.
48040         * include/rpc/pmap_rmt.h: Likewise.
48041         * include/rpc/rpc_msg.h: Likewise.
48042         * include/rpc/svc.h: Likewise.
48043         * include/rpc/svc_auth.h: Likewise.
48044         * include/rpc/xdr.h: Likewise.
48045         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48046         * nss/Makefile: Likewise.
48047         * sunrpc/Makefile: Don't install headers.  Build library with normal
48048         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48049         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48050         for the compat linking library.  Remove use of INTDEF/INTUSE.
48051         * sunrpc/auth_none.c: Likewise.
48052         * sunrpc/auth_unix.c: Likewise.
48053         * sunrpc/authdes_prot.c: Likewise.
48054         * sunrpc/authuxprot.c: Likewise.
48055         * sunrpc/clnt_gen.c: Likewise.
48056         * sunrpc/clnt_perr.c: Likewise.
48057         * sunrpc/clnt_raw.c: Likewise.
48058         * sunrpc/clnt_simp.c: Likewise.
48059         * sunrpc/clnt_tcp.c: Likewise.
48060         * sunrpc/clnt_udp.c: Likewise.
48061         * sunrpc/clnt_unix.c: Likewise.
48062         * sunrpc/des_crypt.c: Likewise.
48063         * sunrpc/des_soft.c: Likewise.
48064         * sunrpc/get_myaddr.c: Likewise.
48065         * sunrpc/key_call.c: Likewise.
48066         * sunrpc/key_prot.c: Likewise.
48067         * sunrpc/netname.c: Likewise.
48068         * sunrpc/pm_getmaps.c: Likewise.
48069         * sunrpc/pm_getport.c: Likewise.
48070         * sunrpc/pmap_clnt.c: Likewise.
48071         * sunrpc/pmap_prot.c: Likewise.
48072         * sunrpc/pmap_prot2.c: Likewise.
48073         * sunrpc/pmap_rmt.c: Likewise.
48074         * sunrpc/publickey.c: Likewise.
48075         * sunrpc/rpc_cmsg.c: Likewise.
48076         * sunrpc/rpc_common.c: Likewise.
48077         * sunrpc/rpc_dtable.c: Likewise.
48078         * sunrpc/rpc_prot.c: Likewise.
48079         * sunrpc/rpc_thread.c: Likewise.
48080         * sunrpc/rtime.c: Likewise.
48081         * sunrpc/svc.c: Likewise.
48082         * sunrpc/svc_auth.c: Likewise.
48083         * sunrpc/svc_authux.c: Likewise.
48084         * sunrpc/svc_raw.c: Likewise.
48085         * sunrpc/svc_run.c: Likewise.
48086         * sunrpc/svc_simple.c: Likewise.
48087         * sunrpc/svc_tcp.c: Likewise.
48088         * sunrpc/svc_udp.c: Likewise.
48089         * sunrpc/svc_unix.c: Likewise.
48090         * sunrpc/svcauth_des.c: Likewise.
48091         * sunrpc/xcrypt.c: Likewise.
48092         * sunrpc/xdr.c: Likewise.
48093         * sunrpc/xdr_array.c: Likewise.
48094         * sunrpc/xdr_float.c: Likewise.
48095         * sunrpc/xdr_intXX_t.c: Likewise.
48096         * sunrpc/xdr_mem.c: Likewise.
48097         * sunrpc/xdr_rec.c: Likewise.
48098         * sunrpc/xdr_ref.c: Likewise.
48099         * sunrpc/xdr_sizeof.c: Likewise.
48100         * sunrpc/xdr_stdio.c: Likewise.
48101
48102 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48103
48104         [BZ #12650]
48105         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48106         * sysdeps/ia64/dl-tls.h: Likewise.
48107         * sysdeps/powerpc/dl-tls.h: Likewise.
48108         * sysdeps/s390/dl-tls.h: Likewise.
48109         * sysdeps/sh/dl-tls.h: Likewise.
48110         * sysdeps/sparc/dl-tls.h: Likewise.
48111         * sysdeps/x86_64/dl-tls.h: Likewise.
48112         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48113
48114 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48115
48116         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48117         rpath element also skip the following colon.
48118         (expand_dynamic_string_token): Add is_path parameter and pass
48119         down to DL_DST_REQUIRED and _dl_dst_substitute.
48120         (decompose_rpath): Call expand_dynamic_string_token with
48121         non-zero is_path.  Ignore empty rpaths.
48122         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48123         with zero is_path.
48124
48125 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48126
48127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48128         Make cancelable.
48129
48130 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48131
48132         [BZ #12655]
48133         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48134         Patch by Filipe David Manana <fdmanana@apache.org>.
48135
48136 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48137
48138         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48139         Maintain aligned stack.
48140         (CHECK_RSP): Remove unused macro.
48141
48142 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48143
48144         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48145         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48146
48147 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48148
48149         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48150
48151         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48152
48153 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48154
48155         [BZ #12518]
48156         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48157         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48158         * sysdeps/x86_64/memmove.c: New file.
48159         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48160         (memcpy): Renamed to ...
48161         (__new_memcpy): This.
48162         (memcpy): Provide GLIBC_2_14 memcpy.
48163         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48164         (memcpy): Provide GLIBC_2_2_5 memcpy.
48165
48166 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48167
48168         [BZ #12631]
48169         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48170
48171 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48172
48173         * misc/syncfs.c: New file.
48174         * misc/Makefile (routines): Add syncfs.
48175         * posix/unistd.h: Declare syncfs.
48176         * sysdeps/unix/syscalls.list: Add syncfs.
48177
48178 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48179
48180         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48181         open_by_handle_at.
48182         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48183         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48184         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48185         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48186         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48187         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48188         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48189
48190 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48191
48192         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48193         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48194         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48195         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48196         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48197         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48198         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48199
48200         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48201         sync_file_range.c with -fexceptions.
48202         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48203         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48204         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48205         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48206         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48207         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48208         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48209         sync_file_range as cancellation point
48210         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48211         now a wrapper around __call_sync_file_range with cancellation handling.
48212         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48213         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48214         function name to __call_sync_file_range.
48215         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48216         Add call_sync_file_range.
48217
48218 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48219
48220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48221         bits/timex.h.
48222
48223 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48224
48225         * iconv/iconv.h: Fix typo in comment.
48226         * io/fcntl.h: Likewise.
48227         * libio/stdio.h: Likewise.
48228         * posix/spawn.h: Likewise.
48229         * posix/unistd.h: Likewise.
48230         * stdlib/stdlib.h: Likewise.
48231         * time/time.h: Likewise.
48232         * wcsmbs/wchar.h: Likewise.
48233
48234         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48235         open_by_handle): Add.
48236         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48237         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48238         Augment a few comments.
48239         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48240         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48241         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48242         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48243         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48244         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48245         open_by_handle.
48246
48247         * io/fcntl.h (AT_EMPTY_PATH): Define.
48248
48249 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48250
48251         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48252         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48253         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48254         to...
48255         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48256         * Versions.def: Add GLIBC_2.14.
48257         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48258         Export.
48259
48260 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48261
48262         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48263         round counter.
48264         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48265
48266 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48267
48268         [BZ #12597]
48269         * string/test-strncmp.c (do_page_test): New function.
48270         (check2): Likewise.
48271         (test_main): Call check2.
48272         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48273
48274 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48275
48276         [BZ #12587]
48277         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48278         Handle cache information in CPU leaf 4.
48279         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48280
48281 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48282
48283         [BZ #12583]
48284         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48285         character representation.
48286         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48287
48288 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48289
48290         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48291         END(__isnan) to END(__isnanf) to match function entry point/label
48292         EALIGN(__isnanf,...).
48293
48294 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48295
48296         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48297
48298 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48299
48300         [BZ #12510]
48301         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48302         copy from the symbol referenced in the relocation to initialize the
48303         used variable.
48304         Patch by Piotr Bury <pbury@goahead.com>.
48305         * elf/Makefile: Add rules to build and tst-unique3.
48306         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48307         * elf/tst-unique3.cc: New file.
48308         * elf/tst-unique3.h: New file.
48309         * elf/tst-unique3lib.cc: New file.
48310         * elf/tst-unique3lib2.cc: New file.
48311
48312         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48313
48314 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48315
48316         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48317         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48318         to _start.
48319
48320 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48321
48322         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48323         to-be-loaded object along a path to loader is ld.so.
48324
48325 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48326             Ulrich Drepper  <drepper@gmail.com>
48327
48328         * sysdeps/x86_64/memset.S: After aligning destination, code
48329         branches to different locations depending on the value of
48330         misalignment, when multiarch is enabled. Fix this.
48331
48332 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48333
48334         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48335         Set _x86_64_preferred_memory_instruction for AMD processsors.
48336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48337         Set bit_Prefer_SSE_for_memop for AMD processors.
48338
48339 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48340
48341         * libio/fmemopen.c (fmemopen): Optimize a bit.
48342
48343 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48344
48345         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48346
48347 2011-03-03  Roland McGrath  <roland@redhat.com>
48348
48349         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48350
48351 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48352
48353         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48354         __bzero_ultra1 instead of __memset_ultra1.
48355
48356 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48357             Ulrich Drepper  <drepper@gmail.com>
48358
48359         [BZ #12509]
48360         * include/link.h (struct link_map): Add l_orig_initfini.
48361         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48362         returning unsuccessfully.
48363         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48364         close of a file loaded at startup, restore the original l_initfini
48365         list.
48366         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48367         list, store the pointer.
48368         * elf/Makefile ($(objpfx)noload-mem): New rule.
48369         (noload-ENV): Define.
48370         (tests): Add $(objpfx)noload-mem.
48371         * elf/noload.c: Include <memcheck.h>.
48372         (main): Call mtrace.  Close all opened handles.
48373
48374 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48375
48376         [BZ #12454]
48377         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48378         dependencies are missing.
48379
48380 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48381
48382         Fix __if_freereq crash: Unlike the generic version which uses free,
48383         Hurd needs munmap.
48384         * sysdeps/mach/hurd/ifreq.h: New file.
48385
48386 2011-01-27  Petr Baudis  <pasky@suse.cz>
48387             Ulrich Drepper  <drepper@gmail.com>
48388
48389         [BZ 12445]#
48390         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48391         to extend_alloca().
48392         * stdio-common/bug23.c: New file.
48393         * stdio-common/Makefile (tests): Add bug23.
48394
48395 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48396             Ulrich Drepper  <drepper@gmail.com>
48397
48398         [BZ #12489]
48399         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48400         before performing relro protection.  At old place add assertion
48401         to make sure nothing changed.
48402
48403 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48404             Glauber de Oliveira Costa  <glommer@gmail.com>
48405
48406         * elf/elf.h: Add new ARM TLS relocs.
48407
48408 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48409
48410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48411         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48412         cast from r3.
48413         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48414         'tests' variable.
48415         * sysdeps/wordsize-64/tst-writev.c: New file.
48416
48417 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48418
48419         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48420         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48421         insns in _dl_start to prevent a TOC reference before relocs are
48422         resolved.
48423
48424 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48425
48426         [BZ #12469]
48427         * Makeconfig: Remove RANLIB definition.
48428         * Makerules: Don't use RANLIB.
48429         * aclocal.m4: Remove ranlib test.
48430         * configure.in: No need to check for ranlib.
48431         * elf/rtld-Rules: Don't use RANLIB.
48432
48433 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48434
48435         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48436         protection macro.
48437         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48438         inclusion protection macro.
48439
48440         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48441         SIGRTMIN and SIGRTMAX and print information in that case only when
48442         SIGRTMIN is defined.
48443
48444 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48445
48446         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48447         arginfo fn returning -1.
48448
48449         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48450         and thousands string is zero terminated.
48451
48452 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48453
48454         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48455         sysdeps/unix/sysv/linux/bits/socket.h.
48456
48457 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48458
48459         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48460         (__CPU_COUNT): Remove old macros.
48461         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48462         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48463         (__CPU_ALLOC, __CPU_FREE): Add macros.
48464         (__sched_cpualloc, __sched_cpufree): Add declarations.
48465
48466 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48467
48468         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48469         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48470         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48471         (readdhstai): Return value of addhstaiX call.
48472         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48473         (addgrbyX): Return value returned by cache_addgr.
48474         (readdgrbyname): Return value returned by addgrbyX.
48475         (readdgrbygid): Likewise.
48476         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48477         (addpwbyX): Return value returned by cache_addpw.
48478         (readdpwbyname): Return value returned by addhstbyX.
48479         (readdpwbyuid): Likewise.
48480         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48481         (addservbyX): Return value returned by cache_addserv.
48482         (readdservbyname): Return value returned by addservbyX:
48483         (readdservbyport): Likewise.
48484         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48485         (addhstbyX): Return value returned by cache_addhst.
48486         (readdhstbyname): Return value returned by addhstbyX.
48487         (readdhstbyaddr): Likewise.
48488         (readdhstbynamev6): Likewise.
48489         (readdhstbyaddrv6): Likewise.
48490         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48491         (readdinitgroups): Return value returned by addinitgroupsX.
48492         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48493         (prune_cache): Keep track of timeout value of re-added entries.
48494         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48495         * nscd/nscd.h: Adjust prototypes of readd* functions.
48496
48497 2011-02-04  Roland McGrath  <roland@redhat.com>
48498
48499         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48500         (nis_stats): Likewise.
48501         * nis/nis_modify.c (nis_modify): Likewise.
48502         * nis/nis_remove.c (nis_remove): Likewise.
48503         * nis/nis_add.c (nis_add): Likewise.
48504
48505         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48506
48507         * posix/fnmatch_loop.c: Add some consts.
48508
48509         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48510
48511 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48512
48513         [BZ #12460]
48514         * config.make.in (config-cflags-novzeroupper): Define.
48515         * configure.in: Substitute libc_cv_cc_novzeroupper.
48516         * elf/Makefile (AVX-CFLAGS): Define.
48517         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48518         (CFLAGS-tst-auditmod4a.c): Likewise.
48519         (CFLAGS-tst-auditmod4b.c): Likewise.
48520         (CFLAGS-tst-auditmod6b.c): Likewise.
48521         (CFLAGS-tst-auditmod6c.c): Likewise.
48522         (CFLAGS-tst-auditmod7b.c): Likewise.
48523         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48524
48525 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48526
48527         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48528         function to the callback.
48529         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48530
48531 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48532
48533         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48534         of errno.
48535
48536 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48537
48538         [BZ #11724]
48539         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48540         of constructors.
48541         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48542         of destructors.
48543         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48544
48545         [BZ #11724]
48546         * elf/Makefile: Add rules to build and run new test.
48547         * elf/tst-initorder.c: New file.
48548         * elf/tst-initorder.exp: New file.
48549         * elf/tst-initordera1.c: New file.
48550         * elf/tst-initordera2.c: New file.
48551         * elf/tst-initordera3.c: New file.
48552         * elf/tst-initordera4.c: New file.
48553         * elf/tst-initorderb1.c: New file.
48554         * elf/tst-initorderb2.c: New file.
48555         * elf/tst-order-a1.c: New file.
48556         * elf/tst-order-a2.c: New file.
48557         * elf/tst-order-a3.c: New file.
48558         * elf/tst-order-a4.c: New file.
48559         * elf/tst-order-b1.c: New file.
48560         * elf/tst-order-b2.c: New file.
48561         * elf/tst-order-main.c: New file.
48562         New test case by George Gensure <werkt0@gmail.com>.
48563
48564 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48565
48566         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48567         decoding ACE if AI_CANONIDN.
48568
48569 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48570
48571         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48572
48573 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48574
48575         * version.h (RELEASE): Bump for 2.13 release.
48576         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48577
48578         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48579
48580         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48581         MADV_NOHUGEPAGE.
48582         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48583         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48584         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48585         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48586         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48587         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48588
48589         * posix/getconf.c: Update copyright year.
48590         * catgets/gencat.c: Likewise.
48591         * csu/version.c: Likewise.
48592         * debug/catchsegv.sh: Likewise.
48593         * debug/xtrace.sh: Likewise.
48594         * elf/ldconfig.c: Likewise.
48595         * elf/ldd.bash.in: Likewise.
48596         * elf/sprof.c (print_version): Likewise.
48597         * iconv/iconv_prog.c: Likewise.
48598         * iconv/iconvconfig.c: Likewise.
48599         * locale/programs/locale.c: Likewise.
48600         * locale/programs/localedef.c: Likewise.
48601         * malloc/memusage.sh: Likewise.
48602         * malloc/mtrace.pl: Likewise.
48603         * nscd/nscd.c (print_version): Likewise.
48604         * nss/getent.c: Likewise.
48605
48606         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48607         PF_CAIF, and PF_ALG.
48608         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48609
48610 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48611
48612         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48613         (modules-names): Use them.
48614         (ifunc-test-modules, ifunc-pie-tests): Define.
48615         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48616         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48617         (test-extras): Likewise.
48618         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48619         $(compile-command.c).
48620         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48621         (all-built-dso): Define.
48622         (check-textrel.out, check-execstack.out): Depend on it.
48623
48624         * configure.in: Don't override --enable-multi-arch.
48625
48626 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48627
48628         [BZ #6812]
48629         * nscd/hstcache.c (tryagain): Define.
48630         (cache_addhst): Return tryagain not notfound for temporary errors.
48631         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48632         failed.
48633
48634 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48635
48636         [BZ #10563]
48637         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48638         to make the syscall.
48639         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48640
48641         [BZ #12378]
48642         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48643         and fall back to matching as normal character if the string ends before
48644         the matching ']' is found.  This is what POSIX requires.
48645         * posix/testfnm.c: Adjust test result.
48646         * posix/globtest.sh: Adjust test result.  Add new test.
48647         * posix/tst-fnmatch.input: Likewise.
48648         * posix/tst-fnmatch2.c: Add new test.
48649
48650 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48651
48652         * elf/Makefile (check-execstack): Revert last change.  Depend on
48653         check-execstack.h.
48654         (check-execstack.h): New target.
48655         (generated): Add check-execstack.h.
48656         * elf/check-execstack.c: Include "check-execstack.h".
48657         (main): Revert last change.
48658         (handle_file): Return zero if GNU_STACK is absent and
48659         DEFAULT_STACK_PERMS doesn't include PF_X.
48660
48661 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48662
48663         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48664         in child fails because the descriptor is already closed.
48665         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48666         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48667         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48668
48669         [BZ #12397]
48670         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48671         syscall.
48672
48673         [BZ #10484]
48674         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48675         temporary buffer used to handle multi lookups locally.
48676         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48677
48678 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48679
48680         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48681         loader is ld.so.
48682
48683 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48684
48685         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48686         alignment for SSE2.
48687
48688 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48689
48690         [BZ #12394]
48691         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48692         characters.  When rounding increased number of integer digits recompute
48693         number of groups.
48694         * stdio-common/tst-grouping.c: New file.
48695         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48696
48697 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48698
48699         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48700         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48701
48702         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48703         void.
48704         * bits/select.h: Likewise.
48705
48706 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48707
48708         * po/ja.po: Update from translation team.
48709
48710 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48711
48712         [BZ #11155]
48713         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48714         implementation just like for lxstat, fxstatat, et al.
48715
48716 2010-12-27  Jim Meyering  <meyering@redhat.com>
48717
48718         [BZ #12348]
48719         * posix/regexec.c (build_trtable): Return failure indication upon
48720         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48721
48722 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48723
48724         [BZ #12201]
48725         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48726         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48727         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48728         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48729
48730         [BZ #12207]
48731         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48732
48733         [BZ #12204]
48734         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48735         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48736
48737 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48738
48739         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48740         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48741         script has SORT_BY_INIT_PRIORITY.
48742         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48743         NO_CTORS_DTORS_SECTIONS is defined.
48744         * elf/soinit.c: Likewise.
48745         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48746         NO_CTORS_DTORS_SECTIONS is defined.
48747         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48748         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48749         * sysdeps/sh/init-first.c: Likewise.
48750         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48751
48752 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48753
48754         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48755         always use the slow path.
48756
48757 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48758
48759         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48760         similar rule which adds the sysdep directories to the header search in
48761         order to pick up the correct platform stackinfo.h.
48762         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48763         perform test if it is, otherwise return successfully without testing.
48764         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48765         DEFAULT_STACK_PERMS define in stackinfo.h.
48766         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48767         defined in stackinfo.h.
48768         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48769         DEFAULT_STACK_PERMS defined in stackinfo.h.
48770         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48771         * sysdeps/ia64/stackinfo.h: Likewise.
48772         * sysdeps/s390/stackinfo.h: Likewise.
48773         * sysdeps/sh/stackinfo.h: Likewise.
48774         * sysdeps/sparc/stackinfo.h: Likewise.
48775         * sysdeps/x86_64/stackinfo.h: Likewise.
48776         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48777         PF_X for powerpc64.  Retain PF_X for powerpc32.
48778
48779 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48780
48781         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48782         accurately.
48783         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48784         GETDENTS_64BIT_ALIGNED.
48785
48786 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48787
48788         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48789
48790 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48791
48792         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48793         _GNU_SOURCE.
48794
48795         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48796         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48797         Remove __restrict.
48798         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48799         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48800
48801 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48802
48803         [BZ #11655]
48804         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48805         are initialized.
48806
48807 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48808
48809         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48810
48811 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48812
48813         * po/it.po: Update from translation team.
48814
48815 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48816
48817         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48818         unused codes.
48819
48820 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48821
48822         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48823
48824 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48825
48826         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48827         specially.
48828         (gaih_getanswer_slice): Likewise.
48829
48830 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48831
48832         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48833
48834 2010-05-31  Petr Baudis  <pasky@suse.cz>
48835
48836         [BZ #11149]
48837         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48838         silently even in the chroot mode.
48839
48840 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48841
48842         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48843         last patch a bit.  Pretty printing
48844
48845 2010-05-31  Petr Baudis <pasky@suse.cz>
48846
48847         [BZ #10085]
48848         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48849         initialization of skip_initgroups_dyn.
48850
48851 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48852
48853         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48854         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48855
48856 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48857
48858         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48859
48860 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48861
48862         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48863         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48864         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48865         ($(objpfx)tst-fnmatch-mem): New rule.
48866         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48867         * posix/tst-fnmatch.c (main): Call mtrace.
48868
48869 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48870
48871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48872         Support Intel processor model 6 and model 0x2c.
48873
48874 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48875
48876         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48877           signed comparison.
48878
48879 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48880
48881         [BZ #12205]
48882         * string/test-strncasecmp.c (check_result): New function.
48883         (do_one_test): Use it.
48884         (check1): New function.
48885         (test_main): Use it.
48886         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48887         Support strcasecmp and strncasecmp.
48888
48889 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48890
48891         [BZ #12194]
48892         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48893         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48894
48895 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48896
48897         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48898         IFUNC support.
48899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48900         memset-x86-64.
48901         * sysdeps/x86_64/multiarch/bzero.S: New file.
48902         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48903         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48904         * sysdeps/x86_64/multiarch/memset.S: New file.
48905         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48906         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48907         Set bit_Prefer_SSE_for_memop for Intel processors.
48908         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48909         Define.
48910         (index_Prefer_SSE_for_memop): Define.
48911         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48912
48913 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48914
48915         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48916         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48917
48918 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48919
48920         [BZ #12191]
48921         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48922         (__x86_64_raw_data_cache_size_half): Likewise.
48923         (__x86_64_raw_shared_cache_size): Likewise.
48924         (__x86_64_raw_shared_cache_size_half): Likewise.
48925
48926         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48927         (__x86_64_raw_data_cache_size_half): Likewise.
48928         (__x86_64_raw_shared_cache_size): Likewise.
48929         (__x86_64_raw_shared_cache_size_half): Likewise.
48930         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48931         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48932         and __x86_64_raw_shared_cache_size_half.  Round
48933         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48934         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48935         to multiple of 256 bytes.
48936
48937 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48938
48939         [BZ #12167]
48940         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48941         of inacessible symlinks.  Verify result of symlink before returning it.
48942         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48943         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48944
48945 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48946
48947         * math/math.h (isinf): Fix typo in comment.
48948
48949 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48950
48951         * po/da.po: Update from translation team.
48952
48953 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48954
48955         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48956         is added to the list.
48957
48958 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48959             Ulrich Drepper  <drepper@gmail.com>
48960
48961         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48962         the global list here.  Move code to...
48963         (_dl_add_to_namespace_list): ...here.  New function.
48964         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48965         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48966         * elf/dl-load.c (lose): Don't remove the element from the list.
48967         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48968         (_dl_map_object): Likewise.
48969
48970 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48971
48972         [BZ #12159]
48973         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48974         into all bytes of SSE register.
48975         Patch by Richard Li <richardpku@gmail.com>.
48976
48977 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48978
48979         [BZ #12140]
48980         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48981         perturbing.
48982
48983 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48984
48985         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48986         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48987         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48988         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48990         submachine.
48991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48992
48993 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48994
48995         * include/dlfcn.h (__RTLD_SECURE): Define.
48996         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48997         mode & __RTLD_SECURE instead.
48998         (open_path): Rename preloaded parameter to secure.
48999         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49000         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49001         * elf/dl-deps.c (openaux): Likewise.
49002         * elf/rtld.c (struct map_args): Remove is_preloaded.
49003         (map_doit): Don't use it.
49004         (dl_main): Likewise.
49005         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49006         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49007
49008 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49009
49010         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49011         (sysd-rules-targets): Remove duplicates.
49012         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49013         rtld-%.$o dependency.
49014
49015 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49016
49017         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49018         _dl_map_object do it.
49019
49020 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49021
49022         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49023         fast fma builtins, define the macros in the C99 standard.
49024         (FP_FAST_FMAF): Likewise.
49025         (FP_FAST_FMAL): Likewise.
49026         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49027
49028         * bits/mathdef.h: Update copyright year.
49029         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49030
49031 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49032
49033         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49034         builtins, define the macros in the C99 standard.
49035         (FP_FAST_FMAF): Likewise.
49036         (FP_FAST_FMAL): Likewise.
49037         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49038         multiply/add.
49039         (FP_FAST_FMAF): Likewise.
49040
49041 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49042
49043         [BZ #3268]
49044         * math/libm-test.inc (fma_test): Some new testcases.
49045         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49046         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49047         y and infinite z.  Do multiplication by C already in long double.
49048         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49050         y and infinite z.  Do bitwise or of inexact bit into u.d.
49051         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49052         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49053         * sysdeps/i386/fpu/s_fma.S: Removed.
49054         * sysdeps/i386/fpu/s_fmal.S: Removed.
49055
49056 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49057
49058         [BZ #3268]
49059         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49061         computation is not scheduled after fetestexcept.  Fix value
49062         of minimum denormal long double.
49063
49064 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49065
49066         [BZ #3268]
49067         * math/libm-test.inc (fma_test): Add some more tests.
49068         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49069         correctly.
49070
49071 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49072
49073         * scripts/data/localplt-s390-linux-gnu.data: New file.
49074         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49075
49076 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49077
49078         [BZ #3268]
49079         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49080         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49081         instead of dbl-64.
49082         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49083         inlines.
49084         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49085         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49086         if one of x and y is very large and the other is subnormal.
49087         * sysdeps/s390/fpu/s_fmaf.c: New file.
49088         * sysdeps/s390/fpu/s_fma.c: New file.
49089         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49090         * sysdeps/powerpc/fpu/s_fma.S: New file.
49091         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49092         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49093         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49094
49095 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49096
49097         [BZ #3268]
49098         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49099         fma tests.
49100         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49101         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49102         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49103         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49104         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49105         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49106         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49107
49108 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49109
49110         [BZ #12078]
49111         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49112         * posix/bug-regex31.input: Add test case.
49113
49114 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49115
49116         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49117         * posix/bug-regex31.input: New file.
49118
49119         [BZ #12078]
49120         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49121         (parse_sub_exp): Fix last change, use postorder.
49122
49123         * posix/bug-regex31.c: New file.
49124         * posix/Makefile: Add rules to build and run bug-regex31.
49125
49126         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49127
49128         [BZ #12078]
49129         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49130
49131         [BZ #12108]
49132         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49133         to have entries in sys_siglist.
49134
49135         [BZ #12093]
49136         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49137         be NULL.
49138
49139 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49140
49141         [BZ #3268]
49142         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49143         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49144         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49145         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49146         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49147         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49148         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49149         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49150         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49151         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49152         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49153         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49154         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49155         * math/ftestexcept.c (fetestexcept): Likewise.
49156         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49157         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49158         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49159         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49160         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49161         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49162         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49163
49164 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49165
49166         [BZ #12107]
49167         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49168         newline.
49169
49170 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49171
49172         * string/bug-strstr1.c: New file.
49173         * string/Makefile: Add rules to build and run bug-strstr1.
49174
49175 2010-10-05  Eric Blake  <eblake@redhat.com>
49176
49177         [BZ #12092]
49178         * string/str-two-way.h (two_way_long_needle): Always clear memory
49179         when skipping input due to the shift table.
49180
49181 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49182
49183         [BZ #12005]
49184         * malloc/mcheck.c: Handle large requests.
49185
49186         [BZ #12077]
49187         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49188         for strncmp and strncasecmp.
49189         * string/stratcliff.c: Add tests for strcmp and strncmp.
49190         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49191
49192 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49193
49194         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49195         __set_fpscr.
49196
49197 2010-09-30  Andreas Jaeger  <aj@suse.de>
49198
49199         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49200         (CGROUP_SUPER_MAGIC): Define.
49201         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49202         Handle btrfs and cgroup file systems.
49203         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49204         Likewise.
49205
49206 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49207
49208         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49209         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49210
49211 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49212
49213         [BZ #12067]
49214         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49215         trying to locate the ELF header.
49216
49217 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49218
49219         [BZ #11611]
49220         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49221         Mask out sign-bit copies when constructing f_fsid.
49222
49223 2010-09-24  Petr Baudis <pasky@suse.cz>
49224
49225         * debug/stack_chk_fail_local.c: Add missing licence exception.
49226         * debug/warning-nop.c: Likewise.
49227
49228 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49229
49230         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49231         implementing getdents64 using getdents syscall, set d_type if
49232         __ASSUME_GETDENTS32_D_TYPE.
49233
49234 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49235
49236         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49237         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49238
49239 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49240
49241         [BZ #12037]
49242         * posix/unistd.h: Undo change of feature selection for ftruncate from
49243         2010-01-11.
49244
49245 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49246
49247         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49248         detection.
49249
49250 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49251
49252         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49253         fanotify_mark.
49254         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49255
49256 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49257
49258         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49259         variables after CHECK_SP call.
49260         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49261
49262 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49263             Ulrich Drepper  <drepper@redhat.com>
49264
49265         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49266         re-relocationg ld.so.
49267         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49268         _dl_init_paths call.
49269         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49270         here anymore.
49271
49272 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49273
49274         * resolv/res_init.c (__res_vinit): Count the default server we added.
49275
49276 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49277             Ulrich Drepper  <drepper@redhat.com>
49278
49279         [BZ #11968]
49280         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49281         (____longjmp_chk): Use %ebx for saving value across system call.
49282         Add unwind info.
49283
49284 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49285
49286         * manual/Makefile: Don't mix pattern rules with normal rules.
49287
49288 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49289
49290         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49291         operation.
49292         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49293         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49294         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49295         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49296         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49297         Likewise.
49298
49299 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49300
49301         [BZ #11979]
49302         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49303         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49304
49305 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49306
49307         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49308         * sysdeps/x86_64/addmul_1.S: Likewise.
49309         * sysdeps/x86_64/lshift.S: Likewise.
49310         * sysdeps/x86_64/mul_1.S: Likewise.
49311         * sysdeps/x86_64/rshift.S: Likewise.
49312         * sysdeps/x86_64/sub_n.S: Likewise.
49313         * sysdeps/x86_64/submul_1.S: Likewise.
49314
49315 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49316
49317         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49318         Define __sched_param instead of SCHED_* and sched_param when
49319         <bits/sched.h> is included with __need_schedparam defined.
49320         * bits/sched.h [__need_schedparam]
49321         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49322         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49323         (__defined_schedparam): Define to 1.
49324         (__sched_param): New structure, identical to sched_param.
49325         (__need_schedparam): Undefine.
49326
49327 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49328
49329         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49330         (epoll_create1): Declare.
49331
49332         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49333
49334 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49335
49336         [BZ #7066]
49337         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49338         shifting retval into place.
49339
49340 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49341
49342         * nis/rpcsvc/nis.h: Update copyright notice.
49343         * nis/rpcsvc/nis.x: Likewise.
49344         * nis/rpcsvc/nis_callback.h: Likewise.
49345         * nis/rpcsvc/nis_callback.x: Likewise.
49346         * nis/rpcsvc/nis_object.x: Likewise.
49347         * nis/rpcsvc/nis_tags.h: Likewise.
49348         * nis/rpcsvc/yp.h: Likewise.
49349         * nis/rpcsvc/yp.x: Likewise.
49350         * nis/rpcsvc/ypupd.h: Likewise.
49351         * nis/yp_xdr.c: Likewise.
49352         * nis/ypupdate_xdr.c: Likewise.
49353
49354         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49355         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49356         (pmap_getport): Use __libc_rpc_getport.
49357         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49358         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49359         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49360
49361 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49362
49363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49364         fanotify_mark.
49365
49366 2010-08-27  Roland McGrath  <roland@redhat.com>
49367
49368         * sysdeps/i386/i686/multiarch/Makefile
49369         (CFLAGS-varshift.c): New variable.
49370
49371 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49372
49373         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49374         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49375
49376         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49377
49378         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49379
49380 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49381
49382         * sysdeps/x86_64/strlen.S: Unroll the loop.
49383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49384         strlen-sse2 strlen-sse2-bsf.
49385         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49386         __strlen_no_bsf if bit_Slow_BSF is set.
49387         (__strlen_sse42): Removed.
49388         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49389         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49390
49391 2010-08-25  Roland McGrath  <roland@redhat.com>
49392
49393         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49394         * sysdeps/x86_64/multiarch/varshift.c: New file.
49395         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49396         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49397         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49398         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49399
49400 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49401
49402         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49403         strlen-sse2 strlen-sse2-bsf.
49404         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49405         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49406         (__strlen_sse2): Removed.
49407         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49408         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49410         bit_Slow_BSF for Atom.
49411         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49412         (index_Slow_BSF): Define.
49413         (HAS_SLOW_BSF): Define.
49414
49415 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49416
49417         [BZ #10851]
49418         * resolv/res_init.c (__res_vinit): When no server address at all
49419         is given default to loopback.
49420
49421 2010-08-24  Roland McGrath  <roland@redhat.com>
49422
49423         * configure.in: Remove config-name.h generation.
49424         * configure: Regenerated.
49425         * config-name.in: File removed.
49426         * scripts/config-uname.sh: New file.
49427         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49428         ($(objdir)config-name.h): New target.
49429
49430         * sunrpc/rpc_parse.h: Avoid nested comment.
49431
49432 2010-08-24  Richard Henderson  <rth@redhat.com>
49433             Ulrich Drepper  <drepper@redhat.com>
49434             H.J. Lu  <hongjiu.lu@intel.com>
49435
49436         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49438         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49439         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49440         _mm_alignr_epi8 with _mm_loadu_si128.
49441         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49442         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49443         (__m128i_shift_right): Removed.
49444         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49445         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49446         * sysdeps/x86_64/multiarch/varshift.h: New file.
49447         * sysdeps/x86_64/multiarch/varshift.S: New file.
49448
49449 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49450
49451         * configure.in: Move assembler checks to before sysdep dir checking.
49452
49453 2010-08-20  Petr Baudis  <pasky@suse.cz>
49454
49455         * LICENSES: Sync the sunrpc license.
49456
49457 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49458
49459         * sunrpc/auth_des.c: Update copyright notice once again.
49460         * sunrpc/auth_none.c: Likewise.
49461         * sunrpc/auth_unix.c: Likewise.
49462         * sunrpc/authdes_prot.c: Likewise.
49463         * sunrpc/authuxprot.c: Likewise.
49464         * sunrpc/bindrsvprt.c: Likewise.
49465         * sunrpc/clnt_gen.c: Likewise.
49466         * sunrpc/clnt_perr.c: Likewise.
49467         * sunrpc/clnt_raw.c: Likewise.
49468         * sunrpc/clnt_simp.c: Likewise.
49469         * sunrpc/clnt_tcp.c: Likewise.
49470         * sunrpc/clnt_udp.c: Likewise.
49471         * sunrpc/clnt_unix.c: Likewise.
49472         * sunrpc/des_crypt.c: Likewise.
49473         * sunrpc/des_soft.c: Likewise.
49474         * sunrpc/get_myaddr.c: Likewise.
49475         * sunrpc/getrpcport.c: Likewise.
49476         * sunrpc/key_call.c: Likewise.
49477         * sunrpc/key_prot.c: Likewise.
49478         * sunrpc/openchild.c: Likewise.
49479         * sunrpc/pm_getmaps.c: Likewise.
49480         * sunrpc/pm_getport.c: Likewise.
49481         * sunrpc/pmap_clnt.c: Likewise.
49482         * sunrpc/pmap_prot.c: Likewise.
49483         * sunrpc/pmap_prot2.c: Likewise.
49484         * sunrpc/pmap_rmt.c: Likewise.
49485         * sunrpc/rpc/auth.h: Likewise.
49486         * sunrpc/rpc/auth_unix.h: Likewise.
49487         * sunrpc/rpc/clnt.h: Likewise.
49488         * sunrpc/rpc/des_crypt.h: Likewise.
49489         * sunrpc/rpc/key_prot.h: Likewise.
49490         * sunrpc/rpc/netdb.h: Likewise.
49491         * sunrpc/rpc/pmap_clnt.h: Likewise.
49492         * sunrpc/rpc/pmap_prot.h: Likewise.
49493         * sunrpc/rpc/pmap_rmt.h: Likewise.
49494         * sunrpc/rpc/rpc.h: Likewise.
49495         * sunrpc/rpc/rpc_des.h: Likewise.
49496         * sunrpc/rpc/rpc_msg.h: Likewise.
49497         * sunrpc/rpc/svc.h: Likewise.
49498         * sunrpc/rpc/svc_auth.h: Likewise.
49499         * sunrpc/rpc/types.h: Likewise.
49500         * sunrpc/rpc/xdr.h: Likewise.
49501         * sunrpc/rpc_clntout.c: Likewise.
49502         * sunrpc/rpc_cmsg.c: Likewise.
49503         * sunrpc/rpc_common.c: Likewise.
49504         * sunrpc/rpc_cout.c: Likewise.
49505         * sunrpc/rpc_dtable.c: Likewise.
49506         * sunrpc/rpc_hout.c: Likewise.
49507         * sunrpc/rpc_main.c: Likewise.
49508         * sunrpc/rpc_parse.c: Likewise.
49509         * sunrpc/rpc_parse.h: Likewise.
49510         * sunrpc/rpc_prot.c: Likewise.
49511         * sunrpc/rpc_sample.c: Likewise.
49512         * sunrpc/rpc_scan.c: Likewise.
49513         * sunrpc/rpc_scan.h: Likewise.
49514         * sunrpc/rpc_svcout.c: Likewise.
49515         * sunrpc/rpc_tblout.c: Likewise.
49516         * sunrpc/rpc_util.c: Likewise.
49517         * sunrpc/rpc_util.h: Likewise.
49518         * sunrpc/rpcinfo.c: Likewise.
49519         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49520         * sunrpc/rpcsvc/key_prot.x: Likewise.
49521         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49522         * sunrpc/rpcsvc/mount.x: Likewise.
49523         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49524         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49525         * sunrpc/rpcsvc/rex.x: Likewise.
49526         * sunrpc/rpcsvc/rstat.x: Likewise.
49527         * sunrpc/rpcsvc/rusers.x: Likewise.
49528         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49529         * sunrpc/rpcsvc/spray.x: Likewise.
49530         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49531         * sunrpc/rtime.c: Likewise.
49532         * sunrpc/svc.c: Likewise.
49533         * sunrpc/svc_auth.c: Likewise.
49534         * sunrpc/svc_authux.c: Likewise.
49535         * sunrpc/svc_raw.c: Likewise.
49536         * sunrpc/svc_run.c: Likewise.
49537         * sunrpc/svc_simple.c: Likewise.
49538         * sunrpc/svc_tcp.c: Likewise.
49539         * sunrpc/svc_udp.c: Likewise.
49540         * sunrpc/svc_unix.c: Likewise.
49541         * sunrpc/svcauth_des.c: Likewise.
49542         * sunrpc/xcrypt.c: Likewise.
49543         * sunrpc/xdr.c: Likewise.
49544         * sunrpc/xdr_array.c: Likewise.
49545         * sunrpc/xdr_float.c: Likewise.
49546         * sunrpc/xdr_mem.c: Likewise.
49547         * sunrpc/xdr_rec.c: Likewise.
49548         * sunrpc/xdr_ref.c: Likewise.
49549         * sunrpc/xdr_sizeof.c: Likewise.
49550         * sunrpc/xdr_stdio.c: Likewise.
49551
49552         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49553         handling.
49554
49555 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49556
49557         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49558
49559 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49560
49561         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49562         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49563         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49564         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49565         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49566         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49567         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49568         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49569         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49570         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49571         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49572         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49573         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49574         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49575
49576 2010-07-26  Anton Blanchard  <anton@samba.org>
49577
49578         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49579         * malloc/arena.c (heap_trim): Likewise.
49580
49581 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49582
49583         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49584         here.  Not...
49585         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49586         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49587
49588 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49589
49590         * sysdeps/i386/elf/Makefile: New file.
49591
49592 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49593
49594         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49595         from fanotify_init.
49596         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49597         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49598
49599 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49600
49601         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49602         of strncasecmp_l.
49603         * sysdeps/multiarch/strcmp.S: Likewise.
49604
49605 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49606
49607         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49608         strncase_l-nonascii.
49609         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49610         Add strncase_l-ssse3.
49611         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49612         * sysdeps/x86_64/strcmp.S: Likewise.
49613         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49614         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49615         * sysdeps/x86_64/strncase.S: New file.
49616         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49617         * sysdeps/x86_64/strncase_l.S: New file.
49618         * string/Makefile (strop-tests): Add strncasecmp.
49619         * string/test-strncasecmp.c: New file.
49620
49621         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49622         warning.
49623
49624         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49625         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49626
49627 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49628
49629         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49630
49631 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49632
49633         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49634         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49635         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49636
49637 2010-05-01  Alan Modra  <amodra@gmail.com>
49638
49639         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49640         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49641         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49642         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49643         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49644         tidying.  Don't tail-call __sigjmp_save for static lib.
49645         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49646         save location.
49647         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49648         (CALL_MCOUNT): Add eh info, and nop after bl.
49649         (TAIL_CALL_SYSCALL_ERROR): New macro.
49650         (PSEUDO_RET): Use it.
49651         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49652         Correct save location of integer regs and cr.
49653         (_dl_profile_resolve): Correct cr save location.  Delete nops
49654         after bl when SHARED.  Reduce cfi size a little by better
49655         placement of cfi directives.
49656         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49657         make a stack frame.  Instead use parm save area as a temp.
49658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49659         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49661         Don't make a stack frame for parent, use parm save area.
49662         Increase child stack frame to 112 bytes.  Don't save unused reg,
49663         and adjust reg usage.  Set up cfi on error recovery and
49664         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49666         (__makecontext): Add dummy nop after jump to exit.
49667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49668         Use correct parm save area and cr save, reduce stack frame.
49669         Correct cfi for possible PSEUDO_RET frame setup.
49670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49671         Branch to local label emitted by PSEUDO_RET rather than
49672         __syscall_error.
49673
49674 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49675
49676         [BZ #11904]
49677         * locale/programs/locale.c (print_assignment): New function.
49678         (show_locale_vars): Use it.
49679
49680 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49681
49682         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49683         field.
49684         (struct statfs64): Likewise.
49685         (_STATFS_F_FLAGS): Define.
49686         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49687         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49688         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49689         (ST_VALID): Define locally.
49690         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49691         __statvfs_getflags, use the provided value.
49692         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49693         __ASSUME_STATFS_F_FLAGS.
49694
49695         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49696
49697         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49698         Add sys/fanotify.h.
49699         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49700         fanotify_mask for GLIBC_2.13.
49701         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49702         fanotify_init and fanotify_mark.
49703         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49704         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49705
49706         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49707         Add prlimit.
49708         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49709         prlimit64 for GLIBC_2.13.
49710         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49711         prlimit64.
49712         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49713         syscall.
49714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49715         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49716         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49717         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49718         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49719         add prlimit alias.
49720         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49721
49722         [BZ #11903]
49723         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49724         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49725
49726         * nss/Makefile: Add rules to build and run tst-nss-test1.
49727         * shlib-versions: Add entry for libnss_test1.
49728         * nss/nss_test1.c: New file.
49729         * nss/tst-nss-test1.c: New file.
49730
49731         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49732         (__nss_configure_lookup): Set appropriate entry in
49733         __nss_configure_lookup to true.
49734         * nss/nsswitch.h: Define enum with indeces of databases in
49735         databases and __nss_database_custom arrays.  Declare
49736         __nss_database_custom.
49737         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49738         to avoid using nscd when custom rules are installed.
49739         * nss/getXXbyYY_r.c: Likewise.
49740         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49741
49742         * nss/nss_files/files-parse.c: Whitespace fixes.
49743
49744 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49745
49746         [BZ #11883]
49747         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49748         * posix/fnmatch_loop.c: Likewise.
49749
49750 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49751
49752         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49753         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49754         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49755         * Versions.def [GLIBC_2.13]: Add.
49756
49757 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49758
49759         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49760         Also fail if tpwd after pwuid call is NULL.
49761
49762 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49763
49764         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49765         when converting to ms.
49766
49767 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49768
49769         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49770         EOPNOTSUPP errors with ENOTTY.
49771         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49772         EOPNOTSUPP errors with ENOTTY.
49773
49774 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49775
49776         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49777         Add strcasecmp_l-ssse3.
49778         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49779         strcasecmp.
49780         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49781         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49782         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49783
49784 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49785
49786         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49787
49788         * string/Makefile (strop-tests): Add strcasecmp.
49789         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49790         strcasecmp_l-nonascii.
49791         (gen-as-const-headers): Add locale-defines.sym.
49792         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49793         * sysdeps/x86_64/strcasecmp.S: New file.
49794         * sysdeps/x86_64/strcasecmp_l.S: New file.
49795         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49796         * sysdeps/x86_64/locale-defines.sym: New file.
49797         * string/test-strcasecmp.c: New file.
49798
49799         * string/test-strcasestr.c: Test both ends of the range of characters.
49800         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49801
49802 2010-07-29  Roland McGrath  <roland@redhat.com>
49803
49804         [BZ #11856]
49805         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49806
49807 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49808
49809         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49810         for ld.so.
49811
49812 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49813
49814         * manual/memory.texi (Malloc Tunable Parameters): Document
49815         M_PERTURB.
49816
49817 2010-07-26  Roland McGrath  <roland@redhat.com>
49818
49819         [BZ #11840]
49820         * configure.in (-fgnu89-inline check): Set and substitute
49821         gnu89_inline, not libc_cv_gnu89_inline.
49822         * configure: Regenerated.
49823         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49824
49825 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49826
49827         * string/test-strnlen.c: New file.
49828         * string/Makefile (strop-tests): Add strnlen.
49829         * string/tester.c (test_strnlen): Add a few more test cases.
49830         * string/tst-strlen.c: Better error reporting.
49831
49832         * sysdeps/x86_64/strnlen.S: New file.
49833
49834 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49835
49836         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49837         lower-latency instructions.
49838
49839 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49840
49841         * string/test-strcasestr.c: New file.
49842         * string/test-strstr.c: New file.
49843         * string/Makefile (strop-tests): Add strstr and strcasestr.
49844         * string/str-two-way.h: Don't undefine MAX.
49845         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49846
49847 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49848
49849         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49850         strcasestr-nonascii.
49851         (CFLAGS-strcasestr-nonascii.c): Define.
49852         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49853         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49854         Remove unused attribute.
49855
49856 2010-07-20  Roland McGrath  <roland@redhat.com>
49857
49858         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49859         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49860         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49861         like LD_HWCAP_MASK can disable hwcaps.
49862
49863 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49864
49865         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49866
49867 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49868
49869         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49870         call in strcasestr.
49871         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49872         __strcasestr_sse42_nonascii.
49873         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49874         strcasestr-nonascii.c.
49875         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49876
49877 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49878
49879         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49880         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49881         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49882         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49883
49884 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49885
49886         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49887         fcntl.
49888
49889 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49890
49891         [BZ #11577]
49892         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49893         dl_signal_cerror.
49894
49895 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49896
49897         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49898         _PC_PIPE_BUF using F_GETPIPE_SZ.
49899
49900 2010-07-05  Roland McGrath  <roland@redhat.com>
49901
49902         * manual/arith.texi (Rounding Functions): Fix rint description
49903         implicit in round description.
49904
49905 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49906
49907         * elf/Makefile: Fix linking for a few tests to make recent linker
49908         happy.
49909
49910 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49911
49912         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49913         $(common-objpfx)libc_nonshared.a.
49914
49915 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49916
49917         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49918         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49919         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49920         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49921         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49922         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49923         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49924         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49939         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49940         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49941         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49942         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49943         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49944         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49945         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49946         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49947         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49948         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49949         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49950         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49965
49966 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49967
49968         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49969         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49970         * string/memmove.c (memmove): Renamed to ...
49971         (MEMMOVE): ...this.  Default to memmove.
49972         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49973         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49974         (END_CHK): Define.
49975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49976         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49977         mempcpy-ssse3-back memmove-ssse3-back.
49978         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49979         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49980         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49981         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49982         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49983         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49984         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49985         * sysdeps/x86_64/multiarch/memmove.c: New file.
49986         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49987         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49988         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49989         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49990         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49991         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49992         Define.
49993         (index_Fast_Copy_Backward): Define.
49994         (HAS_ARCH_FEATURE): Define.
49995         (HAS_FAST_REP_STRING): Define.
49996         (HAS_FAST_COPY_BACKWARD): Define.
49997
49998 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49999
50000         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50001         Restore proper fallback handling.
50002
50003 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50004
50005         [BZ #11701]
50006         * posix/group_member.c (__group_member): Correct checking loop.
50007
50008         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50009         OOM in getpwuid_r correctly.  Return error number when the caller
50010         should return, otherwise -1.
50011         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50012         call returning > 0 value.
50013         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50014
50015 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50016
50017         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50018         libc_nonshared.a from targets in modules-names.
50019
50020 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50021
50022         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50023         requires it.
50024
50025 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50026
50027         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50028         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50029         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50030         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50031
50032 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50033
50034         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50035
50036 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50037
50038         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50039         and F_GETPIPE_SZ.
50040         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50041         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50042         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50043         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50044         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50045         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50046
50047 2010-06-14  Roland McGrath  <roland@redhat.com>
50048
50049         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50050
50051 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50052
50053         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50054         __REDIRECT followed by __THROW.
50055         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50056         * posix/getopt.h (getopt): Likewise.
50057
50058 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50059
50060         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50061         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50062         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50063         in AT_FLAGS.
50064         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50065         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50066
50067 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50068
50069         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50070
50071 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50072
50073         [BZ #11640]
50074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50075         Properly check family and model.
50076
50077 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50078
50079         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50080
50081 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50082
50083         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50084
50085 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50086
50087         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50088         symbol reference.
50089
50090 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50091
50092         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50093         symbol reference.
50094
50095 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50096
50097         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50098         and internal_recvmmsg.
50099         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50100         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50101         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50102         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50103
50104         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50105         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50106         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50107
50108 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50109
50110         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50111
50112 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50113
50114         POWER7 optimizations.
50115         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50116         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50117
50118 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50119
50120         * version.h: Update for 2.13 development version.
50121
50122 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50123
50124         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50125         exceptions.  Return 0.
50126
50127 2010-05-07  Roland McGrath  <roland@redhat.com>
50128
50129         * elf/ldconfig.c (main): Add a const.
50130
50131 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50132
50133         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50134         (args_options): Add no-idn option.
50135         (ahosts_keys_int): Add idn_flags to ai_flags.
50136         (parse_option): Handle 'i' option to clear idn_flags.
50137
50138         * malloc/malloc.c (_int_free): Possible race in the most recently
50139         added check.  Only act on the data if no current modification
50140         happened.
50141
50142 See ChangeLog.17 for earlier changes.